Commit 0d4a170c authored by youjie's avatar youjie

强制登录

parent a6edb611
<template> <template>
<div class="auth-page"> <div class="auth-page" v-if="setting&&setting.is_show_auth==1">
<u-popup <u-popup
v-model="showDialog" v-model="showDialog"
mode="center" mode="center"
...@@ -50,6 +50,7 @@ export default { ...@@ -50,6 +50,7 @@ export default {
showLogin: true, showLogin: true,
canIUseGetUserProfile: false, canIUseGetUserProfile: false,
msg: {}, msg: {},
setting: {},
}; };
}, },
created() { created() {
...@@ -64,6 +65,9 @@ export default { ...@@ -64,6 +65,9 @@ export default {
let y = this.pageinfo.hotspot_cancel; let y = this.pageinfo.hotspot_cancel;
this.sureStyle = `height:${x.height}rpx;width:${x.width}rpx;left:${x.left}rpx;top:${x.top}rpx;`; this.sureStyle = `height:${x.height}rpx;width:${x.width}rpx;left:${x.left}rpx;top:${x.top}rpx;`;
this.cancelStyle = `height:${y.height}rpx;width:${y.width}rpx;left:${y.left}rpx;top:${y.top}rpx;`; this.cancelStyle = `height:${y.height}rpx;width:${y.width}rpx;left:${y.left}rpx;top:${y.top}rpx;`;
let set = uni.getStorageSync("basedata") ?
uni.getStorageSync("basedata").mall.setting : {};
this.setting = set;
}, },
methods: { methods: {
getoldUser() { getoldUser() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment