jufubao-base 1.0.239-beta2 → 1.0.239
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/JfbBaseFastLink/Attr.js +1 -12
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +0 -66
- package/src/components/JfbBaseHeader/Attr.js +0 -82
- package/src/components/JfbBaseHeader/JfbBaseHeader.vue +1 -47
- package/src/components/JfbBaseHeaderColumn/Attr.js +0 -82
- package/src/components/JfbBaseHeaderColumn/JfbBaseHeaderColumn.vue +2 -48
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +13 -15
- package/src/components/JfbBaseNoticeDialog/Api.js +1 -1
- package/src/components/JfbBaseNoticeDialog/Attr.js +0 -26
- package/src/components/JfbBaseNoticeDialog/JfbBaseNoticeDialog.vue +9 -28
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +18 -174
- package/src/components/JfbBasePay/Attr.js +0 -52
- package/src/components/JfbBasePay/JfbBasePay.vue +6 -30
- package/src/components/JfbBasePay/Mock.js +9 -0
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +2 -1
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +19 -11
- package/src/components/JfbBasePoster/Attr.js +1 -1
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +2 -2
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +2 -7
- package/src/components/JfbBaseTfkSearch/ContentProduct.vue +22 -12
- package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +1 -12
- package/src/components/JfbBaseTfkSearch/Mock.js +3 -51
- package/src/components/JfbBaseTfkSearch/listMixins.js +1 -2
- package/src/components/JfbBaseUserInfo/Attr.js +11 -175
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +115 -337
- package/src/components/JfbBaseUserOrder/Attr.js +0 -16
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +2 -11
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +0 -10
- package/src/components/JfbBaseBalance/Api.js +0 -46
- package/src/components/JfbBaseBalance/Attr.js +0 -316
- package/src/components/JfbBaseBalance/JfbBaseBalance.vue +0 -334
- package/src/components/JfbBaseBalance/JfbBaseBalanceLess.less +0 -79
- package/src/components/JfbBaseBalance/JfbBaseBalanceMixin.js +0 -30
- package/src/components/JfbBaseBalance/Mock.js +0 -9
- package/src/components/JfbBaseCodeOpenVip/Api.js +0 -35
- package/src/components/JfbBaseCodeOpenVip/Attr.js +0 -281
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +0 -251
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipLess.less +0 -79
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipMixin.js +0 -30
- package/src/components/JfbBaseCodeOpenVip/Mock.js +0 -13
- package/src/components/JfbBaseConsumpCode/Api.js +0 -133
- package/src/components/JfbBaseConsumpCode/Attr.js +0 -61
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +0 -1048
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeLess.less +0 -79
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeMixin.js +0 -30
- package/src/components/JfbBaseConsumpCode/Mock.js +0 -22
- package/src/components/JfbBaseNoticeGroup/Api.js +0 -23
- package/src/components/JfbBaseNoticeGroup/Attr.js +0 -237
- package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroup.vue +0 -174
- package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupLess.less +0 -79
- package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupMixin.js +0 -30
- package/src/components/JfbBaseNoticeGroup/Mock.js +0 -13
- package/src/components/JfbBaseOpenVip/Api.js +0 -39
- package/src/components/JfbBaseOpenVip/Attr.js +0 -331
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +0 -457
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVipLess.less +0 -79
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVipMixin.js +0 -30
- package/src/components/JfbBaseOpenVip/Mock.js +0 -7
- package/src/components/JfbBaseOpenVip/XdVipList.vue +0 -131
- package/src/components/JfbBaseOpenVipCard/Api.js +0 -58
- package/src/components/JfbBaseOpenVipCard/Attr.js +0 -48
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCard.vue +0 -111
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardLess.less +0 -79
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardMixin.js +0 -30
- package/src/components/JfbBaseOpenVipCard/Mock.js +0 -13
- package/src/components/JfbBaseOpenVipDetail/Api.js +0 -35
- package/src/components/JfbBaseOpenVipDetail/Attr.js +0 -37
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +0 -234
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailLess.less +0 -79
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailMixin.js +0 -30
- package/src/components/JfbBaseOpenVipDetail/Mock.js +0 -15
- package/src/components/JfbBasePersonalData/Api.js +0 -26
- package/src/components/JfbBasePersonalData/Attr.js +0 -13
- package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +0 -200
- package/src/components/JfbBasePersonalData/JfbBasePersonalDataLess.less +0 -79
- package/src/components/JfbBasePersonalData/JfbBasePersonalDataMixin.js +0 -30
- package/src/components/JfbBasePersonalData/Mock.js +0 -13
- package/src/components/JfbBasePointsCard/Api.js +0 -18
- package/src/components/JfbBasePointsCard/Attr.js +0 -187
- package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +0 -212
- package/src/components/JfbBasePointsCard/JfbBasePointsCardLess.less +0 -79
- package/src/components/JfbBasePointsCard/JfbBasePointsCardMixin.js +0 -30
- package/src/components/JfbBasePointsCard/Mock.js +0 -5
- package/src/components/JfbBasePointsDetail/Api.js +0 -48
- package/src/components/JfbBasePointsDetail/Attr.js +0 -305
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +0 -267
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetailLess.less +0 -79
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetailMixin.js +0 -30
- package/src/components/JfbBasePointsDetail/Mock.js +0 -6
- package/src/components/JfbBasePosterGroup/Api.js +0 -22
- package/src/components/JfbBasePosterGroup/Attr.js +0 -156
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroup.vue +0 -268
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroupLess.less +0 -79
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroupMixin.js +0 -30
- package/src/components/JfbBasePosterGroup/Mock.js +0 -13
- package/src/components/JfbBaseSavingDetail/Api.js +0 -41
- package/src/components/JfbBaseSavingDetail/Attr.js +0 -70
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +0 -710
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailLess.less +0 -79
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailMixin.js +0 -30
- package/src/components/JfbBaseSavingDetail/Mock.js +0 -10
- package/src/components/JfbBaseSavingDetail/components/echarts.min.js +0 -26
- package/src/components/JfbBaseSavingDetail/components/echarts.vue +0 -254
- package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +0 -105
- package/src/components/JfbBaseShare/Api.js +0 -20
- package/src/components/JfbBaseShare/Attr.js +0 -59
- package/src/components/JfbBaseShare/JfbBaseShare.vue +0 -276
- package/src/components/JfbBaseShare/JfbBaseShareLess.less +0 -79
- package/src/components/JfbBaseShare/JfbBaseShareMixin.js +0 -30
- package/src/components/JfbBaseShare/Mock.js +0 -16
- package/src/components/JfbBaseWithDrawAgain/Api.js +0 -41
- package/src/components/JfbBaseWithDrawAgain/Attr.js +0 -92
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +0 -354
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainLess.less +0 -79
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainMixin.js +0 -30
- package/src/components/JfbBaseWithDrawAgain/Mock.js +0 -10
- package/src/components/JfbBaseWithDrawRecord/Api.js +0 -19
- package/src/components/JfbBaseWithDrawRecord/Attr.js +0 -79
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +0 -233
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordLess.less +0 -79
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordMixin.js +0 -30
- package/src/components/JfbBaseWithDrawRecord/Mock.js +0 -7
- package/src/components/JfbBaseWithdraw/Api.js +0 -48
- package/src/components/JfbBaseWithdraw/Attr.js +0 -328
- package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +0 -272
- package/src/components/JfbBaseWithdraw/JfbBaseWithdrawLess.less +0 -79
- package/src/components/JfbBaseWithdraw/JfbBaseWithdrawMixin.js +0 -30
- package/src/components/JfbBaseWithdraw/Mock.js +0 -7
|
@@ -73,7 +73,7 @@ export default {
|
|
|
73
73
|
mixins: [componentsMixins, extsMixins, JfbBaseNoticeDialogMixin],
|
|
74
74
|
data() {
|
|
75
75
|
return {
|
|
76
|
-
isShow:
|
|
76
|
+
isShow: true,
|
|
77
77
|
backgroundColor: "",
|
|
78
78
|
isPreview: false, //是否预览
|
|
79
79
|
is_hide_dailog: "N",
|
|
@@ -84,9 +84,7 @@ export default {
|
|
|
84
84
|
currentLinkUrl: "",
|
|
85
85
|
currentIndex: 0,
|
|
86
86
|
contentList: [],
|
|
87
|
-
number: ''
|
|
88
|
-
systemType: '',
|
|
89
|
-
showGroup: ''
|
|
87
|
+
number: ''
|
|
90
88
|
};
|
|
91
89
|
},
|
|
92
90
|
watch: {
|
|
@@ -136,26 +134,19 @@ export default {
|
|
|
136
134
|
|
|
137
135
|
//弹窗显示
|
|
138
136
|
if (res.list.length > 0) {
|
|
139
|
-
this.contentList = res.list
|
|
137
|
+
this.contentList = res.list.map((item) => {
|
|
138
|
+
return JSON.parse(item.content);
|
|
139
|
+
});
|
|
140
140
|
this.currentImage = getServiceUrl(
|
|
141
141
|
this.contentList[0].image_url,
|
|
142
|
-
"
|
|
142
|
+
"size3"
|
|
143
143
|
);
|
|
144
144
|
this.currentLinkUrl = this.getLinkUrl(
|
|
145
145
|
this.contentList[0].redirect_data
|
|
146
146
|
);
|
|
147
147
|
this.currentIndex = 0;
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
} else {
|
|
151
|
-
if(this.showGroup==='all') {
|
|
152
|
-
this.handlePop();
|
|
153
|
-
}else {
|
|
154
|
-
if(this.getTokenForKey('user_level')&&this.getTokenForKey('user_level')==='VIP') {
|
|
155
|
-
this.handlePop();
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
148
|
+
|
|
149
|
+
this.handlePop();
|
|
159
150
|
}
|
|
160
151
|
})
|
|
161
152
|
.catch((error) => {
|
|
@@ -184,16 +175,6 @@ export default {
|
|
|
184
175
|
);
|
|
185
176
|
this.type = getContainerPropsValue(container, "content.type", "pop");
|
|
186
177
|
this.number = getContainerPropsValue(container, "content.number", 1);
|
|
187
|
-
this.systemType = getContainerPropsValue(
|
|
188
|
-
container,
|
|
189
|
-
"content.systemType",
|
|
190
|
-
"fuli"
|
|
191
|
-
);
|
|
192
|
-
this.showGroup = getContainerPropsValue(
|
|
193
|
-
container,
|
|
194
|
-
"content.showGroup",
|
|
195
|
-
"all"
|
|
196
|
-
);
|
|
197
178
|
},
|
|
198
179
|
handlePop() {
|
|
199
180
|
console.warn(`this.time${this.time * 60 + "分钟"}`);
|
|
@@ -216,7 +197,7 @@ export default {
|
|
|
216
197
|
);
|
|
217
198
|
this.currentImage = getServiceUrl(
|
|
218
199
|
this.contentList[this.currentIndex].image_url,
|
|
219
|
-
"
|
|
200
|
+
"size3"
|
|
220
201
|
);
|
|
221
202
|
},
|
|
222
203
|
handleToLink() {
|
|
@@ -120,46 +120,27 @@
|
|
|
120
120
|
</view>
|
|
121
121
|
</view>
|
|
122
122
|
</view>
|
|
123
|
-
<view
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
123
|
+
<view
|
|
124
|
+
class="jfb-base-order-detail__body-delivery-bottom"
|
|
125
|
+
v-if="info.film_show.detail && info.film_show.detail !== null"
|
|
126
|
+
>
|
|
127
|
+
<view class="jfb-base-order-detail__body-delivery-bottom-title">{{info.film_show.detail.title }}</view>
|
|
128
|
+
<view
|
|
129
|
+
v-for="(Ditem, Dindex) in info.film_show.detail.items"
|
|
130
|
+
:key="Dindex"
|
|
131
|
+
class="jfb-base-order-detail__body-delivery-bottom-item"
|
|
132
|
+
:style="{
|
|
133
|
+
marginBottom: lineHeight + 'rpx'
|
|
134
|
+
}"
|
|
135
|
+
>
|
|
136
|
+
<view style="width: 130rpx"
|
|
137
|
+
>{{ Ditem.label }} <span v-if="Ditem.label">:</span>
|
|
128
138
|
</view>
|
|
129
|
-
<
|
|
139
|
+
<view>{{ Ditem.value }}</view>
|
|
130
140
|
</view>
|
|
131
141
|
</view>
|
|
132
142
|
</view>
|
|
133
143
|
</view>
|
|
134
|
-
<view
|
|
135
|
-
class="jfb-base-order-detail__body-card jfb-base-order-detail__body-delivery-info"
|
|
136
|
-
:style="{
|
|
137
|
-
background: backgroundColor,
|
|
138
|
-
border: borderBox,
|
|
139
|
-
borderRadius: radius + 'rpx',
|
|
140
|
-
boxShadow: shadowBox,
|
|
141
|
-
marginBottom: padding + 'rpx',
|
|
142
|
-
}"
|
|
143
|
-
v-if="info.film_show&&info.film_show.detail && info.film_show.detail !== null"
|
|
144
|
-
>
|
|
145
|
-
<view class="jfb-base-order-detail__body-delivery-info-title">
|
|
146
|
-
<view :style="{background:mainColor}" class="line"></view>
|
|
147
|
-
{{info.film_show.detail.title }}
|
|
148
|
-
</view>
|
|
149
|
-
<view
|
|
150
|
-
v-for="(Ditem, Dindex) in info.film_show.detail.items"
|
|
151
|
-
:key="Dindex"
|
|
152
|
-
class="jfb-base-order-detail__body-delivery-info-item"
|
|
153
|
-
:style="{
|
|
154
|
-
marginBottom: lineHeight + 'rpx'
|
|
155
|
-
}"
|
|
156
|
-
>
|
|
157
|
-
<view style="width: 130rpx"
|
|
158
|
-
>{{ Ditem.label }} <span v-if="Ditem.label">:</span>
|
|
159
|
-
</view>
|
|
160
|
-
<view>{{ Ditem.value }}</view>
|
|
161
|
-
</view>
|
|
162
|
-
</view>
|
|
163
144
|
<view v-if="info.sub_orders && info.sub_orders.length > 0">
|
|
164
145
|
<view
|
|
165
146
|
:style="{
|
|
@@ -590,8 +571,6 @@
|
|
|
590
571
|
>
|
|
591
572
|
<view :style="{ fontWeight: item.style }">{{ item.label }}</view>
|
|
592
573
|
<xd-unit
|
|
593
|
-
:colorNew="isPlusSite ? '#999':''"
|
|
594
|
-
:largeZero="false"
|
|
595
574
|
:fontSize="28"
|
|
596
575
|
:iconSize="0.28"
|
|
597
576
|
:fontWeight="item.style"
|
|
@@ -825,20 +804,6 @@
|
|
|
825
804
|
<view v-if="dialogCode && dialogCode.tips" class="dialog_password"> {{ dialogCode.tips}}</view>
|
|
826
805
|
<view v-if="dialogPassword" class="dialog_password">{{ dialogPassword }}</view>
|
|
827
806
|
</xd-dailog>
|
|
828
|
-
<XdDownDrawer :isClose="false" height="auto" :show.sync="showSupplement">
|
|
829
|
-
<view class="supplement">
|
|
830
|
-
<view class="supplement-title">
|
|
831
|
-
<xd-font-icon @click="showSupplement=false" color="#666" size="30" icon="iconxiangzuo_xian"></xd-font-icon>
|
|
832
|
-
<view style="margin: 0 auto">{{supplementTitle}}</view>
|
|
833
|
-
</view>
|
|
834
|
-
<view style="color: #333333;margin-top: 58rpx;font-size: 28rpx;font-weight: 500">已购</view>
|
|
835
|
-
<view class="supplement-item" v-for="(item, index) in supplementList" :key="index">
|
|
836
|
-
<view>{{item.product_name}}</view>
|
|
837
|
-
<view>{{getAmount(item.sale_price)}}元 x {{item.product_num}}</view>
|
|
838
|
-
</view>
|
|
839
|
-
<xd-button type="primary" @click="showSupplement=false">关闭</xd-button>
|
|
840
|
-
</view>
|
|
841
|
-
</XdDownDrawer>
|
|
842
807
|
</view>
|
|
843
808
|
</template>
|
|
844
809
|
|
|
@@ -849,7 +814,6 @@ import XdTag from "@/components/XdTag/XdTag";
|
|
|
849
814
|
import XdUnit from "@/components/XdUnit/XdUnit";
|
|
850
815
|
import XdButton from "@/components/XdButton/XdButton";
|
|
851
816
|
import XdDailog from "@/components/XdDailog/XdDailog";
|
|
852
|
-
import XdDownDrawer from "@/components/XdDownDrawer/XdDownDrawer";
|
|
853
817
|
import { jfbRootExec } from "@/utils/xd.event";
|
|
854
818
|
import JfbBaseOrderDetailMixin from "./JfbBaseOrderDetailMixin";
|
|
855
819
|
import componentsMixins from "@/mixins/componentsMixins";
|
|
@@ -870,7 +834,6 @@ export default {
|
|
|
870
834
|
XdButton,
|
|
871
835
|
XdDailog,
|
|
872
836
|
XdJfbImage,
|
|
873
|
-
XdDownDrawer
|
|
874
837
|
},
|
|
875
838
|
mixins: [componentsMixins, extsMixins, JfbBaseOrderDetailMixin],
|
|
876
839
|
data() {
|
|
@@ -938,10 +901,6 @@ export default {
|
|
|
938
901
|
showPreviewCode: true,
|
|
939
902
|
is_show_product: "",
|
|
940
903
|
btnTextSize: 20,
|
|
941
|
-
|
|
942
|
-
showSupplement: false,
|
|
943
|
-
supplementList: [],
|
|
944
|
-
supplementTitle: "",
|
|
945
904
|
};
|
|
946
905
|
},
|
|
947
906
|
watch: {
|
|
@@ -994,10 +953,7 @@ export default {
|
|
|
994
953
|
padding: padding,
|
|
995
954
|
backgroundColor: this.bottomBgColor,
|
|
996
955
|
}
|
|
997
|
-
}
|
|
998
|
-
isPlusSite(){
|
|
999
|
-
return this.projectAttr.headers['X-Site-Group']==="vip";
|
|
1000
|
-
},
|
|
956
|
+
}
|
|
1001
957
|
},
|
|
1002
958
|
created() {
|
|
1003
959
|
this.noticeBgc = Color(this.warningColor).alpha(0.2).toString();
|
|
@@ -1013,10 +969,6 @@ export default {
|
|
|
1013
969
|
this.getOrderDetail();
|
|
1014
970
|
},
|
|
1015
971
|
|
|
1016
|
-
getAmount(price) {
|
|
1017
|
-
return this.$xdUniHelper.divisionFloatNumber(price,100)
|
|
1018
|
-
},
|
|
1019
|
-
|
|
1020
972
|
timeDown() {
|
|
1021
973
|
if (this.info.status.loading_timeout != "-1") {
|
|
1022
974
|
this.times = this.info.status.loading_timeout;
|
|
@@ -1347,11 +1299,6 @@ export default {
|
|
|
1347
1299
|
});
|
|
1348
1300
|
// #endif
|
|
1349
1301
|
},
|
|
1350
|
-
handleViewSupplement(item){
|
|
1351
|
-
this.showSupplement=true;
|
|
1352
|
-
this.supplementList = item.items
|
|
1353
|
-
this.supplementTitle = item.show_title
|
|
1354
|
-
},
|
|
1355
1302
|
handleToLink(id, info) {
|
|
1356
1303
|
this.$xdUniHelper.navigateTo({
|
|
1357
1304
|
url: `${this.brandPath}?id=${id}®ion_limit_tpl_id=${info.support_shops.region_limit_tpl_id}&xnamespace=${info.biz_code}`,
|
|
@@ -1470,12 +1417,6 @@ export default {
|
|
|
1470
1417
|
|
|
1471
1418
|
<style scoped lang="less">
|
|
1472
1419
|
@import "./JfbBaseOrderDetailLess.less";
|
|
1473
|
-
.line {
|
|
1474
|
-
border-radius: 2px;
|
|
1475
|
-
width: 6rpx;
|
|
1476
|
-
height: 24rpx;
|
|
1477
|
-
margin-right: 20rpx;
|
|
1478
|
-
}
|
|
1479
1420
|
|
|
1480
1421
|
.code-url {
|
|
1481
1422
|
display: flex;
|
|
@@ -1614,32 +1555,6 @@ export default {
|
|
|
1614
1555
|
}
|
|
1615
1556
|
}
|
|
1616
1557
|
}
|
|
1617
|
-
&-supplement {
|
|
1618
|
-
border-top: 1px dashed #CCCCCC;
|
|
1619
|
-
margin-top: 32rpx;
|
|
1620
|
-
&-item {
|
|
1621
|
-
display: flex;
|
|
1622
|
-
align-items: center;
|
|
1623
|
-
justify-content: space-between;
|
|
1624
|
-
margin-top: 32rpx;
|
|
1625
|
-
margin-bottom: 32rpx;
|
|
1626
|
-
&-info {
|
|
1627
|
-
display: flex;
|
|
1628
|
-
align-items: center;
|
|
1629
|
-
&-tag {
|
|
1630
|
-
border: 1px solid;
|
|
1631
|
-
font-size: 20rpx;
|
|
1632
|
-
padding: 8rpx 16rpx;
|
|
1633
|
-
border-radius: 8rpx;
|
|
1634
|
-
margin-right: 20rpx;
|
|
1635
|
-
}
|
|
1636
|
-
&-title {
|
|
1637
|
-
color: #666666;
|
|
1638
|
-
font-size: 24rpx;
|
|
1639
|
-
}
|
|
1640
|
-
}
|
|
1641
|
-
}
|
|
1642
|
-
}
|
|
1643
1558
|
}
|
|
1644
1559
|
|
|
1645
1560
|
&-delivery {
|
|
@@ -1663,28 +1578,6 @@ export default {
|
|
|
1663
1578
|
border-radius: unit(8, rpx);
|
|
1664
1579
|
}
|
|
1665
1580
|
|
|
1666
|
-
&-bottom {
|
|
1667
|
-
margin-top: unit(32, rpx);
|
|
1668
|
-
|
|
1669
|
-
&-title {
|
|
1670
|
-
color: #333333;
|
|
1671
|
-
font-size: unit(28, rpx);
|
|
1672
|
-
font-weight: 500;
|
|
1673
|
-
margin-bottom: unit(20, rpx);
|
|
1674
|
-
}
|
|
1675
|
-
|
|
1676
|
-
&-item {
|
|
1677
|
-
color: #666666;
|
|
1678
|
-
font-size: unit(28, rpx);
|
|
1679
|
-
display: flex;
|
|
1680
|
-
margin-bottom: unit(16, rpx);
|
|
1681
|
-
|
|
1682
|
-
& > view:nth-child(2) {
|
|
1683
|
-
width: 80%;
|
|
1684
|
-
}
|
|
1685
|
-
}
|
|
1686
|
-
}
|
|
1687
|
-
|
|
1688
1581
|
&-info {
|
|
1689
1582
|
flex: 1;
|
|
1690
1583
|
display: flex;
|
|
@@ -1727,35 +1620,6 @@ export default {
|
|
|
1727
1620
|
}
|
|
1728
1621
|
}
|
|
1729
1622
|
|
|
1730
|
-
&-info {
|
|
1731
|
-
margin-top: unit(32, rpx);
|
|
1732
|
-
|
|
1733
|
-
&-title {
|
|
1734
|
-
color: #333333;
|
|
1735
|
-
font-size: unit(28, rpx);
|
|
1736
|
-
margin-bottom: unit(20, rpx);
|
|
1737
|
-
display: flex;
|
|
1738
|
-
align-items: center;
|
|
1739
|
-
}
|
|
1740
|
-
|
|
1741
|
-
&-item {
|
|
1742
|
-
color: #333333;
|
|
1743
|
-
font-size: unit(24, rpx);
|
|
1744
|
-
display: flex;
|
|
1745
|
-
margin-bottom: unit(16, rpx);
|
|
1746
|
-
& > view:first-child{
|
|
1747
|
-
color: #999;
|
|
1748
|
-
}
|
|
1749
|
-
|
|
1750
|
-
& > view:nth-child(2) {
|
|
1751
|
-
width: 80%;
|
|
1752
|
-
}
|
|
1753
|
-
}
|
|
1754
|
-
&-item:last-child{
|
|
1755
|
-
margin-bottom: 0 !important;
|
|
1756
|
-
}
|
|
1757
|
-
}
|
|
1758
|
-
|
|
1759
1623
|
&-bottom {
|
|
1760
1624
|
margin-top: unit(32, rpx);
|
|
1761
1625
|
|
|
@@ -1777,10 +1641,8 @@ export default {
|
|
|
1777
1641
|
}
|
|
1778
1642
|
}
|
|
1779
1643
|
}
|
|
1780
|
-
|
|
1781
1644
|
}
|
|
1782
1645
|
|
|
1783
|
-
|
|
1784
1646
|
&-num {
|
|
1785
1647
|
&-info {
|
|
1786
1648
|
display: flex;
|
|
@@ -1903,7 +1765,7 @@ export default {
|
|
|
1903
1765
|
color: #737373;
|
|
1904
1766
|
}
|
|
1905
1767
|
}
|
|
1906
|
-
|
|
1768
|
+
|
|
1907
1769
|
&-order {
|
|
1908
1770
|
display: flex;
|
|
1909
1771
|
align-items: center;
|
|
@@ -2099,23 +1961,5 @@ export default {
|
|
|
2099
1961
|
}
|
|
2100
1962
|
|
|
2101
1963
|
}
|
|
2102
|
-
|
|
2103
|
-
.supplement {
|
|
2104
|
-
padding: 48rpx;
|
|
2105
|
-
&-title {
|
|
2106
|
-
display: flex;
|
|
2107
|
-
align-items: center;
|
|
2108
|
-
color: #666666;
|
|
2109
|
-
font-size: 28rpx;
|
|
2110
|
-
}
|
|
2111
|
-
&-item {
|
|
2112
|
-
margin: 34rpx 0;
|
|
2113
|
-
display: flex;
|
|
2114
|
-
justify-content: space-between;
|
|
2115
|
-
align-items: center;
|
|
2116
|
-
color: #666;
|
|
2117
|
-
font-size: 28rpx;
|
|
2118
|
-
}
|
|
2119
|
-
}
|
|
2120
1964
|
}
|
|
2121
1965
|
</style>
|
|
@@ -8,58 +8,6 @@ export default {
|
|
|
8
8
|
advanced: [],
|
|
9
9
|
content: data=>{
|
|
10
10
|
return [
|
|
11
|
-
{
|
|
12
|
-
label: "仍需扣点文案:",
|
|
13
|
-
ele: "el-input",
|
|
14
|
-
valueKey: "text1",
|
|
15
|
-
value: data.text1 || "仍需扣点",
|
|
16
|
-
groupKey: "content",
|
|
17
|
-
inline: false,
|
|
18
|
-
className: "input80",
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
label: "(可使用多张票券点数)是否展示",
|
|
22
|
-
ele: 'xd-radio',
|
|
23
|
-
valueKey: "showText2",
|
|
24
|
-
value: data.showText2 || 'Y',
|
|
25
|
-
groupKey: "content",
|
|
26
|
-
inline: true,
|
|
27
|
-
list: [
|
|
28
|
-
{ label: "展示", value: "Y" },
|
|
29
|
-
{ label: "不展示", value: "N" },
|
|
30
|
-
],
|
|
31
|
-
},
|
|
32
|
-
data.showText2 === 'Y' && {
|
|
33
|
-
label: "(可使用多张票券点数)文案:",
|
|
34
|
-
ele: "el-input",
|
|
35
|
-
valueKey: "text2",
|
|
36
|
-
value: data.text2 || '(可使用多张票券点数)',
|
|
37
|
-
placeholder: '(可使用多张票券点数)',
|
|
38
|
-
groupKey: "content",
|
|
39
|
-
inline: false,
|
|
40
|
-
className: "input80",
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
label: "选择以下补差方式文案:",
|
|
44
|
-
ele: "el-input",
|
|
45
|
-
valueKey: "text3",
|
|
46
|
-
value: data.text3 || '选择以下补差方式',
|
|
47
|
-
groupKey: "content",
|
|
48
|
-
inline: false,
|
|
49
|
-
className: "input80",
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
label: "是否展示继续补差",
|
|
53
|
-
ele: "xd-radio",
|
|
54
|
-
valueKey: "showContinuePay",
|
|
55
|
-
value: data.showContinuePay || 'Y',
|
|
56
|
-
groupKey: "content",
|
|
57
|
-
inline: true,
|
|
58
|
-
list: [
|
|
59
|
-
{ label: "展示", value: "Y" },
|
|
60
|
-
{ label: "不展示", value: "N" },
|
|
61
|
-
],
|
|
62
|
-
},
|
|
63
11
|
...styleForm.getForm(data),
|
|
64
12
|
{
|
|
65
13
|
label: '支付成功跳转路径:', //label
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
<view class="column_value text-gray">
|
|
25
25
|
<xd-unit
|
|
26
26
|
:price="payInfo.total_amount"
|
|
27
|
-
:isShowIcon="isShowIcon"
|
|
28
27
|
:isOld="false"
|
|
29
28
|
:font-size="28"
|
|
30
29
|
:icon-size="0.28"
|
|
@@ -40,7 +39,6 @@
|
|
|
40
39
|
<!-- <xd-button width="220rpx" radius="60rpx" type="primary" size="small" @click="xdDownDrawer=true">使用新票券</xd-button> -->
|
|
41
40
|
<xd-unit
|
|
42
41
|
:price="payInfo.card_amount"
|
|
43
|
-
:isShowIcon="isShowIcon"
|
|
44
42
|
:isOld="false"
|
|
45
43
|
:font-size="28"
|
|
46
44
|
:icon-size="0.28"
|
|
@@ -102,11 +100,10 @@
|
|
|
102
100
|
<view class="remain_pay" v-if="payInfo.channel_amount > 0">
|
|
103
101
|
<view style="border-bottom: 2rpx solid #eee;" class="column-group">
|
|
104
102
|
<view class="column-item" style="padding: 30rpx 60rpx">
|
|
105
|
-
<view class="column_label"
|
|
103
|
+
<view class="column_label">仍需扣点<text class="label_sub">(可使用多张票券点数)</text></view>
|
|
106
104
|
<view class="column_value text-primary">
|
|
107
105
|
<xd-unit
|
|
108
106
|
:price="payInfo.channel_amount"
|
|
109
|
-
:isShowIcon="isShowIcon"
|
|
110
107
|
:isOld="false"
|
|
111
108
|
:font-size="28"
|
|
112
109
|
:icon-size="0.28"
|
|
@@ -115,8 +112,8 @@
|
|
|
115
112
|
</view>
|
|
116
113
|
</view>
|
|
117
114
|
<view class="remain_header">
|
|
118
|
-
<view
|
|
119
|
-
<view
|
|
115
|
+
<view>选择以下补差方式</view>
|
|
116
|
+
<view class="flex align-center text-primary">
|
|
120
117
|
<view class="margin-right">继续补差</view>
|
|
121
118
|
<xd-unit
|
|
122
119
|
:price="payInfo.channel_amount"
|
|
@@ -149,14 +146,11 @@
|
|
|
149
146
|
<view class="bottom_btn-mask"></view>
|
|
150
147
|
<view v-if="is_can_pay==='Y'" class="bottom_btn" :style="prod_bottom">
|
|
151
148
|
<xd-button
|
|
152
|
-
width="
|
|
149
|
+
width="360rpx"
|
|
153
150
|
type="primary"
|
|
154
151
|
radius="50rpx"
|
|
155
152
|
@click="doThirdPay"
|
|
156
|
-
>
|
|
157
|
-
确认支付
|
|
158
|
-
¥{{ $xdUniHelper.divisionFloatNumber(payInfo.channel_amount, 100) }}
|
|
159
|
-
</xd-button>
|
|
153
|
+
>确认</xd-button>
|
|
160
154
|
</view>
|
|
161
155
|
</view>
|
|
162
156
|
</view>
|
|
@@ -180,7 +174,6 @@ import {isWechat,isWechatTools} from "@/utils/xd.base";
|
|
|
180
174
|
import color from "color";
|
|
181
175
|
const Color = require('color');
|
|
182
176
|
let styleForm = new StyleForm({bgColor: '#fafafa'}, getContainerPropsValue, 'pay', true);
|
|
183
|
-
import { mapState } from "vuex";
|
|
184
177
|
|
|
185
178
|
export default {
|
|
186
179
|
name: "JfbBasePay",
|
|
@@ -219,12 +212,7 @@ export default {
|
|
|
219
212
|
rechargeSuccessPath: "", //充值成功
|
|
220
213
|
...styleForm.getDataItem(),
|
|
221
214
|
borderColor:'rgba(0,0,0,0)',
|
|
222
|
-
options:{}
|
|
223
|
-
text1: "",
|
|
224
|
-
text2: "",
|
|
225
|
-
text3: "",
|
|
226
|
-
showText2: "Y",
|
|
227
|
-
showContinuePay: "",
|
|
215
|
+
options:{}
|
|
228
216
|
};
|
|
229
217
|
},
|
|
230
218
|
watch: {
|
|
@@ -234,9 +222,6 @@ export default {
|
|
|
234
222
|
},
|
|
235
223
|
},
|
|
236
224
|
computed: {
|
|
237
|
-
...mapState({
|
|
238
|
-
siteInfo: state => state.siteInfo,
|
|
239
|
-
}),
|
|
240
225
|
prod_bottom() {
|
|
241
226
|
return this.fixedStyle({ height: 0, zIndex: 111 });
|
|
242
227
|
},
|
|
@@ -247,10 +232,6 @@ export default {
|
|
|
247
232
|
}
|
|
248
233
|
return url
|
|
249
234
|
},
|
|
250
|
-
isShowIcon() {
|
|
251
|
-
if(this.$configProject['isPreview']) return true;
|
|
252
|
-
return this.siteInfo.mapping.is_show_coin_icon==='Y'
|
|
253
|
-
},
|
|
254
235
|
...styleForm.getComputedItem(),
|
|
255
236
|
},
|
|
256
237
|
created() {
|
|
@@ -281,11 +262,6 @@ export default {
|
|
|
281
262
|
* @param container {object} 业务组件对象自己
|
|
282
263
|
*/
|
|
283
264
|
init(container) {
|
|
284
|
-
this.text1 = getContainerPropsValue(container, 'content.text1', "仍需扣点");
|
|
285
|
-
this.text2 = getContainerPropsValue(container, 'content.text2', "(可使用多张票券点数)");
|
|
286
|
-
this.text3 = getContainerPropsValue(container, 'content.text3', "选择以下补差方式");
|
|
287
|
-
this.showText2 = getContainerPropsValue(container, 'content.showText2', "Y");
|
|
288
|
-
this.showContinuePay = getContainerPropsValue(container, 'content.showContinuePay', 'Y');
|
|
289
265
|
this.paySuccessPath = getContainerPropsValue(
|
|
290
266
|
container,
|
|
291
267
|
"content.pay_success_path",
|
|
@@ -24,6 +24,15 @@ module.exports = {
|
|
|
24
24
|
"card_use_price": 10000,
|
|
25
25
|
"use_card_point": "5000"
|
|
26
26
|
},
|
|
27
|
+
{
|
|
28
|
+
"card_number": "101001000005195",
|
|
29
|
+
"card_type_name": "聚福宝福卡测试蛋糕",
|
|
30
|
+
"end_time": 1679034403,
|
|
31
|
+
"card_point": 5000,
|
|
32
|
+
"is_bind_card": true,
|
|
33
|
+
"card_use_price": 10000,
|
|
34
|
+
"use_card_point": "5000"
|
|
35
|
+
},
|
|
27
36
|
],
|
|
28
37
|
},
|
|
29
38
|
getBaseOrderStatus:{},
|
|
@@ -447,9 +447,10 @@ export default {
|
|
|
447
447
|
user_name,
|
|
448
448
|
},
|
|
449
449
|
}).then((res) => {
|
|
450
|
-
this.$xdHideLoading()
|
|
450
|
+
this.$xdHideLoading();
|
|
451
451
|
let { callback_url } = this;
|
|
452
452
|
if (callback_url) callback_url = decodeURIComponent(callback_url);
|
|
453
|
+
|
|
453
454
|
this.$xdUniHelper.redirectTo({
|
|
454
455
|
url: callback_url || this.settings.index,
|
|
455
456
|
});
|
|
@@ -176,6 +176,8 @@ import XdDialog from "@/components/XdDailog/XdDailog";
|
|
|
176
176
|
//#ifdef H5
|
|
177
177
|
import cookie from "@/common/cookie";
|
|
178
178
|
//#endif
|
|
179
|
+
import {mapState} from "vuex";
|
|
180
|
+
|
|
179
181
|
|
|
180
182
|
export default {
|
|
181
183
|
// #ifdef MP-WEIXIN
|
|
@@ -207,7 +209,6 @@ export default {
|
|
|
207
209
|
callback_url: "",
|
|
208
210
|
isCollectUsername: false,
|
|
209
211
|
showDialog: false,
|
|
210
|
-
share_code: "",
|
|
211
212
|
|
|
212
213
|
inputStyle: "linear", //输入框样式 linear:线性 face: 面性
|
|
213
214
|
formBorderColor: "#F9F9F9", //
|
|
@@ -276,6 +277,7 @@ export default {
|
|
|
276
277
|
};
|
|
277
278
|
},
|
|
278
279
|
computed: {
|
|
280
|
+
...mapState(["jfbAuthorize","siteInfo",'loginParams']),
|
|
279
281
|
panelIsChecked() {
|
|
280
282
|
return this.panel_1_checked.includes(1);
|
|
281
283
|
},
|
|
@@ -368,13 +370,6 @@ export default {
|
|
|
368
370
|
this.auth_code = options.auth_code;
|
|
369
371
|
this.provider_id = options.provider_id;
|
|
370
372
|
this.callback_url = options.callback_url;
|
|
371
|
-
if(options['x-common']){
|
|
372
|
-
let decodeParams = Base64.decode(options['x-common']);
|
|
373
|
-
try{
|
|
374
|
-
let commonParams = JSON.parse(decodeParams);
|
|
375
|
-
this.share_code = commonParams.share_code;
|
|
376
|
-
}catch(e){}
|
|
377
|
-
}
|
|
378
373
|
},
|
|
379
374
|
/**
|
|
380
375
|
* @description 监听事件变化
|
|
@@ -563,6 +558,7 @@ export default {
|
|
|
563
558
|
p_loginJumpPhone(){
|
|
564
559
|
const { auth_code, provider_id } = this;
|
|
565
560
|
const { phone_number } = this.accountForm;
|
|
561
|
+
|
|
566
562
|
this.$xdShowLoading({});
|
|
567
563
|
jfbRootExec("loginJumpPhone", {
|
|
568
564
|
vm: this,
|
|
@@ -570,7 +566,6 @@ export default {
|
|
|
570
566
|
auth_code,
|
|
571
567
|
provider_id,
|
|
572
568
|
phone_number,
|
|
573
|
-
share_code,
|
|
574
569
|
}
|
|
575
570
|
}).then(res => {
|
|
576
571
|
this.$xdHideLoading();
|
|
@@ -601,17 +596,30 @@ export default {
|
|
|
601
596
|
provider_id,
|
|
602
597
|
phone_number,
|
|
603
598
|
verification_code,
|
|
604
|
-
user_name
|
|
605
|
-
share_code: this.share_code
|
|
599
|
+
user_name
|
|
606
600
|
},
|
|
607
601
|
})
|
|
608
602
|
.then((res) => {
|
|
609
603
|
this.$xdHideLoading();
|
|
610
604
|
let { callback_url } = this;
|
|
611
605
|
if (callback_url) callback_url = decodeURIComponent(callback_url);
|
|
606
|
+
// #ifdef MP-WEIXIN
|
|
607
|
+
if (this.jfbAuthorize !== null) {
|
|
608
|
+
this.jfbAuthorize.setAllToken(res, () => {
|
|
609
|
+
this.$xdUniHelper.redirectTo({
|
|
610
|
+
url: callback_url || this.settings.index,
|
|
611
|
+
});
|
|
612
|
+
});
|
|
613
|
+
}
|
|
614
|
+
// #endif
|
|
615
|
+
|
|
616
|
+
// #ifdef H5
|
|
612
617
|
this.$xdUniHelper.redirectTo({
|
|
613
618
|
url: callback_url || this.settings.index,
|
|
614
619
|
});
|
|
620
|
+
// #endif
|
|
621
|
+
|
|
622
|
+
|
|
615
623
|
})
|
|
616
624
|
.catch((error) => {
|
|
617
625
|
this.$xdHideLoading();
|
|
@@ -264,7 +264,7 @@ export default {
|
|
|
264
264
|
size: 'small',
|
|
265
265
|
groupKey:'content',
|
|
266
266
|
},
|
|
267
|
-
showBg && params.poster && params.poster['type'] && {
|
|
267
|
+
showBg && params.poster && params.poster['type']&& params.poster['type'] !== '1' && {
|
|
268
268
|
label: '广告背景图:',
|
|
269
269
|
ele: 'xd-upload',
|
|
270
270
|
valueKey: 'background',
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
}"
|
|
113
113
|
>
|
|
114
114
|
<view
|
|
115
|
-
v-if="topIsCarousel === 1 "
|
|
115
|
+
v-if="topIsCarousel === 1 && topList.lenght > 0"
|
|
116
116
|
:style="{
|
|
117
117
|
width: bigWidth + 'rpx',
|
|
118
118
|
height: smallHeight + 'rpx',
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
}"
|
|
191
191
|
>
|
|
192
192
|
<view
|
|
193
|
-
v-if="bottomIsCarousel === 1 "
|
|
193
|
+
v-if="bottomIsCarousel === 1 && bottomList.lenght > 0"
|
|
194
194
|
:style="{
|
|
195
195
|
width: bigWidth + 'rpx',
|
|
196
196
|
height: smallHeight + 'rpx',
|