|
|
@@ -44,7 +44,7 @@
|
|
|
</view>
|
|
|
</block>
|
|
|
<block v-else>
|
|
|
- <view class="user_con flex_c flex_jb">
|
|
|
+ <view class="user_con flex_c flex_jb" @click="login">
|
|
|
<view class="user_name flex_r flex_ae ellipsis">点此处登录</view>
|
|
|
</view>
|
|
|
</block>
|
|
|
@@ -289,9 +289,9 @@
|
|
|
},
|
|
|
onLoad: function(options) {
|
|
|
//推荐人ID
|
|
|
- if (options.dealer) {
|
|
|
- app.globalData.agentId = options.dealer;
|
|
|
- this.invited = options.dealer
|
|
|
+ if (options.invite) {
|
|
|
+ app.globalData.agentId = options.invite;
|
|
|
+ this.invited = options.invite
|
|
|
}
|
|
|
// if (options && options.scene) {
|
|
|
// var scene = decodeURIComponent(options.scene).split("&");
|
|
|
@@ -328,10 +328,10 @@
|
|
|
that.getuserInfo();
|
|
|
} else {
|
|
|
that.unid = res.data.unid;
|
|
|
- // setTimeout(() => {
|
|
|
- that.showAuth = true;
|
|
|
- that.shopInfo = app.globalData.shopInfo;
|
|
|
- // }, 500);
|
|
|
+ setTimeout(() => {
|
|
|
+ that.shopInfo = app.globalData.shopInfo;
|
|
|
+ that.showAuth = true;
|
|
|
+ }, 1000);
|
|
|
}
|
|
|
}
|
|
|
});
|