jufubao-base 1.0.184-beta2 → 1.0.184
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/JfbBaseAddress/Attr.js +1 -50
- package/src/components/JfbBaseAddress/JfbBaseAddress.vue +68 -120
- package/src/components/JfbBaseOrderDetail/Attr.js +74 -18
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +22 -26
- package/src/components/JfbBaseOrderList/Attr.js +0 -23
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +86 -117
- package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +1 -0
- package/src/components/JfbBaseUserCenter/Attr.js +48 -240
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +30 -101
- package/src/components/JfbBaseUserInfo/Attr.js +30 -179
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +44 -80
- package/src/components/JfbBaseWallet/Attr.js +2 -340
- package/src/components/JfbBaseWallet/JfbBaseWallet.vue +49 -167
- package/src/components/JfbBaseAddress/XdTfkItem.vue +0 -117
- package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +0 -246
|
@@ -18,9 +18,10 @@
|
|
|
18
18
|
<view
|
|
19
19
|
class="jfb-base-user-info__body-header"
|
|
20
20
|
:style="{
|
|
21
|
-
margin:
|
|
22
|
-
background
|
|
23
|
-
|
|
21
|
+
margin: outMargin,
|
|
22
|
+
background:backgroundColor,
|
|
23
|
+
color: color,
|
|
24
|
+
padding: outPadding,
|
|
24
25
|
boxShadow: shadow,
|
|
25
26
|
borderRadius: radius + 'rpx',
|
|
26
27
|
border: borderBox
|
|
@@ -33,26 +34,26 @@
|
|
|
33
34
|
>
|
|
34
35
|
<template v-if="logined">
|
|
35
36
|
<image v-if="userInfo['head_url']" :src="userInfo['head_url']"></image>
|
|
36
|
-
<view class="no-image" :style="{borderColor:
|
|
37
|
-
<xd-font-icon :color="
|
|
37
|
+
<view class="no-image" :style="{borderColor: color}" v-else>
|
|
38
|
+
<xd-font-icon :color="color" icon="iconwode_mian" size="100"></xd-font-icon>
|
|
38
39
|
</view>
|
|
39
40
|
</template>
|
|
40
|
-
<view v-else class="no-image" :style="{borderColor:
|
|
41
|
-
<xd-font-icon :color="
|
|
41
|
+
<view v-else class="no-image" :style="{borderColor: color}">
|
|
42
|
+
<xd-font-icon :color="color" icon="iconwode_mian" size="90"></xd-font-icon>
|
|
42
43
|
</view>
|
|
43
|
-
<view v-if="logined && textType ==='N'" :style="
|
|
44
|
-
<view class="vertical-user" v-if="logined && textType ==='Y'">
|
|
45
|
-
<view
|
|
44
|
+
<view v-if="logined && textType ==='N'" :style="{color:color}">{{userInfo|getName}}</view>
|
|
45
|
+
<view class="vertical-user" v-if="logined && textType ==='Y'" :style="{color:color}">
|
|
46
|
+
<view>{{userInfo|getName}}</view>
|
|
46
47
|
<view class="logout" @click="handleLogout()">
|
|
47
|
-
<view :style="[
|
|
48
|
+
<view :style="{color:color}">[退出登录]</view>
|
|
48
49
|
</view>
|
|
49
|
-
<view @click="handleToLink()" v-if="
|
|
50
|
-
<xd-font-icon size="
|
|
50
|
+
<view @click="handleToLink()" v-if="0">
|
|
51
|
+
<xd-font-icon :color="color" size="40" icon="iconshezhi_mian"></xd-font-icon>
|
|
51
52
|
</view>
|
|
52
53
|
</view>
|
|
53
54
|
</view>
|
|
54
55
|
<view @click="handleLogout()" v-if="logined && textType ==='N'" class="logout">
|
|
55
|
-
<view :style="[
|
|
56
|
+
<view :style="{color:color}">[退出登录]</view>
|
|
56
57
|
</view>
|
|
57
58
|
</view>
|
|
58
59
|
</view>
|
|
@@ -78,14 +79,14 @@
|
|
|
78
79
|
computed: {
|
|
79
80
|
...mapState(['jfbAuthorize']),
|
|
80
81
|
|
|
81
|
-
|
|
82
|
+
outMargin() {
|
|
82
83
|
let str = `${this.checkValue(this.margin.top, 20)}rpx`;
|
|
83
84
|
str = `${str} ${this.checkValue(this.margin.right, 20)}rpx`;
|
|
84
85
|
str = `${str} ${this.checkValue(this.margin.bottom, 20)}rpx`;
|
|
85
86
|
str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
|
|
86
87
|
return str
|
|
87
88
|
},
|
|
88
|
-
|
|
89
|
+
outPadding() {
|
|
89
90
|
let str = `${this.checkValue(this.padding.top, 20)}rpx`;
|
|
90
91
|
str = `${str} ${this.checkValue(this.padding.right, 20)}rpx`;
|
|
91
92
|
str = `${str} ${this.checkValue(this.padding.bottom, 20)}rpx`;
|
|
@@ -97,22 +98,8 @@
|
|
|
97
98
|
else return '0 0 0 rgba(0,0,0,0)';
|
|
98
99
|
},
|
|
99
100
|
borderBox(){
|
|
100
|
-
if (this.is_border === 'Y') return `${this.is_border_w}rpx
|
|
101
|
+
if (this.is_border === 'Y') return `${this.is_border_w}rpx solid ${this.is_border_c}`;
|
|
101
102
|
else return '0';
|
|
102
|
-
},
|
|
103
|
-
nickNameStyle(){
|
|
104
|
-
return {
|
|
105
|
-
fontSize: this.nickStyle.fontSize || '32rpx',
|
|
106
|
-
color: `${this.nickStyle.color || '#333'}`,
|
|
107
|
-
fontWeight: `${this.nickStyle.fontWeight || 'normal'}`,
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
logoutStyleComp(){
|
|
111
|
-
return {
|
|
112
|
-
fontSize: this.logoutStyle.fontSize || '20rpx',
|
|
113
|
-
color: `${this.logoutStyle.color || '#333'}`,
|
|
114
|
-
fontWeight: `${this.logoutStyle.fontWeight || 'normal'}`,
|
|
115
|
-
}
|
|
116
103
|
}
|
|
117
104
|
},
|
|
118
105
|
filters:{
|
|
@@ -124,32 +111,39 @@
|
|
|
124
111
|
return {
|
|
125
112
|
logined: false,
|
|
126
113
|
userInfo: null,
|
|
127
|
-
|
|
128
|
-
logoutName:'[退出登录]',
|
|
129
|
-
imageRadius:'50%',
|
|
114
|
+
address_url: '',
|
|
130
115
|
|
|
131
116
|
//基础
|
|
132
|
-
|
|
117
|
+
color: '#333',
|
|
133
118
|
backgroundColor: 'rgba(0,0,0,0)',
|
|
134
119
|
textType: 'N', //默认水平
|
|
135
120
|
radius: 0,
|
|
136
121
|
|
|
137
122
|
//投影
|
|
138
|
-
is_shadow: '
|
|
123
|
+
is_shadow: 'Y',
|
|
139
124
|
is_shadow_bg: 0,
|
|
140
125
|
is_shadow_w: 0,
|
|
141
126
|
|
|
127
|
+
|
|
142
128
|
//边框
|
|
143
|
-
is_border: '
|
|
129
|
+
is_border: 'Y',
|
|
144
130
|
is_border_w: 0,
|
|
145
131
|
is_border_c: '',
|
|
146
|
-
is_border_s:'solid',
|
|
147
132
|
|
|
148
133
|
//其他
|
|
149
|
-
margin: {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
134
|
+
margin: {
|
|
135
|
+
top: 0,
|
|
136
|
+
left: 0,
|
|
137
|
+
right: 0,
|
|
138
|
+
bottom: 0
|
|
139
|
+
},
|
|
140
|
+
padding: {
|
|
141
|
+
top: 0,
|
|
142
|
+
left: 0,
|
|
143
|
+
right: 0,
|
|
144
|
+
bottom: 0
|
|
145
|
+
},
|
|
146
|
+
|
|
153
147
|
}
|
|
154
148
|
},
|
|
155
149
|
watch: {
|
|
@@ -222,44 +216,21 @@
|
|
|
222
216
|
* @param container {object} 业务组件对象自己
|
|
223
217
|
*/
|
|
224
218
|
init(container) {
|
|
225
|
-
this.margin = getContainerPropsValue(container, 'content.margin', {});
|
|
226
|
-
this.padding = getContainerPropsValue(container, 'content.padding', {});
|
|
219
|
+
this.margin = getContainerPropsValue(container, 'content.margin', {top: 20, left: 20, right: 20, bottom: 20});
|
|
220
|
+
this.padding = getContainerPropsValue(container, 'content.padding', {top: 20, left: 20, right: 20, bottom: 20});
|
|
221
|
+
this.address_url = getContainerPropsValue(container, 'content.address_url', {value: ''});
|
|
222
|
+
this.color = getContainerPropsValue(container, 'content.textColor', '#333');
|
|
227
223
|
this.backgroundColor = getContainerPropsValue(container, 'content.backgroundColor', '#f8f8f8');
|
|
228
224
|
this.textType = getContainerPropsValue(container, 'content.text_type', 'N');
|
|
229
|
-
this.radius = getContainerPropsValue(container, 'content.radius', '10');
|
|
230
|
-
this.isSetting = getContainerPropsValue(container, 'content.isSetting', 'N');
|
|
231
|
-
this.logoutName = getContainerPropsValue(container, 'content.logoutName', '[退出登录]');
|
|
232
|
-
this.imageRadius = getContainerPropsValue(container, 'content.imageRadius', '50%');
|
|
233
|
-
this.imageColor = getContainerPropsValue(container, 'content.imageColor', '#333');
|
|
234
225
|
|
|
235
|
-
//Shadow
|
|
236
|
-
this.contShadow = getContainerPropsValue(container, 'content.contShadow', {})
|
|
237
226
|
this.is_shadow = getContainerPropsValue(container, 'content.is_shadow', 'N');
|
|
238
227
|
this.is_shadow_bg = getContainerPropsValue(container, 'content.is_shadow_bg', '#fff');
|
|
239
228
|
this.is_shadow_w = getContainerPropsValue(container, 'content.is_shadow_w', '10');
|
|
240
|
-
if(this.contShadow.type === 'Y') {
|
|
241
|
-
this.is_shadow = 'Y';
|
|
242
|
-
if(this.contShadow.value && this.contShadow.value.width) this.is_shadow_w = this.contShadow.value.width;
|
|
243
|
-
if(this.contShadow.value && this.contShadow.value.color) this.is_shadow_bg = this.contShadow.value.color;
|
|
244
|
-
}
|
|
245
229
|
|
|
246
|
-
//边框
|
|
247
|
-
this.contBorder = getContainerPropsValue(container, 'content.contBorder', {});
|
|
248
230
|
this.is_border = getContainerPropsValue(container, 'content.is_border', 'N');
|
|
249
231
|
this.is_border_c = getContainerPropsValue(container, 'content.is_border_c', '#fff');
|
|
250
232
|
this.is_border_w = getContainerPropsValue(container, 'content.is_border_w', 0);
|
|
251
|
-
this.
|
|
252
|
-
if(this.contBorder.type === 'Y') {
|
|
253
|
-
this.is_border = 'Y';
|
|
254
|
-
if(this.contBorder.value && this.contBorder.value.width) this.is_border_w = this.contBorder.value.width;
|
|
255
|
-
if(this.contBorder.value && this.contBorder.value.color) this.is_border_c = this.contBorder.value.color;
|
|
256
|
-
if(this.contBorder.value && this.contBorder.value.style) this.is_border_s = this.contBorder.value.style;
|
|
257
|
-
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
this.nickStyle = getContainerPropsValue(container, 'content.nickStyle', {});
|
|
261
|
-
this.logoutStyle = getContainerPropsValue(container, 'content.logoutStyle', {});
|
|
262
|
-
|
|
233
|
+
this.radius = getContainerPropsValue(container, 'content.radius', '10');
|
|
263
234
|
},
|
|
264
235
|
}
|
|
265
236
|
}
|
|
@@ -274,15 +245,7 @@
|
|
|
274
245
|
justify-content: center;
|
|
275
246
|
align-items: center;
|
|
276
247
|
& > view:nth-child(2) {
|
|
277
|
-
margin-left: unit(
|
|
278
|
-
}
|
|
279
|
-
& > view:nth-child(3) {
|
|
280
|
-
width: 26rpx;
|
|
281
|
-
height: 26rpx;
|
|
282
|
-
margin-left: unit(15, rpx);
|
|
283
|
-
display: flex;
|
|
284
|
-
justify-content: center;
|
|
285
|
-
align-items: center;
|
|
248
|
+
margin-left: unit(10, rpx);
|
|
286
249
|
}
|
|
287
250
|
}
|
|
288
251
|
|
|
@@ -318,7 +281,8 @@
|
|
|
318
281
|
& > image, .no-image {
|
|
319
282
|
width: unit(140, rpx);
|
|
320
283
|
height: unit(140, rpx);
|
|
321
|
-
margin-right: unit(30, rpx)
|
|
284
|
+
margin-right: unit(30, rpx);
|
|
285
|
+
border-radius: 50%;
|
|
322
286
|
display: flex;
|
|
323
287
|
justify-content: center;
|
|
324
288
|
align-items: center;
|
|
@@ -7,30 +7,6 @@ export default {
|
|
|
7
7
|
style: [],
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
|
-
{
|
|
11
|
-
label: '我的账户自定义名称:',
|
|
12
|
-
ele: 'el-input',
|
|
13
|
-
type: 'text',
|
|
14
|
-
valueKey: 'accountName',
|
|
15
|
-
groupKey:'content',
|
|
16
|
-
value: data['accountName'] || '',
|
|
17
|
-
placeholder: '请我的账户自定义名称',
|
|
18
|
-
className: 'input80',
|
|
19
|
-
rules: [
|
|
20
|
-
{
|
|
21
|
-
required: false,
|
|
22
|
-
validator: (rule, value, callback) => {
|
|
23
|
-
value = value.trim();
|
|
24
|
-
if(value.length === 0) return callback()
|
|
25
|
-
if (value.length < 2 || value.length > 6) callback('我的账户自定义名称长度为:2-6字符');
|
|
26
|
-
else callback()
|
|
27
|
-
},
|
|
28
|
-
trigger: 'blur'
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
notice: '我的账户自定义名称设置,默认值:<span style="color:red">我的账户</span>,长度为:2-6字符',
|
|
32
|
-
inline: false,
|
|
33
|
-
},
|
|
34
10
|
{
|
|
35
11
|
label: '更改分类label(可排序):',
|
|
36
12
|
ele: 'xd-set-sort-label',
|
|
@@ -57,26 +33,7 @@ export default {
|
|
|
57
33
|
value: 'score',
|
|
58
34
|
sort: 3
|
|
59
35
|
},
|
|
60
|
-
]
|
|
61
|
-
rules: [
|
|
62
|
-
{
|
|
63
|
-
required: false,
|
|
64
|
-
validator: (rule, value, callback) => {
|
|
65
|
-
let yes = [];
|
|
66
|
-
if(value.length === 0) return callback()
|
|
67
|
-
value.map(item=>{
|
|
68
|
-
if(item.newLabel && (item.newLabel.length < 2 || item.newLabel.length > 4)) {
|
|
69
|
-
yes.push(item.label)
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
if (yes.length > 0) callback('分类名称长度为:2-4字符');
|
|
73
|
-
else callback()
|
|
74
|
-
},
|
|
75
|
-
trigger: 'blur'
|
|
76
|
-
}
|
|
77
|
-
],
|
|
78
|
-
notice: '自定义分类名称长度为:2-4字符',
|
|
79
|
-
inline: false,
|
|
36
|
+
]
|
|
80
37
|
},
|
|
81
38
|
{
|
|
82
39
|
label: '是否展示票券入口:',
|
|
@@ -89,6 +46,7 @@ export default {
|
|
|
89
46
|
{ "label": "否", "value": 'N' },
|
|
90
47
|
]
|
|
91
48
|
},
|
|
49
|
+
|
|
92
50
|
{
|
|
93
51
|
label: '是否展示元宝入口:',
|
|
94
52
|
ele: 'xd-radio',
|
|
@@ -122,302 +80,6 @@ export default {
|
|
|
122
80
|
},
|
|
123
81
|
inline: false,
|
|
124
82
|
},
|
|
125
|
-
|
|
126
|
-
//style
|
|
127
|
-
{
|
|
128
|
-
label: '行间距:',
|
|
129
|
-
ele: 'el-input',
|
|
130
|
-
type: 'number',
|
|
131
|
-
valueKey: 'rowSpacing',
|
|
132
|
-
groupKey:'style',
|
|
133
|
-
value: data.rowSpacing|| '',
|
|
134
|
-
placeholder: '请输入行间距',
|
|
135
|
-
className: 'input60',
|
|
136
|
-
inline: false,
|
|
137
|
-
notice: '设置间距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">10</span>像素',
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
label: '列间距:',
|
|
141
|
-
ele: 'el-input',
|
|
142
|
-
type: 'number',
|
|
143
|
-
groupKey:'style',
|
|
144
|
-
valueKey: 'columnSpacing',
|
|
145
|
-
value: data['columnSpacing'] || '',
|
|
146
|
-
notice: '列间距设置,单位:像素,默认值:<span style="color:red">20</span> px',
|
|
147
|
-
inline: false,
|
|
148
|
-
className: 'input60',
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
ele: 'title',
|
|
152
|
-
label: '轮廓设置',
|
|
153
|
-
size: 'small',
|
|
154
|
-
groupKey:'style',
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
label: '外边距:',
|
|
158
|
-
ele: 'xd-margin-padding',
|
|
159
|
-
valueKey: 'bodyMargin',
|
|
160
|
-
groupKey:'style',
|
|
161
|
-
value: data['bodyMargin'] || null,
|
|
162
|
-
setting: {
|
|
163
|
-
type: 'margin',
|
|
164
|
-
},
|
|
165
|
-
placeholder: '请设置外边距',
|
|
166
|
-
inline: false,
|
|
167
|
-
notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">0</span>像素',
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
label: '外填充:',
|
|
171
|
-
ele: 'xd-margin-padding',
|
|
172
|
-
valueKey: 'bodyPadding',
|
|
173
|
-
groupKey:'style',
|
|
174
|
-
value: data['bodyPadding'] || null,
|
|
175
|
-
setting: {
|
|
176
|
-
type: 'padding',
|
|
177
|
-
},
|
|
178
|
-
placeholder: '请设置外填充',
|
|
179
|
-
inline: false,
|
|
180
|
-
notice: '设置填充值,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
label: '背景颜色:',
|
|
184
|
-
ele: 'xd-color',
|
|
185
|
-
valueKey: 'bodyBgColor',
|
|
186
|
-
groupKey:'style',
|
|
187
|
-
value: data['bodyBgColor'] || null,
|
|
188
|
-
placeholder: '请选择背景颜色',
|
|
189
|
-
classNmae: 'input80',
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
label: '圆角设置:',
|
|
193
|
-
ele: 'xd-site-select-list',
|
|
194
|
-
valueKey: 'bodyRadius',
|
|
195
|
-
groupKey:'style',
|
|
196
|
-
value: data['bodyRadius'],
|
|
197
|
-
placeholder: '请选择圆角设置',
|
|
198
|
-
multiple: false,
|
|
199
|
-
className: 'input80',
|
|
200
|
-
handleCustom({action, data}) {
|
|
201
|
-
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
202
|
-
.then(res => {
|
|
203
|
-
data.cb(res.list)
|
|
204
|
-
})
|
|
205
|
-
.catch(error => {
|
|
206
|
-
console.error(error);
|
|
207
|
-
});
|
|
208
|
-
},
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
ele: 'title',
|
|
212
|
-
label: '标题设置',
|
|
213
|
-
size: 'small',
|
|
214
|
-
groupKey:'style',
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
label: "标题样式设置",
|
|
218
|
-
ele: "xd-text-and-bgc",
|
|
219
|
-
groupKey:'style',
|
|
220
|
-
valueKey: 'titleStyle',
|
|
221
|
-
value: data['titleStyle'] || null,
|
|
222
|
-
setting: {
|
|
223
|
-
fontSize: true,
|
|
224
|
-
color: true,
|
|
225
|
-
bgColor: false,
|
|
226
|
-
weight: true,
|
|
227
|
-
selected:false
|
|
228
|
-
},
|
|
229
|
-
handleCustom({action, data}) {
|
|
230
|
-
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
|
|
231
|
-
.then(res => {
|
|
232
|
-
data.cb(res.list)
|
|
233
|
-
})
|
|
234
|
-
.catch(error => {
|
|
235
|
-
console.error(error);
|
|
236
|
-
data.cb([])
|
|
237
|
-
});
|
|
238
|
-
},
|
|
239
|
-
},
|
|
240
|
-
|
|
241
|
-
{
|
|
242
|
-
ele: 'title',
|
|
243
|
-
label: '列表轮廓设置',
|
|
244
|
-
size: 'small',
|
|
245
|
-
groupKey:'style',
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
label: '填充:',
|
|
249
|
-
ele: 'xd-margin-padding',
|
|
250
|
-
valueKey: 'contPadding',
|
|
251
|
-
groupKey:'style',
|
|
252
|
-
value: data['contPadding'] || null,
|
|
253
|
-
setting: {
|
|
254
|
-
type: 'padding',
|
|
255
|
-
},
|
|
256
|
-
placeholder: '请设置外填充',
|
|
257
|
-
inline: false,
|
|
258
|
-
notice: '设置填充值,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
label: '背景颜色:',
|
|
262
|
-
ele: 'xd-color',
|
|
263
|
-
valueKey: 'contBgColor',
|
|
264
|
-
groupKey:'style',
|
|
265
|
-
value: data['contBgColor'] || null,
|
|
266
|
-
placeholder: '请选择背景颜色',
|
|
267
|
-
classNmae: 'input80',
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
label: '圆角设置:',
|
|
271
|
-
ele: 'xd-site-select-list',
|
|
272
|
-
valueKey: 'contRadius',
|
|
273
|
-
groupKey:'style',
|
|
274
|
-
value: data['contRadius'],
|
|
275
|
-
placeholder: '请选择圆角设置',
|
|
276
|
-
multiple: false,
|
|
277
|
-
className: 'input80',
|
|
278
|
-
handleCustom({action, data}) {
|
|
279
|
-
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
280
|
-
.then(res => {
|
|
281
|
-
data.cb(res.list)
|
|
282
|
-
})
|
|
283
|
-
.catch(error => {
|
|
284
|
-
console.error(error);
|
|
285
|
-
});
|
|
286
|
-
},
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
label: '投影设置:',
|
|
290
|
-
ele: 'xd-shadow',
|
|
291
|
-
groupKey:'style',
|
|
292
|
-
valueKey: 'contShadow',
|
|
293
|
-
value: data['contShadow'] || '',
|
|
294
|
-
setting: {
|
|
295
|
-
selected: 'N'
|
|
296
|
-
},
|
|
297
|
-
handleCustom({action, data}) {
|
|
298
|
-
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
299
|
-
.then(res => {
|
|
300
|
-
data.cb(res.list)
|
|
301
|
-
})
|
|
302
|
-
.catch(error => {
|
|
303
|
-
console.error(error);
|
|
304
|
-
data.cb([])
|
|
305
|
-
});
|
|
306
|
-
},
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
label: '边框设置:',
|
|
310
|
-
ele: 'xd-border',
|
|
311
|
-
groupKey:'style',
|
|
312
|
-
valueKey: 'contBorder',
|
|
313
|
-
value: data['contBorder'] || {},
|
|
314
|
-
setting: {
|
|
315
|
-
selected:'N'
|
|
316
|
-
},
|
|
317
|
-
},
|
|
318
|
-
|
|
319
|
-
{
|
|
320
|
-
ele: 'title',
|
|
321
|
-
label: '列表样式设置',
|
|
322
|
-
size: 'small',
|
|
323
|
-
groupKey:'style',
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
label: '填充:',
|
|
327
|
-
ele: 'xd-margin-padding',
|
|
328
|
-
valueKey: 'itemPadding',
|
|
329
|
-
groupKey:'style',
|
|
330
|
-
value: data['itemPadding'] || null,
|
|
331
|
-
setting: {
|
|
332
|
-
type: 'padding',
|
|
333
|
-
},
|
|
334
|
-
placeholder: '请设置外填充',
|
|
335
|
-
inline: false,
|
|
336
|
-
notice: '设置填充值,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">30px 30px 0 0</span>像素',
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
label: "标题样式设置",
|
|
340
|
-
ele: "xd-text-and-bgc",
|
|
341
|
-
groupKey:'style',
|
|
342
|
-
valueKey: 'itemStyle',
|
|
343
|
-
value: data['itemStyle'] || null,
|
|
344
|
-
setting: {
|
|
345
|
-
fontSize: true,
|
|
346
|
-
color: true,
|
|
347
|
-
bgColor: false,
|
|
348
|
-
weight: true,
|
|
349
|
-
selected:false
|
|
350
|
-
},
|
|
351
|
-
handleCustom({action, data}) {
|
|
352
|
-
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
|
|
353
|
-
.then(res => {
|
|
354
|
-
data.cb(res.list)
|
|
355
|
-
})
|
|
356
|
-
.catch(error => {
|
|
357
|
-
console.error(error);
|
|
358
|
-
data.cb([])
|
|
359
|
-
});
|
|
360
|
-
},
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
label: '背景颜色:',
|
|
364
|
-
ele: 'xd-color',
|
|
365
|
-
valueKey: 'itemBgColor',
|
|
366
|
-
groupKey:'style',
|
|
367
|
-
value: data['itemBgColor'] || null,
|
|
368
|
-
placeholder: '请选择背景颜色',
|
|
369
|
-
classNmae: 'input80',
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
label: '圆角设置:',
|
|
373
|
-
ele: 'xd-site-select-list',
|
|
374
|
-
valueKey: 'itemRadius',
|
|
375
|
-
groupKey:'style',
|
|
376
|
-
value: data['itemRadius'],
|
|
377
|
-
placeholder: '请选择圆角设置',
|
|
378
|
-
multiple: false,
|
|
379
|
-
className: 'input80',
|
|
380
|
-
handleCustom({action, data}) {
|
|
381
|
-
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
382
|
-
.then(res => {
|
|
383
|
-
data.cb(res.list)
|
|
384
|
-
})
|
|
385
|
-
.catch(error => {
|
|
386
|
-
console.error(error);
|
|
387
|
-
});
|
|
388
|
-
},
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
label: '投影设置:',
|
|
392
|
-
ele: 'xd-shadow',
|
|
393
|
-
groupKey:'style',
|
|
394
|
-
valueKey: 'itemShadow',
|
|
395
|
-
value: data['itemShadow'] || '',
|
|
396
|
-
setting: {
|
|
397
|
-
selected: 'N'
|
|
398
|
-
},
|
|
399
|
-
handleCustom({action, data}) {
|
|
400
|
-
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
401
|
-
.then(res => {
|
|
402
|
-
data.cb(res.list)
|
|
403
|
-
})
|
|
404
|
-
.catch(error => {
|
|
405
|
-
console.error(error);
|
|
406
|
-
data.cb([])
|
|
407
|
-
});
|
|
408
|
-
},
|
|
409
|
-
},
|
|
410
|
-
{
|
|
411
|
-
label: '边框设置:',
|
|
412
|
-
ele: 'xd-border',
|
|
413
|
-
groupKey:'style',
|
|
414
|
-
valueKey: 'itemBorder',
|
|
415
|
-
value: data['itemBorder'] || {},
|
|
416
|
-
setting: {
|
|
417
|
-
selected:'N'
|
|
418
|
-
},
|
|
419
|
-
},
|
|
420
|
-
|
|
421
83
|
{
|
|
422
84
|
label: '票券跳转路径:',
|
|
423
85
|
ele: 'xd-select-pages-path',
|