login web_icp
parent
ef26b4618d
commit
94cd31bf51
|
|
@ -30,7 +30,9 @@
|
|||
<u-button text="登录" type="primary" @click="submit"></u-button>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <svg class="buttom-image" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto"><defs><path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z"></path></defs><g class="_parallax_1d8xe_24"><use xlink:href="#gentle-wave" x="48" y="0" fill="rgba(255, 255, 255, 0.7)"></use><use xlink:href="#gentle-wave" x="48" y="3" fill="rgba(255, 255, 255, 0.5)"></use><use xlink:href="#gentle-wave" x="48" y="5" fill="rgba(255, 255, 255, 0.3)"></use><use xlink:href="#gentle-wave" x="48" y="7" fill="rgba(255, 255, 255, 1)"></use></g></svg> -->
|
||||
<view class="icp">
|
||||
<text @click="handleIcp">{{ setting.web_icp }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -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;
|
||||
}
|
||||
</style>
|
||||
Loading…
Reference in New Issue