2022-05-22 13:10:10 +00:00
|
|
|
{{extend defaultLayout}}
|
|
|
|
|
|
|
|
{{block 'css'}}
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{_res_path}}/help/index.css"/>
|
2022-09-25 16:41:09 +00:00
|
|
|
<% style = style.replace(/{{_res_path}}/g, _res_path) %>
|
2022-09-25 05:05:30 +00:00
|
|
|
{{@style}}
|
2022-05-22 13:10:10 +00:00
|
|
|
{{/block}}
|
|
|
|
|
|
|
|
{{block 'main'}}
|
2022-09-25 13:56:10 +00:00
|
|
|
|
2022-09-25 05:05:30 +00:00
|
|
|
<div class="info-box">
|
2022-05-22 13:10:10 +00:00
|
|
|
<div class="head-box type{{bgType}}">
|
2022-06-28 20:30:34 +00:00
|
|
|
<div class="title">{{helpCfg.title||"使用帮助"}}</div>
|
|
|
|
<div class="label">{{helpCfg.subTitle || "Yunzai-Bot & Miao-Plugin"}}</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-10 20:48:53 +00:00
|
|
|
|
2022-06-28 20:30:34 +00:00
|
|
|
{{each helpGroup group}}
|
2022-09-27 02:25:31 +00:00
|
|
|
{{set len = group?.list?.length || 0 }}
|
2022-05-22 13:10:10 +00:00
|
|
|
<div class="cont-box">
|
2022-06-28 20:30:34 +00:00
|
|
|
<div class="help-group">{{group.group}}</div>
|
2022-09-27 02:25:31 +00:00
|
|
|
{{if len > 0}}
|
2022-05-22 13:10:10 +00:00
|
|
|
<div class="help-table">
|
|
|
|
<div class="tr">
|
2022-09-25 13:56:10 +00:00
|
|
|
{{each group.list help idx}}
|
2022-05-22 13:10:10 +00:00
|
|
|
<div class="td">
|
|
|
|
<span class="help-icon" style="{{help.css}}"></span>
|
|
|
|
<strong class="help-title">{{help.title}}</strong>
|
|
|
|
<span class="help-desc">{{help.desc}}</span>
|
2022-04-10 20:48:53 +00:00
|
|
|
</div>
|
2022-09-25 13:56:10 +00:00
|
|
|
{{if idx%colCount === colCount-1 && idx>0 && idx< len-1}}
|
2022-04-10 20:48:53 +00:00
|
|
|
</div>
|
2022-09-25 13:56:10 +00:00
|
|
|
<div class="tr">
|
|
|
|
{{/if}}
|
|
|
|
{{/each}}
|
|
|
|
<% for(let i=(len-1)%colCount; i< colCount-1 ; i++){ %>
|
|
|
|
<div class="td"></div>
|
|
|
|
<% } %>
|
|
|
|
</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
2022-09-27 02:25:31 +00:00
|
|
|
{{/if}}
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
{{/block}}
|