jufubao-third 1.0.6-beta3 → 1.0.7-beta1

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-third",
3
- "version": "1.0.6-beta3",
3
+ "version": "1.0.7-beta1",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件第三方购物平台包",
6
6
  "main": "index.js",
@@ -28,6 +28,19 @@
28
28
  ></xd-unit>
29
29
  </view>
30
30
  </view>
31
+ <view v-if="serviceFee" class="column-item">
32
+ <view class="column_label">
33
+ 平台服务费
34
+ </view>
35
+ <view class="column_value text-gray">
36
+ <xd-unit
37
+ :price="serviceFee"
38
+ :isOld="false"
39
+ :font-size="24"
40
+ :icon-size="0.3"
41
+ ></xd-unit>
42
+ </view>
43
+ </view>
31
44
  <view class="column-item">
32
45
  <view class="column_label">
33
46
  仍需支付
@@ -297,6 +310,7 @@
297
310
  },
298
311
  renderChecked: "renderChecked",
299
312
 
313
+ serviceFee: "",
300
314
  total_price: "",
301
315
  jwxSDK: null,
302
316
  validImageAPIUrl: "",
@@ -417,6 +431,7 @@
417
431
  this.p_getPayMethod(res.pay_methods);
418
432
 
419
433
  this.total_price = this.$xdUniHelper.multiplyFloatNumber(res.total_price, 1);
434
+ this.serviceFee = res.main_user_server_amount;
420
435
  this.needPayPrice = this.total_price;
421
436
  })
422
437
  },