diff --git a/pages/togoin/togoin.wxml b/pages/togoin/togoin.wxml index 81a94df..f9e3e25 100644 --- a/pages/togoin/togoin.wxml +++ b/pages/togoin/togoin.wxml @@ -4,8 +4,10 @@ - - {{store.store_name}} + + + {{store.store_name}} + diff --git a/pages/togoin/togoin.wxss b/pages/togoin/togoin.wxss index 9ee2fba..4563ed4 100644 --- a/pages/togoin/togoin.wxss +++ b/pages/togoin/togoin.wxss @@ -14,7 +14,6 @@ page{ width: 192rpx; height: 192rpx; border-radius: 50%; - position: absolute; } .phones{ margin-bottom: 48rpx; @@ -62,3 +61,7 @@ button{ .f2 { flex: 2 0; } + +.middle_view{ + position: absolute; left: 0; width: 100%; text-align: center; +} diff --git a/utils/auth.js b/utils/auth.js index 5956baa..d29b134 100644 --- a/utils/auth.js +++ b/utils/auth.js @@ -213,7 +213,7 @@ module.exports = { var userInfo = a.userInfo; if (userInfo==undefined){ //判断本地是数据是否正确 - n.goto("/pages/togoin/togoin"); + if(n.globalData.wxapp_buy_obj && n.globalData.wxapp_buy_obj.isbuy==1 && n.globalData.wxapp_buy_obj.isout==0 ) n.goto("/pages/togoin/togoin"); }else{ a && void 0 != a ? (n.globalData.wechatUser = a, o.login(t, a, e)) : o.goGetUserInfo();