mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +00:00
#角色
命令强制更新MysInfo数据
This commit is contained in:
parent
980f4a8cf7
commit
3c737a8f76
@ -21,7 +21,7 @@
|
||||
* 其他功能及界面优化,部分已知问题调整
|
||||
* `#上传深渊` 界面与样式调整
|
||||
* `#刷新排名`、`#禁用排名`、`#启用排名`可由群管理员进行管理
|
||||
* 增加`#删除面板`命令,目前绑定CK用户使用,Bot主人可删除任意UID数据
|
||||
* 增加`#删除面板`命令,目前限绑定CK用户使用删除自己UID数据,Bot主人可删除任意UID数据
|
||||
|
||||
# 2.2.0
|
||||
|
||||
|
@ -25,6 +25,7 @@ const ProfileStat = {
|
||||
let player = Player.create(e)
|
||||
|
||||
let avatarRet = await player.refreshAndGetAvatarData({
|
||||
index: 2,
|
||||
detail: 1,
|
||||
talent: isAvatarList ? 0 : 1,
|
||||
rank: true,
|
||||
|
@ -257,6 +257,9 @@ export default class Player extends Base {
|
||||
}
|
||||
|
||||
async refresh (cfg) {
|
||||
if (cfg.index || cfg.index === 0) {
|
||||
await this.refreshMysInfo(cfg.index)
|
||||
}
|
||||
if (cfg.detail || cfg.detail === 0) {
|
||||
await this.refreshMysDetail(cfg.detail)
|
||||
}
|
||||
|
@ -104,11 +104,13 @@ body,
|
||||
.cont-footer {
|
||||
display: flex;
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
width: 100%;
|
||||
}
|
||||
.cont-footer span {
|
||||
width: 50%;
|
||||
width: 35%;
|
||||
}
|
||||
.cont-footer .serv {
|
||||
width: 65%;
|
||||
text-align: right;
|
||||
}
|
||||
.cont-footer .new-tip:before {
|
||||
|
@ -125,12 +125,14 @@ body, .container {
|
||||
.cont-footer {
|
||||
display: flex;
|
||||
background: rgba(0, 0, 0, .4);
|
||||
width: 100%;
|
||||
|
||||
span {
|
||||
width: 50%;
|
||||
width: 35%;
|
||||
}
|
||||
|
||||
.serv {
|
||||
width: 65%;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
@ -65,4 +65,19 @@ body {
|
||||
color: #d3bc8e;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.dev-cont {
|
||||
background: none;
|
||||
}
|
||||
.dev-cont .cont-title {
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
.dev-cont .cont-body {
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
.dev-cont .cont-body.dev-info {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
.dev-cont .strong {
|
||||
font-size: 15px;
|
||||
}
|
||||
/*# sourceMappingURL=version-info.css.map */
|
@ -7,11 +7,23 @@
|
||||
{{block 'main'}}
|
||||
{{each changelogs ds idx}}
|
||||
<div class="hydro-bg log-cont">
|
||||
<div class="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">当前版本 {{ds.version}}</div>
|
||||
<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}}
|
||||
<div class="cont-title">喵喵版本 {{ds.version}}</div>
|
||||
{{/if}}
|
||||
{{else}}
|
||||
<div class="cont-title">喵喵版本 {{v}}</div>
|
||||
{{/if}}
|
||||
<div class="cont-body">
|
||||
<ul class="log-ul">
|
||||
|
@ -88,3 +88,23 @@ body {
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.dev-cont {
|
||||
background: none;
|
||||
|
||||
.cont-title {
|
||||
background: rgba(0, 0, 0, .7);
|
||||
}
|
||||
|
||||
.cont-body {
|
||||
background: rgba(0, 0, 0, .5);
|
||||
|
||||
&.dev-info {
|
||||
background: rgba(0, 0, 0, .2);
|
||||
}
|
||||
}
|
||||
|
||||
.strong {
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user