mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 12:51:30 +00:00
47 lines
1.3 KiB
HTML
47 lines
1.3 KiB
HTML
{{extend elemLayout}}
|
||
|
||
{{block 'css'}}
|
||
<link rel="stylesheet" type="text/css" href="{{_res_path}}/help/version-info.css"/>
|
||
{{/block}}
|
||
|
||
{{block 'main'}}
|
||
{{each changelogs ds idx}}
|
||
<div class="hydro-bg log-cont">
|
||
{{set v = ds.version }}
|
||
{{set isDev = v[v.length-1] === 'v'}}
|
||
<div class="cont {{isDev ? 'dev-cont': ''}}">
|
||
{{if idx === 0 }}
|
||
<div class="cont-title current-version">当前版本 {{v}}</div>
|
||
{{if v[v.length-1] === 'v'}}
|
||
<div class="dev-info cont-body">
|
||
<div class="strong">【Dev测试分支,开发中】</div>
|
||
<ul class="log-ul">
|
||
<li>如需体验可切换至<span class="cmd">{{name||'miao-plugin'}}</span>仓库<span class="cmd">dev</span>分支</li>
|
||
<li>Dev功能可能不稳定,建议具备一定排错能力的勇士体验</li>
|
||
</ul>
|
||
</div>
|
||
{{else}}
|
||
{{/if}}
|
||
{{else}}
|
||
<div class="cont-title">{{name || '喵喵'}}版本 {{v}}</div>
|
||
{{/if}}
|
||
<div class="cont-body">
|
||
<ul class="log-ul">
|
||
{{each ds.logs log}}
|
||
<li>
|
||
<p>{{@log.title}}</p>
|
||
{{if log.logs.length > 0}}
|
||
<ul class="sub-log-ul">
|
||
{{each log.logs ls}}
|
||
<li>{{@ls}}</li>
|
||
{{/each}}
|
||
</ul>
|
||
{{/if}}
|
||
</li>
|
||
{{/each}}
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
{{/each}}
|
||
{{/block}} |