jufubao-base 1.0.243-beta201 → 1.0.243
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/JfbBaseAfterOrderList/Attr.js +0 -13
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +1 -33
- package/src/components/JfbBaseBalance/Api.js +46 -0
- package/src/components/JfbBaseBalance/Attr.js +316 -0
- package/src/components/JfbBaseBalance/JfbBaseBalance.vue +336 -0
- package/src/components/{JfbBaseAfterSales/JfbBaseAfterSalesLess.less → JfbBaseBalance/JfbBaseBalanceLess.less} +2 -2
- package/src/components/{JfbBaseAfterSales/JfbBaseAfterSalesMixin.js → JfbBaseBalance/JfbBaseBalanceMixin.js} +1 -1
- package/src/components/JfbBaseBalance/Mock.js +9 -0
- package/src/components/JfbBaseCodeOpenVip/Api.js +35 -0
- package/src/components/JfbBaseCodeOpenVip/Attr.js +281 -0
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +251 -0
- package/src/components/{JfbBaseAfterSalesFast/JfbBaseAfterSalesFastLess.less → JfbBaseCodeOpenVip/JfbBaseCodeOpenVipLess.less} +2 -2
- package/src/components/{JfbBaseAfterSalesList/JfbBaseAfterSalesListMixin.js → JfbBaseCodeOpenVip/JfbBaseCodeOpenVipMixin.js} +1 -1
- package/src/components/JfbBaseCodeOpenVip/Mock.js +13 -0
- package/src/components/JfbBaseConsumpCode/Api.js +133 -0
- package/src/components/JfbBaseConsumpCode/Attr.js +74 -0
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +1109 -0
- package/src/components/{JfbBaseAfterSalesList/JfbBaseAfterSalesListLess.less → JfbBaseConsumpCode/JfbBaseConsumpCodeLess.less} +2 -2
- package/src/components/{JfbBaseAfterSalesFast/JfbBaseAfterSalesFastMixin.js → JfbBaseConsumpCode/JfbBaseConsumpCodeMixin.js} +1 -1
- package/src/components/JfbBaseConsumpCode/Mock.js +22 -0
- package/src/components/JfbBaseFastLink/Attr.js +12 -1
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +66 -0
- package/src/components/JfbBaseFooter/Attr.js +12 -0
- package/src/components/JfbBaseFooter/JfbBaseFooter.vue +13 -0
- package/src/components/JfbBaseHeader/Attr.js +82 -0
- package/src/components/JfbBaseHeader/JfbBaseHeader.vue +47 -1
- package/src/components/JfbBaseHeaderColumn/Attr.js +82 -0
- package/src/components/JfbBaseHeaderColumn/JfbBaseHeaderColumn.vue +48 -2
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +12 -0
- package/src/components/JfbBaseNoticeDialog/Api.js +1 -1
- package/src/components/JfbBaseNoticeDialog/Attr.js +26 -0
- package/src/components/JfbBaseNoticeDialog/JfbBaseNoticeDialog.vue +38 -15
- package/src/components/JfbBaseNoticeGroup/Api.js +23 -0
- package/src/components/JfbBaseNoticeGroup/Attr.js +237 -0
- package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroup.vue +174 -0
- package/src/components/{JfbBaseAfterSalesDetail/JfbBaseAfterSalesDetailLess.less → JfbBaseNoticeGroup/JfbBaseNoticeGroupLess.less} +2 -2
- package/src/components/{JfbBaseAfterSalesDetail/JfbBaseAfterSalesDetailMixin.js → JfbBaseNoticeGroup/JfbBaseNoticeGroupMixin.js} +1 -1
- package/src/components/JfbBaseNoticeGroup/Mock.js +13 -0
- package/src/components/JfbBaseOpenVip/Api.js +39 -0
- package/src/components/JfbBaseOpenVip/Attr.js +331 -0
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +457 -0
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVipLess.less +79 -0
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVipMixin.js +30 -0
- package/src/components/JfbBaseOpenVip/Mock.js +7 -0
- package/src/components/JfbBaseOpenVip/XdVipList.vue +131 -0
- package/src/components/JfbBaseOpenVipCard/Api.js +58 -0
- package/src/components/JfbBaseOpenVipCard/Attr.js +48 -0
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCard.vue +111 -0
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardLess.less +79 -0
- package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardMixin.js +30 -0
- package/src/components/JfbBaseOpenVipCard/Mock.js +13 -0
- package/src/components/JfbBaseOpenVipDetail/Api.js +35 -0
- package/src/components/JfbBaseOpenVipDetail/Attr.js +37 -0
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +234 -0
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailLess.less +79 -0
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailMixin.js +30 -0
- package/src/components/JfbBaseOpenVipDetail/Mock.js +15 -0
- package/src/components/JfbBaseOrderDetail/Attr.js +0 -36
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +178 -39
- package/src/components/JfbBaseOrderList/Attr.js +0 -36
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +0 -30
- package/src/components/JfbBaseOrderList/Mock.js +1 -1
- package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +5 -17
- package/src/components/JfbBasePay/Attr.js +52 -0
- package/src/components/JfbBasePay/JfbBasePay.vue +23 -6
- package/src/components/JfbBasePay/Mock.js +0 -9
- package/src/components/JfbBasePersonalData/Api.js +26 -0
- package/src/components/JfbBasePersonalData/Attr.js +13 -0
- package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +200 -0
- package/src/components/JfbBasePersonalData/JfbBasePersonalDataLess.less +79 -0
- package/src/components/JfbBasePersonalData/JfbBasePersonalDataMixin.js +30 -0
- package/src/components/JfbBasePersonalData/Mock.js +13 -0
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +11 -1
- package/src/components/JfbBasePointsCard/Api.js +18 -0
- package/src/components/JfbBasePointsCard/Attr.js +187 -0
- package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +212 -0
- package/src/components/JfbBasePointsCard/JfbBasePointsCardLess.less +79 -0
- package/src/components/JfbBasePointsCard/JfbBasePointsCardMixin.js +30 -0
- package/src/components/JfbBasePointsCard/Mock.js +5 -0
- package/src/components/JfbBasePointsDetail/Api.js +48 -0
- package/src/components/JfbBasePointsDetail/Attr.js +305 -0
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +267 -0
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetailLess.less +79 -0
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetailMixin.js +30 -0
- package/src/components/JfbBasePointsDetail/Mock.js +6 -0
- package/src/components/JfbBasePoster/Attr.js +1 -1
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +2 -2
- package/src/components/JfbBasePosterGroup/Api.js +22 -0
- package/src/components/JfbBasePosterGroup/Attr.js +156 -0
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroup.vue +268 -0
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroupLess.less +79 -0
- package/src/components/JfbBasePosterGroup/JfbBasePosterGroupMixin.js +30 -0
- package/src/components/JfbBasePosterGroup/Mock.js +13 -0
- package/src/components/JfbBaseSavingDetail/Api.js +41 -0
- package/src/components/JfbBaseSavingDetail/Attr.js +70 -0
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +724 -0
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailLess.less +79 -0
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailMixin.js +30 -0
- package/src/components/JfbBaseSavingDetail/Mock.js +10 -0
- package/src/components/JfbBaseSavingDetail/components/echarts.min.js +26 -0
- package/src/components/JfbBaseSavingDetail/components/echarts.vue +254 -0
- package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +105 -0
- package/src/components/JfbBaseShare/Api.js +20 -0
- package/src/components/JfbBaseShare/Attr.js +59 -0
- package/src/components/JfbBaseShare/JfbBaseShare.vue +282 -0
- package/src/components/JfbBaseShare/JfbBaseShareLess.less +79 -0
- package/src/components/JfbBaseShare/JfbBaseShareMixin.js +30 -0
- package/src/components/JfbBaseShare/Mock.js +16 -0
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +9 -3
- package/src/components/JfbBaseTfkSearch/ContentProduct.vue +12 -22
- package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +12 -1
- package/src/components/JfbBaseTfkSearch/Mock.js +51 -3
- package/src/components/JfbBaseTfkSearch/listMixins.js +2 -1
- package/src/components/JfbBaseUserInfo/Attr.js +175 -11
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +337 -115
- package/src/components/JfbBaseUserOrder/Attr.js +16 -0
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +11 -2
- package/src/components/JfbBaseWithDrawAgain/Api.js +41 -0
- package/src/components/JfbBaseWithDrawAgain/Attr.js +92 -0
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +354 -0
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainLess.less +79 -0
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainMixin.js +30 -0
- package/src/components/JfbBaseWithDrawAgain/Mock.js +10 -0
- package/src/components/JfbBaseWithDrawRecord/Api.js +19 -0
- package/src/components/JfbBaseWithDrawRecord/Attr.js +79 -0
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +233 -0
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordLess.less +79 -0
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordMixin.js +30 -0
- package/src/components/JfbBaseWithDrawRecord/Mock.js +7 -0
- package/src/components/JfbBaseWithdraw/Api.js +48 -0
- package/src/components/JfbBaseWithdraw/Attr.js +328 -0
- package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +272 -0
- package/src/components/JfbBaseWithdraw/JfbBaseWithdrawLess.less +79 -0
- package/src/components/JfbBaseWithdraw/JfbBaseWithdrawMixin.js +30 -0
- package/src/components/JfbBaseWithdraw/Mock.js +7 -0
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +10 -0
- package/src/components/JfbBaseAfterSales/Api.js +0 -58
- package/src/components/JfbBaseAfterSales/Attr.js +0 -25
- package/src/components/JfbBaseAfterSales/JfbBaseAfterSales.vue +0 -550
- package/src/components/JfbBaseAfterSales/Mock.js +0 -13
- package/src/components/JfbBaseAfterSales/refundOrderInfo.vue +0 -150
- package/src/components/JfbBaseAfterSalesDetail/Api.js +0 -41
- package/src/components/JfbBaseAfterSalesDetail/Attr.js +0 -25
- package/src/components/JfbBaseAfterSalesDetail/JfbBaseAfterSalesDetail.vue +0 -538
- package/src/components/JfbBaseAfterSalesDetail/Mock.js +0 -60
- package/src/components/JfbBaseAfterSalesDetail/secProd.vue +0 -58
- package/src/components/JfbBaseAfterSalesFast/Api.js +0 -30
- package/src/components/JfbBaseAfterSalesFast/Attr.js +0 -32
- package/src/components/JfbBaseAfterSalesFast/JfbBaseAfterSalesFast.vue +0 -297
- package/src/components/JfbBaseAfterSalesFast/Mock.js +0 -38
- package/src/components/JfbBaseAfterSalesList/Api.js +0 -40
- package/src/components/JfbBaseAfterSalesList/Attr.js +0 -107
- package/src/components/JfbBaseAfterSalesList/JfbBaseAfterSalesList.vue +0 -463
- package/src/components/JfbBaseAfterSalesList/Mock.js +0 -362
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<view
|
|
3
|
+
class="jfb-base-code-open-vip"
|
|
4
|
+
@click="handleEditxSelect"
|
|
5
|
+
:class="{ editx : isEditx && active }"
|
|
6
|
+
>
|
|
7
|
+
<!--#ifdef H5-->
|
|
8
|
+
<view
|
|
9
|
+
class="jfb-base-code-open-vip__edit"
|
|
10
|
+
:class="{ editx : isEditx && active }"
|
|
11
|
+
v-if="isEditx && active"
|
|
12
|
+
>
|
|
13
|
+
<view class="jfb-base-code-open-vip__edit-icon" @click="delEdit">删除</view>
|
|
14
|
+
</view>
|
|
15
|
+
<!-- #endif -->
|
|
16
|
+
<view class="jfb-base-code-open-vip__body" :style="[bodyStyle]">
|
|
17
|
+
<view v-if="step === 1" class="vip_panel">
|
|
18
|
+
<view class="combo_section">
|
|
19
|
+
<view class="code_input_wrap">
|
|
20
|
+
<input class="code_input" v-model="exchange_code" placeholder="请输入兑换码"></input>
|
|
21
|
+
</view>
|
|
22
|
+
</view>
|
|
23
|
+
<view class="combo_section">
|
|
24
|
+
<!-- <view class="desc_tit">文案描述</view> -->
|
|
25
|
+
<view class="desc_cont">
|
|
26
|
+
<xd-content-xss :html="description"></xd-content-xss>
|
|
27
|
+
</view>
|
|
28
|
+
</view>
|
|
29
|
+
<view class="fixed_bottom" :style="fixed_bottom">
|
|
30
|
+
<xd-button type="primary" width="600rpx" @click="searchCode">查询</xd-button>
|
|
31
|
+
<view class="plus_privacy">开通视为同意 <text @click.stop="handlePrivacy('privacy_service')">《共享PLUS会员用户协议》</text></view>
|
|
32
|
+
</view>
|
|
33
|
+
</view>
|
|
34
|
+
<view v-else class="vip_panel">
|
|
35
|
+
<view class="combo_section">
|
|
36
|
+
<view class="combo_section-title">兑换码:{{ vipInfo.exchange_code }}</view>
|
|
37
|
+
<xd-list-item label="套餐名称" paddingLR="40rpx">{{ vipInfo.product_name }}</xd-list-item>
|
|
38
|
+
<xd-list-item label="套餐期限" paddingLR="40rpx">{{ vipInfo.life_cycle_label }}</xd-list-item>
|
|
39
|
+
<xd-list-item label="套餐金额" paddingLR="40rpx">¥{{ $xdUniHelper.divisionFloatNumber(vipInfo.sale_price, 100) }}</xd-list-item>
|
|
40
|
+
</view>
|
|
41
|
+
<view class="fixed_bottom" :style="fixed_bottom">
|
|
42
|
+
<xd-button type="primary" width="600rpx" @click="p_createVipOrder">立即兑换</xd-button>
|
|
43
|
+
<view class="plus_privacy">开通视为同意 <text @click.stop="handlePrivacy('privacy_service')">《共享PLUS会员用户协议》</text></view>
|
|
44
|
+
</view>
|
|
45
|
+
</view>
|
|
46
|
+
</view>
|
|
47
|
+
</view>
|
|
48
|
+
</template>
|
|
49
|
+
|
|
50
|
+
<script>
|
|
51
|
+
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
52
|
+
import XdListItem from "@/components/CusListItem/CusListItem"
|
|
53
|
+
import XdButton from "@/components/XdButton/XdButton";
|
|
54
|
+
import XdContentXss from "@/components/XdContentXss/XdContentXss"
|
|
55
|
+
import { jfbRootExec } from "@/utils/xd.event";
|
|
56
|
+
import JfbBaseCodeOpenVipMixin from "./JfbBaseCodeOpenVipMixin";
|
|
57
|
+
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
58
|
+
import componentsMixins from "@/mixins/componentsMixins";
|
|
59
|
+
import extsMixins from "@/mixins/extsMixins";
|
|
60
|
+
export default {
|
|
61
|
+
name: "JfbBaseCodeOpenVip",
|
|
62
|
+
components: {
|
|
63
|
+
XdFontIcon,
|
|
64
|
+
XdListItem,
|
|
65
|
+
XdButton,
|
|
66
|
+
XdContentXss
|
|
67
|
+
},
|
|
68
|
+
mixins: [
|
|
69
|
+
componentsMixins, extsMixins, JfbBaseCodeOpenVipMixin
|
|
70
|
+
],
|
|
71
|
+
data() {
|
|
72
|
+
return {
|
|
73
|
+
closeMask: true,
|
|
74
|
+
xnamespace: "",
|
|
75
|
+
|
|
76
|
+
exchange_code: "",
|
|
77
|
+
step: 1,
|
|
78
|
+
vipInfo: {},
|
|
79
|
+
//todo
|
|
80
|
+
description: "",
|
|
81
|
+
vipSuccessPath: "",
|
|
82
|
+
payPath: "",
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
computed: {
|
|
86
|
+
bodyStyle(){
|
|
87
|
+
return {
|
|
88
|
+
minHeight: this.layoutInfo.bodyMinHeightRpx + 'rpx',
|
|
89
|
+
'--main-color': this.mainColor,
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
fixed_bottom() {
|
|
93
|
+
return this.fixedStyle({ height: 36, zIndex: 111})
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
watch: {
|
|
97
|
+
container(value, oldValue) {
|
|
98
|
+
if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
99
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
created() {
|
|
103
|
+
this.init(this.container);
|
|
104
|
+
|
|
105
|
+
//todo
|
|
106
|
+
},
|
|
107
|
+
methods: {
|
|
108
|
+
onJfbLoad(options) {
|
|
109
|
+
},
|
|
110
|
+
/**
|
|
111
|
+
* @description 监听事件变化
|
|
112
|
+
* @param container {object} 业务组件对象自己
|
|
113
|
+
*/
|
|
114
|
+
init(container) {
|
|
115
|
+
this.description = getContainerPropsValue(container, 'content.description', "");
|
|
116
|
+
this.vipSuccessPath = getContainerPropsValue(container, 'content.vipSuccessPath', {value: ""}).value;
|
|
117
|
+
this.payPath = getContainerPropsValue(container, 'content.payPath', {value: ""}).value;
|
|
118
|
+
},
|
|
119
|
+
handlePrivacy(code){
|
|
120
|
+
let params = `page_id=${this.pageAttr["page_id"]}`;
|
|
121
|
+
params = `${params}&container_id=${this.containerId}${code}`;
|
|
122
|
+
this.$xdUniHelper.navigateTo({
|
|
123
|
+
url: `/pages/content/content?${params}`
|
|
124
|
+
})
|
|
125
|
+
},
|
|
126
|
+
searchCode(){
|
|
127
|
+
if(!this.exchange_code) return;
|
|
128
|
+
this.$xdShowLoading({});
|
|
129
|
+
jfbRootExec("getExchangeCode", {
|
|
130
|
+
vm: this,
|
|
131
|
+
data: {
|
|
132
|
+
exchange_code: this.exchange_code
|
|
133
|
+
}
|
|
134
|
+
}).then(res => {
|
|
135
|
+
this.$xdHideLoading();
|
|
136
|
+
this.step = 2;
|
|
137
|
+
this.vipInfo = res;
|
|
138
|
+
})
|
|
139
|
+
},
|
|
140
|
+
p_createVipOrder(){
|
|
141
|
+
jfbRootExec("createVipOrder", {
|
|
142
|
+
vm: this,
|
|
143
|
+
data: {
|
|
144
|
+
business_code: this.xnamespace,
|
|
145
|
+
product_id: this.vipInfo.product_id,
|
|
146
|
+
notify_provider_id: this.projectAttr.notify_provider_id,
|
|
147
|
+
need_pay_price: 0,
|
|
148
|
+
selected_card_list_json: this.vipInfo.selected_card_list_json
|
|
149
|
+
}
|
|
150
|
+
}).then(res => {
|
|
151
|
+
if(res.need_pay_price > 0){
|
|
152
|
+
this.$xdUniHelper.redirectTo({
|
|
153
|
+
url: this.payPath + `?order_id=${res.pay_order_id}&main_order_id=${res.main_order_id}`
|
|
154
|
+
})
|
|
155
|
+
}else{
|
|
156
|
+
this.$xdUniHelper.redirectTo({
|
|
157
|
+
url: this.vipSuccessPath + `?order_id=${res.main_order_id}`
|
|
158
|
+
})
|
|
159
|
+
}
|
|
160
|
+
})
|
|
161
|
+
},
|
|
162
|
+
onJfbScroll(options) {
|
|
163
|
+
// console.log('event.onJfbScroll', options)
|
|
164
|
+
},
|
|
165
|
+
onJfbReachBottom(options) {
|
|
166
|
+
console.log('event.onJfbReachBottom', options)
|
|
167
|
+
},
|
|
168
|
+
onJfbShow(options) {
|
|
169
|
+
console.log('event.onJfbShow', options)
|
|
170
|
+
},
|
|
171
|
+
onJfbHide(options) {
|
|
172
|
+
console.log('event.onJfbHide', options)
|
|
173
|
+
},
|
|
174
|
+
onJfbBack(options) {
|
|
175
|
+
console.log('event.onJfbBack', options)
|
|
176
|
+
},
|
|
177
|
+
onJfbUpdate(...data) {
|
|
178
|
+
console.log('event.onJfbUpdate', data)
|
|
179
|
+
},
|
|
180
|
+
onJfbCustomEvent(options) {
|
|
181
|
+
console.log('event.onJfbReachBottom', options)
|
|
182
|
+
},
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
</script>
|
|
187
|
+
|
|
188
|
+
<style scoped lang="less">
|
|
189
|
+
@import "./JfbBaseCodeOpenVipLess.less";
|
|
190
|
+
|
|
191
|
+
.jfb-base-code-open-vip {
|
|
192
|
+
&__body{
|
|
193
|
+
.combo_section{
|
|
194
|
+
border-radius: 24rpx;
|
|
195
|
+
overflow: hidden;
|
|
196
|
+
margin: 20rpx;
|
|
197
|
+
background-color: #FFFFFF;
|
|
198
|
+
&-title{
|
|
199
|
+
height: 72rpx;
|
|
200
|
+
line-height: 72rpx;
|
|
201
|
+
text-align: center;
|
|
202
|
+
background: linear-gradient(90deg, #FCD083 0%, #FFDEAD 100%);
|
|
203
|
+
font-size: 28rpx;
|
|
204
|
+
color: #915714;
|
|
205
|
+
font-weight: 500;
|
|
206
|
+
}
|
|
207
|
+
::v-deep .my-list_value{
|
|
208
|
+
color: #999999;
|
|
209
|
+
}
|
|
210
|
+
.desc_tit{
|
|
211
|
+
height: 72rpx;
|
|
212
|
+
line-height: 72rpx;
|
|
213
|
+
text-align: center;
|
|
214
|
+
}
|
|
215
|
+
.desc_cont{
|
|
216
|
+
padding: 24rpx;
|
|
217
|
+
}
|
|
218
|
+
.code_input_wrap{
|
|
219
|
+
width: 100%;
|
|
220
|
+
padding: 36rpx;
|
|
221
|
+
box-sizing: border-box;
|
|
222
|
+
}
|
|
223
|
+
.code_input{
|
|
224
|
+
width: 100%;
|
|
225
|
+
height: 90rpx;
|
|
226
|
+
background-color: #FAFAFA;
|
|
227
|
+
box-sizing: border-box;
|
|
228
|
+
padding: 0 36rpx;
|
|
229
|
+
border-radius: 16rpx;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
.fixed_bottom{
|
|
233
|
+
position: fixed;
|
|
234
|
+
bottom: 0;
|
|
235
|
+
left: 0;
|
|
236
|
+
width: 100%;
|
|
237
|
+
padding: 36rpx;
|
|
238
|
+
box-sizing: border-box;
|
|
239
|
+
background-color: #FFFFFF;
|
|
240
|
+
display: flex;
|
|
241
|
+
flex-direction: column;
|
|
242
|
+
align-items: center;
|
|
243
|
+
.plus_privacy{
|
|
244
|
+
font-size: 22rpx;
|
|
245
|
+
color: #999;
|
|
246
|
+
margin-top: 16rpx;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
</style>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
//start
|
|
15
|
-
.jfb-base-
|
|
15
|
+
.jfb-base-code-open-vip {
|
|
16
16
|
box-sizing: border-box;
|
|
17
17
|
|
|
18
18
|
&__body{
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
/**notPreview**/
|
|
73
|
-
.jfb-base-
|
|
73
|
+
.jfb-base-code-open-vip {
|
|
74
74
|
//&:before {
|
|
75
75
|
//content: " ";
|
|
76
76
|
//display: table;
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
/**
|
|
3
|
+
* @description 接口配置,
|
|
4
|
+
* 在设置方法名字当时候,别忘记加上【模块名字】:Consump
|
|
5
|
+
* @type {*[]}
|
|
6
|
+
*/
|
|
7
|
+
module.exports = [
|
|
8
|
+
{
|
|
9
|
+
//设置方法名字当别忘记加上【模块名字】:Consump
|
|
10
|
+
mapFnName: 'getConsumpCode',
|
|
11
|
+
title: '获取支付码',
|
|
12
|
+
path: '/store/v1/order/get-quick-pay-code',
|
|
13
|
+
isRule: false,
|
|
14
|
+
params: {
|
|
15
|
+
shop_id: ['门店ID', 'Number', '必选'],
|
|
16
|
+
temp_order_id: ['临时订单号第一次获取为空,再次获取需要传上次获取到数据', 'Number', '非必选'],
|
|
17
|
+
},
|
|
18
|
+
isConsole: true,
|
|
19
|
+
disabled: true,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
//设置方法名字当别忘记加上【模块名字】:Consump
|
|
23
|
+
mapFnName: 'getConsumpCodeScanStatus',
|
|
24
|
+
title: '获取支付码扫码状态',
|
|
25
|
+
path: '/store/v1/order/get-quick-pay-scan-status',
|
|
26
|
+
isRule: false,
|
|
27
|
+
params: {
|
|
28
|
+
temp_order_id: ['临时订单号', 'Number', '必选'],
|
|
29
|
+
},
|
|
30
|
+
isConsole: true,
|
|
31
|
+
disabled: true,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
mapFnName: "getConsumpListUserPayChannel",
|
|
35
|
+
title: "获取用户可用支付渠道",
|
|
36
|
+
path: "/pay/v1/pay-channel/list-user-pay-channel",
|
|
37
|
+
isRule: false,
|
|
38
|
+
params: {
|
|
39
|
+
providers: ['支付方式id 多个用逗号分隔', "String", '必选']
|
|
40
|
+
},
|
|
41
|
+
isConsole: true,
|
|
42
|
+
disabled: true
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
path: '/store/v1/order/async-submit-status',
|
|
46
|
+
title: "获取异步下单的状态",
|
|
47
|
+
mapFnName: "getConsumpAsyncSubmitStatus",
|
|
48
|
+
isRule: false,
|
|
49
|
+
params: {
|
|
50
|
+
request_order_id: ['temp_order_id', 'Number', '必选'],
|
|
51
|
+
},
|
|
52
|
+
isConsole: true,
|
|
53
|
+
disabled: true,
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
mapFnName: "setConsumpThirdPlace",
|
|
57
|
+
title: "第三方渠道下单",
|
|
58
|
+
path: "/pay/v1/order/third-place",
|
|
59
|
+
isRule: false,
|
|
60
|
+
data: {
|
|
61
|
+
order_id: ['订单号', "String", "必填"],
|
|
62
|
+
channel_provider_id: ['支付渠道id', "String", '必选']
|
|
63
|
+
},
|
|
64
|
+
isConsole: true,
|
|
65
|
+
disabled: true
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
mapFnName: "updateConsumpPay",
|
|
69
|
+
title: "修改订单为支付中",
|
|
70
|
+
path: "/order/v1/order/update-to-paying",
|
|
71
|
+
isRule: false,
|
|
72
|
+
data: {
|
|
73
|
+
main_order_id: ['订单号', "String", "必填"],
|
|
74
|
+
},
|
|
75
|
+
isConsole: true,
|
|
76
|
+
disabled: true
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
//设置方法名字当别忘记加上【模块名字】:Consump
|
|
80
|
+
mapFnName: 'batchConsumpUseCardCreated',
|
|
81
|
+
title: '批量使用卡券下单',
|
|
82
|
+
path: '/store/v1/order/batch-use-card-created',
|
|
83
|
+
isRule: false,
|
|
84
|
+
data: {
|
|
85
|
+
temp_order_id: ['临时订单号', 'Number', '必选'],
|
|
86
|
+
},
|
|
87
|
+
isConsole: true,
|
|
88
|
+
disabled: true,
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
//设置方法名字当别忘记加上【模块名字】:Consump
|
|
92
|
+
mapFnName: 'getConsumpShopList',
|
|
93
|
+
title: '获取附近门店列表',
|
|
94
|
+
path: '/mall/v1/shop/msearch',
|
|
95
|
+
isRule: false,
|
|
96
|
+
params: {},
|
|
97
|
+
isConsole: true,
|
|
98
|
+
disabled: true,
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
mapFnName: 'getConsumpSettleMainInfo',
|
|
102
|
+
title: '门店核销 - 展示主界面数据',
|
|
103
|
+
// path: '/store/v1/cash/settle/main-info',
|
|
104
|
+
path: "/store/v1/order/main-info",
|
|
105
|
+
isRule: false,
|
|
106
|
+
params: {
|
|
107
|
+
shop_id: ['门店id', 'Number', '必选'],
|
|
108
|
+
},
|
|
109
|
+
isConsole: true,
|
|
110
|
+
disabled: true,
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
mapFnName: 'addConsumpCashierTempOrderData',
|
|
114
|
+
title: '门店核销 - 保存临时购物数据',
|
|
115
|
+
path: "/store/v1/order/save-cart-order-data",
|
|
116
|
+
isRule: false,
|
|
117
|
+
data: {
|
|
118
|
+
shop_id: ['门店id', 'Number', '必选'],
|
|
119
|
+
settle_tag_id: ['结算标签id', 'Number', '必选'],
|
|
120
|
+
},
|
|
121
|
+
isConsole: true,
|
|
122
|
+
disabled: true,
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
mapFnName: 'getConsumpBaseUserInfo',
|
|
126
|
+
title: '获取用户信息',
|
|
127
|
+
path: '/passport/v1/user/get',
|
|
128
|
+
params: {},
|
|
129
|
+
isRule: false,
|
|
130
|
+
isConsole: true,
|
|
131
|
+
disabled: true,
|
|
132
|
+
}
|
|
133
|
+
];
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @description 当表单组件中有联动操作时候,使用方法进行返回
|
|
5
|
+
*/
|
|
6
|
+
export default {
|
|
7
|
+
style: [],
|
|
8
|
+
content: (data) => {
|
|
9
|
+
return [
|
|
10
|
+
{
|
|
11
|
+
label: '开通路径:',
|
|
12
|
+
groupKey:'advanced',
|
|
13
|
+
className: 'input100',
|
|
14
|
+
ele: 'xd-select-pages-path',
|
|
15
|
+
valueKey: 'openPath',
|
|
16
|
+
value: data['openPath'] || null,
|
|
17
|
+
setting: {
|
|
18
|
+
router: XdBus.getParentApi('getPagesTree')
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
label: '切换门店路径:',
|
|
23
|
+
groupKey:'advanced',
|
|
24
|
+
className: 'input100',
|
|
25
|
+
ele: 'xd-select-pages-path',
|
|
26
|
+
valueKey: 'shopPath',
|
|
27
|
+
value: data['shopPath'] || null,
|
|
28
|
+
setting: {
|
|
29
|
+
router: XdBus.getParentApi('getPagesTree')
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
label: '支付成功跳转路径:',
|
|
34
|
+
ele: 'xd-select-pages-path',
|
|
35
|
+
valueKey: 'successPath',
|
|
36
|
+
value: data.successPath || null,
|
|
37
|
+
placeholder: '请选择支付成功跳转路径',
|
|
38
|
+
className: 'input100',
|
|
39
|
+
groupKey:'advanced',
|
|
40
|
+
setting: {
|
|
41
|
+
router: XdBus.getParentApi('getPagesTree')
|
|
42
|
+
},
|
|
43
|
+
inline: false,
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
label: '核销支付路径:',
|
|
47
|
+
ele: 'xd-select-pages-path',
|
|
48
|
+
valueKey: 'cash_pay_path',
|
|
49
|
+
placeholder: '请选择核销支付路径',
|
|
50
|
+
value: data.cash_pay_path || null,
|
|
51
|
+
className: 'input100',
|
|
52
|
+
groupKey:'advanced',
|
|
53
|
+
setting: {
|
|
54
|
+
router: XdBus.getParentApi('getPagesTree')
|
|
55
|
+
},
|
|
56
|
+
inline: false,
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
label: '选取城市路径:',
|
|
60
|
+
ele: 'xd-select-pages-path',
|
|
61
|
+
valueKey: 'cityPath',
|
|
62
|
+
placeholder: '请选择选取城市路径',
|
|
63
|
+
value: data.cityPath || null,
|
|
64
|
+
className: 'input100',
|
|
65
|
+
groupKey:'advanced',
|
|
66
|
+
setting: {
|
|
67
|
+
router: XdBus.getParentApi('getPagesTree')
|
|
68
|
+
},
|
|
69
|
+
inline: false,
|
|
70
|
+
},
|
|
71
|
+
].filter(i=>i)
|
|
72
|
+
},
|
|
73
|
+
advanced: [],
|
|
74
|
+
};
|