jufubao-base 1.0.237-beta18 → 1.0.237-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 (131) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseBlock/Attr.js +479 -34
  3. package/src/components/JfbBaseBlock/JfbBaseBlock.vue +52 -9
  4. package/src/components/JfbBaseFastLink/Attr.js +1 -12
  5. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +0 -66
  6. package/src/components/JfbBaseHeader/Attr.js +0 -82
  7. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +1 -47
  8. package/src/components/JfbBaseHeaderColumn/Attr.js +0 -82
  9. package/src/components/JfbBaseHeaderColumn/JfbBaseHeaderColumn.vue +2 -48
  10. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +0 -11
  11. package/src/components/JfbBaseNoticeDialog/Api.js +1 -1
  12. package/src/components/JfbBaseNoticeDialog/Attr.js +0 -26
  13. package/src/components/JfbBaseNoticeDialog/JfbBaseNoticeDialog.vue +8 -27
  14. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +18 -179
  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 +1 -11
  19. package/src/components/JfbBasePoster/Attr.js +1 -1
  20. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +2 -2
  21. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +2 -12
  22. package/src/components/JfbBaseTfkSearch/ContentProduct.vue +22 -12
  23. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +1 -12
  24. package/src/components/JfbBaseTfkSearch/Mock.js +3 -51
  25. package/src/components/JfbBaseTfkSearch/listMixins.js +1 -2
  26. package/src/components/JfbBaseUserInfo/Attr.js +11 -175
  27. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +115 -337
  28. package/src/components/JfbBaseUserOrder/Attr.js +0 -16
  29. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +2 -11
  30. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +0 -10
  31. package/src/mixins/componentsMixins.js +117 -28
  32. package/src/components/JfbBaseBalance/Api.js +0 -46
  33. package/src/components/JfbBaseBalance/Attr.js +0 -316
  34. package/src/components/JfbBaseBalance/JfbBaseBalance.vue +0 -334
  35. package/src/components/JfbBaseBalance/JfbBaseBalanceLess.less +0 -79
  36. package/src/components/JfbBaseBalance/JfbBaseBalanceMixin.js +0 -30
  37. package/src/components/JfbBaseBalance/Mock.js +0 -9
  38. package/src/components/JfbBaseCodeOpenVip/Api.js +0 -35
  39. package/src/components/JfbBaseCodeOpenVip/Attr.js +0 -281
  40. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +0 -251
  41. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipLess.less +0 -79
  42. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipMixin.js +0 -30
  43. package/src/components/JfbBaseCodeOpenVip/Mock.js +0 -13
  44. package/src/components/JfbBaseConsumpCode/Api.js +0 -133
  45. package/src/components/JfbBaseConsumpCode/Attr.js +0 -61
  46. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +0 -1017
  47. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeLess.less +0 -79
  48. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeMixin.js +0 -30
  49. package/src/components/JfbBaseConsumpCode/Mock.js +0 -22
  50. package/src/components/JfbBaseNoticeGroup/Api.js +0 -23
  51. package/src/components/JfbBaseNoticeGroup/Attr.js +0 -237
  52. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroup.vue +0 -174
  53. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupLess.less +0 -79
  54. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupMixin.js +0 -30
  55. package/src/components/JfbBaseNoticeGroup/Mock.js +0 -13
  56. package/src/components/JfbBaseOpenVip/Api.js +0 -39
  57. package/src/components/JfbBaseOpenVip/Attr.js +0 -331
  58. package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +0 -457
  59. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipLess.less +0 -79
  60. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipMixin.js +0 -30
  61. package/src/components/JfbBaseOpenVip/Mock.js +0 -7
  62. package/src/components/JfbBaseOpenVip/XdVipList.vue +0 -131
  63. package/src/components/JfbBaseOpenVipCard/Api.js +0 -58
  64. package/src/components/JfbBaseOpenVipCard/Attr.js +0 -48
  65. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCard.vue +0 -111
  66. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardLess.less +0 -79
  67. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardMixin.js +0 -30
  68. package/src/components/JfbBaseOpenVipCard/Mock.js +0 -13
  69. package/src/components/JfbBaseOpenVipDetail/Api.js +0 -35
  70. package/src/components/JfbBaseOpenVipDetail/Attr.js +0 -37
  71. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +0 -234
  72. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailLess.less +0 -79
  73. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailMixin.js +0 -30
  74. package/src/components/JfbBaseOpenVipDetail/Mock.js +0 -15
  75. package/src/components/JfbBasePersonalData/Api.js +0 -26
  76. package/src/components/JfbBasePersonalData/Attr.js +0 -13
  77. package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +0 -200
  78. package/src/components/JfbBasePersonalData/JfbBasePersonalDataLess.less +0 -79
  79. package/src/components/JfbBasePersonalData/JfbBasePersonalDataMixin.js +0 -30
  80. package/src/components/JfbBasePersonalData/Mock.js +0 -13
  81. package/src/components/JfbBasePointsCard/Api.js +0 -18
  82. package/src/components/JfbBasePointsCard/Attr.js +0 -187
  83. package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +0 -212
  84. package/src/components/JfbBasePointsCard/JfbBasePointsCardLess.less +0 -79
  85. package/src/components/JfbBasePointsCard/JfbBasePointsCardMixin.js +0 -30
  86. package/src/components/JfbBasePointsCard/Mock.js +0 -5
  87. package/src/components/JfbBasePointsDetail/Api.js +0 -48
  88. package/src/components/JfbBasePointsDetail/Attr.js +0 -305
  89. package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +0 -267
  90. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailLess.less +0 -79
  91. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailMixin.js +0 -30
  92. package/src/components/JfbBasePointsDetail/Mock.js +0 -6
  93. package/src/components/JfbBasePosterGroup/Api.js +0 -22
  94. package/src/components/JfbBasePosterGroup/Attr.js +0 -156
  95. package/src/components/JfbBasePosterGroup/JfbBasePosterGroup.vue +0 -268
  96. package/src/components/JfbBasePosterGroup/JfbBasePosterGroupLess.less +0 -79
  97. package/src/components/JfbBasePosterGroup/JfbBasePosterGroupMixin.js +0 -30
  98. package/src/components/JfbBasePosterGroup/Mock.js +0 -13
  99. package/src/components/JfbBaseSavingDetail/Api.js +0 -41
  100. package/src/components/JfbBaseSavingDetail/Attr.js +0 -70
  101. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +0 -710
  102. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailLess.less +0 -79
  103. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailMixin.js +0 -30
  104. package/src/components/JfbBaseSavingDetail/Mock.js +0 -10
  105. package/src/components/JfbBaseSavingDetail/components/echarts.min.js +0 -26
  106. package/src/components/JfbBaseSavingDetail/components/echarts.vue +0 -254
  107. package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +0 -105
  108. package/src/components/JfbBaseShare/Api.js +0 -20
  109. package/src/components/JfbBaseShare/Attr.js +0 -14
  110. package/src/components/JfbBaseShare/JfbBaseShare.vue +0 -273
  111. package/src/components/JfbBaseShare/JfbBaseShareLess.less +0 -79
  112. package/src/components/JfbBaseShare/JfbBaseShareMixin.js +0 -30
  113. package/src/components/JfbBaseShare/Mock.js +0 -16
  114. package/src/components/JfbBaseWithDrawAgain/Api.js +0 -41
  115. package/src/components/JfbBaseWithDrawAgain/Attr.js +0 -92
  116. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +0 -354
  117. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainLess.less +0 -79
  118. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainMixin.js +0 -30
  119. package/src/components/JfbBaseWithDrawAgain/Mock.js +0 -10
  120. package/src/components/JfbBaseWithDrawRecord/Api.js +0 -19
  121. package/src/components/JfbBaseWithDrawRecord/Attr.js +0 -79
  122. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +0 -233
  123. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordLess.less +0 -79
  124. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordMixin.js +0 -30
  125. package/src/components/JfbBaseWithDrawRecord/Mock.js +0 -7
  126. package/src/components/JfbBaseWithdraw/Api.js +0 -48
  127. package/src/components/JfbBaseWithdraw/Attr.js +0 -328
  128. package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +0 -272
  129. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawLess.less +0 -79
  130. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawMixin.js +0 -30
  131. package/src/components/JfbBaseWithdraw/Mock.js +0 -7
@@ -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
  }
@@ -438,7 +438,6 @@ export default {
438
438
  showLogo: "Y", //是否显示logo
439
439
  customLogoUrl: {}, //自定义logo地址
440
440
  loginMenuMargin: {},
441
- share_code: "",
442
441
  };
443
442
  },
444
443
  computed: {
@@ -605,14 +604,6 @@ export default {
605
604
  },
606
605
 
607
606
  onJfbLoad(options) {
608
- if(options['x-common']){
609
- let decodeParams = Base64.decode(options['x-common']);
610
- try{
611
- let commonParams = JSON.parse(decodeParams);
612
- this.share_code = commonParams.share_code;
613
- }catch(e){}
614
- }
615
-
616
607
  this.$xdLog.setProject('JfbBaseLogin', 'JfbBaseLogin.onJfbLoad.start')
617
608
  this.redirect_url = options.redirect_url ? Base64.decode(options.redirect_url): '';
618
609
  this.isDebugPreview = options['x-test'] === 'jfb-tiyan';
@@ -988,7 +979,6 @@ export default {
988
979
  data: {
989
980
  raw_data,
990
981
  provider_id,
991
- share_code: this.share_code,
992
982
  },
993
983
  })
994
984
  .then(() => {
@@ -1041,7 +1031,6 @@ export default {
1041
1031
  provider_id: this.phoneLogin.provider_id,
1042
1032
  phone_number,
1043
1033
  verification_code,
1044
- share_code: this.share_code,
1045
1034
  },
1046
1035
  })
1047
1036
  .then((res) => {
@@ -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', '选填'],
@@ -247,32 +247,6 @@ export default {
247
247
  { label: '弹框', value: 'pop' },
248
248
  ]
249
249
  },
250
- {
251
- label: '展示位置:',
252
- ele: 'xd-radio',
253
- valueKey: 'systemType',
254
- groupKey:'content',
255
- value: data['systemType'] || 'fuli',
256
- placeholder: '请选择展示位置',
257
- className: 'input60',
258
- list: [
259
- { label: '福利系统', value: 'fuli' },
260
- { label: 'plus系统', value: 'plus' },
261
- ]
262
- },
263
- data['systemType']==='plus'&&{
264
- label: '展示方式:',
265
- ele: 'xd-radio',
266
- valueKey: 'showGroup',
267
- groupKey:'content',
268
- value: data['showGroup'] || 'all',
269
- placeholder: '请选择展示方式',
270
- className: 'input60',
271
- list: [
272
- { label: '全部用户', value: 'all' },
273
- { label: '仅会员', value: 'vip' },
274
- ]
275
- },
276
250
  {
277
251
  label: '是否隐藏弹框(仅预览模式生效):',
278
252
  ele: 'xd-radio',
@@ -84,9 +84,7 @@ export default {
84
84
  currentLinkUrl: "",
85
85
  currentIndex: 0,
86
86
  contentList: [],
87
- number: '',
88
- systemType: '',
89
- showGroup: ''
87
+ number: ''
90
88
  };
91
89
  },
92
90
  watch: {
@@ -136,26 +134,19 @@ export default {
136
134
 
137
135
  //弹窗显示
138
136
  if (res.list.length > 0) {
139
- this.contentList = res.list
137
+ this.contentList = res.list.map((item) => {
138
+ return JSON.parse(item.content);
139
+ });
140
140
  this.currentImage = getServiceUrl(
141
141
  this.contentList[0].image_url,
142
- "size8"
142
+ "size3"
143
143
  );
144
144
  this.currentLinkUrl = this.getLinkUrl(
145
145
  this.contentList[0].redirect_data
146
146
  );
147
147
  this.currentIndex = 0;
148
- if(this.systemType === 'fuli'){
149
- this.handlePop();
150
- } else {
151
- if(this.showGroup==='all') {
152
- this.handlePop();
153
- }else {
154
- if(this.getTokenForKey('user_level')&&this.getTokenForKey('user_level')==='VIP') {
155
- this.handlePop();
156
- }
157
- }
158
- }
148
+
149
+ this.handlePop();
159
150
  }
160
151
  })
161
152
  .catch((error) => {
@@ -184,16 +175,6 @@ export default {
184
175
  );
185
176
  this.type = getContainerPropsValue(container, "content.type", "pop");
186
177
  this.number = getContainerPropsValue(container, "content.number", 1);
187
- this.systemType = getContainerPropsValue(
188
- container,
189
- "content.systemType",
190
- "fuli"
191
- );
192
- this.showGroup = getContainerPropsValue(
193
- container,
194
- "content.showGroup",
195
- "all"
196
- );
197
178
  },
198
179
  handlePop() {
199
180
  console.warn(`this.time${this.time * 60 + "分钟"}`);
@@ -216,7 +197,7 @@ export default {
216
197
  );
217
198
  this.currentImage = getServiceUrl(
218
199
  this.contentList[this.currentIndex].image_url,
219
- "size8"
200
+ "size3"
220
201
  );
221
202
  },
222
203
  handleToLink() {