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

容器的图片怎么删除

前端Lua

if string.find(clickedItemsStr, itemIdStr .. "#") then SL:print("1") string.gsub(clickedItemsStr, itemIdStr .. "#", "") else SL:print("2",clickedItemsStr)

前端Lua

string字符串拼接怎么写

前端Lua

if string.find(clickedItemsStr, itemIdStr .. "#") then 我需要在这里加上删除这个存在的内容应该用什么函数 end

前端Lua

删除字符串找到的内容

前端Lua

-- 设置容器默认图片(第一张图片) local defaultImage = nil -- 默认背景图片 local clickedImage = "res/public/1900000678_2.png" -- 点击后切换的图片 local laot_x = SL:GetMetaValue("CURRENT_OPERMODE") == 1 and -13 or 3

前端Lua

-- 设置容器默认图片(第一张图片) local defaultImage = nil -- 默认背景图片 local clickedImage = "res/public/1900000678_2.png" -- 点击后切换的图片 local laot_x = SL:GetMetaValue("CURRENT_OPERMODE") == 1 and -13 or 3

前端Lua

设置容器大小

前端Lua

local itemWidget = GUI:ItemShow_Create(item_bj, "fj_item" .. posInPage, x, y, itemDataTable) -- 在物品控件上创建一个容器 local container = GUI:Widget_Create(itemWidget, "click_container", 0, 0, 50, 50) -- 调整尺寸覆盖物品区域

前端Lua

GUI:setVisible(JM_show, true) local item_Panel_1 = GUI:getChildByName(JM_show, "item_Panel_1") local ListView_fj = GUI:getChildByName(JM_show, "ListView_fj") GUI:removeAllChildren(ListView_fj) local bagItems = SL:GetMe

前端Lua

GUI:setVisible(JM_show, true) local item_Panel_1 = GUI:getChildByName(JM_show, "item_Panel_1") local ListView_fj = GUI:getChildByName(JM_show, "ListView_fj") GUI:removeAllChildren(ListView_fj) local bagItems = SL:GetMe

前端Lua

GUI:setVisible(JM_show, true) local item_Panel_1 = GUI:getChildByName(JM_show, "item_Panel_1") local ListView_fj = GUI:getChildByName(JM_show, "ListView_fj") GUI:removeAllChildren(ListView_fj) local bagItems = SL:GetMe

前端Lua

GUI:setVisible(JM_show, true) local item_Panel_1 = GUI:getChildByName(JM_show, "item_Panel_1") local ListView_fj = GUI:getChildByName(JM_show, "ListView_fj") GUI:removeAllChildren(ListView_fj) local bagItems = SL:GetMe

前端Lua

LUA-print] [GUI ERROR] GUI:ItemShow_Create can't find parent fj_item6_27是什么意思

前端Lua

SL:print("打开沙城捐献界面") local npc = {} -- 定义称号对应表 npc.rankTitle = { [1] = "至尊", [2] = "战神", [3] = "枭雄", [4] = "猛将", [5] = "忠勇" } -- 玩家职业 npc.job ={ [0] = "战士", [1] = "法师", [2] = "道士" } function npc:openWin(msgID, p1