Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit 22d97fe

Browse files
committed
Feat: 新增部分动效
1 parent b4b9737 commit 22d97fe

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

src/app/views/Install/index.vue

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,17 @@
2424
<div class="bg"></div>
2525
<div class="panel-wrapper" v-if="step == 0">
2626
<Panel class="panel tc" body-style="padding:40px;">
27-
<h1 class="title">欢迎使用MCSManager 管理面板</h1>
28-
<p>我们支持 Minecraft,其他部分游戏服务端以及通用控制台程序的交互和管理。</p>
27+
<h1 class="title">欢迎使用 MCSManager 管理面板</h1>
28+
<p>开源,分布式,开箱即用,支持 Minecraft 游戏服务端和所有控制台程序的管理面板</p>
2929
<div style="margin-top: 48px">
30-
<el-button type="primary" @click="next">现在安装</el-button>
30+
<el-button type="primary" @click="next" v-loading="isLoading">开始使用</el-button>
3131
</div>
3232
<div class="panel-bottom">
33-
<a href="https://mcsmanager.com/" target="_blank" rel="noopener noreferrer"
34-
>官方网站: https://mcsmanager.com/</a
35-
>
33+
<a href="https://mcsmanager.com/" target="_blank" rel="noopener noreferrer">
34+
Reference: https://mcsmanager.com/
35+
</a>
36+
<br />
37+
<span>Released under the AGPL-3.0 License.</span>
3638
</div>
3739
</Panel>
3840
</div>
@@ -50,7 +52,9 @@
5052
<el-input v-model="initUser.passWord" />
5153
</el-form-item>
5254
<el-form-item label="">
53-
<el-button type="primary" @click="createUser">创建账号</el-button>
55+
<el-button type="primary" @click="createUser" v-loading="isLoading">
56+
创建账号
57+
</el-button>
5458
</el-form-item>
5559
</el-form>
5660
</div>
@@ -118,7 +122,11 @@ export default {
118122
},
119123
methods: {
120124
next() {
121-
this.step++;
125+
this.isLoading = true;
126+
setTimeout(() => {
127+
this.isLoading = false;
128+
this.step++;
129+
}, 2000);
122130
},
123131
async createUser() {
124132
this.$refs["form"].validate(async (valid) => {

0 commit comments

Comments
 (0)