feat: add wechat id card for closing register

This commit is contained in:
RockYang 2023-11-20 16:38:04 +08:00
parent 787ed9bc0f
commit 4628095fe7

View File

@ -85,6 +85,9 @@
<el-result icon="error" title="注册功能已关闭"> <el-result icon="error" title="注册功能已关闭">
<template #sub-title> <template #sub-title>
<p>抱歉系统已关闭注册功能请联系管理员添加账号</p> <p>抱歉系统已关闭注册功能请联系管理员添加账号</p>
<div class="wechat-card">
<el-image :src="wxImg"/>
</div>
</template> </template>
</el-result> </el-result>
</div> </div>
@ -122,6 +125,7 @@ const formData = ref({
const formRef = ref(null) const formRef = ref(null)
const enableMsg = ref(false) const enableMsg = ref(false)
const enableRegister = ref(true) const enableRegister = ref(true)
const wxImg = ref("/images/wx.png")
httpGet('/api/sms/status').then(res => { httpGet('/api/sms/status').then(res => {
if (res.data) { if (res.data) {
@ -249,6 +253,10 @@ const register = function () {
.tip-result { .tip-result {
z-index 10 z-index 10
.wechat-card {
padding 20px
}
} }
.footer { .footer {