2022-05-22 13:10:10 +00:00
|
|
|
{{extend defaultLayout}}
|
|
|
|
{{block 'css'}}
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{_res_path}}/admin/index.css"/>
|
|
|
|
{{/block}}
|
|
|
|
{{block 'main'}}
|
|
|
|
|
|
|
|
<div class="info_box">
|
|
|
|
<div class="head-box type{{bgType}}">
|
2022-08-16 20:04:12 +00:00
|
|
|
<div class="label">喵喵管理面板</div>
|
|
|
|
<div class="title">#喵喵设置</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-11-12 21:35:46 +00:00
|
|
|
{{each schema cfgGroup}}
|
2022-05-22 13:10:10 +00:00
|
|
|
<div class="cfg-box">
|
2022-11-12 21:35:46 +00:00
|
|
|
<div class="cfg-group">{{cfgGroup.title}}</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
<ul class="cfg-ul">
|
2022-11-12 21:35:46 +00:00
|
|
|
{{each cfgGroup.cfg cfgItem cfgKey}}
|
2022-05-22 13:10:10 +00:00
|
|
|
<li class="cfg-li">
|
|
|
|
<div class="cfg-line">
|
2022-11-12 21:35:46 +00:00
|
|
|
{{cfgItem.title}}
|
2023-03-31 20:03:05 +00:00
|
|
|
{{if !(cfgItem.miao && isMiao) }}
|
2022-11-12 21:35:46 +00:00
|
|
|
<span class="cfg-hint"> #喵喵设置{{cfgItem.key}}
|
2023-02-13 20:43:14 +00:00
|
|
|
{{if cfgItem.type==='num'}} {{cfgItem.def}}{{else}} 开启/关闭{{/if}}
|
2022-11-12 21:35:46 +00:00
|
|
|
</span>
|
2023-03-21 19:03:01 +00:00
|
|
|
{{/if}}
|
2023-11-27 20:18:06 +00:00
|
|
|
{{if cfgItem.type === 'num' || cfgItem.type === 'str'}}
|
2022-11-12 21:35:46 +00:00
|
|
|
<div class="cfg-status">{{cfg[cfgKey]}}</div>
|
|
|
|
{{else}}
|
2023-03-21 19:03:01 +00:00
|
|
|
{{if cfg[cfgKey] || (cfgItem.miao && isMiao)}}
|
|
|
|
<div class="cfg-status">{{cfgItem.miao && isMiao ? '默认开启' : '已开启'}}</div>
|
2022-11-12 21:35:46 +00:00
|
|
|
{{else}}
|
|
|
|
<div class="cfg-status status-off">已关闭</div>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
2022-07-06 22:12:05 +00:00
|
|
|
</div>
|
2022-11-12 21:35:46 +00:00
|
|
|
{{if cfgItem.desc && cfgItem.showDesc!== false}}
|
|
|
|
<div class="cfg-desc">{{cfgItem.desc}}</div>
|
|
|
|
{{/if}}
|
2022-07-06 22:12:05 +00:00
|
|
|
</li>
|
2022-11-12 21:35:46 +00:00
|
|
|
{{/each}}
|
2022-05-22 13:10:10 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2022-11-12 21:35:46 +00:00
|
|
|
{{/each}}
|
2022-05-22 13:10:10 +00:00
|
|
|
<div class="cfg-box">
|
2022-11-12 21:35:46 +00:00
|
|
|
<div class="cfg-group">其他设置</div>
|
2022-05-22 13:10:10 +00:00
|
|
|
<ul class="cfg-ul">
|
|
|
|
<li class="cfg-li">
|
|
|
|
<div class="cfg-line">
|
|
|
|
角色图片扩展包
|
|
|
|
<span class="cfg-hint"> #喵喵更新图像</span>
|
|
|
|
{{if imgPlus}}
|
|
|
|
<div class="cfg-status">已安装</div>
|
|
|
|
{{else}}
|
|
|
|
<div class="cfg-status status-off">未安装</div>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-11-12 21:35:46 +00:00
|
|
|
<div class="cfg-desc">安装角色的扩展插图,图片较多可能需要一定时间,在返回提示前请勿重复执行</div>
|
2022-06-16 20:19:27 +00:00
|
|
|
</li>
|
2022-05-22 13:10:10 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2023-11-27 20:18:06 +00:00
|
|
|
{{/block}}
|