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,331 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @description 当表单组件中有联动操作时候,使用方法进行返回
|
|
5
|
+
*/
|
|
6
|
+
export default {
|
|
7
|
+
style: [],
|
|
8
|
+
content: (data) => {
|
|
9
|
+
return [
|
|
10
|
+
{
|
|
11
|
+
label: "是否展示兑换码",
|
|
12
|
+
ele: "xd-radio",
|
|
13
|
+
valueKey: 'showExchangeCode',
|
|
14
|
+
value: data.showExchangeCode || "Y",
|
|
15
|
+
groupKey: "content",
|
|
16
|
+
list: [
|
|
17
|
+
{label: "展示", value: "Y"},
|
|
18
|
+
{label: "不展示", value: "N"},
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
label: '共享PLUS会员用户协议:',
|
|
23
|
+
ele: 'xd-site-news',
|
|
24
|
+
valueKey: 'notices',
|
|
25
|
+
groupKey:'content',
|
|
26
|
+
value: data.notices || {type: 'privacy'},
|
|
27
|
+
className: 'input70',
|
|
28
|
+
setting: {
|
|
29
|
+
config: {
|
|
30
|
+
sort: true,
|
|
31
|
+
maxlen: 100,
|
|
32
|
+
action: 'aliyun',
|
|
33
|
+
size: 5,
|
|
34
|
+
tipsformet: '上传文件格式:@imageType@,不超过@size@MB.',
|
|
35
|
+
uploadType: 'aliyun',
|
|
36
|
+
type: ['jpg', 'png', 'jpeg']
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
handleCustom({action, data}) {
|
|
40
|
+
if (data && data.params) {
|
|
41
|
+
//当一个插件中出现多个内容分类时候需要设置code值,在页面引用时候(容器id + code)进行拼接获取数据列表
|
|
42
|
+
data.params = Object.assign({}, data.params, {code: 'privacy_service'});
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
//获取返回参数(场景类型名称为必填)
|
|
46
|
+
let loading = { close(){}}
|
|
47
|
+
|
|
48
|
+
//获取显示内容
|
|
49
|
+
if (action === 'screen') {
|
|
50
|
+
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_bucket_content_tip'})
|
|
51
|
+
.then(res => {
|
|
52
|
+
loading.close();
|
|
53
|
+
data.cb(res['list'])
|
|
54
|
+
})
|
|
55
|
+
.catch(error => {
|
|
56
|
+
console.error(error);
|
|
57
|
+
loading.close();
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
//获取返回参数(广告位高度必选项)
|
|
63
|
+
if (action === 'getNewsInfo') {
|
|
64
|
+
XdBus.getParentApi('cmsGetPublishEditxContent')(data.params)
|
|
65
|
+
.then(res => {
|
|
66
|
+
loading.close()
|
|
67
|
+
data.cb({list: res.list, selectId: res.selected})
|
|
68
|
+
})
|
|
69
|
+
.catch(error => {
|
|
70
|
+
loading.close()
|
|
71
|
+
console.error(error);
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
//获取产品业务线列表
|
|
76
|
+
if (action === 'namespace') {
|
|
77
|
+
XdBus.getParentApi('getOptionsNamespaces')({})
|
|
78
|
+
.then(res => {
|
|
79
|
+
loading.close()
|
|
80
|
+
data.cb(res['list'])
|
|
81
|
+
})
|
|
82
|
+
.catch(error => {
|
|
83
|
+
loading.close()
|
|
84
|
+
console.error(error);
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
//使用内容分类
|
|
89
|
+
if (action === 'cmsPublishEditxContent') {
|
|
90
|
+
loading = XdBus.getParentApi('loading')({});
|
|
91
|
+
XdBus.getParentApi('cmsPublishEditxContent')(data.params)
|
|
92
|
+
.then(res => {
|
|
93
|
+
console.log('cmsPublishEditxContent', res)
|
|
94
|
+
loading.close();
|
|
95
|
+
data.cb(res)
|
|
96
|
+
})
|
|
97
|
+
.catch(error => {
|
|
98
|
+
loading.close();
|
|
99
|
+
console.error(error);
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
//位置列表
|
|
104
|
+
if (action === 'getListPostion') {
|
|
105
|
+
loading = XdBus.getParentApi('loading')({});
|
|
106
|
+
XdBus.getParentApi('getListNewsPosition')(data.params)
|
|
107
|
+
.then(res => {
|
|
108
|
+
loading.close();
|
|
109
|
+
data.cb(res)
|
|
110
|
+
})
|
|
111
|
+
.catch(error => {
|
|
112
|
+
loading.close();
|
|
113
|
+
console.error(error);
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
//位置创建
|
|
118
|
+
if (action === 'addPostion') {
|
|
119
|
+
loading = XdBus.getParentApi('loading')({});
|
|
120
|
+
XdBus.getParentApi('addNewsPosition')(data.params)
|
|
121
|
+
.then(res => {
|
|
122
|
+
loading.close();
|
|
123
|
+
data.cb(true)
|
|
124
|
+
})
|
|
125
|
+
.catch(error => {
|
|
126
|
+
console.error(error);
|
|
127
|
+
loading.close();
|
|
128
|
+
data.cb(false)
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
//位置编辑
|
|
133
|
+
if (action === 'editPostion') {
|
|
134
|
+
loading = XdBus.getParentApi('loading')({});
|
|
135
|
+
XdBus.getParentApi('updateNewsPosition')(data.params)
|
|
136
|
+
.then(res => {
|
|
137
|
+
loading.close();
|
|
138
|
+
data.cb(true)
|
|
139
|
+
})
|
|
140
|
+
.catch(error => {
|
|
141
|
+
console.error(error);
|
|
142
|
+
loading.close();
|
|
143
|
+
data.cb(false)
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
//位置删除
|
|
148
|
+
if (action === 'deleltePostion') {
|
|
149
|
+
loading = XdBus.getParentApi('loading')({});
|
|
150
|
+
XdBus.getParentApi('deleteNewsPosition')(data.params)
|
|
151
|
+
.then(res => {
|
|
152
|
+
loading.close();
|
|
153
|
+
data.cb(true)
|
|
154
|
+
})
|
|
155
|
+
.catch(error => {
|
|
156
|
+
console.error(error);
|
|
157
|
+
loading.close();
|
|
158
|
+
data.cb(false)
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
//获取广告位内容列表
|
|
163
|
+
if (action === 'getListContent') {
|
|
164
|
+
loading = XdBus.getParentApi('loading')({});
|
|
165
|
+
XdBus.getParentApi('getListNewsContent')(data.params)
|
|
166
|
+
.then(res => {
|
|
167
|
+
loading.close();
|
|
168
|
+
data.cb(res)
|
|
169
|
+
})
|
|
170
|
+
.catch(error => {
|
|
171
|
+
loading.close();
|
|
172
|
+
console.error(error);
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
//广告内容创建
|
|
177
|
+
if (action === 'addContent') {
|
|
178
|
+
loading = XdBus.getParentApi('loading')({});
|
|
179
|
+
XdBus.getParentApi('addNewsContent')(data.params)
|
|
180
|
+
.then(res => {
|
|
181
|
+
loading.close();
|
|
182
|
+
data.cb(true)
|
|
183
|
+
})
|
|
184
|
+
.catch(error => {
|
|
185
|
+
console.error(error);
|
|
186
|
+
loading.close();
|
|
187
|
+
data.cb(false)
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
//广告内容编辑
|
|
192
|
+
if (action === 'editContent') {
|
|
193
|
+
loading = XdBus.getParentApi('loading')({});
|
|
194
|
+
XdBus.getParentApi('updateNewsContent')(data.params)
|
|
195
|
+
.then(res => {
|
|
196
|
+
loading.close();
|
|
197
|
+
data.cb(true)
|
|
198
|
+
})
|
|
199
|
+
.catch(error => {
|
|
200
|
+
console.error(error);
|
|
201
|
+
loading.close();
|
|
202
|
+
data.cb(false)
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
//广告内容删除
|
|
207
|
+
if (action === 'deleteContent') {
|
|
208
|
+
loading = XdBus.getParentApi('loading')({});
|
|
209
|
+
XdBus.getParentApi('deleteNewsContent')(data.params)
|
|
210
|
+
.then(res => {
|
|
211
|
+
loading.close();
|
|
212
|
+
data.cb(true)
|
|
213
|
+
})
|
|
214
|
+
.catch(error => {
|
|
215
|
+
console.error(error);
|
|
216
|
+
loading.close();
|
|
217
|
+
data.cb(false)
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
//内容发布
|
|
222
|
+
if (action === 'publish') {
|
|
223
|
+
loading = XdBus.getParentApi('loading')({});
|
|
224
|
+
console.log('publish', data.params)
|
|
225
|
+
XdBus.getParentApi('cmsPublishContent')(data.params)
|
|
226
|
+
.then(res => {
|
|
227
|
+
loading.close();
|
|
228
|
+
data.cb(res)
|
|
229
|
+
})
|
|
230
|
+
.catch(error => {
|
|
231
|
+
loading.close();
|
|
232
|
+
console.error(error);
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
//通知页面进行刷新
|
|
237
|
+
if (action === 'update') {
|
|
238
|
+
loading = XdBus.getParentApi('loading')({});
|
|
239
|
+
XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
|
|
240
|
+
loading.close()
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
inline: false,
|
|
244
|
+
notice: '',
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
label: "PLUS会员banner背景图",
|
|
248
|
+
ele: 'xd-upload',
|
|
249
|
+
valueKey: "bannerBgImg",
|
|
250
|
+
groupKey: "content",
|
|
251
|
+
value: data.bannerBgImg || {},
|
|
252
|
+
defaultValue: data.bannerBgImg || null,
|
|
253
|
+
slot: true,
|
|
254
|
+
oneWidth: 355,
|
|
255
|
+
oneHeight: 92,
|
|
256
|
+
elinputClassName: 'input40',
|
|
257
|
+
tipsformet: '上传文件格式:@imageType@,不超过@size@MB.建议宽度为<span style="color:red">710px</span>,高度<span style="color:red">184px</span>',
|
|
258
|
+
type: ['jpg', 'png', 'jpeg'],
|
|
259
|
+
styleType: 'one',
|
|
260
|
+
uploadType: 'aliyun',
|
|
261
|
+
size: 5,
|
|
262
|
+
action: 'action',
|
|
263
|
+
sort: true,
|
|
264
|
+
maxlen: 100,
|
|
265
|
+
rules: [
|
|
266
|
+
{required: true, message: '请添加背景图', trigger: 'change'},
|
|
267
|
+
],
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
label: '4大特权图片:',
|
|
271
|
+
ele: 'xd-upload',
|
|
272
|
+
valueKey: 'specialImage',
|
|
273
|
+
groupKey:'content',
|
|
274
|
+
value: data.specialImage || {},
|
|
275
|
+
defaultValue: data.specialImage || null,
|
|
276
|
+
slot: true,
|
|
277
|
+
oneWidth: 375,
|
|
278
|
+
oneHeight: 500,
|
|
279
|
+
elinputClassName: 'input40',
|
|
280
|
+
tipsformet: '上传文件格式:@imageType@,不超过@size@MB.建议宽度为<span style="color:red">750px</span>,高度自适应',
|
|
281
|
+
type: ['jpg', 'png', 'jpeg'],
|
|
282
|
+
styleType: 'one',
|
|
283
|
+
uploadType: 'aliyun',
|
|
284
|
+
size: 5,
|
|
285
|
+
action: 'action',
|
|
286
|
+
sort: true,
|
|
287
|
+
maxlen: 100,
|
|
288
|
+
rules: [
|
|
289
|
+
{required: true, message: '请添加特权图片', trigger: 'change'},
|
|
290
|
+
],
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
label: '会员详情路径:',
|
|
294
|
+
ele: 'xd-select-pages-path',
|
|
295
|
+
valueKey: 'vipDetailPath',
|
|
296
|
+
groupKey:'advanced',
|
|
297
|
+
placeholder: '请选择会员详情路径',
|
|
298
|
+
value: data['vipDetailPath'] || null,
|
|
299
|
+
setting: {
|
|
300
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
301
|
+
},
|
|
302
|
+
inline: false,
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
label: '兑换码详情路径:',
|
|
306
|
+
ele: 'xd-select-pages-path',
|
|
307
|
+
valueKey: 'exchangeCodePath',
|
|
308
|
+
groupKey:'advanced',
|
|
309
|
+
placeholder: '请选择兑换码详情路径',
|
|
310
|
+
value: data['exchangeCodePath'] || null,
|
|
311
|
+
setting: {
|
|
312
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
313
|
+
},
|
|
314
|
+
inline: false,
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
label: '省钱明细页面路径:',
|
|
318
|
+
ele: 'xd-select-pages-path',
|
|
319
|
+
valueKey: 'moneyDetailPath',
|
|
320
|
+
groupKey:'advanced',
|
|
321
|
+
placeholder: '请选择省钱明细页面路径',
|
|
322
|
+
value: data['moneyDetailPath'] || null,
|
|
323
|
+
setting: {
|
|
324
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
325
|
+
},
|
|
326
|
+
inline: false,
|
|
327
|
+
},
|
|
328
|
+
].filter(i=>i)
|
|
329
|
+
},
|
|
330
|
+
advanced: [],
|
|
331
|
+
};
|