项目

一般

简介

Dlg panelSize » 历史记录 » 版本 3

yangdefeng, 2023-10-20 09:29

1 3 yangdefeng
_*{color:green}panelSize2*_
2 1 machenhe
设定自定义对话框底板大小
3
4
%{color:deepPink}对于自适应可拉伸对话框底图有效
5
可实现将tab按钮列表放在对话框底图外部效果%
6
7 3 yangdefeng
标签:命令定义|dlg_panelSize2
8 1 machenhe
9
*格式*
10 3 yangdefeng
|命令名    |参数1       |参数2       |
11
|panelSize2|自适应底图宽|自适应底图高|
12 1 machenhe
13
14
*说明*
15
* 参数1:自适应底图宽
16
17
* 参数2:自适应底图高
18
19
20
21
22
-
23
-
24
25
*%{color:deepskyblue}特戒引擎脚本示例:%*
26
27
*使用前提1*
28 2 yangdefeng
请开启配置开关"isUseCustomOKPanel"
29
|配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt	|
30 1 machenhe
|配置节点|[tjconfig]					|
31
|配置项  |isUseCustomOkPanel=1				|
32
33
34
*使用前提2*
35 2 yangdefeng
请配置补丁资源"lc",即找到以下配置项,加入 %{color:deeppink}lc%
36
|配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt	|
37 1 machenhe
|配置节点|[tjconfig]					|
38
|配置项  |patch=aa,bb,lc				|
39
40
-
41
-
42
43
bq. [<notextile>@</notextile>main]
44
#act
45
goto <notextile>@</notextile>按钮列表
46
goto <notextile>@</notextile>会员
47
&nbsp;
48
[<notextile>@</notextile>按钮列表]
49
#act
50
[[mov]] s$btnList ([[dlg_btnItem_|btnItem]]:ceye01:ceye02:1:254,150:1:-6,20:会员/<notextile>@</notextile>会员)
51
[[inc]] s$btnList (btnItem:ceye01:ceye02:2:254,150:1:-6,20:活动/<notextile>@</notextile>活动)
52
&nbsp;
53
[<notextile>@</notextile>会员]
54
#act
55
[[openMerchantBigDlg]] ok_di 4 0 0 1 0 0
56
#say
57 3 yangdefeng
<notextile><</notextile>*{color:green}panelSize2*:600:650>
58 1 machenhe
<[[dlg_btnList_|btnList]]:<$str(s$btnList)>:会员和活动按钮:572:75:1,600:30:1>
59
<[[dlg_text_|text]]:会员页面展示内容{scolor=222}:50:50>
60
&nbsp;
61
[<notextile>@</notextile>活动]
62
#act
63
openMerchantBigDlg ok_di 4 0 0 1 0 0
64
#say
65 3 yangdefeng
<panelsize2:600:650>
66 1 machenhe
<btnList:<$str(s$btnList)>:会员和活动按钮:572:75:1,600:30:2>
67
<text:活动页面展示内容{scolor=254}:50:50>