miao-plugin/resources/help/index.html
yoimiya-kokomi 9bea49cc96 #喵喵帮助增加对自定义配置文件的支持
* 已有配置文件可更名为help-cfg.js,防止后续更新冲突,后续会支持更多配置项
* 在默认配置中增加部分新帮助命令
`#喵喵日历`现在可通过`#日历 #日历列表`触发
修正胡桃E伤害计算错误
2022-06-29 04:30:34 +08:00

35 lines
920 B
HTML

{{extend defaultLayout}}
{{block 'css'}}
<link rel="stylesheet" type="text/css" href="{{_res_path}}/help/index.css"/>
{{/block}}
{{block 'main'}}
<div class="info_box">
<div class="head-box type{{bgType}}">
<div class="title">{{helpCfg.title||"使用帮助"}}</div>
<div class="label">{{helpCfg.subTitle || "Yunzai-Bot & Miao-Plugin"}}</div>
</div>
</div>
{{each helpGroup group}}
<div class="cont-box">
<div class="help-group">{{group.group}}</div>
<div class="help-table">
{{each group.list help idx}}
{{if idx%3 == 0}}
<div class="tr">
{{/if}}
<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>
</div>
{{if idx%3 ==2 || idx == group.list.length -1}}
</div>
{{/if}}
{{/each}}
</div>
</div>
{{/each}}
{{/block}}