更新累充奖励前端
This commit is contained in:
parent
54db61e69c
commit
df3aea2626
4 changed files with 4 additions and 4 deletions
|
|
@ -6,20 +6,20 @@ local TAGOBJ = {}
|
|||
function ui.init(parent, __data__, __update__)
|
||||
if __update__ then return ui.update(__data__) end
|
||||
-- Create c_bg_img
|
||||
local c_bg_img = GUI:Image_Create(parent, "c_bg_img", 0, 0, "res/custom/01/3/0.png")
|
||||
local c_bg_img = GUI:Image_Create(parent, "c_bg_img", 0, 0, "res/custom/01/7/bg.png")
|
||||
GUI:setAnchorPoint(c_bg_img, 0.50, 0.50)
|
||||
GUI:setTouchEnabled(c_bg_img, false)
|
||||
GUI:setTag(c_bg_img, -1)
|
||||
|
||||
-- Create ListView
|
||||
local ListView = GUI:ListView_Create(c_bg_img, "ListView", 12, 50, 524, 225, 1)
|
||||
local ListView = GUI:ListView_Create(c_bg_img, "ListView", 12, 15, 524, 311, 1)
|
||||
GUI:ListView_setItemsMargin(ListView, 6)
|
||||
GUI:setAnchorPoint(ListView, 0.00, 0.00)
|
||||
GUI:setTouchEnabled(ListView, true)
|
||||
GUI:setTag(ListView, 0)
|
||||
|
||||
-- Create Text_Recharge
|
||||
local Text_Recharge = GUI:Text_Create(c_bg_img, "Text_Recharge", 262, 33, 18, "#00ff00", [[累计充值:0元]])
|
||||
local Text_Recharge = GUI:Text_Create(c_bg_img, "Text_Recharge", 442, 353, 18, "#00ff00", [[累计充值:0元]])
|
||||
GUI:Text_enableOutline(Text_Recharge, "#000000", 2)
|
||||
GUI:setAnchorPoint(Text_Recharge, 0.50, 0.50)
|
||||
GUI:setTouchEnabled(Text_Recharge, false)
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ function LeiChongJiangLiOBJ:buildCell(cellParent, item)
|
|||
local open = item.open
|
||||
|
||||
-- y=3 让 cell 上下各留 3 像素(cellHei=74, 内容高=68)
|
||||
local list_bg = GUI:Image_Create(cellParent, "list_bg_", 0, 3, "res/custom/01/3/3.png")
|
||||
local list_bg = GUI:Image_Create(cellParent, "list_bg_", 0, 3, "res/custom/01/7/list.png")
|
||||
|
||||
-- 档位条件文字
|
||||
local list_check_text = GUI:Text_Create(list_bg, "list_check_text", 100, 36, 16, "#00ff00", string.format("累充%d元", v.price))
|
||||
|
|
|
|||
BIN
client/dev/res/custom/01/7/bg.png
Normal file
BIN
client/dev/res/custom/01/7/bg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 340 KiB |
BIN
client/dev/res/custom/01/7/list.png
Normal file
BIN
client/dev/res/custom/01/7/list.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
Loading…
Reference in a new issue