jufubao-base 1.0.270-beta1 → 1.0.271
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -189,11 +189,9 @@ export default {
|
|
|
189
189
|
color: #666666;
|
|
190
190
|
font-size: 24rpx;
|
|
191
191
|
height: 60rpx;
|
|
192
|
-
position: absolute;
|
|
193
|
-
bottom: 40rpx;
|
|
194
192
|
width: 100%;
|
|
195
193
|
box-sizing: border-box;
|
|
196
|
-
|
|
194
|
+
margin-top: 60rpx;
|
|
197
195
|
}
|
|
198
196
|
.shop_item{
|
|
199
197
|
display: flex;
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
console.log(this.getTokenForKey('user_level'),'user_leveluser_level');
|
|
328
328
|
console.log(this.projectAttr.headers['X-Site-Group'],'this.$configProject');
|
|
329
329
|
this.is_plus_site = this.projectAttr.headers['X-Site-Group']==="vip";
|
|
330
|
-
this.is_vip = this.getTokenForKey('user_level')&&this.getTokenForKey('user_level')==='VIP'?'Y':'N'
|
|
330
|
+
// this.is_vip = this.getTokenForKey('user_level')&&this.getTokenForKey('user_level')==='VIP'?'Y':'N'
|
|
331
331
|
this.init(this.container);
|
|
332
332
|
},
|
|
333
333
|
methods: {
|
|
@@ -385,6 +385,7 @@
|
|
|
385
385
|
res.vip_expire_time = this.$xdUniHelper.getDate(
|
|
386
386
|
res.vip_expire_time * 1000
|
|
387
387
|
).fullDate;
|
|
388
|
+
this.is_vip = res.user_level === 'VIP' ? 'Y' : 'N';
|
|
388
389
|
this.userInfo = res;
|
|
389
390
|
}).catch(error => {
|
|
390
391
|
console.log('getBaseUserInfo', error)
|
|
@@ -491,7 +492,10 @@
|
|
|
491
492
|
this.$xdUniHelper.navigateTo({
|
|
492
493
|
url: this.codePath
|
|
493
494
|
})
|
|
494
|
-
}
|
|
495
|
+
},
|
|
496
|
+
onJfbShow(options) {
|
|
497
|
+
this.onJfbLoad(options);
|
|
498
|
+
},
|
|
495
499
|
}
|
|
496
500
|
}
|
|
497
501
|
|