AddDlg » 历史记录 » 版本 3
tejie, 2025-06-19 16:58
1 | 2 | yangdefeng | h4. _*%{color:green}addDlg%*_ |
---|---|---|---|
2 | |||
3 | 1 | machenhe | 主界面左侧边栏添加自定义对话框内容 |
4 | |||
5 | 3 | tejie | 标签:命令定义^addDlg |
6 | 1 | machenhe | |
7 | *格式* |
||
8 | |_.命令名 |_.参数1 |_.参数2 |_.参数3 |_.参数4 |_.参数5 | |
||
9 | |addDlg |侧边对话框编号 |展示内容 |平台类型 |标签页图片组 |创建或刷新 | |
||
10 | |||
11 | 2 | yangdefeng | *说明* |
12 | 3 | tejie | |^.参数1|侧边对话框编号 |
13 | 支持多个左侧边栏自定义对话框| |
||
14 | |^.参数2|展示内容,同一id的左侧边栏自定义对话框,支持两个独立标签页 |
||
15 | 格式如下: |
||
16 | dlg:上方标签页内容文本dlg:下方标签页内容文本| |
||
17 | |^.参数3|平台类型 |
||
18 | 1 手机 |
||
19 | 2 PC| |
||
20 | |^.参数4|标签页图片组,格式如下 |
||
21 | 标签页1按钮未选中图片,标签页1按钮选中图片,标签页2按钮未选中图片,标签页2按钮选中图片| |
||
22 | |^.参数5|创建或刷新 |
||
23 | 0 创建新的侧边栏对话框 |
||
24 | 1 刷新已存在的侧边栏对话框| |
||
25 | 2 | yangdefeng | |
26 | |||
27 | - |
||
28 | - |
||
29 | |||
30 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
31 | |||
32 | *使用前提1* |
||
33 | 请开启配置开关"isUseCustomOKPanel" |
||
34 | |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt | |
||
35 | |配置节点|[[tjconfig|[tjconfig]]] | |
||
36 | |配置项 |isUseCustomOkPanel=1 | |
||
37 | |||
38 | |||
39 | *使用前提2* |
||
40 | 请配置补丁资源"lc",即找到以下配置项,加入 %{color:deeppink}lc% |
||
41 | |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt | |
||
42 | |配置节点|[tjconfig] | |
||
43 | |配置项 |patch=aa,bb,lc | |
||
44 | |||
45 | - |
||
46 | - |
||
47 | |||
48 | bq. [<notextile>@</notextile>main] |
||
49 | #act |
||
50 | [[mov]] s$dlgUpIni |
||
51 | [[inc]] s$dlgUpIni <[[dlg_text_|text]]:魔神个人页面{fcolor=251}:50:20> |
||
52 | [[inc]] s$dlgUpIni <[[dlg_img_|img]]:settings_jiantou_you:0:4:1:1> |
||
53 | [[inc]] s$dlgUpIni <[[dlg_img_|img]]:settings_jiantou_zuo:220:4:1:1> |
||
54 | [[inc]] s$dlgUpIni <[[dlg_text_|text]]:点击行会页签试试吧{fcolor=103}:12:175> |
||
55 | [[inc]] s$dlgUpIni <[[dlg_text_|text]]:特戒引擎持续更新中{fcolor=103}:12:275> |
||
56 | [[inc]] s$dlgUpIni <[[dlg_img_|img]]:lc_xiaofei_shuzi_dadao:360:125:1:1:0.7/<notextile>@</notextile>行会魔神介绍> |
||
57 | [[inc]] s$dlgUpIni <[[dlg_text_|text]]:介绍{fcolor=103}:375:185:50:1:20> |
||
58 | [[inc]] s$dlgUpIni <[[dlg_img_|img]]:lc_xiaofei_shuzi_changtai:360:220:1:1/<notextile>@</notextile>退出行会魔神> |
||
59 | [[inc]] s$dlgUpIni <[[dlg_text_|text]]:退出{fcolor=103}:375:275:50:1:20> |
||
60 | |
||
61 | [[mov]] s$dlgDownIni |
||
62 | [[inc]] s$dlgDownIni <[[dlg_text_|text]]:魔神行会页面{fcolor=251}:50:20> |
||
63 | [[inc]] s$dlgDownIni <[[dlg_img_|img]]:settings_jiantou_you:0:4:1:1> |
||
64 | [[inc]] s$dlgDownIni <[[dlg_img_|img]]:settings_jiantou_zuo:220:4:1:1> |
||
65 | [[inc]] s$dlgDownIni <[[dlg_text_|text]]:查看介绍时间刷新{fcolor=103}:40:90> |
||
66 | [[inc]] s$dlgDownIni <[[dlg_text_|text]]:<notextile>~~~<$time>~~~</notextile>{fcolor=222}:20:130> |
||
67 | [[inc]] s$dlgDownIni <[[dlg_text_|text]]:点击个人页签试试{fcolor=103}:40:175> |
||
68 | [[inc]] s$dlgDownIni <[[dlg_text_|text]]:特戒引擎服务至上{fcolor=103}:40:275> |
||
69 | [[inc]] s$dlgDownIni <[[dlg_img_|img]]:lc_xiaofei_shuzi_dadao:360:125:1:1:0.7/<notextile>@</notextile>行会魔神介绍> |
||
70 | [[inc]] s$dlgDownIni <[[dlg_text_|text]]:介绍{fcolor=103}:375:185:50:1:20> |
||
71 | [[inc]] s$dlgDownIni <[[dlg_img_|img]]:lc_xiaofei_shuzi_changtai:360:220:1:1/<notextile>@</notextile>退出行会魔神> |
||
72 | [[inc]] s$dlgDownIni <[[dlg_text_|text]]:退出{fcolor=103}:375:275:50:1:20> |
||
73 | |
||
74 | mov s$setPic main_task_geren_02,main_task_geren_01,main_task_hanghui_02,main_task_hanghui_01 |
||
75 | |
||
76 | %{color:lightGrey};--对话框id 对话框内容(以dlg:分割) 平台类型(1:手机 2:PC) 按钮图片组(未选中1,选中1,未选中2,选中2) 创建或刷新(0:创建 1:刷新)--% |
||
77 | *{color:green}addDlg* 1 dlg:<$str(s$dlgUpIni)>dlg:<$str(s$dlgDownIni)> 1 <$str(s$setPic)> 0 |
||
78 | |
||
79 | |
||
80 | [<notextile>@</notextile>行会魔神介绍] |
||
81 | #say |
||
82 | <[[dlg_text_|text]]:行会魔神介绍:0:0> |
||
83 | <[[dlg_img_|img]]:lc_quxiaogenbiao:50:60:1:0.65> |
||
84 | |
||
85 | #act |
||
86 | [[mov]] s$dlgUpRefresh |
||
87 | [[inc]] s$dlgUpRefresh <[[dlg_text_|text]]:魔神行会页面{fcolor=251}:50:20> |
||
88 | [[inc]] s$dlgUpRefresh <[[dlg_img_|img]]:settings_jiantou_you:0:4:1:1> |
||
89 | [[inc]] s$dlgUpRefresh <[[dlg_img_|img]]:settings_jiantou_zuo:220:4:1:1> |
||
90 | [[inc]] s$dlgUpRefresh <[[dlg_text_|text]]:查看介绍时间刷新{fcolor=103}:40:90> |
||
91 | [[inc]] s$dlgUpRefresh <[[dlg_text_|text]]:<notextile>~~~<$time>~~~</notextile>{fcolor=222}:20:130> |
||
92 | [[inc]] s$dlgUpRefresh <[[dlg_text_|text]]:点击个人页签试试{fcolor=103}:40:175> |
||
93 | [[inc]] s$dlgUpRefresh <[[dlg_text_|text]]:特戒引擎服务至上{fcolor=103}:40:275> |
||
94 | [[inc]] s$dlgUpRefresh <[[dlg_img_|img]]:lc_xiaofei_shuzi_dadao:360:125:1:1:0.7/<notextile>@</notextile>行会魔神介绍> |
||
95 | [[inc]] s$dlgUpRefresh <[[dlg_text_|text]]:介绍{fcolor=103}:375:185:50:1:20> |
||
96 | [[inc]] s$dlgUpRefresh <[[dlg_img_|img]]:lc_xiaofei_shuzi_changtai:360:220:1:1/<notextile>@</notextile>退出行会魔神> |
||
97 | [[inc]] s$dlgUpRefresh <[[dlg_text_|text]]:退出{fcolor=103}:375:275:50:1:20> |
||
98 | |
||
99 | *{color:green}addDlg* 1 dlg:<$str(s$dlgUpIni)>dlg:<$str(s$dlgUpRefresh)> 1 <$str(s$setPic)> 1 |
||
100 | |
||
101 | [<notextile>@</notextile>退出行会魔神] |
||
102 | #act |
||
103 | [[delDlg]] 1 |