jufubao-base 1.0.186 → 1.0.187-beta3

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 (34) 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/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +4 -1
  7. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +17 -5
  8. package/src/components/JfbBaseFastLink/Attr.js +22 -6
  9. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +35 -20
  10. package/src/components/JfbBaseFastLink/XdFastNav.vue +1 -2
  11. package/src/components/JfbBaseFooter/Attr.js +141 -75
  12. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +50 -15
  13. package/src/components/JfbBaseOrderDetail/Api.js +1 -0
  14. package/src/components/JfbBaseOrderDetail/Attr.js +201 -65
  15. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +168 -57
  16. package/src/components/JfbBaseOrderList/Attr.js +59 -2
  17. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +139 -92
  18. package/src/components/JfbBaseOrderList/Mock.js +3 -0
  19. package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +267 -0
  20. package/src/components/JfbBasePhoneCollect/Attr.js +945 -411
  21. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +307 -27
  22. package/src/components/JfbBasePhoneLogin/Attr.js +893 -405
  23. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +609 -253
  24. package/src/components/JfbBaseSuccess/Attr.js +1 -1
  25. package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetail.vue +4 -1
  26. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +0 -1
  27. package/src/components/JfbBaseUserCenter/Attr.js +240 -48
  28. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +101 -30
  29. package/src/components/JfbBaseUserInfo/Attr.js +179 -30
  30. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +80 -44
  31. package/src/components/JfbBaseUserOrder/Attr.js +291 -25
  32. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +172 -54
  33. package/src/components/JfbBaseWallet/Attr.js +344 -3
  34. 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,12 +38,15 @@ export default {
14
38
  groupKey:'content',
15
39
  value: data['newLabel'] || null,
16
40
  defaultValue: data['newLabel'],
41
+ setting: {
42
+ isNeedSwitch: false,
43
+ },
17
44
  list: [
18
45
  {
19
46
  icon: "iconpiao",
20
47
  label: "票券",
21
48
  value: 'card',
22
- sort: 1
49
+ sort: 1,
23
50
  },
24
51
  {
25
52
  icon: "iconyuanbao",
@@ -33,7 +60,26 @@ export default {
33
60
  value: 'score',
34
61
  sort: 3
35
62
  },
36
- ]
63
+ ],
64
+ rules: [
65
+ {
66
+ required: false,
67
+ validator: (rule, value, callback) => {
68
+ let yes = [];
69
+ if(value.length === 0) return callback()
70
+ value.map(item=>{
71
+ if(item.newLabel && (item.newLabel.length < 2 || item.newLabel.length > 4)) {
72
+ yes.push(item.label)
73
+ }
74
+ });
75
+ if (yes.length > 0) callback('分类名称长度为:2-4字符');
76
+ else callback()
77
+ },
78
+ trigger: 'blur'
79
+ }
80
+ ],
81
+ notice: '自定义分类名称长度为:2-4字符',
82
+ inline: false,
37
83
  },
38
84
  {
39
85
  label: '是否展示票券入口:',
@@ -46,7 +92,6 @@ export default {
46
92
  { "label": "否", "value": 'N' },
47
93
  ]
48
94
  },
49
-
50
95
  {
51
96
  label: '是否展示元宝入口:',
52
97
  ele: 'xd-radio',
@@ -80,6 +125,302 @@ export default {
80
125
  },
81
126
  inline: false,
82
127
  },
128
+
129
+ //style
130
+ {
131
+ label: '行间距:',
132
+ ele: 'el-input',
133
+ type: 'number',
134
+ valueKey: 'rowSpacing',
135
+ groupKey:'style',
136
+ value: data.rowSpacing|| '',
137
+ placeholder: '请输入行间距',
138
+ className: 'input60',
139
+ inline: false,
140
+ notice: '设置间距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">10</span>像素',
141
+ },
142
+ {
143
+ label: '列间距:',
144
+ ele: 'el-input',
145
+ type: 'number',
146
+ groupKey:'style',
147
+ valueKey: 'columnSpacing',
148
+ value: data['columnSpacing'] || '',
149
+ notice: '列间距设置,单位:像素,默认值:<span style="color:red">36</span> px',
150
+ inline: false,
151
+ className: 'input60',
152
+ },
153
+ {
154
+ ele: 'title',
155
+ label: '轮廓设置',
156
+ size: 'small',
157
+ groupKey:'style',
158
+ },
159
+ {
160
+ label: '外边距:',
161
+ ele: 'xd-margin-padding',
162
+ valueKey: 'bodyMargin',
163
+ groupKey:'style',
164
+ value: data['bodyMargin'] || null,
165
+ setting: {
166
+ type: 'margin',
167
+ },
168
+ placeholder: '请设置外边距',
169
+ inline: false,
170
+ notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">0</span>像素',
171
+ },
172
+ {
173
+ label: '外填充:',
174
+ ele: 'xd-margin-padding',
175
+ valueKey: 'bodyPadding',
176
+ groupKey:'style',
177
+ value: data['bodyPadding'] || null,
178
+ setting: {
179
+ type: 'padding',
180
+ },
181
+ placeholder: '请设置外填充',
182
+ inline: false,
183
+ notice: '设置填充值,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
184
+ },
185
+ {
186
+ label: '背景颜色:',
187
+ ele: 'xd-color',
188
+ valueKey: 'bodyBgColor',
189
+ groupKey:'style',
190
+ value: data['bodyBgColor'] || null,
191
+ placeholder: '请选择背景颜色',
192
+ classNmae: 'input80',
193
+ },
194
+ {
195
+ label: '圆角设置:',
196
+ ele: 'xd-site-select-list',
197
+ valueKey: 'bodyRadius',
198
+ groupKey:'style',
199
+ value: data['bodyRadius'],
200
+ placeholder: '请选择圆角设置',
201
+ multiple: false,
202
+ className: 'input80',
203
+ handleCustom({action, data}) {
204
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
205
+ .then(res => {
206
+ data.cb(res.list)
207
+ })
208
+ .catch(error => {
209
+ console.error(error);
210
+ });
211
+ },
212
+ },
213
+ {
214
+ ele: 'title',
215
+ label: '标题设置',
216
+ size: 'small',
217
+ groupKey:'style',
218
+ },
219
+ {
220
+ label: "标题样式设置",
221
+ ele: "xd-text-and-bgc",
222
+ groupKey:'style',
223
+ valueKey: 'titleStyle',
224
+ value: data['titleStyle'] || null,
225
+ setting: {
226
+ fontSize: true,
227
+ color: true,
228
+ bgColor: false,
229
+ weight: true,
230
+ selected:false
231
+ },
232
+ handleCustom({action, data}) {
233
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
234
+ .then(res => {
235
+ data.cb(res.list)
236
+ })
237
+ .catch(error => {
238
+ console.error(error);
239
+ data.cb([])
240
+ });
241
+ },
242
+ },
243
+
244
+ {
245
+ ele: 'title',
246
+ label: '列表轮廓设置',
247
+ size: 'small',
248
+ groupKey:'style',
249
+ },
250
+ {
251
+ label: '填充:',
252
+ ele: 'xd-margin-padding',
253
+ valueKey: 'contPadding',
254
+ groupKey:'style',
255
+ value: data['contPadding'] || null,
256
+ setting: {
257
+ type: 'padding',
258
+ },
259
+ placeholder: '请设置外填充',
260
+ inline: false,
261
+ notice: '设置填充值,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">32px 32px 48px 48px</span>像素',
262
+ },
263
+ {
264
+ label: '背景颜色:',
265
+ ele: 'xd-color',
266
+ valueKey: 'contBgColor',
267
+ groupKey:'style',
268
+ value: data['contBgColor'] || null,
269
+ placeholder: '请选择背景颜色',
270
+ classNmae: 'input80',
271
+ },
272
+ {
273
+ label: '圆角设置:',
274
+ ele: 'xd-site-select-list',
275
+ valueKey: 'contRadius',
276
+ groupKey:'style',
277
+ value: data['contRadius'],
278
+ placeholder: '请选择圆角设置',
279
+ multiple: false,
280
+ className: 'input80',
281
+ handleCustom({action, data}) {
282
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
283
+ .then(res => {
284
+ data.cb(res.list)
285
+ })
286
+ .catch(error => {
287
+ console.error(error);
288
+ });
289
+ },
290
+ },
291
+ {
292
+ label: '投影设置:',
293
+ ele: 'xd-shadow',
294
+ groupKey:'style',
295
+ valueKey: 'contShadow',
296
+ value: data['contShadow'] || '',
297
+ setting: {
298
+ selected: 'N'
299
+ },
300
+ handleCustom({action, data}) {
301
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
302
+ .then(res => {
303
+ data.cb(res.list)
304
+ })
305
+ .catch(error => {
306
+ console.error(error);
307
+ data.cb([])
308
+ });
309
+ },
310
+ },
311
+ {
312
+ label: '边框设置:',
313
+ ele: 'xd-border',
314
+ groupKey:'style',
315
+ valueKey: 'contBorder',
316
+ value: data['contBorder'] || {},
317
+ setting: {
318
+ selected:'N'
319
+ },
320
+ },
321
+
322
+ {
323
+ ele: 'title',
324
+ label: '列表样式设置',
325
+ size: 'small',
326
+ groupKey:'style',
327
+ },
328
+ {
329
+ label: '填充:',
330
+ ele: 'xd-margin-padding',
331
+ valueKey: 'itemPadding',
332
+ groupKey:'style',
333
+ value: data['itemPadding'] || null,
334
+ setting: {
335
+ type: 'padding',
336
+ },
337
+ placeholder: '请设置外填充',
338
+ inline: false,
339
+ notice: '设置填充值,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20px 20px 0 0</span>像素',
340
+ },
341
+ {
342
+ label: "标题样式设置",
343
+ ele: "xd-text-and-bgc",
344
+ groupKey:'style',
345
+ valueKey: 'itemStyle',
346
+ value: data['itemStyle'] || null,
347
+ setting: {
348
+ fontSize: true,
349
+ color: true,
350
+ bgColor: false,
351
+ weight: true,
352
+ selected:false
353
+ },
354
+ handleCustom({action, data}) {
355
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
356
+ .then(res => {
357
+ data.cb(res.list)
358
+ })
359
+ .catch(error => {
360
+ console.error(error);
361
+ data.cb([])
362
+ });
363
+ },
364
+ },
365
+ {
366
+ label: '背景颜色:',
367
+ ele: 'xd-color',
368
+ valueKey: 'itemBgColor',
369
+ groupKey:'style',
370
+ value: data['itemBgColor'] || null,
371
+ placeholder: '请选择背景颜色',
372
+ classNmae: 'input80',
373
+ },
374
+ {
375
+ label: '圆角设置:',
376
+ ele: 'xd-site-select-list',
377
+ valueKey: 'itemRadius',
378
+ groupKey:'style',
379
+ value: data['itemRadius'],
380
+ placeholder: '请选择圆角设置',
381
+ multiple: false,
382
+ className: 'input80',
383
+ handleCustom({action, data}) {
384
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
385
+ .then(res => {
386
+ data.cb(res.list)
387
+ })
388
+ .catch(error => {
389
+ console.error(error);
390
+ });
391
+ },
392
+ },
393
+ {
394
+ label: '投影设置:',
395
+ ele: 'xd-shadow',
396
+ groupKey:'style',
397
+ valueKey: 'itemShadow',
398
+ value: data['itemShadow'] || '',
399
+ setting: {
400
+ selected: 'N'
401
+ },
402
+ handleCustom({action, data}) {
403
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
404
+ .then(res => {
405
+ data.cb(res.list)
406
+ })
407
+ .catch(error => {
408
+ console.error(error);
409
+ data.cb([])
410
+ });
411
+ },
412
+ },
413
+ {
414
+ label: '边框设置:',
415
+ ele: 'xd-border',
416
+ groupKey:'style',
417
+ valueKey: 'itemBorder',
418
+ value: data['itemBorder'] || {},
419
+ setting: {
420
+ selected:'N'
421
+ },
422
+ },
423
+
83
424
  {
84
425
  label: '票券跳转路径:',
85
426
  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
  }