jufubao-base 1.0.186-beta3 → 1.0.187-beta2

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.
Files changed (30) hide show
  1. package/package.json +1 -1
  2. package/src/ICONS.js +1128 -0
  3. package/src/components/JfbBaseAddress/Attr.js +109 -1
  4. package/src/components/JfbBaseAddress/JfbBaseAddress.vue +153 -77
  5. package/src/components/JfbBaseAddress/XdTfkItem.vue +117 -0
  6. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +22 -7
  7. package/src/components/JfbBaseCardEntry/Mock.js +130 -119
  8. package/src/components/JfbBaseFastLink/Attr.js +22 -6
  9. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +35 -20
  10. package/src/components/JfbBaseFooter/Attr.js +141 -75
  11. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +46 -11
  12. package/src/components/JfbBaseOrderDetail/Api.js +0 -1
  13. package/src/components/JfbBaseOrderDetail/Attr.js +61 -119
  14. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +93 -124
  15. package/src/components/JfbBaseOrderList/Attr.js +23 -0
  16. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +117 -86
  17. package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +246 -0
  18. package/src/components/JfbBasePhoneCollect/Attr.js +411 -945
  19. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +27 -307
  20. package/src/components/JfbBasePhoneLogin/Attr.js +405 -893
  21. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +253 -609
  22. package/src/components/JfbBaseSuccess/Attr.js +1 -1
  23. package/src/components/JfbBaseUserCenter/Attr.js +240 -48
  24. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +101 -30
  25. package/src/components/JfbBaseUserInfo/Attr.js +179 -30
  26. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +80 -44
  27. package/src/components/JfbBaseUserOrder/Attr.js +291 -25
  28. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +172 -54
  29. package/src/components/JfbBaseWallet/Attr.js +341 -6
  30. package/src/components/JfbBaseWallet/JfbBaseWallet.vue +173 -49
@@ -7,6 +7,30 @@ 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
+ },
10
34
  {
11
35
  label: '更改分类label(可排序):',
12
36
  ele: 'xd-set-sort-label',
@@ -14,15 +38,12 @@ export default {
14
38
  groupKey:'content',
15
39
  value: data['newLabel'] || null,
16
40
  defaultValue: data['newLabel'],
17
- setting: {
18
- isNeedSwitch: false,
19
- },
20
41
  list: [
21
42
  {
22
43
  icon: "iconpiao",
23
44
  label: "票券",
24
45
  value: 'card',
25
- sort: 1,
46
+ sort: 1
26
47
  },
27
48
  {
28
49
  icon: "iconyuanbao",
@@ -36,7 +57,26 @@ export default {
36
57
  value: 'score',
37
58
  sort: 3
38
59
  },
39
- ]
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,
40
80
  },
41
81
  {
42
82
  label: '是否展示票券入口:',
@@ -49,7 +89,6 @@ export default {
49
89
  { "label": "否", "value": 'N' },
50
90
  ]
51
91
  },
52
-
53
92
  {
54
93
  label: '是否展示元宝入口:',
55
94
  ele: 'xd-radio',
@@ -83,6 +122,302 @@ export default {
83
122
  },
84
123
  inline: false,
85
124
  },
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">36</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">32px 32px 48px 48px</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">20px 20px 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
+
86
421
  {
87
422
  label: '票券跳转路径:',
88
423
  ele: 'xd-select-pages-path',
@@ -14,21 +14,29 @@
14
14
  </view>
15
15
  <!-- #endif -->
16
16
  <view class="jfb-base-wallet__body">
17
+ <view class="x-line"></view>
17
18
  <template v-if="showContent">
18
- <view class="jfb-base-wallet__body-title">我的账户</view>
19
- <view class="jfb-base-wallet__body-type" v-if="showType.length > 0">
20
- <view
21
- :style="{marginRight: index === showType.length - 1 ? '0' : '36rpx',}"
22
- v-for="(item, index) in showType"
23
- @click="handleJumpTo(item)"
24
- :key="index"
25
- class="jfb-base-wallet__body-type-item"
26
- >
27
- <XdFontIcon :icon="item.icon"></XdFontIcon>
28
- <view>{{ item.label }}</view>
19
+ <view :style="[{
20
+ margin:marginComp,
21
+ padding:paddingComp,
22
+ backgroundColor:bodyBgColor,
23
+ borderRadius:bodyRadius+'rpx'
24
+ }]">
25
+ <view class="jfb-base-wallet__body-title" :style="[titleStyleComp]">{{accountName}}</view>
26
+ <view class="jfb-base-wallet__body-type" :style="[contStyleComp]" v-if="showType.length > 0">
27
+ <view
28
+ :style="[itemStyleComp]"
29
+ v-for="(item, index) in showType"
30
+ @click="handleJumpTo(item)"
31
+ :key="index"
32
+ class="jfb-base-wallet__body-type-item"
33
+ >
34
+ <xd-font-icon :icon="item.icon" :color="iconColor"></xd-font-icon>
35
+ <view>{{ item.label }}</view>
36
+ </view>
29
37
  </view>
38
+ <view v-else class="jfb-base-wallet__body-type notice" :style="{backgroundColor:backgroundColor, color:warningColor}">我的账户无配置数据,在正式环境将不显示改模块</view>
30
39
  </view>
31
- <view v-else class="jfb-base-wallet__body-type notice" :style="{backgroundColor:backgroundColor, color:warningColor}">我的账户无配置数据,在正式环境将不显示改模块</view>
32
40
  </template>
33
41
  </view>
34
42
  </view>
@@ -72,6 +80,37 @@ export default {
72
80
  isCard: "Y",
73
81
  isYuanbao: "Y",
74
82
  isIntegral: "Y",
83
+ accountName:'我的账户',
84
+
85
+ //标题
86
+ titleStyle:{},
87
+
88
+ //轮廓
89
+ bodyRadius:'0',
90
+ bodyMargin:{},
91
+ bodyPadding:{},
92
+ rowSpacing:10,
93
+ columnSpacing:36,
94
+ bodyBgColor:'rgba(0,0,0,0)',
95
+
96
+ //content
97
+ contPadding:{},
98
+ contBgColor:'rgba(0,0,0,0)',
99
+ contRadius:'10',
100
+ contShadow:'0 0 0 rgba(0,0,0,0)',
101
+ contBorder:{},
102
+
103
+ //item
104
+ itemPadding:{},
105
+ itemBgColor:'rgba(0,0,0,0)',
106
+ itemRadius:'10',
107
+ itemShadow: '0 0 0 rgba(0,0,0,0)',
108
+ itemBorder:{},
109
+ itemPStyle:{},
110
+ iconColor: '#333',
111
+
112
+
113
+ //高级
75
114
  cardPath: "",
76
115
  yuanbaoPath: "",
77
116
  integralPath: "",
@@ -177,7 +216,89 @@ export default {
177
216
  showContent(){
178
217
  if(this.$configProject.isPreview) return true;
179
218
  return this.showType.length > 0;
180
- }
219
+ },
220
+
221
+ titleStyleComp(){
222
+ return {
223
+ fontSize: this.titleStyle.fontSize || '28rpx',
224
+ color: `${this.titleStyle.color || '#333'}`,
225
+ fontWeight: `${this.titleStyle.fontWeight || 'normal'}`,
226
+ marginBottom: `${this.rowSpacing}rpx`,
227
+ }
228
+ },
229
+
230
+ marginComp() {
231
+ let str = `${this.checkValue(this.bodyMargin.top, 0)}rpx`;
232
+ str = `${str} ${this.checkValue(this.bodyMargin.right, 0)}rpx`;
233
+ str = `${str} ${this.checkValue(this.bodyMargin.bottom, 0)}rpx`;
234
+ str = `${str} ${this.checkValue(this.bodyMargin.left, 0)}rpx`;
235
+ return str
236
+ },
237
+
238
+ paddingComp() {
239
+ let str = `${this.checkValue(this.bodyPadding.top, 20)}rpx`;
240
+ str = `${str} ${this.checkValue(this.bodyPadding.right, 20)}rpx`;
241
+ str = `${str} ${this.checkValue(this.bodyPadding.bottom, 20)}rpx`;
242
+ str = `${str} ${this.checkValue(this.bodyPadding.left, 20)}rpx`;
243
+ return str
244
+ },
245
+
246
+ contStyleComp(){
247
+ let str = `${this.checkValue(this.contPadding.top, 32)}rpx`;
248
+ str = `${str} ${this.checkValue(this.contPadding.right, 48)}rpx`;
249
+ str = `${str} ${this.checkValue(this.contPadding.bottom, 32)}rpx`;
250
+ str = `${str} ${this.checkValue(this.contPadding.left, 48)}rpx`;
251
+ let border = {
252
+ borderWidth: '2rpx',
253
+ borderStyle: 'solid',
254
+ borderColor: '#eee',
255
+ }
256
+ if(this.contBorder && this.contBorder.type === 'Y') {
257
+ let value = this.contBorder.value || {};
258
+ if(value.color) border.borderColor = value.color;
259
+ if(value.style) border.borderStyle = value.style;
260
+ if(value.width) border.borderWidth = value.width + 'rpx';
261
+ }
262
+
263
+ return {
264
+ padding: str,
265
+ backgroundColor: this.contBgColor,
266
+ borderRadius: this.contRadius + 'rpx',
267
+ boxShadow: this.contShadow,
268
+ ...border,
269
+ }
270
+ },
271
+
272
+ itemStyleComp(){
273
+ let str = `${this.checkValue(this.itemPadding.top, 20)}rpx`;
274
+ str = `${str} ${this.checkValue(this.itemPadding.right, 0)}rpx`;
275
+ str = `${str} ${this.checkValue(this.itemPadding.bottom, 20)}rpx`;
276
+ str = `${str} ${this.checkValue(this.itemPadding.left, 0)}rpx`;
277
+
278
+ let border = {
279
+ borderWidth: '2rpx',
280
+ borderStyle: 'solid',
281
+ borderColor: '#eee',
282
+ }
283
+ if(this.itemBorder && this.itemBorder.type === 'Y') {
284
+ let value = this.itemBorder.value || {};
285
+ if(value.color) border.borderColor = value.color;
286
+ if(value.style) border.borderStyle = value.style;
287
+ if(value.width) border.borderWidth = value.width + 'rpx';
288
+ }
289
+ if(this.itemPStyle.color !== undefined) this.iconColor =this.itemPStyle.color
290
+ return {
291
+ padding: str,
292
+ backgroundColor: this.itemBgColor,
293
+ borderRadius: this.itemRadius + 'rpx',
294
+ marginRight: this.columnSpacing + 'rpx',
295
+ boxShadow: this.itemShadow,
296
+ fontSize: this.itemPStyle.fontSize || '28rpx',
297
+ color: `${this.itemPStyle.color || '#333'}`,
298
+ fontWeight: `${this.itemPStyle.fontWeight || 'normal'}`,
299
+ ...border
300
+ }
301
+ },
181
302
  },
182
303
  created() {
183
304
  this.backgroundColor = Color(this.warningColor).alpha(0.2).toString();
@@ -196,34 +317,42 @@ export default {
196
317
  init(container) {
197
318
  this.newLabel = getContainerPropsValue(container, "content.newLabel", []);
198
319
  this.isCard = getContainerPropsValue(container, "content.isCard", "Y");
199
- this.isYuanbao = getContainerPropsValue(
200
- container,
201
- "content.isYuanbao",
202
- "Y"
203
- );
204
- this.isIntegral = getContainerPropsValue(
205
- container,
206
- "content.isIntegral",
207
- "Y"
208
- );
209
- this.cardPath = getContainerPropsValue(container, "content.cardPath", {
210
- value: "",
211
- }).value;
212
-
213
- this.yuanbaoPath = getContainerPropsValue(
214
- container,
215
- "content.yuanbaoPath",
216
- { value: "" }
217
- ).value;
218
-
219
- this.integralPath = getContainerPropsValue(
220
- container,
221
- "content.integralPath",
222
- { value: "" }
223
- ).value;
320
+ this.isYuanbao = getContainerPropsValue(container, "content.isYuanbao", "Y");
321
+ this.isIntegral = getContainerPropsValue(container, "content.isIntegral", "Y");
322
+ this.accountName = getContainerPropsValue(container, "content.accountName", "我的账户");
323
+ this.rowSpacing = Number(getContainerPropsValue(container, "content.rowSpacing", 10));
324
+ this.columnSpacing = Number(getContainerPropsValue(container, "content.columnSpacing", 36));
325
+ this.bodyBgColor = getContainerPropsValue(container, "content.bodyBgColor", 'rgba(0,0,0,0)');
326
+ this.bodyPadding = getContainerPropsValue(container, "content.bodyPadding", {});
327
+ this.bodyMargin = getContainerPropsValue(container, "content.bodyMargin", {});
328
+ this.bodyRadius = getContainerPropsValue(container, "content.bodyRadius", '0');
329
+
330
+ //标题
331
+ this.titleStyle = getContainerPropsValue(container, 'content.titleStyle', {});
332
+
333
+ //content
334
+ this.contPadding = getContainerPropsValue(container, "content.contPadding", {});
335
+ this.contBgColor = getContainerPropsValue(container, "content.contBgColor", 'rgba(0,0,0,0)');
336
+ this.contRadius = getContainerPropsValue(container, "content.contRadius", '10');
337
+ this.contBorder = getContainerPropsValue(container, "content.contBorder", {});
338
+ this.contShadow = this.getXdShadow({width:20, color:'rgba(0,0,0,.3)'},getContainerPropsValue(container, 'content.contShadow', {}))
339
+
340
+
341
+ //item
342
+ this.itemPadding = getContainerPropsValue(container, 'content.itemPadding', {});
343
+ this.itemBgColor = getContainerPropsValue(container, 'content.itemBgColor', 'rgba(0,0,0,0)');
344
+ this.itemRadius = getContainerPropsValue(container, 'content.itemRadius', '10');
345
+ this.itemShadow = this.getXdShadow({width:20, color:'rgba(0,0,0,.3)'},getContainerPropsValue(container, 'content.itemShadow', {}))
346
+ this.itemBorder = getContainerPropsValue(container, "content.itemBorder", {});
347
+ this.itemPStyle = getContainerPropsValue(container, "content.itemStyle", {});
348
+
349
+ //高级
350
+ this.cardPath = getContainerPropsValue(container, "content.cardPath", {value: "",}).value;
351
+ this.yuanbaoPath = getContainerPropsValue(container, "content.yuanbaoPath", { value: "" }).value;
352
+ this.integralPath = getContainerPropsValue(container, "content.integralPath", { value: "" }).value;
224
353
  },
225
354
  handleJumpTo(item) {
226
- console.log(item, "ppppp");
355
+ if(this.$configProject.isPreview) return;
227
356
  switch (item.value) {
228
357
  case "card":
229
358
  this.$xdUniHelper.navigateTo({
@@ -257,22 +386,20 @@ export default {
257
386
  .jfb-base-wallet {
258
387
  &__body {
259
388
  &-title {
260
- padding: 20rpx;
389
+ min-height: 64rpx;
390
+ line-height: 64rpx;
261
391
  }
262
392
  &-type {
263
393
  display: flex;
264
394
  border-radius: 20rpx;
265
395
  background: rgba(255, 255, 255, 1);
266
396
  border: 1rpx solid rgba(238, 238, 238, 1);
267
- padding: 32rpx 48rpx 32rpx 48rpx;
268
- margin: 0 20rpx 0;
269
397
 
270
398
  &.notice {
271
399
  font-size: 26rpx;
272
400
  }
273
401
 
274
402
  &-item {
275
- color: #999999;
276
403
  flex: 1;
277
404
  display: flex;
278
405
  flex-direction: column;
@@ -280,12 +407,9 @@ export default {
280
407
  justify-content: center;
281
408
  font-size: 24rpx;
282
409
  border: 2rpx solid #eeeeee;
283
- border-radius: 16rpx;
284
- background: #ffffff;
285
- padding: 16rpx 0;
286
- margin-right: 36rpx;
287
- & > view:nth-child(2) {
288
- margin-top: 12rpx;
410
+
411
+ &:last-child{
412
+ margin-right: 0!important;
289
413
  }
290
414
  }
291
415
  }