Dlg btnList » 历史记录 » 版本 3
yangdefeng, 2022-05-10 16:57
1 | 3 | yangdefeng | _*{color:green}<btnList:*_ |
---|---|---|---|
2 | 1 | machenhe | 定义tab按钮组的各种属性 |
3 | |||
4 | 标签:命令定义|dlg_btnList |
||
5 | |||
6 | *格式* |
||
7 | |||
8 | |命令名 |参数1 |参数2 |参数3 |参数4 |参数5 |参数6 |参数7 | |
||
9 | |btnList|按钮列表内容|按钮列表名称|list相对于对话框X偏移|list相对于对话框Y偏移|纵横宽高|按钮字号|选中按钮id| |
||
10 | |||
11 | 3 | yangdefeng | - |
12 | - |
||
13 | 1 | machenhe | |
14 | *说明* |
||
15 | 3 | yangdefeng | * 参数1:由一组[[dlg_btnItem_|btnItem]]组成的按钮列表 |
16 | 1 | machenhe | |
17 | * 参数2:按钮列表名称,区分同一个界面中不同的按钮列表 |
||
18 | |||
19 | * 参数3:列表相对于对话框的X偏移值 |
||
20 | |||
21 | * 参数4:列表相对于对话框的Y偏移值 |
||
22 | |||
23 | * 参数5:列表的显示方式与滑动设置 |
||
24 | |1,N |纵向列表可滑动,N为列表高度| |
||
25 | |1,N,1|纵向列表可滑动,N为列表高度| |
||
26 | |0,N |横向列表可滑动,N为列表宽度| |
||
27 | |0,N,1|横向列表可滑动,N为列表宽度| |
||
28 | |1,N,0|纵向列表不滑动,N为列表高度| |
||
29 | |0,N,0|横向列表不滑动,N为列表宽度| |
||
30 | |||
31 | * 参数6:按钮字号 |
||
32 | |||
33 | * 参数7:选中按钮的id |
||
34 | 该按钮列表中的第几个tab按钮显示成选中状态 |
||
35 | |||
36 | - |
||
37 | - |
||
38 | |||
39 | *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
40 | |||
41 | *使用前提1* |
||
42 | 2 | yangdefeng | 请开启配置开关"isUseCustomOKPanel" |
43 | |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt | |
||
44 | 1 | machenhe | |配置节点|[tjconfig] | |
45 | |配置项 |isUseCustomOkPanel=1 | |
||
46 | |||
47 | |||
48 | *使用前提2* |
||
49 | 2 | yangdefeng | 请配置补丁资源"lc",即找到以下配置项,加入 %{color:deeppink}lc% |
50 | |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt | |
||
51 | 1 | machenhe | |配置节点|[tjconfig] | |
52 | |配置项 |patch=aa,bb,lc | |
||
53 | |||
54 | - |
||
55 | - |
||
56 | |||
57 | bq. [<notextile>@</notextile>main] |
||
58 | #act |
||
59 | goto <notextile>@</notextile>按钮列表 |
||
60 | goto <notextile>@</notextile>会员 |
||
61 | |
||
62 | [<notextile>@</notextile>按钮列表] |
||
63 | #act |
||
64 | [[mov]] s$btnList ([[dlg_btnItem_|btnItem]]:ceye01:ceye02:1:254,150:1:-6,20:会员/<notextile>@</notextile>会员) |
||
65 | [[inc]] s$btnList (btnItem:ceye01:ceye02:2:254,150:1:-6,20:活动/<notextile>@</notextile>活动) |
||
66 | |
||
67 | [<notextile>@</notextile>会员] |
||
68 | #act |
||
69 | [[openMerchantBigDlg]] ok_di 4 0 0 1 0 0 |
||
70 | #say |
||
71 | <[[dlg_panelsize_|panelSize]]:600:650> |
||
72 | <notextile><</notextile>*{color:green}btnList*:<$str(s$btnList)>:会员和活动按钮:572:75:1,600,0:30:1> |
||
73 | <[[dlg_text_|text]]:会员页面展示内容{scolor=222}:50:50> |
||
74 | |
||
75 | [<notextile>@</notextile>活动] |
||
76 | #act |
||
77 | openMerchantBigDlg ok_di 4 0 0 1 0 0 |
||
78 | #say |
||
79 | <panelsize:600:650> |
||
80 | <btnList:<$str(s$btnList)>:会员和活动按钮:572:75:1,600,0:30:2> |
||
81 | <text:活动页面展示内容{scolor=254}:50:50> |