jufubao-base 1.0.187-beta2 → 1.0.187-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 +1 -1
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +4 -1
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +17 -5
- package/src/components/JfbBaseFastLink/XdFastNav.vue +1 -2
- package/src/components/JfbBaseFooter/JfbBaseFooter.vue +4 -4
- package/src/components/JfbBaseOrderDetail/Api.js +1 -0
- package/src/components/JfbBaseOrderDetail/Attr.js +140 -0
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +108 -27
- package/src/components/JfbBaseOrderList/Attr.js +36 -2
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +22 -6
- package/src/components/JfbBaseOrderList/Mock.js +3 -0
- package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +28 -7
- package/src/components/JfbBasePhoneCollect/Attr.js +945 -411
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +307 -27
- package/src/components/JfbBasePhoneLogin/Attr.js +893 -405
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +609 -253
- package/src/components/JfbBaseSuccess/Attr.js +1 -1
- package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetail.vue +4 -1
- package/src/components/JfbBaseWallet/Attr.js +4 -1
|
@@ -253,11 +253,13 @@ export default {
|
|
|
253
253
|
is_shadow: "Y",
|
|
254
254
|
is_shadow_bg: 0,
|
|
255
255
|
is_shadow_w: 0,
|
|
256
|
+
sectionShadow: "",
|
|
256
257
|
|
|
257
258
|
//边框
|
|
258
259
|
is_border: "Y",
|
|
259
260
|
is_border_w: 0,
|
|
260
261
|
is_border_c: "",
|
|
262
|
+
sectionBorder: "",
|
|
261
263
|
|
|
262
264
|
//其他
|
|
263
265
|
margin: {
|
|
@@ -282,14 +284,16 @@ export default {
|
|
|
282
284
|
return str
|
|
283
285
|
},
|
|
284
286
|
shadowBox() {
|
|
285
|
-
if (this.is_shadow === "Y")
|
|
286
|
-
|
|
287
|
-
else return "0 0 0 rgba(0,0,0,0)";
|
|
287
|
+
// if (this.is_shadow === "Y")
|
|
288
|
+
// return `0 0 ${this.is_shadow_w}rpx ${this.is_shadow_bg}`;
|
|
289
|
+
// else return "0 0 0 rgba(0,0,0,0)";
|
|
290
|
+
return this.sectionShadow;
|
|
288
291
|
},
|
|
289
292
|
borderBox() {
|
|
290
|
-
if (this.is_border === "Y")
|
|
291
|
-
|
|
292
|
-
else return "0";
|
|
293
|
+
// if (this.is_border === "Y")
|
|
294
|
+
// return `${this.is_border_w}rpx solid ${this.is_border_c}`;
|
|
295
|
+
// else return "0";
|
|
296
|
+
return this.sectionBorder;
|
|
293
297
|
},
|
|
294
298
|
},
|
|
295
299
|
watch: {
|
|
@@ -337,10 +341,22 @@ export default {
|
|
|
337
341
|
this.is_shadow = getContainerPropsValue(container, "content.is_shadow", "N");
|
|
338
342
|
this.is_shadow_bg = getContainerPropsValue(container, "content.is_shadow_bg", "#fff");
|
|
339
343
|
this.is_shadow_w = getContainerPropsValue(container, "content.is_shadow_w", "10");
|
|
344
|
+
let sectionShadow = getContainerPropsValue(container, "content.sectionShadow", "");
|
|
345
|
+
this.sectionShadow = this.getShadowCompatibleOldStyle(sectionShadow, {
|
|
346
|
+
type: this.is_shadow,
|
|
347
|
+
width: this.is_shadow_w,
|
|
348
|
+
color: this.is_shadow_bg,
|
|
349
|
+
})
|
|
340
350
|
|
|
341
351
|
this.is_border = getContainerPropsValue(container, "content.is_border", "N");
|
|
342
352
|
this.is_border_c = getContainerPropsValue(container, "content.is_border_c", "#fff");
|
|
343
353
|
this.is_border_w = getContainerPropsValue(container, "content.is_border_w", 2);
|
|
354
|
+
let sectionBorder = getContainerPropsValue(container, "content.sectionBorder", "");
|
|
355
|
+
this.sectionBorder = this.getBorderCompatibleOldStyle(sectionBorder, {
|
|
356
|
+
type: this.is_border,
|
|
357
|
+
width: this.is_border_w,
|
|
358
|
+
color: this.is_border_c,
|
|
359
|
+
})
|
|
344
360
|
|
|
345
361
|
this.detailPath = getContainerPropsValue(container, "content.detailPath", { value: "" }).value;
|
|
346
362
|
this.payPath = getContainerPropsValue(container, "content.payPath", {value: "",}).value;
|
|
@@ -9,6 +9,7 @@ module.exports = {
|
|
|
9
9
|
"created_time": 1684491205,
|
|
10
10
|
"status": {"status": "UNPAID", "status_name": "未支付", "status_type": "wait"},
|
|
11
11
|
"total_amount": 2678,
|
|
12
|
+
"main_user_server_amount": 12,
|
|
12
13
|
"biz_code": "cake",
|
|
13
14
|
"biz_code_name": "蛋糕(勿改)订单",
|
|
14
15
|
"biz_code_icon": "icondangao-01",
|
|
@@ -111,6 +112,7 @@ module.exports = {
|
|
|
111
112
|
"status": {"status": "HANDLER_ING", "status_name": "处理中", "status_type": "wait"},
|
|
112
113
|
"total_amount": 10920,
|
|
113
114
|
"biz_code": "gift",
|
|
115
|
+
"is_not_show_price": "Y",
|
|
114
116
|
"biz_code_name": "礼包(勿改)订单",
|
|
115
117
|
"biz_code_icon": "icondalibao-01",
|
|
116
118
|
"products": [{
|
|
@@ -134,6 +136,7 @@ module.exports = {
|
|
|
134
136
|
"status": {"status": "COMPLETED", "status_name": "已完成", "status_type": "success"},
|
|
135
137
|
"total_amount": 4800,
|
|
136
138
|
"biz_code": "movie",
|
|
139
|
+
"is_not_show_price": "Y",
|
|
137
140
|
"biz_code_name": "电影(勿改)订单",
|
|
138
141
|
"biz_code_icon": "icondianying-01",
|
|
139
142
|
"products": [{
|
|
@@ -54,14 +54,31 @@
|
|
|
54
54
|
</view>
|
|
55
55
|
</view>
|
|
56
56
|
<view class="prod_total">
|
|
57
|
-
<view
|
|
57
|
+
<view>
|
|
58
|
+
<view class="serve_fee" style="color:#999" v-if="item['main_user_server_amount'] !== undefined && item['main_user_server_amount'] > 0">
|
|
59
|
+
<text>(平台服务费:</text>
|
|
60
|
+
<xd-unit
|
|
61
|
+
:isOld="false"
|
|
62
|
+
:price="item['main_user_server_amount']"
|
|
63
|
+
:fontSize="24"
|
|
64
|
+
:is-gray="true"
|
|
65
|
+
color="#999"
|
|
66
|
+
:icon-size=".25"
|
|
67
|
+
></xd-unit>
|
|
68
|
+
<text>)</text>
|
|
69
|
+
</view>
|
|
70
|
+
</view>
|
|
58
71
|
<view style="display: flex;align-items: center;">
|
|
59
|
-
共{{item.products.length}}件商品
|
|
60
|
-
<
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
72
|
+
共{{item.products.length}}件商品
|
|
73
|
+
<template v-if="item.biz_code !== 'gift' && item.is_not_show_price !== 'Y'">
|
|
74
|
+
实付
|
|
75
|
+
<xd-unit
|
|
76
|
+
:isOld="false"
|
|
77
|
+
:price="item.total_amount"
|
|
78
|
+
:color="mainColor"
|
|
79
|
+
:fontSize="28"></xd-unit>
|
|
80
|
+
</template>
|
|
81
|
+
|
|
65
82
|
</view>
|
|
66
83
|
</view>
|
|
67
84
|
<view v-if="item.buttons.length" class="prod_footer">
|
|
@@ -224,6 +241,10 @@
|
|
|
224
241
|
border-top: 1px solid #EDEDED;
|
|
225
242
|
color: #2e2f30;
|
|
226
243
|
font-size: 26rpx;
|
|
244
|
+
.serve_fee{
|
|
245
|
+
display: flex;
|
|
246
|
+
align-items: center;
|
|
247
|
+
}
|
|
227
248
|
}
|
|
228
249
|
.prod_footer{
|
|
229
250
|
padding: 16rpx 30rpx 16rpx 0;
|