jufubao-base 1.0.242-beta2 → 1.0.243-beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/JfbBaseCard/JfbBaseCard.vue +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 +0 -11
- 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 -177
- 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/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +14 -35
- package/src/components/JfbBasePoster/Attr.js +1 -1
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +2 -2
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +3 -9
- 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 -336
- 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 -1053
- 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
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
/**
|
|
3
|
-
* @description 接口配置,
|
|
4
|
-
* 在设置方法名字当时候,别忘记加上【模块名字】:Open
|
|
5
|
-
* @type {*[]}
|
|
6
|
-
*/
|
|
7
|
-
module.exports = [
|
|
8
|
-
{
|
|
9
|
-
mapFnName: 'getOpenBaseUserInfo',
|
|
10
|
-
title: '获取用户信息',
|
|
11
|
-
path: '/passport/v1/user/get',
|
|
12
|
-
params: {},
|
|
13
|
-
isRule: false,
|
|
14
|
-
isConsole: true,
|
|
15
|
-
disabled: true,
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
mapFnName: "getVipList",
|
|
19
|
-
title: "会员中心 - 会员卡列表",
|
|
20
|
-
path: "/member/v1/vip-card",
|
|
21
|
-
isRule: false,
|
|
22
|
-
params: {
|
|
23
|
-
namespace: ['业务线', 'String', true],
|
|
24
|
-
is_show_exchange_code: ['是否展示 兑换码 ', 'Y/N,默认N', false],
|
|
25
|
-
},
|
|
26
|
-
isConsole: true,
|
|
27
|
-
disabled: true
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
mapFnName: "getVipMoneySaving",
|
|
31
|
-
title: "获取会员省钱金额",
|
|
32
|
-
path: '/member/v1/money-saving-record/total-amount',
|
|
33
|
-
isRule: false,
|
|
34
|
-
params: {
|
|
35
|
-
},
|
|
36
|
-
isConsole: true,
|
|
37
|
-
disabled: true
|
|
38
|
-
}
|
|
39
|
-
];
|
|
@@ -1,331 +0,0 @@
|
|
|
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
|
-
};
|