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