jufubao-third 1.0.7-beta1 → 1.0.7-beta2
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
|
@@ -15,6 +15,24 @@
|
|
|
15
15
|
<!-- #endif -->
|
|
16
16
|
<view class="jfb-third-pay__body">
|
|
17
17
|
<view class="column-group">
|
|
18
|
+
<view class="column-item">
|
|
19
|
+
<view v-if="product_total_price" class="column_label">商品总额</view>
|
|
20
|
+
<view class="column_value text-gray">
|
|
21
|
+
<xd-unit :price="product_total_price" :isOld="false" :font-size="24" :icon-size="0.3"></xd-unit>
|
|
22
|
+
</view>
|
|
23
|
+
</view>
|
|
24
|
+
<view v-if="logisticsPrice" class="column-item">
|
|
25
|
+
<view class="column_label">运费</view>
|
|
26
|
+
<view class="column_value text-gray">
|
|
27
|
+
<xd-unit :price="logisticsPrice" :isOld="false" :font-size="24" :icon-size="0.3"></xd-unit>
|
|
28
|
+
</view>
|
|
29
|
+
</view>
|
|
30
|
+
<view v-if="servicePrice" class="column-item">
|
|
31
|
+
<view class="column_label">平台服务费总额</view>
|
|
32
|
+
<view class="column_value text-gray">
|
|
33
|
+
<xd-unit :price="servicePrice" :isOld="false" :font-size="24" :icon-size="0.3"></xd-unit>
|
|
34
|
+
</view>
|
|
35
|
+
</view>
|
|
18
36
|
<view class="column-item">
|
|
19
37
|
<view class="column_label">
|
|
20
38
|
订单总额
|
|
@@ -310,8 +328,11 @@
|
|
|
310
328
|
},
|
|
311
329
|
renderChecked: "renderChecked",
|
|
312
330
|
|
|
313
|
-
|
|
331
|
+
product_total_price: "",
|
|
314
332
|
total_price: "",
|
|
333
|
+
servicePrice: "",
|
|
334
|
+
logisticsPrice: "",
|
|
335
|
+
|
|
315
336
|
jwxSDK: null,
|
|
316
337
|
validImageAPIUrl: "",
|
|
317
338
|
|
|
@@ -431,8 +452,10 @@
|
|
|
431
452
|
this.p_getPayMethod(res.pay_methods);
|
|
432
453
|
|
|
433
454
|
this.total_price = this.$xdUniHelper.multiplyFloatNumber(res.total_price, 1);
|
|
434
|
-
this.serviceFee = res.main_user_server_amount;
|
|
435
455
|
this.needPayPrice = this.total_price;
|
|
456
|
+
this.servicePrice = this.$xdUniHelper.multiplyFloatNumber(res.service_fee, 1);
|
|
457
|
+
this.logisticsPrice = this.$xdUniHelper.multiplyFloatNumber(res.logistics_amount, 1);
|
|
458
|
+
this.product_total_price = this.$xdUniHelper.multiplyFloatNumber(res.product_total_price, 1);
|
|
436
459
|
})
|
|
437
460
|
},
|
|
438
461
|
p_getH5WxAuthorize(){
|