login web_icp
parent
ef26b4618d
commit
94cd31bf51
|
|
@ -30,7 +30,9 @@
|
||||||
<u-button text="登录" type="primary" @click="submit"></u-button>
|
<u-button text="登录" type="primary" @click="submit"></u-button>
|
||||||
</view>
|
</view>
|
||||||
</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>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -44,7 +46,7 @@ export default {
|
||||||
captcha: '',
|
captcha: '',
|
||||||
sys_captcha: '',
|
sys_captcha: '',
|
||||||
openid: '',
|
openid: '',
|
||||||
open_type: ''
|
open_type: '',
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
username: {
|
username: {
|
||||||
|
|
@ -64,14 +66,15 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
setting: {
|
setting: {
|
||||||
login_captcha: false
|
login_captcha: false,
|
||||||
|
web_icp: ''
|
||||||
},
|
},
|
||||||
captcha: '',
|
captcha: '',
|
||||||
logo: '',
|
logo: '',
|
||||||
appName: '',
|
appName: '',
|
||||||
|
|
||||||
openid: '',
|
openid: '',
|
||||||
open_type: ''
|
open_type: '',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
|
|
@ -118,6 +121,11 @@ export default {
|
||||||
this.user.sys_captcha = res.data.sys_captcha
|
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 {
|
.app-name {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
.icp {
|
||||||
|
margin-top: 50px;
|
||||||
|
text-align: center;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Loading…
Reference in New Issue