jufubao-base 1.0.239-beta2 → 1.0.239

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 (129) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseFastLink/Attr.js +1 -12
  3. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +0 -66
  4. package/src/components/JfbBaseHeader/Attr.js +0 -82
  5. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +1 -47
  6. package/src/components/JfbBaseHeaderColumn/Attr.js +0 -82
  7. package/src/components/JfbBaseHeaderColumn/JfbBaseHeaderColumn.vue +2 -48
  8. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +13 -15
  9. package/src/components/JfbBaseNoticeDialog/Api.js +1 -1
  10. package/src/components/JfbBaseNoticeDialog/Attr.js +0 -26
  11. package/src/components/JfbBaseNoticeDialog/JfbBaseNoticeDialog.vue +9 -28
  12. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +18 -174
  13. package/src/components/JfbBasePay/Attr.js +0 -52
  14. package/src/components/JfbBasePay/JfbBasePay.vue +6 -30
  15. package/src/components/JfbBasePay/Mock.js +9 -0
  16. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +2 -1
  17. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +19 -11
  18. package/src/components/JfbBasePoster/Attr.js +1 -1
  19. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +2 -2
  20. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +2 -7
  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/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +0 -10
  30. package/src/components/JfbBaseBalance/Api.js +0 -46
  31. package/src/components/JfbBaseBalance/Attr.js +0 -316
  32. package/src/components/JfbBaseBalance/JfbBaseBalance.vue +0 -334
  33. package/src/components/JfbBaseBalance/JfbBaseBalanceLess.less +0 -79
  34. package/src/components/JfbBaseBalance/JfbBaseBalanceMixin.js +0 -30
  35. package/src/components/JfbBaseBalance/Mock.js +0 -9
  36. package/src/components/JfbBaseCodeOpenVip/Api.js +0 -35
  37. package/src/components/JfbBaseCodeOpenVip/Attr.js +0 -281
  38. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +0 -251
  39. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipLess.less +0 -79
  40. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipMixin.js +0 -30
  41. package/src/components/JfbBaseCodeOpenVip/Mock.js +0 -13
  42. package/src/components/JfbBaseConsumpCode/Api.js +0 -133
  43. package/src/components/JfbBaseConsumpCode/Attr.js +0 -61
  44. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +0 -1048
  45. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeLess.less +0 -79
  46. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeMixin.js +0 -30
  47. package/src/components/JfbBaseConsumpCode/Mock.js +0 -22
  48. package/src/components/JfbBaseNoticeGroup/Api.js +0 -23
  49. package/src/components/JfbBaseNoticeGroup/Attr.js +0 -237
  50. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroup.vue +0 -174
  51. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupLess.less +0 -79
  52. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupMixin.js +0 -30
  53. package/src/components/JfbBaseNoticeGroup/Mock.js +0 -13
  54. package/src/components/JfbBaseOpenVip/Api.js +0 -39
  55. package/src/components/JfbBaseOpenVip/Attr.js +0 -331
  56. package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +0 -457
  57. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipLess.less +0 -79
  58. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipMixin.js +0 -30
  59. package/src/components/JfbBaseOpenVip/Mock.js +0 -7
  60. package/src/components/JfbBaseOpenVip/XdVipList.vue +0 -131
  61. package/src/components/JfbBaseOpenVipCard/Api.js +0 -58
  62. package/src/components/JfbBaseOpenVipCard/Attr.js +0 -48
  63. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCard.vue +0 -111
  64. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardLess.less +0 -79
  65. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardMixin.js +0 -30
  66. package/src/components/JfbBaseOpenVipCard/Mock.js +0 -13
  67. package/src/components/JfbBaseOpenVipDetail/Api.js +0 -35
  68. package/src/components/JfbBaseOpenVipDetail/Attr.js +0 -37
  69. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +0 -234
  70. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailLess.less +0 -79
  71. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailMixin.js +0 -30
  72. package/src/components/JfbBaseOpenVipDetail/Mock.js +0 -15
  73. package/src/components/JfbBasePersonalData/Api.js +0 -26
  74. package/src/components/JfbBasePersonalData/Attr.js +0 -13
  75. package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +0 -200
  76. package/src/components/JfbBasePersonalData/JfbBasePersonalDataLess.less +0 -79
  77. package/src/components/JfbBasePersonalData/JfbBasePersonalDataMixin.js +0 -30
  78. package/src/components/JfbBasePersonalData/Mock.js +0 -13
  79. package/src/components/JfbBasePointsCard/Api.js +0 -18
  80. package/src/components/JfbBasePointsCard/Attr.js +0 -187
  81. package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +0 -212
  82. package/src/components/JfbBasePointsCard/JfbBasePointsCardLess.less +0 -79
  83. package/src/components/JfbBasePointsCard/JfbBasePointsCardMixin.js +0 -30
  84. package/src/components/JfbBasePointsCard/Mock.js +0 -5
  85. package/src/components/JfbBasePointsDetail/Api.js +0 -48
  86. package/src/components/JfbBasePointsDetail/Attr.js +0 -305
  87. package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +0 -267
  88. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailLess.less +0 -79
  89. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailMixin.js +0 -30
  90. package/src/components/JfbBasePointsDetail/Mock.js +0 -6
  91. package/src/components/JfbBasePosterGroup/Api.js +0 -22
  92. package/src/components/JfbBasePosterGroup/Attr.js +0 -156
  93. package/src/components/JfbBasePosterGroup/JfbBasePosterGroup.vue +0 -268
  94. package/src/components/JfbBasePosterGroup/JfbBasePosterGroupLess.less +0 -79
  95. package/src/components/JfbBasePosterGroup/JfbBasePosterGroupMixin.js +0 -30
  96. package/src/components/JfbBasePosterGroup/Mock.js +0 -13
  97. package/src/components/JfbBaseSavingDetail/Api.js +0 -41
  98. package/src/components/JfbBaseSavingDetail/Attr.js +0 -70
  99. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +0 -710
  100. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailLess.less +0 -79
  101. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailMixin.js +0 -30
  102. package/src/components/JfbBaseSavingDetail/Mock.js +0 -10
  103. package/src/components/JfbBaseSavingDetail/components/echarts.min.js +0 -26
  104. package/src/components/JfbBaseSavingDetail/components/echarts.vue +0 -254
  105. package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +0 -105
  106. package/src/components/JfbBaseShare/Api.js +0 -20
  107. package/src/components/JfbBaseShare/Attr.js +0 -59
  108. package/src/components/JfbBaseShare/JfbBaseShare.vue +0 -276
  109. package/src/components/JfbBaseShare/JfbBaseShareLess.less +0 -79
  110. package/src/components/JfbBaseShare/JfbBaseShareMixin.js +0 -30
  111. package/src/components/JfbBaseShare/Mock.js +0 -16
  112. package/src/components/JfbBaseWithDrawAgain/Api.js +0 -41
  113. package/src/components/JfbBaseWithDrawAgain/Attr.js +0 -92
  114. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +0 -354
  115. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainLess.less +0 -79
  116. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainMixin.js +0 -30
  117. package/src/components/JfbBaseWithDrawAgain/Mock.js +0 -10
  118. package/src/components/JfbBaseWithDrawRecord/Api.js +0 -19
  119. package/src/components/JfbBaseWithDrawRecord/Attr.js +0 -79
  120. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +0 -233
  121. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordLess.less +0 -79
  122. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordMixin.js +0 -30
  123. package/src/components/JfbBaseWithDrawRecord/Mock.js +0 -7
  124. package/src/components/JfbBaseWithdraw/Api.js +0 -48
  125. package/src/components/JfbBaseWithdraw/Attr.js +0 -328
  126. package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +0 -272
  127. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawLess.less +0 -79
  128. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawMixin.js +0 -30
  129. 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.239-beta2",
3
+ "version": "1.0.239",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -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
  }
@@ -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';
@@ -651,7 +642,7 @@ export default {
651
642
  this.phone_number_collect_url = getContainerPropsValue(value, "content.phone_number_collect_url", {value: ''}).value;
652
643
  this.forget_pwd_url = getContainerPropsValue(value, "content.forget_pwd_url", {value: ''}).value;
653
644
  this.error_callback_url = getContainerPropsValue(value, "content.error_url", {value: ''}).value;
654
- this.mpAuthPhoneUrl = getContainerPropsValue(value, "content.mpAuthPhoneUrl", {value: '/system/login/wxauthorize'}).value;
645
+ this.mpAuthPhoneUrl = getContainerPropsValue(value, "content.mpAuthPhoneUrl", {value: ''}).value;
655
646
  this.isPreview = getContainerPropsValue(value, "content.isPreview", 'N');
656
647
  this.logoHeight = getContainerPropsValue(value, "content.logoHeight", '180');
657
648
  this.logoRadius = getContainerPropsValue(value, "content.logoRadius", '0');
@@ -793,11 +784,19 @@ export default {
793
784
  .then((res) => {
794
785
  let { redirect_url, callback_url } = this;
795
786
  //if (redirect_url) redirect_url = redirect_url;
796
- let url = Base64.encodeURI(redirect_url || callback_url || this.settings.index);
787
+ let url = encodeURIComponent(redirect_url || callback_url || this.settings.index);
788
+ let regUrl = this.phone_number_login_url;
789
+ let collect = this.phone_number_collect_url;
790
+ debugger
791
+ if(this.mpAuthPhoneUrl){
792
+ regUrl = this.mpAuthPhoneUrl;
793
+ collect = this.mpAuthPhoneUrl;
794
+ }
795
+
797
796
  //需要授权操作
798
797
  if (res.auth_code) {
799
798
  this.$xdUniHelper.navigateTo({
800
- url: `${this.mpAuthPhoneUrl}?auth_code=${res.auth_code}&provider_id=${this.quickLogin.provider_id}&url=${url}`,
799
+ url: `${regUrl}?auth_code=${res.auth_code}&provider_id=${this.quickLogin.provider_id}&callback_url=${url}`,
801
800
  });
802
801
  }
803
802
  //无需授权直接进行登录
@@ -806,8 +805,9 @@ export default {
806
805
  this.jfbAuthorize.setAllToken(res["login_info"], () => {
807
806
  //需要收集手机号码
808
807
  if(res['is_collect_phone_number'] === 'Y'){
808
+ let urlStr = `${collect}?provider_id=${this.quickLogin.provider_id}&callback_url=${url}`;
809
809
  this.$xdUniHelper.navigateTo({
810
- url: `${this.mpAuthPhoneUrl}?provider_id=${this.quickLogin.provider_id}&url=${url}`,
810
+ url: urlStr,
811
811
  });
812
812
  }
813
813
  else{
@@ -988,7 +988,6 @@ export default {
988
988
  data: {
989
989
  raw_data,
990
990
  provider_id,
991
- share_code: this.share_code,
992
991
  },
993
992
  })
994
993
  .then(() => {
@@ -1041,7 +1040,6 @@ export default {
1041
1040
  provider_id: this.phoneLogin.provider_id,
1042
1041
  phone_number,
1043
1042
  verification_code,
1044
- share_code: this.share_code,
1045
1043
  },
1046
1044
  })
1047
1045
  .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',