jufubao-base 1.0.187-beta2 → 1.0.188
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/Attr.js +1 -109
- package/src/components/JfbBaseAddress/JfbBaseAddress.vue +77 -153
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +4 -1
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +4 -1
- package/src/components/JfbBaseFastLink/Attr.js +6 -22
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +20 -35
- package/src/components/JfbBaseFastLink/XdFastNav.vue +1 -2
- package/src/components/JfbBaseFooter/Attr.js +75 -141
- package/src/components/JfbBaseFooter/JfbBaseFooter.vue +11 -46
- package/src/components/JfbBaseOrderDetail/Attr.js +65 -61
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +52 -82
- package/src/components/JfbBaseOrderList/Attr.js +0 -23
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +86 -117
- package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetail.vue +4 -1
- package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +1 -0
- package/src/components/JfbBaseUserCenter/Attr.js +48 -240
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +30 -101
- package/src/components/JfbBaseUserInfo/Attr.js +30 -179
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +44 -80
- package/src/components/JfbBaseUserOrder/Attr.js +25 -291
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +54 -172
- package/src/components/JfbBaseWallet/Attr.js +2 -340
- package/src/components/JfbBaseWallet/JfbBaseWallet.vue +49 -173
- package/src/ICONS.js +0 -1128
- package/src/components/JfbBaseAddress/XdTfkItem.vue +0 -117
- package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +0 -246
|
@@ -129,9 +129,6 @@
|
|
|
129
129
|
v-for="(Ditem, Dindex) in info.film_show.detail.items"
|
|
130
130
|
:key="Dindex"
|
|
131
131
|
class="jfb-base-order-detail__body-delivery-bottom-item"
|
|
132
|
-
:style="{
|
|
133
|
-
marginBottom: lineHeight + 'rpx'
|
|
134
|
-
}"
|
|
135
132
|
>
|
|
136
133
|
<view style="width: 130rpx"
|
|
137
134
|
>{{ Ditem.label }} <span v-if="Ditem.label">:</span>
|
|
@@ -217,9 +214,6 @@
|
|
|
217
214
|
v-for="(Ditem, Dindex) in item.info"
|
|
218
215
|
:key="Dindex"
|
|
219
216
|
class="jfb-base-order-detail__body-delivery-bottom-item"
|
|
220
|
-
:style="{
|
|
221
|
-
marginBottom: lineHeight + 'rpx'
|
|
222
|
-
}"
|
|
223
217
|
>
|
|
224
218
|
<view style="width: 130rpx;display: flex;">
|
|
225
219
|
<view v-html="Ditem.label"></view>
|
|
@@ -516,9 +510,6 @@
|
|
|
516
510
|
v-for="(item, index) in info.detail"
|
|
517
511
|
:key="index"
|
|
518
512
|
class="jfb-base-order-detail__body-order"
|
|
519
|
-
:style="{
|
|
520
|
-
marginBottom: lineHeight + 'rpx'
|
|
521
|
-
}"
|
|
522
513
|
>
|
|
523
514
|
<view :style="{ fontWeight: item.style }">
|
|
524
515
|
<view style="display: flex;">
|
|
@@ -550,9 +541,6 @@
|
|
|
550
541
|
<view
|
|
551
542
|
v-if="item.type !== 'line'"
|
|
552
543
|
class="jfb-base-order-detail__body-price"
|
|
553
|
-
:style="{
|
|
554
|
-
marginBottom: lineHeight + 'rpx'
|
|
555
|
-
}"
|
|
556
544
|
>
|
|
557
545
|
<view :style="{ fontWeight: item.style }">{{ item.label }}</view>
|
|
558
546
|
<xd-unit
|
|
@@ -695,51 +683,41 @@
|
|
|
695
683
|
:style="prod_bottom"
|
|
696
684
|
v-if="info.buttons && info.buttons.length > 0"
|
|
697
685
|
>
|
|
698
|
-
<view :
|
|
699
|
-
<view
|
|
686
|
+
<view v-for="(item, index) in info.buttons" :key="index">
|
|
687
|
+
<view
|
|
688
|
+
style="display: flex; align-items: center"
|
|
689
|
+
v-if="item.action === 'pay'"
|
|
690
|
+
>
|
|
700
691
|
<view
|
|
701
|
-
style="display: flex; align-items: center"
|
|
702
|
-
v-if="
|
|
692
|
+
style="display: flex; align-items: center; margin-right: 30rpx"
|
|
693
|
+
v-if="biz_code !== 'gift' || info.is_show_gift_price"
|
|
703
694
|
>
|
|
704
|
-
<
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
:price="info.pay_info.real_pay_amount"
|
|
711
|
-
:font-size="36"
|
|
712
|
-
:iocn-size="0.45"
|
|
713
|
-
></xd-unit>
|
|
714
|
-
</view>
|
|
715
|
-
<view>
|
|
716
|
-
<xd-button
|
|
717
|
-
@click="handleToPay"
|
|
718
|
-
size="small"
|
|
719
|
-
type="primary"
|
|
720
|
-
:style="{
|
|
721
|
-
height: bottomBtnHeight + 'rpx',
|
|
722
|
-
lineHeight: bottomBtnHeight + 'rpx',
|
|
723
|
-
}"
|
|
724
|
-
:radius="bottomBtnRadius + 'rpx'"
|
|
725
|
-
:bg-color="mainColor"
|
|
726
|
-
>{{ item.text }}
|
|
727
|
-
</xd-button>
|
|
728
|
-
</view>
|
|
695
|
+
<text>应付:</text>
|
|
696
|
+
<xd-unit
|
|
697
|
+
:price="info.pay_info.real_pay_amount"
|
|
698
|
+
:font-size="36"
|
|
699
|
+
:iocn-size="0.45"
|
|
700
|
+
></xd-unit>
|
|
729
701
|
</view>
|
|
730
|
-
<view
|
|
702
|
+
<view>
|
|
731
703
|
<xd-button
|
|
704
|
+
@click="handleToPay"
|
|
732
705
|
size="small"
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
:
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
}"
|
|
739
|
-
@click="handleAction(item)"
|
|
740
|
-
>{{ item.text }}</xd-button>
|
|
706
|
+
type="primary"
|
|
707
|
+
radius="40rpx"
|
|
708
|
+
:bg-color="mainColor"
|
|
709
|
+
>{{ item.text }}
|
|
710
|
+
</xd-button>
|
|
741
711
|
</view>
|
|
742
712
|
</view>
|
|
713
|
+
<view v-else>
|
|
714
|
+
<xd-button
|
|
715
|
+
size="small"
|
|
716
|
+
:type="item.type !== undefined ? item.type: 'primary'"
|
|
717
|
+
radius="40rpx"
|
|
718
|
+
@click="handleAction(item)"
|
|
719
|
+
>{{ item.text }}</xd-button>
|
|
720
|
+
</view>
|
|
743
721
|
</view>
|
|
744
722
|
</view>
|
|
745
723
|
</view>
|
|
@@ -836,6 +814,15 @@ export default {
|
|
|
836
814
|
backgroundColor: "",
|
|
837
815
|
padding: 0,
|
|
838
816
|
|
|
817
|
+
//投影
|
|
818
|
+
is_shadow: "Y",
|
|
819
|
+
is_shadow_bg: 0,
|
|
820
|
+
is_shadow_w: 0,
|
|
821
|
+
|
|
822
|
+
//边框
|
|
823
|
+
is_border: "Y",
|
|
824
|
+
is_border_w: 0,
|
|
825
|
+
is_border_c: "",
|
|
839
826
|
|
|
840
827
|
//其他
|
|
841
828
|
margin: {
|
|
@@ -846,15 +833,8 @@ export default {
|
|
|
846
833
|
},
|
|
847
834
|
is_hot: "Y",
|
|
848
835
|
logo: "",
|
|
849
|
-
lineHeight: 20,
|
|
850
836
|
|
|
851
837
|
noticeBgc:'',
|
|
852
|
-
sectionShadow: "",
|
|
853
|
-
sectionBorder: "",
|
|
854
|
-
bottomBtnRadius: 0,
|
|
855
|
-
bottomPadding: "",
|
|
856
|
-
bottomBgColor: "",
|
|
857
|
-
bottomBtnHeight: "",
|
|
858
838
|
};
|
|
859
839
|
},
|
|
860
840
|
watch: {
|
|
@@ -893,21 +873,15 @@ export default {
|
|
|
893
873
|
return str
|
|
894
874
|
},
|
|
895
875
|
shadowBox() {
|
|
896
|
-
|
|
876
|
+
if (this.is_shadow === "Y")
|
|
877
|
+
return `0 0 ${this.is_shadow_w}rpx ${this.is_shadow_bg}`;
|
|
878
|
+
else return "0 0 0 rgba(0,0,0,0)";
|
|
897
879
|
},
|
|
898
880
|
borderBox() {
|
|
899
|
-
|
|
881
|
+
if (this.is_border === "Y")
|
|
882
|
+
return `${this.is_border_w}rpx solid ${this.is_border_c}`;
|
|
883
|
+
else return "0";
|
|
900
884
|
},
|
|
901
|
-
bottomBoxStyle(){
|
|
902
|
-
let padding = `${this.checkValue(this.bottomPadding.top, 20)}rpx`;
|
|
903
|
-
padding = `${padding} ${this.checkValue(this.bottomPadding.right, 20)}rpx`;
|
|
904
|
-
padding = `${padding} ${this.checkValue(this.bottomPadding.bottom, 20)}rpx`;
|
|
905
|
-
padding = `${padding} ${this.checkValue(this.bottomPadding.left, 20)}rpx`;
|
|
906
|
-
return {
|
|
907
|
-
padding: padding,
|
|
908
|
-
backgroundColor: this.bottomBgColor,
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
885
|
},
|
|
912
886
|
created() {
|
|
913
887
|
this.noticeBgc = Color(this.warningColor).alpha(0.2).toString();
|
|
@@ -1134,23 +1108,17 @@ export default {
|
|
|
1134
1108
|
this.brandTextColor = getContainerPropsValue(container, "content.brandTextColor", this.mainColor);
|
|
1135
1109
|
this.padding = getContainerPropsValue(container, "content.padding", 20);
|
|
1136
1110
|
|
|
1111
|
+
this.is_shadow = getContainerPropsValue(container, "content.is_shadow", "N");
|
|
1112
|
+
this.is_shadow_bg = getContainerPropsValue(container, "content.is_shadow_bg", "#fff");
|
|
1113
|
+
this.is_shadow_w = getContainerPropsValue(container, "content.is_shadow_w", "10");
|
|
1114
|
+
|
|
1115
|
+
this.is_border = getContainerPropsValue(container, "content.is_border", "N");
|
|
1137
1116
|
this.is_hot = getContainerPropsValue(container, "content.is_hot", "Y");
|
|
1117
|
+
this.is_border_c = getContainerPropsValue(container, "content.is_border_c", "#fff");
|
|
1118
|
+
this.is_border_w = getContainerPropsValue(container, "content.is_border_w", 2);
|
|
1138
1119
|
this.viewStatus = getContainerPropsValue(container, "content.viewStatus", "mall");
|
|
1139
1120
|
this.is_show_support_shop = getContainerPropsValue(container, "content.is_show_support_shop", "N");
|
|
1140
1121
|
this.is_show_delete_order = getContainerPropsValue(container, "content.is_show_delete_order", "N");
|
|
1141
|
-
this.lineHeight = getContainerPropsValue(container, "content.lineHeight", 20);
|
|
1142
|
-
let sectionShadow = getContainerPropsValue(container, "content.sectionShadow", "");
|
|
1143
|
-
if(sectionShadow.type === 'Y' && sectionShadow.value){
|
|
1144
|
-
this.sectionShadow = `0 0 ${sectionShadow.value.width}rpx ${sectionShadow.value.color}`;
|
|
1145
|
-
}else this.sectionShadow = '';
|
|
1146
|
-
let sectionBorder = getContainerPropsValue(container, "content.sectionBorder", "");
|
|
1147
|
-
if(sectionBorder.type === 'Y' && sectionBorder.value){
|
|
1148
|
-
this.sectionBorder = `${sectionBorder.value.width}rpx solid ${sectionBorder.value.color}`;
|
|
1149
|
-
}else this.sectionBorder = '';
|
|
1150
|
-
this.bottomBtnRadius = getContainerPropsValue(container, "content.bottomBtnRadius", 0);
|
|
1151
|
-
this.bottomPadding = getContainerPropsValue(container, "content.bottomPadding", {});
|
|
1152
|
-
this.bottomBgColor = getContainerPropsValue(container, "content.bottomBgColor", "#ffffff");
|
|
1153
|
-
this.bottomBtnHeight = getContainerPropsValue(container, "content.bottomBtnHeight", 60);
|
|
1154
1122
|
},
|
|
1155
1123
|
getCountDown() {
|
|
1156
1124
|
this.timer = setInterval(() => {
|
|
@@ -1790,6 +1758,8 @@ export default {
|
|
|
1790
1758
|
position: fixed;
|
|
1791
1759
|
left: 0;
|
|
1792
1760
|
right: 0;
|
|
1761
|
+
height: unit(100, rpx);
|
|
1762
|
+
padding: 0 unit(30, rpx);
|
|
1793
1763
|
box-shadow: 0 0 unit(10, rpx) rgba(0, 0, 0, 0.15);
|
|
1794
1764
|
background: #fff;
|
|
1795
1765
|
z-index: 3000;
|
|
@@ -4,17 +4,6 @@ export default {
|
|
|
4
4
|
style: [],
|
|
5
5
|
content: (data)=>{
|
|
6
6
|
return [
|
|
7
|
-
{
|
|
8
|
-
label: "布局样式配置",
|
|
9
|
-
ele: "xd-radio",
|
|
10
|
-
valueKey: "layout_style",
|
|
11
|
-
value: data.layout_style || 'old',
|
|
12
|
-
list: [
|
|
13
|
-
{label: '布局1', value: 'old'},
|
|
14
|
-
{label: '布局2', value: 'tfk'},
|
|
15
|
-
],
|
|
16
|
-
groupKey: "style",
|
|
17
|
-
},
|
|
18
7
|
{
|
|
19
8
|
label: '设置订单状态:',
|
|
20
9
|
ele: 'xd-order-setting',
|
|
@@ -41,18 +30,6 @@ export default {
|
|
|
41
30
|
{required: true, message: '设置订单配置错误!请检查配置', trigger: 'change'},
|
|
42
31
|
],
|
|
43
32
|
},
|
|
44
|
-
{
|
|
45
|
-
label: "是否展示订单号:",
|
|
46
|
-
ele: 'xd-radio',
|
|
47
|
-
valueKey: 'isShowOrderNo',
|
|
48
|
-
value: data['isShowOrderNo'] || 'Y',
|
|
49
|
-
groupKey:'style',
|
|
50
|
-
list: [
|
|
51
|
-
{label: '是', value: 'Y'},
|
|
52
|
-
{label: '否', value: 'N'},
|
|
53
|
-
],
|
|
54
|
-
hidden: data.layout_style !== 'tfk'
|
|
55
|
-
},
|
|
56
33
|
{
|
|
57
34
|
label: '外填充:',
|
|
58
35
|
ele: 'xd-margin-padding',
|
|
@@ -64,129 +64,104 @@
|
|
|
64
64
|
class="jfb-base-order-list__body-order"
|
|
65
65
|
:style="{ padding: outMargin }"
|
|
66
66
|
>
|
|
67
|
-
<
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
>
|
|
81
|
-
<
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
<view
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
<view
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
>
|
|
100
|
-
|
|
101
|
-
<view class="jfb-base-order-list__body-order-item-content-info">
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
<view
|
|
106
|
-
|
|
107
|
-
<
|
|
108
|
-
|
|
109
|
-
<text>{{ Sitem.product_num }}</text>
|
|
110
|
-
</view>
|
|
67
|
+
<view
|
|
68
|
+
@click="handleToLink(detailPath, item)"
|
|
69
|
+
class="jfb-base-order-list__body-order-item"
|
|
70
|
+
v-for="item in orderList"
|
|
71
|
+
:key="item.main_order_id"
|
|
72
|
+
:style="{
|
|
73
|
+
background: backgroundColor,
|
|
74
|
+
border: borderBox,
|
|
75
|
+
borderRadius: radius + 'rpx',
|
|
76
|
+
boxShadow: shadowBox,
|
|
77
|
+
marginBottom: padding + 'rpx',
|
|
78
|
+
}"
|
|
79
|
+
>
|
|
80
|
+
<view class="jfb-base-order-list__body-order-item-biz">
|
|
81
|
+
<xd-font-icon
|
|
82
|
+
v-if="item.biz_code_icon"
|
|
83
|
+
:icon="item.biz_code_icon"
|
|
84
|
+
:size="item['biz_code_icon_size']"
|
|
85
|
+
></xd-font-icon>
|
|
86
|
+
<view :class="{ marginLeft: item.biz_code_icon }">{{item.biz_code_name }}</view>
|
|
87
|
+
</view>
|
|
88
|
+
<view class="jfb-base-order-list__body-order-item-title">
|
|
89
|
+
<view>订单编号:{{ item.main_order_id }}</view>
|
|
90
|
+
<view :style="{color:item.status.status_type !== 'error' ? mainColor : '#999999',}">{{ item.status.status_name }}</view>
|
|
91
|
+
</view>
|
|
92
|
+
<view class="order-list">
|
|
93
|
+
<view
|
|
94
|
+
class="jfb-base-order-list__body-order-item-content"
|
|
95
|
+
v-for="(Sitem, Sindex) in item.products"
|
|
96
|
+
:key="Sitem.key"
|
|
97
|
+
v-if="(item['isOpen'] === false && Sindex < showLen) || item['isOpen']"
|
|
98
|
+
>
|
|
99
|
+
<image :src="Sitem.product_thumb" style="background: #ffffff" mode="aspectFit"></image>
|
|
100
|
+
<view class="jfb-base-order-list__body-order-item-content-info">
|
|
101
|
+
<view class="jfb-base-order-list__body-order-item-content-info-name">{{ Sitem.product_name }}</view>
|
|
102
|
+
<view class="brand-name" v-if="Sitem.brand_name" :style="{color:brandTextColor}">{{ Sitem.brand_name }}</view>
|
|
103
|
+
<view v-if="Sitem.product_sku_name" class="jfb-base-order-list__body-order-item-content-info-skuname">规格:{{ Sitem.product_sku_name }}</view>
|
|
104
|
+
<view class="jfb-base-order-list__body-order-item-content-info-price">
|
|
105
|
+
<view></view>
|
|
106
|
+
<view class="info-price">
|
|
107
|
+
<text>X</text>
|
|
108
|
+
<text>{{ Sitem.product_num }}</text>
|
|
111
109
|
</view>
|
|
112
110
|
</view>
|
|
113
111
|
</view>
|
|
114
|
-
<view
|
|
115
|
-
class="order-list-icon"
|
|
116
|
-
:style="{ bottom: item['isOpen'] ? '-30rpx' : '-54rpx' }"
|
|
117
|
-
v-if="item.products.length > showLen"
|
|
118
|
-
@click.stop="switchOpen(item)"
|
|
119
|
-
>
|
|
120
|
-
<view :style="{ background: backgroundColor }">
|
|
121
|
-
<xd-font-icon
|
|
122
|
-
color="#666"
|
|
123
|
-
:icon="item['isOpen'] ? 'iconshang_up' : 'iconxia_down'"
|
|
124
|
-
size="24"
|
|
125
|
-
></xd-font-icon>
|
|
126
|
-
</view>
|
|
127
|
-
</view>
|
|
128
|
-
</view>
|
|
129
|
-
<view class="jfb-base-order-list__body-order-item-bottom">
|
|
130
|
-
<view>下单时间:{{ item.created_time_text }}</view>
|
|
131
|
-
<view v-if="item.biz_code !== 'gift' && item.is_not_show_price !== 'Y'">
|
|
132
|
-
<text>合计:</text>
|
|
133
|
-
<xd-unit
|
|
134
|
-
:isOld="false"
|
|
135
|
-
:price="item.total_amount"
|
|
136
|
-
:color="mainColor"
|
|
137
|
-
:fontSize="28"
|
|
138
|
-
></xd-unit>
|
|
139
|
-
</view>
|
|
140
|
-
<view style="color:#999" v-if="item['main_user_server_amount'] !== undefined && item['main_user_server_amount'] > 0">
|
|
141
|
-
<text>(平台服务费:</text>
|
|
142
|
-
<xd-unit
|
|
143
|
-
:isOld="false"
|
|
144
|
-
:price="item['main_user_server_amount']"
|
|
145
|
-
:fontSize="24"
|
|
146
|
-
:is-gray="true"
|
|
147
|
-
color="#999"
|
|
148
|
-
:icon-size=".25"
|
|
149
|
-
></xd-unit>
|
|
150
|
-
<text>)</text>
|
|
151
|
-
</view>
|
|
152
112
|
</view>
|
|
153
113
|
<view
|
|
154
|
-
class="
|
|
155
|
-
|
|
114
|
+
class="order-list-icon"
|
|
115
|
+
:style="{ bottom: item['isOpen'] ? '-30rpx' : '-54rpx' }"
|
|
116
|
+
v-if="item.products.length > showLen"
|
|
117
|
+
@click.stop="switchOpen(item)"
|
|
156
118
|
>
|
|
157
|
-
<view
|
|
158
|
-
<xd-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
119
|
+
<view :style="{ background: backgroundColor }">
|
|
120
|
+
<xd-font-icon
|
|
121
|
+
color="#666"
|
|
122
|
+
:icon="item['isOpen'] ? 'iconshang_up' : 'iconxia_down'"
|
|
123
|
+
size="24"
|
|
124
|
+
></xd-font-icon>
|
|
163
125
|
</view>
|
|
164
126
|
</view>
|
|
165
127
|
</view>
|
|
166
|
-
|
|
167
|
-
|
|
128
|
+
<view class="jfb-base-order-list__body-order-item-bottom">
|
|
129
|
+
<view>下单时间:{{ item.created_time_text }}</view>
|
|
130
|
+
<view v-if="item.biz_code !== 'gift' && item.is_not_show_price !== 'Y'">
|
|
131
|
+
<text>合计:</text>
|
|
132
|
+
<xd-unit
|
|
133
|
+
:isOld="false"
|
|
134
|
+
:price="item.total_amount"
|
|
135
|
+
:color="mainColor"
|
|
136
|
+
:fontSize="28"
|
|
137
|
+
></xd-unit>
|
|
138
|
+
</view>
|
|
139
|
+
<view style="color:#999" v-if="item['main_user_server_amount'] !== undefined && item['main_user_server_amount'] > 0">
|
|
140
|
+
<text>(平台服务费:</text>
|
|
141
|
+
<xd-unit
|
|
142
|
+
:isOld="false"
|
|
143
|
+
:price="item['main_user_server_amount']"
|
|
144
|
+
:fontSize="24"
|
|
145
|
+
:is-gray="true"
|
|
146
|
+
color="#999"
|
|
147
|
+
:icon-size=".25"
|
|
148
|
+
></xd-unit>
|
|
149
|
+
<text>)</text>
|
|
150
|
+
</view>
|
|
151
|
+
</view>
|
|
168
152
|
<view
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
v-for="item in orderList"
|
|
172
|
-
:key="item.main_order_id"
|
|
173
|
-
:style="{
|
|
174
|
-
background: backgroundColor,
|
|
175
|
-
border: borderBox,
|
|
176
|
-
borderRadius: radius + 'rpx',
|
|
177
|
-
boxShadow: shadowBox,
|
|
178
|
-
marginBottom: padding + 'rpx',
|
|
179
|
-
}"
|
|
153
|
+
class="jfb-base-order-list__body-order-item-pay"
|
|
154
|
+
v-if="item.buttons.length"
|
|
180
155
|
>
|
|
181
|
-
<
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
156
|
+
<view v-for="(btn,index) in item.buttons" :key="btn.key">
|
|
157
|
+
<xd-button
|
|
158
|
+
:type="getBtnType(btn.action)"
|
|
159
|
+
size="mini"
|
|
160
|
+
@click="handleBtnEvent(btn.action, item)"
|
|
161
|
+
>{{ btn.text }}</xd-button>
|
|
162
|
+
</view>
|
|
188
163
|
</view>
|
|
189
|
-
</
|
|
164
|
+
</view>
|
|
190
165
|
</view>
|
|
191
166
|
<view v-else class="jfb-base-order-list__body-no">
|
|
192
167
|
<xd-font-icon
|
|
@@ -214,7 +189,6 @@ import extsMixins from "@/mixins/extsMixins";
|
|
|
214
189
|
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
215
190
|
import getServiceUrl from "@/common/getServiceUrl";
|
|
216
191
|
import Color from "color";
|
|
217
|
-
import XdTfkOrderItem from "./XdTfkOrderItem"
|
|
218
192
|
|
|
219
193
|
export default {
|
|
220
194
|
name: "JfbBaseOrderList",
|
|
@@ -223,7 +197,6 @@ export default {
|
|
|
223
197
|
XdTab,
|
|
224
198
|
XdUnit,
|
|
225
199
|
XdButton,
|
|
226
|
-
XdTfkOrderItem,
|
|
227
200
|
},
|
|
228
201
|
mixins: [componentsMixins, extsMixins, JfbBaseOrderListMixin],
|
|
229
202
|
data() {
|
|
@@ -266,8 +239,6 @@ export default {
|
|
|
266
239
|
right: 0,
|
|
267
240
|
bottom: 0,
|
|
268
241
|
},
|
|
269
|
-
layout_style: "old",
|
|
270
|
-
isShowOrderNo: "Y",
|
|
271
242
|
|
|
272
243
|
noticeBgc:'',
|
|
273
244
|
};
|
|
@@ -344,8 +315,6 @@ export default {
|
|
|
344
315
|
|
|
345
316
|
this.detailPath = getContainerPropsValue(container, "content.detailPath", { value: "" }).value;
|
|
346
317
|
this.payPath = getContainerPropsValue(container, "content.payPath", {value: "",}).value;
|
|
347
|
-
this.layout_style = getContainerPropsValue(container, "content.layout_style", "old");
|
|
348
|
-
this.isShowOrderNo = getContainerPropsValue(container, "content.isShowOrderNo", "Y");
|
|
349
318
|
this.tabList = getContainerPropsValue(container, "content.orderTypeList", []).map((item) => {
|
|
350
319
|
return {
|
|
351
320
|
name: item.customName || item.label,
|
|
@@ -457,8 +457,11 @@
|
|
|
457
457
|
//外站配置地址
|
|
458
458
|
if(entry.redirect_type === 'URL') {
|
|
459
459
|
if(regHttp.test(entry.redirect_data['path']) || regSp.test(entry.redirect_data['path'])) {
|
|
460
|
+
let urlPath = entry.redirect_data['path'];
|
|
461
|
+
if(urlPath.indexOf('?') === -1) urlPath = `${urlPath}?x-common=${nsp}&vs=${new Date().getTime()}`;
|
|
462
|
+
else urlPath = `${urlPath}&x-common=${nsp}&vs=${new Date().getTime()}`;
|
|
460
463
|
this.$xdUniHelper.redirectTo({
|
|
461
|
-
url
|
|
464
|
+
url:urlPath
|
|
462
465
|
}, false)
|
|
463
466
|
}
|
|
464
467
|
else {
|