jufubao-base 1.0.269 → 1.0.270

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.269",
3
+ "version": "1.0.270",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -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
- left: 0;
194
+ margin-top: 60rpx;
197
195
  }
198
196
  .shop_item{
199
197
  display: flex;
@@ -112,7 +112,7 @@
112
112
  }"
113
113
  >
114
114
  <view
115
- v-if="topIsCarousel === 1 "
115
+ v-if="topIsCarousel === 1 && topList >0"
116
116
  :style="{
117
117
  width: bigWidth + 'rpx',
118
118
  height: smallHeight + 'rpx',
@@ -190,7 +190,7 @@
190
190
  }"
191
191
  >
192
192
  <view
193
- v-if="bottomIsCarousel === 1 "
193
+ v-if="bottomIsCarousel === 1 && bottomList.length>0"
194
194
  :style="{
195
195
  width: bigWidth + 'rpx',
196
196
  height: smallHeight + 'rpx',
@@ -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