Skip to content

Commit ebb9f32

Browse files
committed
perf:dashboard
1 parent 72b8ffe commit ebb9f32

2 files changed

Lines changed: 14 additions & 12 deletions

File tree

src/views/dashboard/notice/email_dialog.vue

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,12 @@
4444
</el-alert>
4545
<div class="m-action">
4646
<!-- 未发送验证邮件 -->
47-
<el-button
48-
v-if="!hasSendBindEmail"
49-
type="primary"
50-
size="large"
51-
:disabled="!!!form.email"
52-
icon="Position"
53-
@click="bind"
54-
>
55-
发送验证邮件</el-button
56-
>
47+
<template v-if="!hasSendBindEmail">
48+
<el-button type="primary" size="large" :disabled="!!!form.email" icon="Position" @click="bind">
49+
发送验证邮件</el-button
50+
>
51+
<div class="u-tips">仅支持常见邮箱后缀<br>部分邮件服务商可能无法收到验证邮件</div>
52+
</template>
5753
<!-- 已发送验证邮件 -->
5854
<el-button
5955
v-if="hasSendBindEmail"
@@ -119,7 +115,7 @@ export default {
119115
if (!val) {
120116
this.close();
121117
}
122-
}
118+
},
123119
},
124120
computed: {
125121
btnText() {
@@ -220,6 +216,12 @@ export default {
220216
.x;
221217
}
222218
219+
.u-tips{
220+
.fz(12px,2);
221+
color:#999;
222+
margin-top:10px;
223+
}
224+
223225
.el-form-item.is-success {
224226
.el-input__validateIcon {
225227
color: #67c23a;

src/views/dashboard/notice/wechat.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
size="large"
1717
>解除绑定
1818
</el-button>
19-
<el-button type="primary" :circle="isPhone" class="u-bind-button" icon="Connection" @click="open" v-else
19+
<el-button type="primary" size="large" :circle="isPhone" class="u-bind-button" icon="Connection" @click="open" v-else
2020
>绑定公众号
2121
</el-button>
2222
<el-dialog

0 commit comments

Comments
 (0)