jufubao-base 1.0.159-beta16 → 1.0.159-beta18

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 (38) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseAfterOrderDetail/Attr.js +9 -0
  3. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +40 -75
  4. package/src/components/JfbBaseAfterOrderDetail/Mock.js +3 -2
  5. package/src/components/JfbBaseAfterOrderList/Attr.js +9 -0
  6. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +63 -83
  7. package/src/components/JfbBaseAfterOrderList/Mock.js +8 -0
  8. package/src/components/JfbBaseCard/Attr.js +220 -194
  9. package/src/components/JfbBaseCard/JfbBaseCard.vue +47 -18
  10. package/src/components/JfbBaseCard/Mock.js +7 -6
  11. package/src/components/JfbBaseCardBind/JfbBaseCardBind.vue +2 -0
  12. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabled.vue +3 -3
  13. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +2 -2
  14. package/src/components/JfbBaseCardEntry/Attr.js +12 -0
  15. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +35 -2
  16. package/src/components/JfbBaseCardEntry/Mock.js +1 -0
  17. package/src/components/JfbBaseCardV2/Attr.js +39 -2
  18. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +46 -24
  19. package/src/components/JfbBaseCardV2/Mock.js +12 -11
  20. package/src/components/JfbBaseCardV3/Attr.js +13 -1
  21. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +5 -1
  22. package/src/components/JfbBaseCardV3/Mock.js +1 -1
  23. package/src/components/JfbBaseMultipleExpress/Attr.js +9 -0
  24. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpress.vue +20 -28
  25. package/src/components/JfbBaseMultipleExpress/Mock.js +10 -0
  26. package/src/components/JfbBaseOrderDetail/Attr.js +23 -0
  27. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +55 -135
  28. package/src/components/JfbBaseOrderDetail/bizMock.js +4 -2
  29. package/src/components/JfbBaseOrderList/Attr.js +9 -0
  30. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +33 -90
  31. package/src/components/JfbBaseOrderList/Mock.js +27 -5
  32. package/src/components/JfbBasePhoneCollect/Attr.js +11 -0
  33. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +3 -0
  34. package/src/components/JfbBasePoster/Attr.js +1 -0
  35. package/src/components/JfbBasePosterBigSmall/Attr.js +3 -0
  36. package/src/components/JfbBasePosterType/Attr.js +35 -25
  37. package/src/components/JfbBasePosterType/FourScreen.vue +18 -19
  38. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +12 -0
@@ -16,200 +16,6 @@ export default {
16
16
  {label: "布局2", value: "2"},
17
17
  ]
18
18
  },
19
- {
20
- ele: 'title',
21
- label: '登录样式设置',
22
- size: 'small',
23
- groupKey: 'content',
24
- },
25
- {
26
- label: "登录文字大小",
27
- ele: "el-input",
28
- type: "number",
29
- valueKey: "login_text_size",
30
- groupKey: 'content',
31
- value: data.login_text_size || '',
32
- placeholder: "请输入登录文字大小",
33
- className: "input80",
34
- inline: false,
35
- },
36
- {
37
- label: "登录字体颜色配置",
38
- ele: 'xd-color',
39
- valueKey: "login_text_color",
40
- groupKey: 'content',
41
- value: data.login_text_color || '',
42
- className: "input80",
43
- inline: false,
44
- },
45
- {
46
- label: "登录背景颜色配置",
47
- ele: 'xd-color',
48
- valueKey: "login_text_bg_color",
49
- groupKey: 'content',
50
- value: data.login_text_bg_color || '',
51
- className: "input80",
52
- inline: false,
53
- },
54
- {
55
- label: "登录按钮圆角配置",
56
- ele: 'xd-site-select-list',
57
- valueKey: "login_text_radius",
58
- groupKey: 'content',
59
- value: data.login_text_radius || '',
60
- placeholder: '请选择内容圆角设置',
61
- multiple: false,
62
- className: 'input80',
63
- handleCustom({action, data}) {
64
- XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
65
- .then(res => {
66
- data.cb(res.list)
67
- })
68
- .catch(error => {
69
- console.error(error);
70
- });
71
- },
72
- },
73
-
74
- {
75
- ele: 'title',
76
- label: '查看样式设置',
77
- size: 'small',
78
- groupKey: 'content',
79
- },
80
- {
81
- label: "查看文字大小",
82
- ele: "el-input",
83
- type: "number",
84
- valueKey: "look_text_size",
85
- groupKey: 'content',
86
- value: data.look_text_size || '',
87
- placeholder: "请输入登录文字大小",
88
- className: "input80",
89
- inline: false,
90
- },
91
- {
92
- label: "查看字体颜色配置",
93
- ele: 'xd-color',
94
- valueKey: "look_text_color",
95
- groupKey: 'content',
96
- value: data.look_text_color || '',
97
- className: "input80",
98
- inline: false,
99
- },
100
- {
101
- label: "查看背景颜色配置",
102
- ele: 'xd-color',
103
- valueKey: "look_text_bg_color",
104
- groupKey: 'content',
105
- value: data.look_text_bg_color || '',
106
- className: "input80",
107
- inline: false,
108
- },
109
- {
110
- label: "查看按钮圆角配置",
111
- ele: 'xd-site-select-list',
112
- valueKey: "look_text_radius",
113
- groupKey: 'content',
114
- value: data.look_text_radius || '',
115
- placeholder: '请选择内容圆角设置',
116
- multiple: false,
117
- className: 'input80',
118
- handleCustom({action, data}) {
119
- XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
120
- .then(res => {
121
- data.cb(res.list)
122
- })
123
- .catch(error => {
124
- console.error(error);
125
- });
126
- },
127
- },
128
- {
129
- label: '票券登录文案:',
130
- ele: 'el-input',
131
- type: 'text',
132
- valueKey: 'login_name',
133
- groupKey:'content',
134
- value: data.login_name || '',
135
- placeholder: '请输入票券登录文案',
136
- className: 'input80',
137
- inline: false,
138
- notice: '当未设置文案时候,前台页面显示为"<span style="color:red">登录</span>"'
139
- },
140
-
141
- {
142
- label: '失效卡列表地址:',
143
- ele: 'xd-select-pages-path',
144
- valueKey: 'disabled_url',
145
- groupKey:'advanced',
146
- placeholder: '请选择失效卡列表地址',
147
- value: data.disabled_url || null,
148
- setting: {
149
- router: XdBus.getParentApi('getPagesTree'),
150
- },
151
- inline: false,
152
- },
153
- {
154
- label: '卡券详情地址:',
155
- ele: 'xd-select-pages-path',
156
- valueKey: 'detail_url',
157
- groupKey:'advanced',
158
- placeholder: '请选择卡券详情地址',
159
- value: data.detail_url || null,
160
- setting: {
161
- router: XdBus.getParentApi('getPagesTree'),
162
- },
163
- inline: false,
164
- },
165
- {
166
- label: '卡券转换地址:',
167
- ele: 'xd-select-pages-path',
168
- valueKey: 'change_url',
169
- groupKey:'advanced',
170
- placeholder: '请选择卡券转换地址',
171
- value: data.change_url || null,
172
- setting: {
173
- router: XdBus.getParentApi('getPagesTree'),
174
- },
175
- inline: false,
176
- },
177
- {
178
- label: '卡券密码绑定地址:',
179
- ele: 'xd-select-pages-path',
180
- valueKey: 'bind_url',
181
- groupKey:'advanced',
182
- placeholder: '请选择卡券密码绑定地址',
183
- value: data.bind_url || null,
184
- setting: {
185
- router: XdBus.getParentApi('getPagesTree'),
186
- },
187
- inline: false,
188
- },
189
- {
190
- label: '扫码绑定卡券确认地址:',
191
- ele: 'xd-select-pages-path',
192
- valueKey: 'confirm_url',
193
- groupKey:'advanced',
194
- placeholder: '请选择扫码绑定卡券确认地址',
195
- value: data.confirm_url || null,
196
- setting: {
197
- router: XdBus.getParentApi('getPagesTree'),
198
- },
199
- inline: false,
200
- },
201
- {
202
- label: '综合福利入口页:',
203
- ele: 'xd-select-pages-path',
204
- valueKey: 'allEntryPath',
205
- groupKey:'advanced',
206
- placeholder: '请选择综合福利入口页',
207
- value: data.allEntryPath || null,
208
- setting: {
209
- router: XdBus.getParentApi('getPagesTree'),
210
- },
211
- inline: false,
212
- },
213
19
  {
214
20
  label: '提示内容:',
215
21
  ele: 'xd-site-news',
@@ -445,6 +251,226 @@ export default {
445
251
  {label: "否", value: "2"},
446
252
  ]
447
253
  },
254
+ {
255
+ ele: 'title',
256
+ label: '登录样式设置',
257
+ size: 'small',
258
+ groupKey: 'content',
259
+ },
260
+ {
261
+ label: '票券登录文案:',
262
+ ele: 'el-input',
263
+ type: 'text',
264
+ valueKey: 'login_name',
265
+ groupKey:'content',
266
+ value: data.login_name || '',
267
+ placeholder: '请输入票券登录文案',
268
+ className: 'input80',
269
+ inline: false,
270
+ notice: '当未设置文案时候,前台页面显示为"<span style="color:red">登录</span>",建议不超过<span style="color:red">4</span>个汉字'
271
+ },
272
+ {
273
+ label: '票券已登录文案:',
274
+ ele: 'el-input',
275
+ type: 'text',
276
+ valueKey: 'logged_name',
277
+ groupKey:'content',
278
+ value: data.logged_name || '',
279
+ placeholder: '请输入票券已登录文案',
280
+ className: 'input80',
281
+ inline: false,
282
+ notice: '当未设置文案时候,前台页面显示为"<span style="color:red">已登录</span>",建议不超过<span style="color:red">4</span>个汉字'
283
+ },
284
+ {
285
+ label: "登录文字大小",
286
+ ele: "el-input",
287
+ type: "number",
288
+ valueKey: "login_text_size",
289
+ groupKey: 'content',
290
+ value: data.login_text_size || '',
291
+ placeholder: "请输入登录文字大小",
292
+ className: "input80",
293
+ inline: false,
294
+ },
295
+ {
296
+ label: "登录字体颜色配置",
297
+ ele: 'xd-color',
298
+ valueKey: "login_text_color",
299
+ groupKey: 'content',
300
+ value: data.login_text_color || '',
301
+ className: "input80",
302
+ inline: false,
303
+ },
304
+ {
305
+ label: "登录背景颜色配置",
306
+ ele: 'xd-color',
307
+ valueKey: "login_text_bg_color",
308
+ groupKey: 'content',
309
+ value: data.login_text_bg_color || '',
310
+ className: "input80",
311
+ inline: false,
312
+ },
313
+ {
314
+ label: "登录按钮圆角配置",
315
+ ele: 'xd-site-select-list',
316
+ valueKey: "login_text_radius",
317
+ groupKey: 'content',
318
+ value: data.login_text_radius || '',
319
+ placeholder: '请选择内容圆角设置',
320
+ multiple: false,
321
+ className: 'input80',
322
+ handleCustom({action, data}) {
323
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
324
+ .then(res => {
325
+ data.cb(res.list)
326
+ })
327
+ .catch(error => {
328
+ console.error(error);
329
+ });
330
+ },
331
+ },
332
+
333
+ {
334
+ ele: 'title',
335
+ label: '查看样式设置',
336
+ size: 'small',
337
+ groupKey: 'content',
338
+ },
339
+ {
340
+ label: '票券查看文案:',
341
+ ele: 'el-input',
342
+ type: 'text',
343
+ valueKey: 'look_name',
344
+ groupKey:'content',
345
+ value: data.look_name || '',
346
+ placeholder: '请输入票券查看文案',
347
+ className: 'input80',
348
+ inline: false,
349
+ notice: '当未设置文案时候,前台页面显示为"<span style="color:red">查看</span>",建议不超过<span style="color:red">4</span>个汉字'
350
+ },
351
+ {
352
+ label: "查看文字大小",
353
+ ele: "el-input",
354
+ type: "number",
355
+ valueKey: "look_text_size",
356
+ groupKey: 'content',
357
+ value: data.look_text_size || '',
358
+ placeholder: "请输入登录文字大小",
359
+ className: "input80",
360
+ inline: false,
361
+ },
362
+ {
363
+ label: "查看字体颜色配置",
364
+ ele: 'xd-color',
365
+ valueKey: "look_text_color",
366
+ groupKey: 'content',
367
+ value: data.look_text_color || '',
368
+ className: "input80",
369
+ inline: false,
370
+ },
371
+ {
372
+ label: "查看背景颜色配置",
373
+ ele: 'xd-color',
374
+ valueKey: "look_text_bg_color",
375
+ groupKey: 'content',
376
+ value: data.look_text_bg_color || '',
377
+ className: "input80",
378
+ inline: false,
379
+ },
380
+ {
381
+ label: "查看按钮圆角配置",
382
+ ele: 'xd-site-select-list',
383
+ valueKey: "look_text_radius",
384
+ groupKey: 'content',
385
+ value: data.look_text_radius || '',
386
+ placeholder: '请选择内容圆角设置',
387
+ multiple: false,
388
+ className: 'input80',
389
+ handleCustom({action, data}) {
390
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
391
+ .then(res => {
392
+ data.cb(res.list)
393
+ })
394
+ .catch(error => {
395
+ console.error(error);
396
+ });
397
+ },
398
+ },
399
+
400
+
401
+ {
402
+ label: '失效卡列表地址:',
403
+ ele: 'xd-select-pages-path',
404
+ valueKey: 'disabled_url',
405
+ groupKey:'advanced',
406
+ placeholder: '请选择失效卡列表地址',
407
+ value: data.disabled_url || null,
408
+ setting: {
409
+ router: XdBus.getParentApi('getPagesTree'),
410
+ },
411
+ inline: false,
412
+ },
413
+ {
414
+ label: '卡券详情地址:',
415
+ ele: 'xd-select-pages-path',
416
+ valueKey: 'detail_url',
417
+ groupKey:'advanced',
418
+ placeholder: '请选择卡券详情地址',
419
+ value: data.detail_url || null,
420
+ setting: {
421
+ router: XdBus.getParentApi('getPagesTree'),
422
+ },
423
+ inline: false,
424
+ },
425
+ {
426
+ label: '卡券转换地址:',
427
+ ele: 'xd-select-pages-path',
428
+ valueKey: 'change_url',
429
+ groupKey:'advanced',
430
+ placeholder: '请选择卡券转换地址',
431
+ value: data.change_url || null,
432
+ setting: {
433
+ router: XdBus.getParentApi('getPagesTree'),
434
+ },
435
+ inline: false,
436
+ },
437
+ {
438
+ label: '卡券密码绑定地址:',
439
+ ele: 'xd-select-pages-path',
440
+ valueKey: 'bind_url',
441
+ groupKey:'advanced',
442
+ placeholder: '请选择卡券密码绑定地址',
443
+ value: data.bind_url || null,
444
+ setting: {
445
+ router: XdBus.getParentApi('getPagesTree'),
446
+ },
447
+ inline: false,
448
+ },
449
+ {
450
+ label: '扫码绑定卡券确认地址:',
451
+ ele: 'xd-select-pages-path',
452
+ valueKey: 'confirm_url',
453
+ groupKey:'advanced',
454
+ placeholder: '请选择扫码绑定卡券确认地址',
455
+ value: data.confirm_url || null,
456
+ setting: {
457
+ router: XdBus.getParentApi('getPagesTree'),
458
+ },
459
+ inline: false,
460
+ },
461
+ {
462
+ label: '综合福利入口页:',
463
+ ele: 'xd-select-pages-path',
464
+ valueKey: 'allEntryPath',
465
+ groupKey:'advanced',
466
+ placeholder: '请选择综合福利入口页',
467
+ value: data.allEntryPath || null,
468
+ setting: {
469
+ router: XdBus.getParentApi('getPagesTree'),
470
+ },
471
+ inline: false,
472
+ },
473
+
448
474
  ].filter(i => i)
449
475
  },
450
476
  };
@@ -137,17 +137,35 @@
137
137
  :key="index"
138
138
  @click="handleBindLogin(item)"
139
139
  class="jfb-base-card__body-card-item"
140
+ :style="{
141
+ backgroundColor:(item['is_login'] === 'Y'? mainBorderColor : '#fff'),
142
+ border:`1px solid ${item['is_login'] === 'Y'? mainSubBorderColor:'#eeeeee'}`
143
+ }"
140
144
  >
141
145
  <view class="jfb-base-card__body-card-item-left">
142
146
  <xd-font-icon
143
147
  size="100"
144
148
  :color="mainColor"
145
- icon="iconyouhuiquan1-011"
149
+ :icon="item['is_login'] === 'Y'?'iconkaquandengluchenggong':'iconyouhuiquan1-011'"
146
150
  ></xd-font-icon>
147
- <view class="login_style" :style="loginStyle">{{ tabIndex === 1 ? login_name : "转换" }}</view>
151
+ <view
152
+ class="login_style"
153
+ :style="{
154
+ backgroundColor:item['is_login'] === 'Y'?mainBorderColor:(login_text_bg_color||'#fff'),
155
+ fontSize: login_text_size + 'rpx',
156
+ color:item['is_login'] === 'Y'?mainColor:login_text_color,
157
+ borderRadius: login_text_radius + 'rpx'
158
+ }"
159
+ >{{ tabIndex === 1 ? (item['is_login'] === 'Y'? logged_name : login_name) : "转换" }}</view>
148
160
  </view>
149
- <view class="jfb-base-card__body-card-item-right">
150
- <view class="jfb-base-card__body-card-item-right-top">
161
+ <view
162
+ class="jfb-base-card__body-card-item-right"
163
+ :style="{borderColor: item['is_login'] === 'Y'? mainSubBorderColor:'#eeeeee'}"
164
+ >
165
+ <view
166
+ class="jfb-base-card__body-card-item-right-top"
167
+ :style="{borderColor: item['is_login'] === 'Y'? mainSubBorderColor:'#eeeeee'}"
168
+ >
151
169
  <view>
152
170
  <xd-font-icon
153
171
  icon="iconkaquan"
@@ -164,15 +182,13 @@
164
182
  </view>
165
183
  <view class="jfb-base-card__body-card-item-right-bottom">
166
184
  <view class="jfb-base-card__body-card-item-right-bottom-info">
167
- <view class="jfb-base-card__body-card-item-right-bottom-info-residue">
168
- 剩余{{ item.unit }}数:{{ item.card_point }}{{ item.unit }}
169
- </view>
185
+ <view class="jfb-base-card__body-card-item-right-bottom-info-residue">剩余{{ item.unit }}数:{{ item.card_point }}{{ item.unit }}</view>
170
186
  <view
171
187
  v-if="item.other_card_point && item.card_point_type !== 1"
172
188
  class="jfb-base-card__body-card-item-right-bottom-info-deduction"
173
189
  >购买其他物品可抵:{{ item.other_card_point }}</view>
174
190
  </view>
175
- <view @click.stop="toDetail(item)" :style="lookStyle">查看</view>
191
+ <view @click.stop="toDetail(item)" :style="lookStyle">{{look_name}}</view>
176
192
  </view>
177
193
  </view>
178
194
  </view>
@@ -180,13 +196,15 @@
180
196
  <template v-else>
181
197
  <xd-card-v2
182
198
  :login-name="login_name"
199
+ :logged-name="logged_name"
200
+ :look-name="look_name"
183
201
  v-for="(item, index) in showList"
184
202
  :mainColor="mainColor"
185
203
  :key="index"
186
204
  :cardInfo="item"
187
205
  :tabIndex="tabIndex"
188
- :loginStyle="loginStyle"
189
206
  :lookStyle="lookStyle"
207
+ :login-style="loginStyle"
190
208
  @toDetail="toDetail(item)"
191
209
  @bindLogin="handleBindLogin(item)">
192
210
  </xd-card-v2>
@@ -249,14 +267,17 @@ export default {
249
267
  jwxSDK: (state) => state.jwxSDK,
250
268
  jfbAuthorize: (state) => state.jfbAuthorize,
251
269
  }),
270
+
271
+ //布局2特殊样式,布局1在行内样式
252
272
  loginStyle(){
253
273
  let style = { backgroundColor: '#FFFFFF'};
254
274
  if(this.login_text_size) style['fontSize'] = this.login_text_size + 'rpx';
255
275
  if(this.login_text_color) style['color'] = this.login_text_color;
256
276
  if(this.login_text_bg_color) style['backgroundColor'] = this.login_text_bg_color;
257
277
  if(this.login_text_radius) style['borderRadius'] = this.login_text_radius + 'rpx'
258
- return this.styleObjectToString(style);
278
+ return style;
259
279
  },
280
+
260
281
  lookStyle(){
261
282
  let style = { backgroundColor: this.cardLayout === '2'? '' : this.mainColor};
262
283
  if(this.look_text_size) style['fontSize'] = this.look_text_size + 'rpx';
@@ -291,6 +312,8 @@ export default {
291
312
  return {
292
313
  options: {},
293
314
  inCallbackUrlOrg:'',//是否带有回调地址
315
+ mainBorderColor:'',
316
+ mainSubBorderColor:'',
294
317
 
295
318
  //提示文案
296
319
  noticeBackgroundColor: "",
@@ -315,6 +338,7 @@ export default {
315
338
  showIndex: false,
316
339
 
317
340
  //页面跳转地址
341
+ logged_name: '',
318
342
  login_name:'',//登录文案
319
343
  changeUrl: "",
320
344
  bindUrl: "",
@@ -326,6 +350,7 @@ export default {
326
350
  bindCard: '1',
327
351
 
328
352
  //样式
353
+ look_name:'',
329
354
  login_text_size: "",
330
355
  login_text_color: "",
331
356
  login_text_bg_color: "",
@@ -345,6 +370,8 @@ export default {
345
370
  created() {
346
371
  this.init(this.container);
347
372
  this.noticeBackgroundColor = Color(this.warningColor).alpha(0.2).toString();
373
+ this.mainBorderColor = Color(this.mainColor).alpha(0.05).toString();
374
+ this.mainSubBorderColor = Color(this.mainColor).alpha(0.1).toString();
348
375
  this.isPreview = this.$configProject.isPreview;
349
376
  this.isQrCode = isQrCode(this);
350
377
 
@@ -377,15 +404,18 @@ export default {
377
404
  this.detailUrl = getContainerPropsValue(container,"content.detail_url",{value: ""}).value;
378
405
  this.confirmUrl = getContainerPropsValue(container,"content.confirm_url",{value: ""}).value;
379
406
  this.allEntryPath = getContainerPropsValue(container,"content.allEntryPath",{value: ""}).value;
380
- this.login_name = getContainerPropsValue(container, "content.login_name", "登录");
381
407
 
382
408
  //登录样式
409
+ this.login_name = getContainerPropsValue(container, "content.login_name", "登录");
383
410
  this.login_text_size = getContainerPropsValue(container, 'content.login_text_size', 28);
384
411
  this.login_text_color = getContainerPropsValue(container, 'content.login_text_color', this.cardLayout==='2'? '#fff':'#333');
385
412
  this.login_text_bg_color = getContainerPropsValue(container, 'content.login_text_bg_color', this.cardLayout === '2'? this.mainColor:'');
386
413
  this.login_text_radius = getContainerPropsValue(container, 'content.login_text_radius', '20');
414
+ this.logged_name = getContainerPropsValue(container, 'content.logged_name', '已登录');
415
+
387
416
 
388
417
  //查看样式
418
+ this.look_name = getContainerPropsValue(container, 'content.look_name', '查看');
389
419
  this.look_text_size = getContainerPropsValue(container, 'content.look_text_size', 24);
390
420
  this.look_text_color = getContainerPropsValue(container, 'content.look_text_color', this.cardLayout==='2'? '#333':'#fff');
391
421
  this.look_text_bg_color = getContainerPropsValue(container, 'content.look_text_bg_color', this.cardLayout === '2'? '' :this.mainColor);
@@ -616,7 +646,6 @@ export default {
616
646
  this.disableList = [];
617
647
  this.changeList=[];
618
648
  this.showList = [];
619
- debugger
620
649
  this.onJfbLoad(options);
621
650
  },
622
651
 
@@ -806,11 +835,11 @@ export default {
806
835
 
807
836
  &-right {
808
837
  flex: 1;
809
- border-left: unit(2, rpx) solid #eeeeeeff;
838
+ border-left: unit(2, rpx) solid #eeeeee;
810
839
 
811
840
  &-top {
812
- border-bottom: unit(2, rpx) solid #eeeeeeff;
813
- padding: unit(30, rpx) unit(40, rpx);
841
+ border-bottom: unit(2, rpx) solid #eeeeee;
842
+ padding: unit(30, rpx) unit(20, rpx);
814
843
 
815
844
  & > view:nth-child(1) {
816
845
  display: flex;
@@ -832,7 +861,7 @@ export default {
832
861
  display: flex;
833
862
  justify-content: space-between;
834
863
  align-items: center;
835
- padding: unit(20, rpx) unit(40, rpx);
864
+ padding: unit(20, rpx) unit(20, rpx);
836
865
 
837
866
  &-info {
838
867
  &-residue {
@@ -847,14 +876,14 @@ export default {
847
876
  }
848
877
 
849
878
  & > view:nth-child(2) {
850
- width: unit(80, rpx);
879
+ min-width: unit(80, rpx);
851
880
  height: unit(40, rpx);
852
881
  border-radius: unit(40, rpx);
853
882
  font-size: unit(22, rpx);
854
883
  color: #fff;
855
884
  text-align: center;
856
885
  line-height: unit(40, rpx);
857
- padding: unit(5, rpx) unit(9, rpx);
886
+ padding: unit(4, rpx) unit(16, rpx);
858
887
  }
859
888
  }
860
889
  }
@@ -10,6 +10,7 @@ module.exports = {
10
10
  "unit": "点",
11
11
  "end_time": "2024-10-31 23:59:59",
12
12
  "is_valid": "Y",
13
+ "is_login":'Y',
13
14
  "main_product_name": "",
14
15
  "other_card_point": 0,
15
16
  "is_exchange": "N"
@@ -48,7 +49,7 @@ module.exports = {
48
49
  "card_point": 1400,
49
50
  "card_type_name": "聚福宝福卡测试蛋糕",
50
51
  "unit": "",
51
- "end_time": "2025-05-03 23:59:59",
52
+ "end_time": "2025-05-03",
52
53
  "is_valid": "Y",
53
54
  "main_product_name": "",
54
55
  "other_card_point": 0,
@@ -58,7 +59,7 @@ module.exports = {
58
59
  "card_point": 0,
59
60
  "card_type_name": "聚福宝测试C40",
60
61
  "unit": "次",
61
- "end_time": "2025-05-03 23:59:59",
62
+ "end_time": "2025-05-03",
62
63
  "is_valid": "Y",
63
64
  "main_product_name": "",
64
65
  "other_card_point": 0,
@@ -68,7 +69,7 @@ module.exports = {
68
69
  "card_point": 3600,
69
70
  "card_type_name": "聚福宝福卡测试蛋糕",
70
71
  "unit": "",
71
- "end_time": "2025-05-03 23:59:59",
72
+ "end_time": "2025-05-03",
72
73
  "is_valid": "Y",
73
74
  "main_product_name": "",
74
75
  "other_card_point": 0,
@@ -78,7 +79,7 @@ module.exports = {
78
79
  "card_point": 0,
79
80
  "card_type_name": "聚福宝测试C40",
80
81
  "unit": "次",
81
- "end_time": "2025-05-03 23:59:59",
82
+ "end_time": "2025-05-03",
82
83
  "is_valid": "Y",
83
84
  "main_product_name": "",
84
85
  "other_card_point": 0,
@@ -88,7 +89,7 @@ module.exports = {
88
89
  "card_point": 10000000,
89
90
  "card_type_name": "聚福宝福卡测试蛋糕",
90
91
  "unit": "点",
91
- "end_time": "2024-02-03 23:59:59",
92
+ "end_time": "2024-02-03",
92
93
  "is_valid": "Y",
93
94
  "main_product_name": "",
94
95
  "other_card_point": 0,
@@ -98,7 +99,7 @@ module.exports = {
98
99
  "card_point": 1000000,
99
100
  "card_type_name": "聚福宝福卡测试蛋糕",
100
101
  "unit": "点",
101
- "end_time": "2024-02-23 23:59:59",
102
+ "end_time": "2024-02-23",
102
103
  "is_valid": "Y",
103
104
  "main_product_name": "",
104
105
  "other_card_point": 0,
@@ -52,6 +52,8 @@ import JfbBaseCardBindMixin from "./JfbBaseCardBindMixin";
52
52
  import { Base64 } from "js-base64";
53
53
  import { getContainerPropsValue } from "@/utils/xd.base";
54
54
 
55
+
56
+ //未启用
55
57
  export default {
56
58
  name: "JfbBaseCardBind",
57
59
  components: {