jufubao-base 1.0.63-beta217 → 1.0.63-beta219
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/JfbBaseAddress/JfbBaseAddressLess.less +1 -1
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetailLess.less +1 -1
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderListLess.less +1 -1
- package/src/components/JfbBaseBack/JfbBaseBackLess.less +1 -1
- package/src/components/JfbBaseBackground/JfbBaseBackground.vue +13 -10
- package/src/components/JfbBaseBackground/JfbBaseBackgroundLess.less +1 -1
- package/src/components/JfbBaseBlock/JfbBaseBlockLess.less +1 -1
- package/src/components/JfbBaseBottomNotice/JfbBaseBottomNoticeLess.less +1 -1
- package/src/components/JfbBaseCard/JfbBaseCardLess.less +1 -1
- package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +1 -1
- package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +1 -1
- package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +1 -1
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +1 -1
- package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +1 -1
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +1 -1
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +1 -1
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +1 -1
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +1 -1
- package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +1 -1
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +1 -1
- package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +1 -1
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +1 -1
- package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +1 -1
- package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +1 -1
- package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +1 -1
- package/src/components/JfbBaseCity/JfbBaseCityLess.less +1 -1
- package/src/components/JfbBaseClear/JfbBaseClearLess.less +1 -1
- package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +1 -1
- package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +1 -1
- package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +1 -1
- package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +1 -1
- package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +1 -1
- package/src/components/JfbBaseLine/JfbBaseLineLess.less +1 -1
- package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +1 -1
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +1 -1
- package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +1 -1
- package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +1 -1
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +1 -1
- package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +1 -1
- package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +1 -1
- package/src/components/JfbBaseMy/JfbBaseMyLess.less +1 -1
- package/src/components/JfbBaseNotice/Attr.js +9 -8
- package/src/components/JfbBaseNotice/JfbBaseNotice.vue +231 -101
- package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +1 -1
- package/src/components/JfbBaseNotice/XdNoticeBar.vue +519 -0
- package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +1 -1
- package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +1 -1
- package/src/components/JfbBaseOrderDetail/Attr.js +13 -0
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +57 -33
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +1 -1
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +1 -1
- package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +1 -1
- package/src/components/JfbBasePay/Attr.js +12 -13
- package/src/components/JfbBasePay/JfbBasePay.vue +15 -7
- package/src/components/JfbBasePay/JfbBasePayLess.less +1 -1
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +1 -1
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +1 -1
- package/src/components/JfbBasePoster/JfbBasePosterLess.less +1 -1
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +1 -1
- package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +1 -1
- package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +1 -1
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +1 -1
- package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +1 -1
- package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +1 -1
- package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +1 -1
- package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +1 -1
- package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +1 -1
- package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +1 -1
- package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +1 -1
- package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +1 -1
- package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +1 -1
- package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +1 -1
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +1 -1
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +1 -1
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +23 -23
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +1 -1
- package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +1 -1
- package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +1 -1
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +1 -1
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +1 -1
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
:key="Dindex"
|
|
236
236
|
class="jfb-base-order-detail__body-delivery-bottom-item"
|
|
237
237
|
>
|
|
238
|
-
<view :style="{width: '130rpx'}">
|
|
238
|
+
<view :style="{ width: '130rpx' }">
|
|
239
239
|
<text v-html="Ditem.label"></text>
|
|
240
240
|
<text v-if="Ditem.label">:</text>
|
|
241
241
|
</view>
|
|
@@ -255,7 +255,9 @@
|
|
|
255
255
|
marginBottom: padding + 'rpx',
|
|
256
256
|
}"
|
|
257
257
|
>
|
|
258
|
-
<view class="jfb-base-order-detail__body-settle-title">{{
|
|
258
|
+
<view class="jfb-base-order-detail__body-settle-title">{{
|
|
259
|
+
info.settle_tag_info.layer_name
|
|
260
|
+
}}</view>
|
|
259
261
|
<view
|
|
260
262
|
v-for="(item, index) in info.settle_tag_info.settle_tag_info_list"
|
|
261
263
|
:key="index"
|
|
@@ -280,7 +282,9 @@
|
|
|
280
282
|
"
|
|
281
283
|
class="jfb-base-order-detail__body-card jfb-base-order-detail__body-cashier"
|
|
282
284
|
>
|
|
283
|
-
<view class="jfb-base-order-detail__body-cashier-text">{{
|
|
285
|
+
<view class="jfb-base-order-detail__body-cashier-text">{{
|
|
286
|
+
info.codes[0].show_type === "qrcode" ? "二维码" : "条形码"
|
|
287
|
+
}}</view>
|
|
284
288
|
<image
|
|
285
289
|
:style="{
|
|
286
290
|
height: info.codes[0].show_type === 'qrcode' ? '50vw' : '25vw',
|
|
@@ -412,7 +416,9 @@
|
|
|
412
416
|
</view>
|
|
413
417
|
<view
|
|
414
418
|
class="jfb-base-order-detail__body-num-info-copy"
|
|
415
|
-
@click="handleShowCode(item)"
|
|
419
|
+
@click="handleShowCode(item)"
|
|
420
|
+
>查看二维码</view
|
|
421
|
+
>
|
|
416
422
|
<view
|
|
417
423
|
v-if="item.code_end_time"
|
|
418
424
|
class="jfb-base-order-detail__body-cashier-code"
|
|
@@ -438,7 +444,8 @@
|
|
|
438
444
|
<view
|
|
439
445
|
class="jfb-base-order-detail__body-num-info-copy"
|
|
440
446
|
@click="handleShowCode(item)"
|
|
441
|
-
>查看一维码</view
|
|
447
|
+
>查看一维码</view
|
|
448
|
+
>
|
|
442
449
|
<view
|
|
443
450
|
v-if="item.code_end_time"
|
|
444
451
|
class="jfb-base-order-detail__body-cashier-code"
|
|
@@ -469,7 +476,8 @@
|
|
|
469
476
|
<view
|
|
470
477
|
class="jfb-base-order-detail__body-num-info-copy"
|
|
471
478
|
@click="copy(item.code)"
|
|
472
|
-
|
|
479
|
+
>复制</view
|
|
480
|
+
>
|
|
473
481
|
</view>
|
|
474
482
|
<view
|
|
475
483
|
v-if="item.code_end_time"
|
|
@@ -601,30 +609,30 @@
|
|
|
601
609
|
</view>
|
|
602
610
|
</view>
|
|
603
611
|
</view>
|
|
604
|
-
<view v-if="info.contacts&&info.contacts.length>0">
|
|
612
|
+
<view v-if="info.contacts && info.contacts.length > 0">
|
|
605
613
|
<view
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
614
|
+
:style="{
|
|
615
|
+
background: backgroundColor,
|
|
616
|
+
border: borderBox,
|
|
617
|
+
borderRadius: radius + 'rpx',
|
|
618
|
+
boxShadow: shadowBox,
|
|
619
|
+
marginBottom: padding + 'rpx',
|
|
620
|
+
}"
|
|
621
|
+
class="jfb-base-order-detail__body-card jfb-base-order-detail__body-link"
|
|
622
|
+
v-for="(item, index) in info.contacts"
|
|
623
|
+
:key="index"
|
|
624
|
+
>
|
|
625
|
+
<view class="jfb-base-order-detail__body-link-title">{{
|
|
626
|
+
item.title
|
|
627
|
+
}}</view>
|
|
628
|
+
<view v-for="(Sitem, Sindex) in item.data" :key="Sindex">
|
|
629
|
+
<view class="jfb-base-order-detail__body-link-item">
|
|
630
|
+
<view v-html="Sitem.label"></view>
|
|
631
|
+
<view v-html="Sitem.value"></view>
|
|
632
|
+
</view>
|
|
624
633
|
</view>
|
|
625
634
|
</view>
|
|
626
635
|
</view>
|
|
627
|
-
</view>
|
|
628
636
|
<view
|
|
629
637
|
:style="{
|
|
630
638
|
background: backgroundColor,
|
|
@@ -642,11 +650,14 @@
|
|
|
642
650
|
class="jfb-base-order-detail__body-order"
|
|
643
651
|
>
|
|
644
652
|
<view :style="{ fontWeight: item.style }">
|
|
645
|
-
<view
|
|
653
|
+
<view
|
|
654
|
+
><text v-html="item.label"></text
|
|
655
|
+
><text v-if="item.label">:</text></view
|
|
656
|
+
>
|
|
646
657
|
<view v-html="item.value"></view>
|
|
647
658
|
</view>
|
|
648
659
|
<view
|
|
649
|
-
:style="{
|
|
660
|
+
:style="{ marginLeft: '30rpx' }"
|
|
650
661
|
v-if="item.type === 'copy'"
|
|
651
662
|
class="jfb-base-order-detail__body-order-copy"
|
|
652
663
|
@click="copy(item.value)"
|
|
@@ -818,6 +829,7 @@ export default {
|
|
|
818
829
|
right: 0,
|
|
819
830
|
bottom: 0,
|
|
820
831
|
},
|
|
832
|
+
is_hot: "Y",
|
|
821
833
|
};
|
|
822
834
|
},
|
|
823
835
|
watch: {
|
|
@@ -830,8 +842,14 @@ export default {
|
|
|
830
842
|
this.getOrderDetail();
|
|
831
843
|
}
|
|
832
844
|
},
|
|
845
|
+
is_hot(n, o) {
|
|
846
|
+
if (this.isPreview) {
|
|
847
|
+
this.getOrderDetail();
|
|
848
|
+
}
|
|
849
|
+
},
|
|
833
850
|
},
|
|
834
851
|
computed: {
|
|
852
|
+
...mapState(['siteInfo']),
|
|
835
853
|
prod_bottom() {
|
|
836
854
|
return this.fixedStyle({ height: 0, zIndex: 111 });
|
|
837
855
|
},
|
|
@@ -853,7 +871,6 @@ export default {
|
|
|
853
871
|
},
|
|
854
872
|
},
|
|
855
873
|
created() {
|
|
856
|
-
console.log(this.brandInfo, "settings");
|
|
857
874
|
this.isPreview = this.$configProject.isPreview;
|
|
858
875
|
if (this.isPreview) {
|
|
859
876
|
this.showPayCard = true;
|
|
@@ -894,7 +911,6 @@ export default {
|
|
|
894
911
|
},
|
|
895
912
|
})
|
|
896
913
|
.then((res) => {
|
|
897
|
-
debugger
|
|
898
914
|
this.biz_code = res.biz_code;
|
|
899
915
|
if (this.isPreview) {
|
|
900
916
|
switch (this.viewStatus) {
|
|
@@ -943,6 +959,14 @@ export default {
|
|
|
943
959
|
);
|
|
944
960
|
return Sitem;
|
|
945
961
|
});
|
|
962
|
+
if (this.is_hot === "Y") {
|
|
963
|
+
item.info.push({
|
|
964
|
+
label: "客服电话",
|
|
965
|
+
style: "normal",
|
|
966
|
+
type: "text",
|
|
967
|
+
value: this.isPreview ? '010-66666' :this.siteInfo.mapping.customer_phone,
|
|
968
|
+
});
|
|
969
|
+
}
|
|
946
970
|
return item;
|
|
947
971
|
});
|
|
948
972
|
res.pay_info.cards =
|
|
@@ -1062,6 +1086,7 @@ export default {
|
|
|
1062
1086
|
"content.is_border",
|
|
1063
1087
|
"N"
|
|
1064
1088
|
);
|
|
1089
|
+
this.is_hot = getContainerPropsValue(container, "content.is_hot", "Y");
|
|
1065
1090
|
this.is_border_c = getContainerPropsValue(
|
|
1066
1091
|
container,
|
|
1067
1092
|
"content.is_border_c",
|
|
@@ -1424,9 +1449,8 @@ export default {
|
|
|
1424
1449
|
white-space: nowrap;
|
|
1425
1450
|
overflow: hidden;
|
|
1426
1451
|
text-overflow: ellipsis;
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
&>view {
|
|
1452
|
+
|
|
1453
|
+
& > view {
|
|
1430
1454
|
white-space: pre-wrap;
|
|
1431
1455
|
word-wrap: break-word;
|
|
1432
1456
|
word-break: break-all;
|
|
@@ -17,22 +17,21 @@ export default {
|
|
|
17
17
|
value: data.pay_success_path || null,
|
|
18
18
|
setting: {
|
|
19
19
|
router: XdBus.getParentApi('getPagesTree'),
|
|
20
|
-
|
|
21
|
-
},
|
|
22
|
-
inline: false,
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
label: '充值成功跳转路径:', //label
|
|
26
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
27
|
-
valueKey: 'rechargeSuccessPath', //form[valueKey]
|
|
28
|
-
placeholder: '请选择充值成功路径',
|
|
29
|
-
value: data.rechargeSuccessPath || null,
|
|
30
|
-
setting: {
|
|
31
|
-
router: XdBus.getParentApi('getPagesTree'),
|
|
32
|
-
|
|
33
20
|
},
|
|
34
21
|
inline: false,
|
|
35
22
|
},
|
|
23
|
+
// {
|
|
24
|
+
// label: '充值成功跳转路径:', //label
|
|
25
|
+
// ele: 'xd-select-pages-path', //package 名称
|
|
26
|
+
// valueKey: 'rechargeSuccessPath', //form[valueKey]
|
|
27
|
+
// placeholder: '请选择充值成功路径',
|
|
28
|
+
// value: data.rechargeSuccessPath || null,
|
|
29
|
+
// setting: {
|
|
30
|
+
// router: XdBus.getParentApi('getPagesTree'),
|
|
31
|
+
//
|
|
32
|
+
// },
|
|
33
|
+
// inline: false,
|
|
34
|
+
// },
|
|
36
35
|
].filter(i=>i)
|
|
37
36
|
},
|
|
38
37
|
}
|
|
@@ -229,6 +229,13 @@ export default {
|
|
|
229
229
|
prod_bottom() {
|
|
230
230
|
return this.fixedStyle({ height: 0, zIndex: 111 });
|
|
231
231
|
},
|
|
232
|
+
getSuccessUrl(){
|
|
233
|
+
let url = this.paySuccessPath;
|
|
234
|
+
if(this.type === 'recharge') {
|
|
235
|
+
url = this.rechargeSuccessPath || url;
|
|
236
|
+
}
|
|
237
|
+
return url
|
|
238
|
+
},
|
|
232
239
|
...styleForm.getComputedItem(),
|
|
233
240
|
},
|
|
234
241
|
created() {
|
|
@@ -247,7 +254,7 @@ export default {
|
|
|
247
254
|
this.type = options.type;
|
|
248
255
|
this.p_getPayOrderDetail();
|
|
249
256
|
this.p_getListUserPayChannel();
|
|
250
|
-
|
|
257
|
+
|
|
251
258
|
//充值不进行检查订单状态
|
|
252
259
|
if(this.type !== 'recharge') {
|
|
253
260
|
this.p_getBaseOrderDetail();
|
|
@@ -381,8 +388,9 @@ export default {
|
|
|
381
388
|
},
|
|
382
389
|
})
|
|
383
390
|
.then((res) => {
|
|
384
|
-
|
|
385
|
-
|
|
391
|
+
this.$xdUniHelper.redirectTo({
|
|
392
|
+
url: this.getSuccessUrl + `?order_id=${this.main_order_id}`
|
|
393
|
+
});
|
|
386
394
|
})
|
|
387
395
|
.catch(error=>{
|
|
388
396
|
this.$xdLog.setARMSCustomError('update_loading_fail', {options: this.options, error});
|
|
@@ -449,7 +457,7 @@ export default {
|
|
|
449
457
|
if (flat) this.channel_provider_id = channel_provider_id;
|
|
450
458
|
else this.channel_provider_id = "";
|
|
451
459
|
},
|
|
452
|
-
|
|
460
|
+
|
|
453
461
|
onJfbBack(options) {
|
|
454
462
|
this.$xdUniHelper.navigateBack();
|
|
455
463
|
},
|
|
@@ -506,11 +514,11 @@ export default {
|
|
|
506
514
|
border-radius: 10rpx;
|
|
507
515
|
margin: 0 auto 30rpx auto;
|
|
508
516
|
padding: 30rpx 0 10rpx;
|
|
509
|
-
|
|
517
|
+
|
|
510
518
|
&:last-child {
|
|
511
519
|
margin-bottom: 0;
|
|
512
520
|
}
|
|
513
|
-
|
|
521
|
+
|
|
514
522
|
._header {
|
|
515
523
|
display: flex;
|
|
516
524
|
justify-content: space-between;
|
|
@@ -579,7 +587,7 @@ export default {
|
|
|
579
587
|
align-items: center;
|
|
580
588
|
height: unit(120, rpx);
|
|
581
589
|
background: #ffffff;
|
|
582
|
-
|
|
590
|
+
|
|
583
591
|
&-mask {
|
|
584
592
|
height: unit(120, rpx);
|
|
585
593
|
}
|