STATUS: ONLINE | DISPLAYING 15 ITEMS PER PAGE
前端Lua

单个cell的宽度单个cell的高度 什么意思

前端Lua

列表容器

前端Lua

创建文字

前端Lua

点击按钮

前端Lua

resetAllButtons()不填写参数什么意思

前端Lua

resetAllButtons() 这么写是什么意思

前端Lua

resetAllButtons()

前端Lua

三个按钮 选择那个那个变灰怎么写

前端Lua

function npc:reLoadWIn(page) -- 清空之前残留的组件 for i = 1, 28 do local oldLayout = GUI:getChildByName(npc.ui.bg, "panel" .. i .. "_" .. page) if oldLayout then SL:print("1523153153") GUI:removeFromParent(oldL

前端Lua

local page = 1 GUI:addOnClickEvent(npc.ui.lastPage,function() if page <= 1 then return else page = page - 1 GUI:Text_setString(npc.ui.nowPage, page) end end) GUI:addOnClickEven

前端Lua

local Text_button = GUI:Button_create(Dress_bg,"zj_button",0,0,"res/xj_ui2/x1.png") GUI:setTouchEnabled(Text_button, true) GUI:addOnClickEvent(Text_button, function()GUI:Win_Close(parent)end) 对不对

前端Lua

GUI:addOnClickEvent 详细介绍

前端Lua

function Npc.main(p1, p2, p3, str) Cogin.w = SL:GetMetaValue("SCREEN_WIDTH") or 0 -- 客户端宽度,添加默认值 Cogin.h = SL:GetMetaValue("SCREEN_HEIGHT") or 0 -- 客户端高度,添加默认值 if p2 == 1 then local ok,data = pcall(SL.JsonDecode,SL,str) if

前端Lua

local bg = GUI:Image_Create(parent, "bg", 1, 0, "res/ds/ds_wxzl/01.png") GUI:setAnchorPoint(bg, 0.5, 0.5) GUI:setTouchEnabled(bg, true) GUI:setSwallowTouches(bg, true) GUI:Win_SetDrag(parent, bg) 这些都是在干什么 详细介绍每一行

前端Lua

GUI:Image_Create 详细介绍