jufubao-third 1.0.7-beta1 → 1.0.7-beta3
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,26 +15,33 @@
|
|
|
15
15
|
<!-- #endif -->
|
|
16
16
|
<view class="jfb-third-pay__body">
|
|
17
17
|
<view class="column-group">
|
|
18
|
-
<view
|
|
19
|
-
<view class="
|
|
20
|
-
|
|
18
|
+
<view style="margin: 20rpx 0;">
|
|
19
|
+
<view class="column-item noBorder">
|
|
20
|
+
<view v-if="product_total_price" class="column_label">商品总额</view>
|
|
21
|
+
<view class="column_value text-gray">
|
|
22
|
+
<xd-unit :price="product_total_price" :isOld="false" :font-size="24" :icon-size="0.3"></xd-unit>
|
|
23
|
+
</view>
|
|
21
24
|
</view>
|
|
22
|
-
<view class="
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
:isOld="false"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
<view v-if="servicePrice" class="column-item noBorder">
|
|
26
|
+
<view class="column_label" style="color: #333;">平台服务费总额</view>
|
|
27
|
+
<view class="column_value text-gray">
|
|
28
|
+
<xd-unit :price="servicePrice" :isOld="false" :font-size="24" :icon-size="0.3"></xd-unit>
|
|
29
|
+
</view>
|
|
30
|
+
</view>
|
|
31
|
+
<view v-if="logisticsPrice" class="column-item noBorder">
|
|
32
|
+
<view class="column_label" style="color: #333;">运费</view>
|
|
33
|
+
<view class="column_value text-gray">
|
|
34
|
+
<xd-unit :price="logisticsPrice" :isOld="false" :font-size="24" :icon-size="0.3"></xd-unit>
|
|
35
|
+
</view>
|
|
29
36
|
</view>
|
|
30
37
|
</view>
|
|
31
|
-
<view
|
|
38
|
+
<view class="column-item">
|
|
32
39
|
<view class="column_label">
|
|
33
|
-
|
|
40
|
+
订单总额
|
|
34
41
|
</view>
|
|
35
42
|
<view class="column_value text-gray">
|
|
36
43
|
<xd-unit
|
|
37
|
-
:price="
|
|
44
|
+
:price="total_price"
|
|
38
45
|
:isOld="false"
|
|
39
46
|
:font-size="24"
|
|
40
47
|
:icon-size="0.3"
|
|
@@ -310,8 +317,11 @@
|
|
|
310
317
|
},
|
|
311
318
|
renderChecked: "renderChecked",
|
|
312
319
|
|
|
313
|
-
|
|
320
|
+
product_total_price: "",
|
|
314
321
|
total_price: "",
|
|
322
|
+
servicePrice: "",
|
|
323
|
+
logisticsPrice: "",
|
|
324
|
+
|
|
315
325
|
jwxSDK: null,
|
|
316
326
|
validImageAPIUrl: "",
|
|
317
327
|
|
|
@@ -431,8 +441,10 @@
|
|
|
431
441
|
this.p_getPayMethod(res.pay_methods);
|
|
432
442
|
|
|
433
443
|
this.total_price = this.$xdUniHelper.multiplyFloatNumber(res.total_price, 1);
|
|
434
|
-
this.serviceFee = res.main_user_server_amount;
|
|
435
444
|
this.needPayPrice = this.total_price;
|
|
445
|
+
this.servicePrice = this.$xdUniHelper.multiplyFloatNumber(res.service_fee, 1);
|
|
446
|
+
this.logisticsPrice = this.$xdUniHelper.multiplyFloatNumber(res.logistics_amount, 1);
|
|
447
|
+
this.product_total_price = this.$xdUniHelper.multiplyFloatNumber(res.product_total_price, 1);
|
|
436
448
|
})
|
|
437
449
|
},
|
|
438
450
|
p_getH5WxAuthorize(){
|
|
@@ -801,6 +813,11 @@
|
|
|
801
813
|
border-bottom: 1px solid rgba(238, 238, 238, 1);
|
|
802
814
|
padding: 30rpx 50rpx;
|
|
803
815
|
|
|
816
|
+
&.noBorder{
|
|
817
|
+
border-bottom: none;
|
|
818
|
+
padding: 10rpx 50rpx;
|
|
819
|
+
}
|
|
820
|
+
|
|
804
821
|
.column_label{
|
|
805
822
|
display: flex;
|
|
806
823
|
align-items: center;
|