|
|
@@ -149,7 +149,13 @@ export default {
|
|
|
uni.login({
|
|
|
provider: 'univerify',
|
|
|
// 自定义登录框样式
|
|
|
- univerifyStyle: {"fullScreen": true},
|
|
|
+ univerifyStyle: {
|
|
|
+ "fullScreen": true,
|
|
|
+ "privacyTerms": {
|
|
|
+ "defaultCheckBoxState":false,
|
|
|
+ "checkBoxSize":18
|
|
|
+ }
|
|
|
+ },
|
|
|
success:(res)=>{ // 登录成功
|
|
|
let openid = res.authResult.openid
|
|
|
let access_token = res.authResult.access_token
|
|
|
@@ -197,7 +203,7 @@ export default {
|
|
|
uni.hideLoading()
|
|
|
console.log(res)
|
|
|
setTimeout(function(){
|
|
|
- uni.showToast({ title: '登录失败,请打开流量,关闭wifi,再登录', duration: 3000, icon:'none' })
|
|
|
+ //uni.showToast({ title: '登录失败,请打开流量,关闭wifi,再登录', duration: 3000, icon:'none' })
|
|
|
},1000)
|
|
|
},
|
|
|
complete: (res) => {
|