jufubao-base 1.0.185 → 1.0.186-beta1
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 +42 -0
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +40 -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/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +0 -1
package/package.json
CHANGED
|
@@ -489,6 +489,48 @@ 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'] || 1,
|
|
525
|
+
groupKey:'content',
|
|
526
|
+
placeholder: '请选择提货码展示/隐藏',
|
|
527
|
+
multiple: false,
|
|
528
|
+
className: 'input80',
|
|
529
|
+
list: [
|
|
530
|
+
{ label: '显示', value: 1 },
|
|
531
|
+
{ label: '隐藏', value: 0 },
|
|
532
|
+
]
|
|
533
|
+
},
|
|
492
534
|
].filter(i=>i)
|
|
493
535
|
},
|
|
494
536
|
}
|
|
@@ -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 style="position: relative">
|
|
262
|
+
<view v-if="showPreviewCode" style="position: relative">
|
|
263
263
|
<image
|
|
264
264
|
:style="{
|
|
265
265
|
height: info.codes[0].show_type === 'qrcode' ? '50vw' : '25vw',
|
|
@@ -556,20 +556,18 @@
|
|
|
556
556
|
></view>
|
|
557
557
|
</view>
|
|
558
558
|
<view v-if="info.pay_info.cards && info.pay_info.cards.length > 0">
|
|
559
|
-
<view class="jfb-base-order-detail__body-show" v-if="!showPayCard">
|
|
559
|
+
<view @click="showPayCard = true" 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"
|
|
564
563
|
size="28"
|
|
565
564
|
icon="iconxia_down"
|
|
566
565
|
></xd-font-icon>
|
|
567
566
|
</view>
|
|
568
|
-
<view class="jfb-base-order-detail__body-show" v-else>
|
|
567
|
+
<view @click="showPayCard = false" class="jfb-base-order-detail__body-show" v-else>
|
|
569
568
|
<text>使用{{ info.pay_info.cards.length }}张票券 收起</text>
|
|
570
569
|
<xd-font-icon
|
|
571
570
|
style="margin-left: 8rpx"
|
|
572
|
-
@click="showPayCard = false"
|
|
573
571
|
size="28"
|
|
574
572
|
icon="iconshang_up"
|
|
575
573
|
></xd-font-icon>
|
|
@@ -653,8 +651,25 @@
|
|
|
653
651
|
<view class="jfb-base-order-detail__body-shop-title">
|
|
654
652
|
<view :style="{ background: mainColor }"></view>
|
|
655
653
|
<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">
|
|
656
672
|
</view>
|
|
657
|
-
<view v-html="info.productDetail"></view>
|
|
658
673
|
</view>
|
|
659
674
|
<view
|
|
660
675
|
v-if="info.custom_content"
|
|
@@ -835,6 +850,11 @@ export default {
|
|
|
835
850
|
logo: "",
|
|
836
851
|
|
|
837
852
|
noticeBgc:'',
|
|
853
|
+
is_open: '',
|
|
854
|
+
is_show: '',
|
|
855
|
+
showAllProductDetail: false,
|
|
856
|
+
is_show_all_detail: '',
|
|
857
|
+
showPreviewCode: true
|
|
838
858
|
};
|
|
839
859
|
},
|
|
840
860
|
watch: {
|
|
@@ -921,6 +941,7 @@ export default {
|
|
|
921
941
|
main_order_id: this.main_order_id,
|
|
922
942
|
custom_content_page_id: this.pageAttr.page_id,
|
|
923
943
|
custom_content_container_id: this.cid,
|
|
944
|
+
is_show_jhd_code: this.is_show
|
|
924
945
|
},
|
|
925
946
|
})
|
|
926
947
|
.then((res) => {
|
|
@@ -1047,7 +1068,7 @@ export default {
|
|
|
1047
1068
|
}
|
|
1048
1069
|
|
|
1049
1070
|
//增加删除订单按钮
|
|
1050
|
-
if(this.is_show_delete_order
|
|
1071
|
+
if(this.is_show_delete_order === 'Y') {
|
|
1051
1072
|
let pay = (res.buttons||[]).filter(item => item.action === 'pay');
|
|
1052
1073
|
let del = [{action:'delete', text:'删除订单', type: 'info'}];
|
|
1053
1074
|
if(pay.length === 1) del = []
|
|
@@ -1119,6 +1140,18 @@ export default {
|
|
|
1119
1140
|
this.viewStatus = getContainerPropsValue(container, "content.viewStatus", "mall");
|
|
1120
1141
|
this.is_show_support_shop = getContainerPropsValue(container, "content.is_show_support_shop", "N");
|
|
1121
1142
|
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", 1);
|
|
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
|
+
}
|
|
1122
1155
|
},
|
|
1123
1156
|
getCountDown() {
|
|
1124
1157
|
this.timer = setInterval(() => {
|