jufubao-base 1.0.184-beta1 → 1.0.184
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/JfbBaseOrderDetail/Attr.js +0 -42
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +7 -40
- package/src/components/JfbBasePhoneCollect/Attr.js +411 -945
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +27 -307
- package/src/components/JfbBasePhoneLogin/Attr.js +405 -893
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +253 -609
- package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +1 -0
package/package.json
CHANGED
|
@@ -489,48 +489,6 @@ export default {
|
|
|
489
489
|
},
|
|
490
490
|
inline: false,
|
|
491
491
|
},
|
|
492
|
-
{
|
|
493
|
-
label: '是否展开票券信息:',
|
|
494
|
-
ele: 'xd-radio',
|
|
495
|
-
valueKey: 'is_open',
|
|
496
|
-
value: data['is_open'] || 'N',
|
|
497
|
-
groupKey:'content',
|
|
498
|
-
placeholder: '请选择是否展开票券信息',
|
|
499
|
-
multiple: false,
|
|
500
|
-
className: 'input80',
|
|
501
|
-
list: [
|
|
502
|
-
{ label: '展开', value: 'Y' },
|
|
503
|
-
{ label: '收起', value: 'N' },
|
|
504
|
-
]
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
label: '是否展开商品详情:',
|
|
508
|
-
ele: 'xd-radio',
|
|
509
|
-
valueKey: 'is_show_all_detail',
|
|
510
|
-
value: data['is_show_all_detail'] || 'N',
|
|
511
|
-
groupKey:'content',
|
|
512
|
-
placeholder: '请选择是否展开商品详情',
|
|
513
|
-
multiple: false,
|
|
514
|
-
className: 'input80',
|
|
515
|
-
list: [
|
|
516
|
-
{ label: '展开', value: 'Y' },
|
|
517
|
-
{ label: '收起', value: 'N' },
|
|
518
|
-
]
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
label: '提货码展示/隐藏:',
|
|
522
|
-
ele: 'xd-radio',
|
|
523
|
-
valueKey: 'is_show',
|
|
524
|
-
value: data['is_show'] || 'Y',
|
|
525
|
-
groupKey:'content',
|
|
526
|
-
placeholder: '请选择提货码展示/隐藏',
|
|
527
|
-
multiple: false,
|
|
528
|
-
className: 'input80',
|
|
529
|
-
list: [
|
|
530
|
-
{ label: '显示', value: 1 },
|
|
531
|
-
{ label: '隐藏', value: 0 },
|
|
532
|
-
]
|
|
533
|
-
},
|
|
534
492
|
].filter(i=>i)
|
|
535
493
|
},
|
|
536
494
|
}
|
|
@@ -259,7 +259,7 @@
|
|
|
259
259
|
class="jfb-base-order-detail__body-card jfb-base-order-detail__body-cashier"
|
|
260
260
|
>
|
|
261
261
|
<view class="jfb-base-order-detail__body-cashier-text">{{info.codes[0].show_type === "qrcode" ? "二维码" : "条形码" }}</view>
|
|
262
|
-
<view
|
|
262
|
+
<view style="position: relative">
|
|
263
263
|
<image
|
|
264
264
|
:style="{
|
|
265
265
|
height: info.codes[0].show_type === 'qrcode' ? '50vw' : '25vw',
|
|
@@ -556,18 +556,20 @@
|
|
|
556
556
|
></view>
|
|
557
557
|
</view>
|
|
558
558
|
<view v-if="info.pay_info.cards && info.pay_info.cards.length > 0">
|
|
559
|
-
<view
|
|
559
|
+
<view class="jfb-base-order-detail__body-show" v-if="!showPayCard">
|
|
560
560
|
<text>使用 {{ info.pay_info.cards.length }} 张票券 展开</text>
|
|
561
561
|
<xd-font-icon
|
|
562
562
|
style="margin-left: 8rpx"
|
|
563
|
+
@click="showPayCard = true"
|
|
563
564
|
size="28"
|
|
564
565
|
icon="iconxia_down"
|
|
565
566
|
></xd-font-icon>
|
|
566
567
|
</view>
|
|
567
|
-
<view
|
|
568
|
+
<view class="jfb-base-order-detail__body-show" v-else>
|
|
568
569
|
<text>使用{{ info.pay_info.cards.length }}张票券 收起</text>
|
|
569
570
|
<xd-font-icon
|
|
570
571
|
style="margin-left: 8rpx"
|
|
572
|
+
@click="showPayCard = false"
|
|
571
573
|
size="28"
|
|
572
574
|
icon="iconshang_up"
|
|
573
575
|
></xd-font-icon>
|
|
@@ -651,25 +653,8 @@
|
|
|
651
653
|
<view class="jfb-base-order-detail__body-shop-title">
|
|
652
654
|
<view :style="{ background: mainColor }"></view>
|
|
653
655
|
<view>商品详情</view>
|
|
654
|
-
<view @click="showAllProductDetail=!showAllProductDetail" v-if="!showAllProductDetail" style="color:#999;display:flex;align-items:center;margin-left:10px">
|
|
655
|
-
<text> 展开</text>
|
|
656
|
-
<xd-font-icon
|
|
657
|
-
style="margin-left: 8rpx"
|
|
658
|
-
size="28"
|
|
659
|
-
icon="iconxia_down"
|
|
660
|
-
></xd-font-icon>
|
|
661
|
-
</view>
|
|
662
|
-
<view @click="showAllProductDetail=!showAllProductDetail" v-if="showAllProductDetail" style="color:#999;display:flex;align-items:center;margin-left:10px">
|
|
663
|
-
<text> 收起</text>
|
|
664
|
-
<xd-font-icon
|
|
665
|
-
style="margin-left: 8rpx"
|
|
666
|
-
size="28"
|
|
667
|
-
icon="iconxia_down"
|
|
668
|
-
></xd-font-icon>
|
|
669
|
-
</view>
|
|
670
|
-
</view>
|
|
671
|
-
<view v-if="showAllProductDetail" v-html="info.product_detail">
|
|
672
656
|
</view>
|
|
657
|
+
<view v-html="info.productDetail"></view>
|
|
673
658
|
</view>
|
|
674
659
|
<view
|
|
675
660
|
v-if="info.custom_content"
|
|
@@ -850,11 +835,6 @@ export default {
|
|
|
850
835
|
logo: "",
|
|
851
836
|
|
|
852
837
|
noticeBgc:'',
|
|
853
|
-
is_open: '',
|
|
854
|
-
is_show: '',
|
|
855
|
-
showAllProductDetail: false,
|
|
856
|
-
is_show_all_detail: '',
|
|
857
|
-
showPreviewCode: true
|
|
858
838
|
};
|
|
859
839
|
},
|
|
860
840
|
watch: {
|
|
@@ -941,7 +921,6 @@ export default {
|
|
|
941
921
|
main_order_id: this.main_order_id,
|
|
942
922
|
custom_content_page_id: this.pageAttr.page_id,
|
|
943
923
|
custom_content_container_id: this.cid,
|
|
944
|
-
is_show_jhd_code: this.is_show
|
|
945
924
|
},
|
|
946
925
|
})
|
|
947
926
|
.then((res) => {
|
|
@@ -1068,7 +1047,7 @@ export default {
|
|
|
1068
1047
|
}
|
|
1069
1048
|
|
|
1070
1049
|
//增加删除订单按钮
|
|
1071
|
-
if(this.is_show_delete_order
|
|
1050
|
+
if(this.is_show_delete_order === 'Y') {
|
|
1072
1051
|
let pay = (res.buttons||[]).filter(item => item.action === 'pay');
|
|
1073
1052
|
let del = [{action:'delete', text:'删除订单', type: 'info'}];
|
|
1074
1053
|
if(pay.length === 1) del = []
|
|
@@ -1140,18 +1119,6 @@ export default {
|
|
|
1140
1119
|
this.viewStatus = getContainerPropsValue(container, "content.viewStatus", "mall");
|
|
1141
1120
|
this.is_show_support_shop = getContainerPropsValue(container, "content.is_show_support_shop", "N");
|
|
1142
1121
|
this.is_show_delete_order = getContainerPropsValue(container, "content.is_show_delete_order", "N");
|
|
1143
|
-
this.is_open = getContainerPropsValue(container, "content.is_open", "N");
|
|
1144
|
-
this.is_show = getContainerPropsValue(container, "content.is_show", "Y");
|
|
1145
|
-
this.showPayCard = this.is_open==='Y'
|
|
1146
|
-
this.is_show_all_detail = getContainerPropsValue(container, "content.is_show_all_detail", "N");
|
|
1147
|
-
this.showAllProductDetail = this.is_show_all_detail==='Y'
|
|
1148
|
-
if(this.isPreview) {
|
|
1149
|
-
if(this.is_show===0) {
|
|
1150
|
-
this.showPreviewCode = false;
|
|
1151
|
-
} else {
|
|
1152
|
-
this.showPreviewCode = true;
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1155
1122
|
},
|
|
1156
1123
|
getCountDown() {
|
|
1157
1124
|
this.timer = setInterval(() => {
|