miao-plugin/resources/help/version-info.html
2023-02-19 07:55:43 +08:00

47 lines
1.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{{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">miao-plugin</span>仓库<span class="cmd">dev</span>分支</li>
<li>Dev功能可能不稳定建议具备一定排错能力的勇士体验</li>
</ul>
</div>
{{else}}
{{/if}}
{{else}}
<div class="cont-title">喵喵版本 {{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}}