jufubao-base 1.0.237-beta9 → 1.0.238-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.
Files changed (128) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseCard/Attr.js +22 -0
  3. package/src/components/JfbBaseCard/JfbBaseCard.vue +10 -4
  4. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +0 -1
  5. package/src/components/JfbBaseFastLink/Attr.js +1 -12
  6. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +0 -66
  7. package/src/components/JfbBaseHeader/Attr.js +0 -82
  8. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +1 -47
  9. package/src/components/JfbBaseHeaderColumn/Attr.js +0 -82
  10. package/src/components/JfbBaseHeaderColumn/JfbBaseHeaderColumn.vue +2 -48
  11. package/src/components/JfbBaseMySetting/JfbBaseMySetting.vue +8 -0
  12. package/src/components/JfbBaseNoticeDialog/Api.js +1 -1
  13. package/src/components/JfbBaseNoticeDialog/Attr.js +0 -26
  14. package/src/components/JfbBaseNoticeDialog/JfbBaseNoticeDialog.vue +8 -27
  15. package/src/components/JfbBasePay/Attr.js +0 -52
  16. package/src/components/JfbBasePay/JfbBasePay.vue +4 -14
  17. package/src/components/JfbBasePay/Mock.js +9 -0
  18. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +0 -3
  19. package/src/components/JfbBasePoster/Attr.js +1 -1
  20. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +2 -2
  21. package/src/components/JfbBaseTfkSearch/ContentProduct.vue +22 -12
  22. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +1 -12
  23. package/src/components/JfbBaseTfkSearch/Mock.js +3 -51
  24. package/src/components/JfbBaseTfkSearch/listMixins.js +1 -2
  25. package/src/components/JfbBaseUserInfo/Attr.js +11 -175
  26. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +115 -337
  27. package/src/components/JfbBaseUserOrder/Attr.js +0 -16
  28. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +2 -11
  29. package/src/components/JfbBaseBalance/Api.js +0 -46
  30. package/src/components/JfbBaseBalance/Attr.js +0 -316
  31. package/src/components/JfbBaseBalance/JfbBaseBalance.vue +0 -334
  32. package/src/components/JfbBaseBalance/JfbBaseBalanceLess.less +0 -79
  33. package/src/components/JfbBaseBalance/JfbBaseBalanceMixin.js +0 -30
  34. package/src/components/JfbBaseBalance/Mock.js +0 -9
  35. package/src/components/JfbBaseCodeOpenVip/Api.js +0 -35
  36. package/src/components/JfbBaseCodeOpenVip/Attr.js +0 -281
  37. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +0 -251
  38. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipLess.less +0 -79
  39. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipMixin.js +0 -30
  40. package/src/components/JfbBaseCodeOpenVip/Mock.js +0 -13
  41. package/src/components/JfbBaseConsumpCode/Api.js +0 -133
  42. package/src/components/JfbBaseConsumpCode/Attr.js +0 -61
  43. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +0 -973
  44. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeLess.less +0 -79
  45. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeMixin.js +0 -30
  46. package/src/components/JfbBaseConsumpCode/Mock.js +0 -22
  47. package/src/components/JfbBaseNoticeGroup/Api.js +0 -58
  48. package/src/components/JfbBaseNoticeGroup/Attr.js +0 -48
  49. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroup.vue +0 -111
  50. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupLess.less +0 -79
  51. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupMixin.js +0 -30
  52. package/src/components/JfbBaseNoticeGroup/Mock.js +0 -13
  53. package/src/components/JfbBaseOpenVip/Api.js +0 -39
  54. package/src/components/JfbBaseOpenVip/Attr.js +0 -331
  55. package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +0 -457
  56. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipLess.less +0 -79
  57. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipMixin.js +0 -30
  58. package/src/components/JfbBaseOpenVip/Mock.js +0 -7
  59. package/src/components/JfbBaseOpenVip/XdVipList.vue +0 -131
  60. package/src/components/JfbBaseOpenVipCard/Api.js +0 -58
  61. package/src/components/JfbBaseOpenVipCard/Attr.js +0 -48
  62. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCard.vue +0 -111
  63. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardLess.less +0 -79
  64. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardMixin.js +0 -30
  65. package/src/components/JfbBaseOpenVipCard/Mock.js +0 -13
  66. package/src/components/JfbBaseOpenVipDetail/Api.js +0 -35
  67. package/src/components/JfbBaseOpenVipDetail/Attr.js +0 -37
  68. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +0 -234
  69. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailLess.less +0 -79
  70. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailMixin.js +0 -30
  71. package/src/components/JfbBaseOpenVipDetail/Mock.js +0 -15
  72. package/src/components/JfbBasePersonalData/Api.js +0 -26
  73. package/src/components/JfbBasePersonalData/Attr.js +0 -36
  74. package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +0 -198
  75. package/src/components/JfbBasePersonalData/JfbBasePersonalDataLess.less +0 -79
  76. package/src/components/JfbBasePersonalData/JfbBasePersonalDataMixin.js +0 -30
  77. package/src/components/JfbBasePersonalData/Mock.js +0 -13
  78. package/src/components/JfbBasePointsCard/Api.js +0 -18
  79. package/src/components/JfbBasePointsCard/Attr.js +0 -187
  80. package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +0 -212
  81. package/src/components/JfbBasePointsCard/JfbBasePointsCardLess.less +0 -79
  82. package/src/components/JfbBasePointsCard/JfbBasePointsCardMixin.js +0 -30
  83. package/src/components/JfbBasePointsCard/Mock.js +0 -5
  84. package/src/components/JfbBasePointsDetail/Api.js +0 -48
  85. package/src/components/JfbBasePointsDetail/Attr.js +0 -304
  86. package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +0 -267
  87. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailLess.less +0 -79
  88. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailMixin.js +0 -30
  89. package/src/components/JfbBasePointsDetail/Mock.js +0 -6
  90. package/src/components/JfbBasePosterGroup/Api.js +0 -22
  91. package/src/components/JfbBasePosterGroup/Attr.js +0 -156
  92. package/src/components/JfbBasePosterGroup/JfbBasePosterGroup.vue +0 -268
  93. package/src/components/JfbBasePosterGroup/JfbBasePosterGroupLess.less +0 -79
  94. package/src/components/JfbBasePosterGroup/JfbBasePosterGroupMixin.js +0 -30
  95. package/src/components/JfbBasePosterGroup/Mock.js +0 -13
  96. package/src/components/JfbBaseSavingDetail/Api.js +0 -41
  97. package/src/components/JfbBaseSavingDetail/Attr.js +0 -70
  98. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +0 -702
  99. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailLess.less +0 -79
  100. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailMixin.js +0 -30
  101. package/src/components/JfbBaseSavingDetail/Mock.js +0 -10
  102. package/src/components/JfbBaseSavingDetail/components/echarts.min.js +0 -26
  103. package/src/components/JfbBaseSavingDetail/components/echarts.vue +0 -254
  104. package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +0 -105
  105. package/src/components/JfbBaseShare/Api.js +0 -20
  106. package/src/components/JfbBaseShare/Attr.js +0 -14
  107. package/src/components/JfbBaseShare/JfbBaseShare.vue +0 -272
  108. package/src/components/JfbBaseShare/JfbBaseShareLess.less +0 -79
  109. package/src/components/JfbBaseShare/JfbBaseShareMixin.js +0 -30
  110. package/src/components/JfbBaseShare/Mock.js +0 -16
  111. package/src/components/JfbBaseWithDrawAgain/Api.js +0 -41
  112. package/src/components/JfbBaseWithDrawAgain/Attr.js +0 -92
  113. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +0 -334
  114. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainLess.less +0 -79
  115. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainMixin.js +0 -30
  116. package/src/components/JfbBaseWithDrawAgain/Mock.js +0 -10
  117. package/src/components/JfbBaseWithDrawRecord/Api.js +0 -19
  118. package/src/components/JfbBaseWithDrawRecord/Attr.js +0 -79
  119. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +0 -233
  120. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordLess.less +0 -79
  121. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordMixin.js +0 -30
  122. package/src/components/JfbBaseWithDrawRecord/Mock.js +0 -7
  123. package/src/components/JfbBaseWithdraw/Api.js +0 -48
  124. package/src/components/JfbBaseWithdraw/Attr.js +0 -328
  125. package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +0 -261
  126. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawLess.less +0 -79
  127. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawMixin.js +0 -30
  128. package/src/components/JfbBaseWithdraw/Mock.js +0 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.237-beta9",
3
+ "version": "1.0.238-beta1",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -16,6 +16,28 @@ export default {
16
16
  {label: "布局2", value: "2"},
17
17
  ]
18
18
  },
19
+ {
20
+ label: '选择综合入口类型:',
21
+ ele: 'xd-site-select-list',
22
+ valueKey: 'entryGroupId',
23
+ value: data.entryGroupId || 'default',
24
+ placeholder: '请选择综合入口类型',
25
+ multiple: false,
26
+ groupKey:'content',
27
+ className: 'input50',
28
+ rules: [
29
+ {required: true, message: '请选择综合入口类型', trigger: ['blur', 'change']}
30
+ ],
31
+ handleCustom({action, data}) {
32
+ XdBus.getParentApi('getEntryGroupOption')({key: Date.now()})
33
+ .then(res => {
34
+ data.cb(res.list)
35
+ })
36
+ .catch(error => {
37
+ console.error(error);
38
+ });
39
+ },
40
+ },
19
41
  {
20
42
  label: '提示内容:',
21
43
  ele: 'xd-site-news',
@@ -123,7 +123,7 @@
123
123
  >可转换票券</view>
124
124
  <view class="debuger" v-if="cardList.length === 0" @click="openDebugger(true)" style="opacity: 0">debuger</view>
125
125
  </view>
126
-
126
+
127
127
  </view>
128
128
  <view
129
129
  class="jfb-base-card__body-tips"
@@ -375,6 +375,9 @@ export default {
375
375
  changeList: [], //可转化卡列表
376
376
  disableList: [], //不可用卡列表
377
377
  inCallback: null, //内部跳转地址
378
+ businessList:{
379
+
380
+ },
378
381
  loadingCardList: true,
379
382
  showIndex: false,
380
383
 
@@ -409,7 +412,8 @@ export default {
409
412
  popup: "https://img.zcool.cn/community/01784158abe781a801219c77e981ee.jpg?x-oss-process=image/auto-orient,1/resize,m_lfit,w_1280,limit_1/sharpen,100",
410
413
  buy_name: '',
411
414
  isShowBuy: 'N',
412
- buy_new_url: ''
415
+ buy_new_url: '',
416
+ entryGroupId:'default'
413
417
  };
414
418
  },
415
419
  created() {
@@ -449,6 +453,7 @@ export default {
449
453
  this.detailUrl = getContainerPropsValue(container,"content.detail_url",{value: ""}).value;
450
454
  this.confirmUrl = getContainerPropsValue(container,"content.confirm_url",{value: ""}).value;
451
455
  this.allEntryPath = getContainerPropsValue(container,"content.allEntryPath",{value: ""}).value;
456
+ this.entryGroupId = getContainerPropsValue(container,"content.entryGroupId","default");
452
457
 
453
458
  //登录样式
454
459
  this.login_name = getContainerPropsValue(container, "content.login_name", "登录");
@@ -467,7 +472,7 @@ export default {
467
472
  this.look_text_radius = getContainerPropsValue(container, 'content.look_text_radius', '20');
468
473
 
469
474
  this.isShowBuy = getContainerPropsValue(container, "content.isShowBuy", "N");
470
- this.buy_name = getContainerPropsValue(container, "content.buy_name", "购买新卡");
475
+ this.buy_name = getContainerPropsValue(container, "content.buy_name", "购买新卡");
471
476
  this.buy_new_url = getContainerPropsValue(container,"content.buy_new_url",{value: ""}).value;
472
477
  this.show_coupon_tab = getContainerPropsValue(container, "content.show_coupon_tab", "N");
473
478
  },
@@ -640,13 +645,14 @@ export default {
640
645
  },
641
646
 
642
647
  getCardList(options) {
643
- let params = {is_all: 'Y'};
648
+ let params = {is_all: 'Y',is_show_entry_settings: 'Y'};
644
649
  if(options['jfb_business_code']) {
645
650
  params['card_business_code'] = options['jfb_business_code'];
646
651
  }
647
652
  if(this.show_coupon_tab === 'Y'){
648
653
  params.show_type = this.show_type;
649
654
  }
655
+ if(this.entryGroupId && this.show_type === 'normal') params['group_id'] = this.entryGroupId;
650
656
  this.$xdShowLoading({});
651
657
  jfbRootExec("getListCardBind", {
652
658
  vm: this,
@@ -785,7 +785,6 @@ export default {
785
785
  }
786
786
  },
787
787
 
788
-
789
788
  getCardPath(custom_redirect_data = {}){
790
789
  //#ifdef H5
791
790
  return null;
@@ -24,8 +24,7 @@ export default {
24
24
  multiple: false,
25
25
  className: 'input80',
26
26
  list: [
27
- {label: '垂直', value: 'noraml'},
28
- {label: '水平', value: 'horizontal'},
27
+ {label: '平铺', value: 'noraml'},
29
28
  {label: '悬浮', value: 'fixed'},
30
29
  ],
31
30
  inline: false,
@@ -54,16 +53,6 @@ export default {
54
53
  placeholder: '请输入自定义名称',
55
54
  className: 'input80',
56
55
  },
57
- {
58
- label: '自定义服务名称:',
59
- ele: 'el-input',
60
- type: 'text',
61
- groupKey:'content',
62
- valueKey: 'customName',
63
- value: data['customName']? data['customName']: '我的服务',
64
- placeholder: '请输入自定义服务名称',
65
- className: 'input80',
66
- },
67
56
  {
68
57
  label: '背景颜色:',
69
58
  ele: 'xd-color',
@@ -56,22 +56,6 @@
56
56
  :layoutInfo="layoutInfo"
57
57
  ></xd-fast-nav>
58
58
  </template>
59
- <template v-if="is_layout === 'horizontal'">
60
- <view :style="[horizontalStyle]">
61
- <view class="x-line"></view>
62
- <view class="fast-link__horizontal-title">{{customName}}</view>
63
- <view class="fast-link__horizontal" v-if="list.length > 0">
64
- <view :style="[horizontalItemStyle]" class="fast-link__horizontal-item" v-for="item in list" :key="item.key" @click="handleClick(item)">
65
- <view class="fast-link__horizontal-item-icon" v-if="item.icon">
66
- <xd-font-icon :color="iconColor" :size="item.size" :icon="item.icon"></xd-font-icon>
67
- </view>
68
- <view class="fast-link__horizontal-item-text" :style="{color: color, fontSize: fontSize + 'rpx'}">
69
- <view>{{item.name}}</view>
70
- </view>
71
- </view>
72
- </view>
73
- </view>
74
- </template>
75
59
  </view>
76
60
  </view>
77
61
  </template>
@@ -123,8 +107,6 @@
123
107
  margin: {},
124
108
  padding:{},
125
109
  rowSpacing: 20, //间距
126
-
127
- customName: '我的服务'
128
110
  }
129
111
  },
130
112
  watch: {
@@ -135,22 +117,6 @@
135
117
  },
136
118
 
137
119
  computed: {
138
- horizontalStyle(){
139
- let border = 0;
140
- if (this.is_border === 'Y') border = `${this.is_border_w}rpx solid ${this.is_border_c}`;
141
- return {
142
- margin: this.getMarginAndPadding(this.margin, 20),
143
- padding:this.getMarginAndPadding(this.padding, 20),
144
- border,
145
- background: this.backgroundColor,
146
- borderRadius: this.radius + 'rpx',
147
- }
148
- },
149
- horizontalItemStyle(){
150
- return {
151
- marginBottom: this.rowSpacing + 'rpx',
152
- }
153
- },
154
120
  bodyStyle(){
155
121
  let margin = `${this.checkValue(this.margin.top, 20)}rpx`;
156
122
  margin = `${margin} ${this.checkValue(this.margin.right, 20)}rpx`;
@@ -233,7 +199,6 @@
233
199
  this.subColor = getContainerPropsValue(container, 'content.textSubColor', '#000');
234
200
  this.fontSubSize = getContainerPropsValue(container, 'content.fontSubSize', 24);
235
201
  this.isNotExpand = getContainerPropsValue(container, 'content.isNotExpand', 'Y');
236
- this.customName = getContainerPropsValue(container, 'content.customName', '我的服务');
237
202
  if(this.is_layout === 'fixed') {
238
203
  this.listNave = this.list.map(item=>{
239
204
  let {appValue,path} = item.path
@@ -263,14 +228,6 @@
263
228
  return index < 3
264
229
  });
265
230
 
266
- } else if(this.is_layout === 'horizontal'){
267
- const remainder = this.list.length % 4;
268
- if (remainder !== 0) {
269
- const needed = 4 - remainder;
270
- for (let i = 0; i < needed; i++) {
271
- this.list.push({}); // 或者你可以插入其他默认值
272
- }
273
- }
274
231
  }
275
232
  },
276
233
  }
@@ -328,29 +285,6 @@
328
285
  align-items: center;
329
286
  }
330
287
  }
331
- &__horizontal {
332
- display: flex;
333
- justify-content: space-around;
334
- flex-wrap: wrap;
335
- &-title {
336
- color: #000000;
337
- font-size: 26rpx;
338
- font-weight: 500;
339
- margin-bottom: 43rpx;
340
- padding-left: 36rpx;
341
- }
342
- &-item {
343
- display: flex;
344
- flex-direction: column;
345
- justify-content: center;
346
- align-items: center;
347
- box-sizing: border-box;
348
- width: 25%;
349
- &-icon {
350
- margin-bottom: 22rpx;
351
- }
352
- }
353
- }
354
288
  }
355
289
 
356
290
  </style>
@@ -300,28 +300,6 @@ export default {
300
300
  groupKey:'style',
301
301
  hidden: true,
302
302
  },
303
- {
304
- label: "是否展示二维码",
305
- ele: "xd-radio",
306
- valueKey: "showQrcode",
307
- value: data.showQrcode || "N",
308
- list: [
309
- {label: "不显示", value: "N"},
310
- {label: "显示", value: "Y"}
311
- ],
312
- groupKey:'content',
313
- },
314
- {
315
- label: "是否展示扫一扫",
316
- ele: "xd-radio",
317
- valueKey: "showScan",
318
- value: data.showScan || "N",
319
- list: [
320
- {label: "不显示", value: "N"},
321
- {label: "显示", value: "Y"}
322
- ],
323
- groupKey:'content',
324
- },
325
303
  {
326
304
  label: "是否展示快捷入口",
327
305
  ele: "xd-radio",
@@ -378,40 +356,6 @@ export default {
378
356
  placeholder: '请选择快捷入口背景颜色',
379
357
  classNmae: 'input80',
380
358
  },
381
- data.showQrcode === 'Y' && {
382
- ele: 'title',
383
- label: '二维码样式设置',
384
- size: 'small',
385
- groupKey:'style',
386
- },
387
- data.showQrcode === 'Y' && {
388
- label: "二维码大小:",
389
- ele: "el-input",
390
- valueKey: "qrcodeSize",
391
- value: data.qrcodeSize || 32,
392
- type: "number",
393
- groupKey: "style",
394
- },
395
- data.showQrcode === 'Y' && {
396
- label: "二维码图标颜色:",
397
- ele: 'xd-color',
398
- valueKey: "qrCodeColor",
399
- groupKey:'style',
400
- value: data.qrCodeColor || '',
401
- },
402
- data.showScan === 'Y' && {
403
- ele: "title",
404
- label: "扫一扫样式设置",
405
- size: "small",
406
- groupKey: "style",
407
- },
408
- data.showScan === 'Y' && {
409
- label: "扫一扫图标颜色:",
410
- ele: 'xd-color',
411
- valueKey: "scanIconColor",
412
- value: data.scanIconColor || '',
413
- groupKey:'style',
414
- },
415
359
  {
416
360
  label: '是否有边框:',
417
361
  ele: 'xd-radio',
@@ -485,32 +429,6 @@ export default {
485
429
  notice:'<div><span style="color:red">客服类型</span>不需要配置</div>',
486
430
  inline: false,
487
431
  },
488
- {
489
- label: '二维码跳转链接:',
490
- ele: 'xd-select-pages-path',
491
- valueKey: 'qrcodePath',
492
- groupKey:'advanced',
493
- placeholder: '选择二维码跳转链接',
494
- value: data['qrcodePath'] || null,
495
- setting: {
496
- router: XdBus.getParentApi('getPagesTree'),
497
- },
498
- inline: false,
499
- hidden: data.showQrcode === 'N'
500
- },
501
- {
502
- label: "扫一扫跳转链接:",
503
- ele: 'xd-select-pages-path',
504
- valueKey: "scanPath",
505
- groupKey:'advanced',
506
- placeholder: '选择扫一扫跳转链接',
507
- value: data['scanPath'] || null,
508
- setting: {
509
- router: XdBus.getParentApi('getPagesTree'),
510
- },
511
- inline: false,
512
- hidden: data.showScan === 'N'
513
- },
514
432
  {
515
433
  label: '',
516
434
  ele: 'slot',
@@ -60,9 +60,6 @@
60
60
  :key="showLocationKey"
61
61
  ></xd-city-show-api>
62
62
  </view>
63
- <view v-if="showScan==='Y'" class="scan_in" @click.stop="handleScanClick">
64
- <xd-font-icon :size="32" :color="scanIconColor" icon="iconsaoma1"></xd-font-icon>
65
- </view>
66
63
  <xd-font-icon v-if="searchIconPosition==='left'" :icon="icon" :color="iconColor" size="32"/>
67
64
  <input
68
65
  v-if="useSearch==='Y'"
@@ -81,9 +78,6 @@
81
78
  @click.stop="doSearch"
82
79
  >{{searchBtnText || '搜索'}}</view>
83
80
  </view>
84
- <view v-if="showQrcode==='Y'" class="qr_code" @click.stop="handleQrCodeClick">
85
- <xd-font-icon :size="qrcodeSize" icon="iconerweima" :color="qrCodeColor"></xd-font-icon>
86
- </view>
87
81
  <view v-if="showSearchBtn==='Y' && searchBtnPosition==='out'"
88
82
  class="search_btn_out"
89
83
  :style="[searchBtnStyle]"
@@ -202,13 +196,6 @@
202
196
  searchBoxRadius: 30,
203
197
  bottomBorder: "",
204
198
  inputBorder: "",
205
- showQrcode: "",
206
- qrcodeSize: 32,
207
- qrcodePath: "",
208
- qrCodeColor: "",
209
- showScan: "",
210
- scanIconColor: "",
211
- scanPath: "",
212
199
  }
213
200
  },
214
201
  watch: {
@@ -239,11 +226,7 @@
239
226
  this.useSearch = getContainerPropsValue(container, "content.useSearch", "Y");
240
227
  this.searchPagePath = getContainerPropsValue(container, "content.searchPagePath", {value:""}).value;
241
228
  this.choseCityPath = getContainerPropsValue(container, "content.choseCityPath", {value:""}).value;
242
- this.showQrcode = getContainerPropsValue(container, "content.showQrcode", "");
243
- this.qrcodeSize = getContainerPropsValue(container, "content.qrcodeSize", 32);
244
- this.qrCodeColor = getContainerPropsValue(container, "content.qrCodeColor", "#333");
245
- this.showScan = getContainerPropsValue(container, "content.showScan", "");
246
- this.scanIconColor = getContainerPropsValue(container, "content.scanIconColor", "#333");
229
+
247
230
 
248
231
  //基础
249
232
  this.backgroundColor = getContainerPropsValue(container, "content.backgroundColor", '#fff');
@@ -280,8 +263,6 @@
280
263
  this.showQuickEntry = getContainerPropsValue(container, 'content.showQuickEntry', "N");
281
264
  this.quickEntryType = getContainerPropsValue(container, 'content.quickEntryType', "");
282
265
  this.quickEntryPath = getContainerPropsValue(container, 'content.quickEntryPath', {value:""}).value;
283
- this.qrcodePath = getContainerPropsValue(container, 'content.qrcodePath', {value:""}).value;
284
- this.scanPath = getContainerPropsValue(container, 'content.scanPath', {value:""}).value;
285
266
 
286
267
  let name , logo, platform_logo;
287
268
  if (this.projectAttr['site_name']) name = this.projectAttr['site_name'];
@@ -320,16 +301,6 @@
320
301
  })
321
302
  }
322
303
  },
323
- handleQrCodeClick(){
324
- this.$xdUniHelper.navigateTo({
325
- url: this.qrcodePath
326
- })
327
- },
328
- handleScanClick(){
329
- this.$xdUniHelper.navigateTo({
330
- url: this.scanPath
331
- })
332
- },
333
304
 
334
305
  /***
335
306
  * @description 定位完成事件
@@ -475,20 +446,6 @@
475
446
  padding: 0;
476
447
  }
477
448
  }
478
- .scan_in{
479
- position: relative;
480
- padding-right: 28rpx;
481
- margin-right: 20rpx;
482
- &::before{
483
- content: " ";
484
- position: absolute;
485
- width: 2rpx;
486
- height: 100%;
487
- background-color: #CCCCCC;
488
- right: -0rpx;
489
- top: 0rpx;
490
- }
491
- }
492
449
  .search_input{
493
450
  flex: 1;
494
451
  text-align: left;
@@ -522,9 +479,6 @@
522
479
  align-items: center;
523
480
  justify-content: center;
524
481
  }
525
- .qr_code{
526
- margin-left: 16rpx;
527
- }
528
482
  }
529
483
  }
530
484
  }
@@ -312,28 +312,6 @@ export default {
312
312
  groupKey:'style',
313
313
  hidden: true,
314
314
  },
315
- {
316
- label: "是否展示二维码",
317
- ele: "xd-radio",
318
- valueKey: "showQrcode",
319
- value: data.showQrcode || "N",
320
- list: [
321
- {label: "不显示", value: "N"},
322
- {label: "显示", value: "Y"}
323
- ],
324
- groupKey:'content',
325
- },
326
- {
327
- label: "是否展示扫一扫",
328
- ele: "xd-radio",
329
- valueKey: "showScan",
330
- value: data.showScan || "N",
331
- list: [
332
- {label: "不显示", value: "N"},
333
- {label: "显示", value: "Y"}
334
- ],
335
- groupKey:'content',
336
- },
337
315
  {
338
316
  label: "是否展示快捷入口",
339
317
  ele: "xd-radio",
@@ -390,40 +368,6 @@ export default {
390
368
  placeholder: '请选择快捷入口背景颜色',
391
369
  classNmae: 'input80',
392
370
  },
393
- data.showQrcode === 'Y' && {
394
- ele: 'title',
395
- label: '二维码样式设置',
396
- size: 'small',
397
- groupKey:'style',
398
- },
399
- data.showQrcode === 'Y' && {
400
- label: "二维码大小:",
401
- ele: "el-input",
402
- valueKey: "qrcodeSize",
403
- value: data.qrcodeSize || 32,
404
- type: "number",
405
- groupKey: "style",
406
- },
407
- data.showQrcode === 'Y' && {
408
- label: "二维码图标颜色:",
409
- ele: 'xd-color',
410
- valueKey: "qrCodeColor",
411
- groupKey:'style',
412
- value: data.qrCodeColor || '',
413
- },
414
- data.showScan === 'Y' && {
415
- ele: "title",
416
- label: "扫一扫样式设置",
417
- size: "small",
418
- groupKey: "style",
419
- },
420
- data.showScan === 'Y' && {
421
- label: "扫一扫图标颜色:",
422
- ele: 'xd-color',
423
- valueKey: "scanIconColor",
424
- value: data.scanIconColor || '',
425
- groupKey:'style',
426
- },
427
371
  {
428
372
  label: '是否有边框:',
429
373
  ele: 'xd-radio',
@@ -497,32 +441,6 @@ export default {
497
441
  notice:'<div><span style="color:red">客服类型</span>不需要配置</div>',
498
442
  inline: false,
499
443
  },
500
- {
501
- label: '二维码跳转链接:',
502
- ele: 'xd-select-pages-path',
503
- valueKey: 'qrcodePath',
504
- groupKey:'advanced',
505
- placeholder: '选择二维码跳转链接',
506
- value: data['qrcodePath'] || null,
507
- setting: {
508
- router: XdBus.getParentApi('getPagesTree'),
509
- },
510
- inline: false,
511
- hidden: data.showQrcode === 'N'
512
- },
513
- {
514
- label: "扫一扫跳转链接:",
515
- ele: 'xd-select-pages-path',
516
- valueKey: "scanPath",
517
- groupKey:'advanced',
518
- placeholder: '选择扫一扫跳转链接',
519
- value: data['scanPath'] || null,
520
- setting: {
521
- router: XdBus.getParentApi('getPagesTree'),
522
- },
523
- inline: false,
524
- hidden: data.showScan === 'N'
525
- },
526
444
  {
527
445
  label: '',
528
446
  ele: 'slot',
@@ -66,9 +66,6 @@
66
66
  :key="showLocationKey"
67
67
  ></xd-city-show-api>
68
68
  </view>
69
- <view v-if="showScan==='Y'" class="scan_in" @click.stop="handleScanClick">
70
- <xd-font-icon :size="32" :color="scanIconColor" icon="iconsaoma1"></xd-font-icon>
71
- </view>
72
69
  <xd-font-icon v-if="searchIconPosition==='left'" :icon="icon" :color="iconColor" size="32"/>
73
70
  <input
74
71
  v-if="useSearch==='Y'"
@@ -87,9 +84,6 @@
87
84
  @click.stop="doSearch"
88
85
  >{{searchBtnText || '搜索'}}</view>
89
86
  </view>
90
- <view v-if="showQrcode==='Y'" class="qr_code" @click.stop="handleQrCodeClick">
91
- <xd-font-icon :size="qrcodeSize" icon="iconerweima" :color="qrCodeColor"></xd-font-icon>
92
- </view>
93
87
  <view v-if="showSearchBtn==='Y' && searchBtnPosition==='out'"
94
88
  class="search_btn_out"
95
89
  :style="[searchBtnStyle]"
@@ -218,13 +212,6 @@
218
212
  searchBoxRadius: 30,
219
213
  bottomBorder: "",
220
214
  inputBorder: "",
221
- showQrcode: "",
222
- qrcodeSize: 32,
223
- qrcodePath: "",
224
- qrCodeColor: "",
225
- showScan: "",
226
- scanIconColor: "",
227
- scanPath: "",
228
215
  }
229
216
  },
230
217
  watch: {
@@ -256,11 +243,8 @@
256
243
  this.useSearch = getContainerPropsValue(container, "content.useSearch", "Y");
257
244
  this.searchPagePath = getContainerPropsValue(container, "content.searchPagePath", {value:""}).value;
258
245
  this.choseCityPath = getContainerPropsValue(container, "content.choseCityPath", {value:""}).value;
259
- this.showQrcode = getContainerPropsValue(container, "content.showQrcode", "");
260
- this.qrcodeSize = getContainerPropsValue(container, "content.qrcodeSize", 32);
261
- this.qrCodeColor = getContainerPropsValue(container, "content.qrCodeColor", "#333");
262
- this.showScan = getContainerPropsValue(container, "content.showScan", "");
263
- this.scanIconColor = getContainerPropsValue(container, "content.scanIconColor", "#333");
246
+
247
+
264
248
  //基础
265
249
  this.backgroundColor = getContainerPropsValue(container, "content.backgroundColor", '#fff');
266
250
  this.icon = getContainerPropsValue(container, "content.icon", 'iconsousuo_mian');
@@ -298,8 +282,6 @@
298
282
  this.showQuickEntry = getContainerPropsValue(container, 'content.showQuickEntry', "N");
299
283
  this.quickEntryType = getContainerPropsValue(container, 'content.quickEntryType', "");
300
284
  this.quickEntryPath = getContainerPropsValue(container, 'content.quickEntryPath', {value:""}).value;
301
- this.qrcodePath = getContainerPropsValue(container, 'content.qrcodePath', {value:""}).value;
302
- this.scanPath = getContainerPropsValue(container, 'content.scanPath', {value:""}).value;
303
285
 
304
286
  let name , logo, platform_logo;
305
287
  if (this.projectAttr['site_name']) name = this.projectAttr['site_name'];
@@ -338,16 +320,6 @@
338
320
  })
339
321
  }
340
322
  },
341
- handleQrCodeClick(){
342
- this.$xdUniHelper.navigateTo({
343
- url: this.qrcodePath
344
- })
345
- },
346
- handleScanClick(){
347
- this.$xdUniHelper.navigateTo({
348
- url: this.scanPath
349
- })
350
- },
351
323
 
352
324
  /***
353
325
  * @description 定位完成事件
@@ -505,20 +477,6 @@
505
477
  padding: 0;
506
478
  }
507
479
  }
508
- .scan_in{
509
- position: relative;
510
- padding-right: 28rpx;
511
- margin-right: 20rpx;
512
- &::before{
513
- content: " ";
514
- position: absolute;
515
- width: 2rpx;
516
- height: 100%;
517
- background-color: #CCCCCC;
518
- right: -0rpx;
519
- top: 0rpx;
520
- }
521
- }
522
480
  .search_input{
523
481
  flex: 1;
524
482
  text-align: left;
@@ -552,10 +510,6 @@
552
510
  align-items: center;
553
511
  justify-content: center;
554
512
  }
555
-
556
- .qr_code{
557
- margin-left: 16rpx;
558
- }
559
513
  }
560
514
  }
561
515
  }
@@ -108,6 +108,14 @@
108
108
  },
109
109
  handleToBind(){
110
110
  if(!this.phone_number){
111
+ if(!this.bind_phone_url) {
112
+ this.$xdAlert({
113
+ content: '跳转地址未设置',
114
+ isClose: false,
115
+ iconShow: false
116
+ });
117
+ return
118
+ }
111
119
  this.$xdUniHelper.navigateTo({
112
120
  url: this.bind_phone_url + `?callback_url=${encodeURIComponent(location.href)}`,
113
121
  });
@@ -8,7 +8,7 @@ module.exports = [
8
8
  {
9
9
  mapFnName: 'getListNoticeDialogContent', //自定义方法名字(必选)
10
10
  title: '获取内容',
11
- path: '/cms/v1/ad-content',
11
+ path: '/cms/v1/news-content',
12
12
  isRule: false,
13
13
  params: {
14
14
  scene: ['使用场景', 'String', '选填'],