jufubao-base 1.0.153 → 1.0.155-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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.153",
3
+ "version": "1.0.155-beta1",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -434,6 +434,17 @@ export default {
434
434
  }
435
435
  },
436
436
  },
437
+ {
438
+ label: "是否展示绑定卡区域",
439
+ ele: "xd-radio",
440
+ valueKey: "bindCard",
441
+ groupKey:'content',
442
+ value: data.bindCard || "1",
443
+ list: [
444
+ {label: "是", value: "1"},
445
+ {label: "否", value: "2"},
446
+ ]
447
+ },
437
448
  ].filter(i => i)
438
449
  },
439
450
  };
@@ -17,7 +17,7 @@
17
17
  </view>
18
18
  <!-- #endif -->
19
19
  <view class="jfb-base-card__body">
20
- <view class="jfb-base-card__body-cut">
20
+ <view v-if="bindCard==='1'" class="jfb-base-card__body-cut">
21
21
  <template v-if="isQrCode">
22
22
  <view
23
23
  class="jfb-base-card__body-cut-item"
@@ -321,6 +321,7 @@ export default {
321
321
  allEntryPath: "", //综合福利入口页
322
322
  disabledUrl: "",
323
323
  cardLayout: "1", //票券布局
324
+ bindCard: '1',
324
325
 
325
326
  //样式
326
327
  login_text_size: "",
@@ -367,6 +368,7 @@ export default {
367
368
  init(container){
368
369
  //设置
369
370
  this.cardLayout = getContainerPropsValue(container,"content.cardLayout","1");
371
+ this.bindCard = getContainerPropsValue(container,"content.bindCard","1");
370
372
  this.changeUrl = getContainerPropsValue(container,"content.change_url",{value: ""}).value;
371
373
  this.disabledUrl = getContainerPropsValue(container,"content.disabled_url",{value: ""}).value;
372
374
  this.bindUrl = getContainerPropsValue(container,"content.bind_url",{value: ""}).value;
@@ -241,6 +241,17 @@ export default {
241
241
  {label: "否", value: "N"},
242
242
  ]
243
243
  },
244
+ {
245
+ label: "是否展示绑定卡区域",
246
+ ele: "xd-radio",
247
+ valueKey: "bindCard",
248
+ groupKey:'content',
249
+ value: "1",
250
+ list: [
251
+ {label: "是", value: "1"},
252
+ {label: "否", value: "2"},
253
+ ]
254
+ },
244
255
  {
245
256
  label: '失效卡列表地址:',
246
257
  ele: 'xd-select-pages-path',
@@ -17,7 +17,7 @@
17
17
  </view>
18
18
  <!-- #endif -->
19
19
  <view class="jfb-base-card-entry__body">
20
- <view class="jfb-base-card-entry__body-cut">
20
+ <view v-if="bindCard==='1'" class="jfb-base-card-entry__body-cut">
21
21
  <template v-if="isQrCode">
22
22
  <view
23
23
  class="jfb-base-card-entry__body-cut-item"
@@ -439,6 +439,7 @@ export default {
439
439
  isBack: null, //是否使用返回键
440
440
  inCallback: null, //内部跳转地址
441
441
  isShowCode: 'Y',
442
+ bindCard: '1',
442
443
 
443
444
 
444
445
  //页面跳转地址
@@ -494,6 +495,7 @@ export default {
494
495
  this.confirmUrl = getContainerPropsValue(container,"content.confirm_url",{value: ""}).value;
495
496
  this.login_name = getContainerPropsValue(container, "content.login_name", "登录");
496
497
  this.isShowCode = getContainerPropsValue(container, "content.isShowCode", "Y");
498
+ this.bindCard = getContainerPropsValue(container,"content.bindCard","1");
497
499
  },
498
500
 
499
501
  handleToLink(path) {