jufubao-mall 1.0.44 → 1.0.45

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-mall",
3
- "version": "1.0.44",
3
+ "version": "1.0.45",
4
4
  "private": false,
5
5
  "description": "聚福宝商城业务组件插件包",
6
6
  "main": "index.js",
@@ -123,7 +123,7 @@
123
123
  <view v-else class="empty_data"
124
124
  >没有相关门店</view>
125
125
  </scroll-view>
126
-
126
+
127
127
  </view>
128
128
  <!-- end 线下门店 -->
129
129
 
@@ -234,7 +234,7 @@
234
234
  onJfbLoad(options) {
235
235
  //设置业务请求代码
236
236
  this.setNameSpace(options);
237
-
237
+
238
238
  this.options = options;
239
239
  this.region_limit_tpl_id = options.region_limit_tpl_id || "";
240
240
  this.brand_id = options.brand_id || options.id;
@@ -255,6 +255,7 @@
255
255
  jfbRootExec("getBrandInfo", {
256
256
  vm: this,
257
257
  data: {
258
+ ...this.options,
258
259
  brand_id: this.brand_id,
259
260
  xnamespace: this.xnamespace
260
261
  }
@@ -278,6 +279,7 @@
278
279
  },
279
280
  p_getProdList(){
280
281
  var data = {
282
+ ...this.options,
281
283
  xnamespace: this.xnamespace,
282
284
  random_score_seed: this.random_score_seed,
283
285
  page_token: this.page_token,
@@ -314,6 +316,8 @@
314
316
  jfbRootExec("getShopList", {
315
317
  vm: this,
316
318
  data: this.$xdUniHelper.deleteParamEmptyKey({
319
+ consume_mode: "SELL",
320
+ ...this.options,
317
321
  brand_id: this.brand_id,
318
322
  city_code: this.stateCity.city_code,
319
323
  latitude: this.stateLocation.latitude,
@@ -321,7 +325,7 @@
321
325
  page_size: this.shop_page_size,
322
326
  page_token: this.shop_page_token,
323
327
  region_limit_tpl_id: this.region_limit_tpl_id,
324
- namespace: this.xnamespace
328
+ namespace: this.xnamespace,
325
329
  })
326
330
  }).then(res => {
327
331
  this.loaded = true;
@@ -340,7 +344,7 @@
340
344
  this.shop_next_page_token = res.next_page_token;
341
345
  })
342
346
  },
343
-
347
+
344
348
  handleProdScrollBottom(){
345
349
  if(!this.hasNext) return;
346
350
  this.page_token = this.next_page_token;
@@ -478,7 +482,7 @@
478
482
  }
479
483
  }
480
484
  }
481
-
485
+
482
486
  // overflow: auto;
483
487
  .xd-more{
484
488
  width: 100%;
@@ -498,11 +502,11 @@
498
502
  margin-bottom: 20rpx;
499
503
  display: flex;
500
504
  border-radius: 10rpx;
501
-
505
+
502
506
  .prod_specs{
503
507
  display: none;
504
508
  }
505
-
509
+
506
510
  &.row_num2{
507
511
  width: 345rpx;
508
512
  flex-direction: column;
@@ -560,7 +564,7 @@
560
564
  margin-right: unit(24, rpx);
561
565
  flex-shrink: 0;
562
566
  overflow: hidden;
563
-
567
+
564
568
  image{
565
569
  width: 100%;
566
570
  height: 100%;
@@ -581,7 +585,7 @@
581
585
  line-height: unit(50, rpx);
582
586
  color: #242424;
583
587
  margin-bottom: unit(16, rpx);
584
-
588
+
585
589
  ._name{
586
590
  flex: 1;
587
591
  .uni-max-cut(1, 50);