From 94cd31bf51fa2933834a95133c0fdd0648732253 Mon Sep 17 00:00:00 2001
From: panliang <1163816051@qq.com>
Date: Mon, 25 Sep 2023 16:48:45 +0800
Subject: [PATCH] login web_icp
---
src/pages/login/login.vue | 21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/src/pages/login/login.vue b/src/pages/login/login.vue
index 6423049..7bb63b2 100644
--- a/src/pages/login/login.vue
+++ b/src/pages/login/login.vue
@@ -30,7 +30,9 @@
-
+
+ {{ setting.web_icp }}
+
@@ -44,7 +46,7 @@ export default {
captcha: '',
sys_captcha: '',
openid: '',
- open_type: ''
+ open_type: '',
},
rules: {
username: {
@@ -64,14 +66,15 @@ export default {
}
},
setting: {
- login_captcha: false
+ login_captcha: false,
+ web_icp: ''
},
captcha: '',
logo: '',
appName: '',
openid: '',
- open_type: ''
+ open_type: '',
}
},
onLoad(e) {
@@ -118,6 +121,11 @@ export default {
this.user.sys_captcha = res.data.sys_captcha
}
})
+ },
+ handleIcp() {
+ // #ifdef H5
+ window.open('https://beian.miit.gov.cn', '_blank')
+ // #endif
}
}
}
@@ -153,4 +161,9 @@ export default {
.app-name {
font-size: 20px;
}
+ .icp {
+ margin-top: 50px;
+ text-align: center;
+ color: white;
+ }
\ No newline at end of file