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
@@ -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() {
@@ -8,58 +8,6 @@ export default {
8
8
  advanced: [],
9
9
  content: data=>{
10
10
  return [
11
- {
12
- label: "【仍需扣点】文案:",
13
- ele: "el-input",
14
- valueKey: "text1",
15
- value: data.text1 || "仍需扣点",
16
- groupKey: "content",
17
- inline: false,
18
- className: "input80",
19
- },
20
- {
21
- label: "【(可使用多张票券点数)】是否展示",
22
- ele: 'xd-radio',
23
- valueKey: "showText2",
24
- value: data.showText2 || 'Y',
25
- groupKey: "content",
26
- inline: true,
27
- list: [
28
- { label: "展示", value: "Y" },
29
- { label: "不展示", value: "N" },
30
- ],
31
- },
32
- data.showText2 === 'Y' && {
33
- label: "【(可使用多张票券点数)】文案:",
34
- ele: "el-input",
35
- valueKey: "text2",
36
- value: data.text2 || '(可使用多张票券点数)',
37
- placeholder: '(可使用多张票券点数)',
38
- groupKey: "content",
39
- inline: false,
40
- className: "input80",
41
- },
42
- {
43
- label: "【选择以下补差方式】文案:",
44
- ele: "el-input",
45
- valueKey: "text3",
46
- value: data.text3 || '选择以下补差方式',
47
- groupKey: "content",
48
- inline: false,
49
- className: "input80",
50
- },
51
- {
52
- label: "是否展示继续补差",
53
- ele: "xd-radio",
54
- valueKey: "showContinuePay",
55
- value: data.showContinuePay || 'Y',
56
- groupKey: "content",
57
- inline: true,
58
- list: [
59
- { label: "展示", value: "Y" },
60
- { label: "不展示", value: "N" },
61
- ],
62
- },
63
11
  ...styleForm.getForm(data),
64
12
  {
65
13
  label: '支付成功跳转路径:', //label
@@ -100,7 +100,7 @@
100
100
  <view class="remain_pay" v-if="payInfo.channel_amount > 0">
101
101
  <view style="border-bottom: 2rpx solid #eee;" class="column-group">
102
102
  <view class="column-item" style="padding: 30rpx 60rpx">
103
- <view class="column_label">{{text1}}<text v-if="showText2==='Y'" class="label_sub">{{ text2 }}</text></view>
103
+ <view class="column_label">仍需扣点<text class="label_sub">(可使用多张票券点数)</text></view>
104
104
  <view class="column_value text-primary">
105
105
  <xd-unit
106
106
  :price="payInfo.channel_amount"
@@ -112,8 +112,8 @@
112
112
  </view>
113
113
  </view>
114
114
  <view class="remain_header">
115
- <view>{{ text3 }}</view>
116
- <view v-if="showContinuePay==='Y'" class="flex align-center text-primary">
115
+ <view>选择以下补差方式</view>
116
+ <view class="flex align-center text-primary">
117
117
  <view class="margin-right">继续补差</view>
118
118
  <xd-unit
119
119
  :price="payInfo.channel_amount"
@@ -212,12 +212,7 @@ export default {
212
212
  rechargeSuccessPath: "", //充值成功
213
213
  ...styleForm.getDataItem(),
214
214
  borderColor:'rgba(0,0,0,0)',
215
- options:{},
216
- text1: "",
217
- text2: "",
218
- text3: "",
219
- showText2: "Y",
220
- showContinuePay: "",
215
+ options:{}
221
216
  };
222
217
  },
223
218
  watch: {
@@ -267,11 +262,6 @@ export default {
267
262
  * @param container {object} 业务组件对象自己
268
263
  */
269
264
  init(container) {
270
- this.text1 = getContainerPropsValue(container, 'content.text1', "仍需扣点");
271
- this.text2 = getContainerPropsValue(container, 'content.text2', "(可使用多张票券点数)");
272
- this.text3 = getContainerPropsValue(container, 'content.text3', "选择以下补差方式");
273
- this.showText2 = getContainerPropsValue(container, 'content.showText2', "Y");
274
- this.showContinuePay = getContainerPropsValue(container, 'content.showContinuePay', 'Y');
275
265
  this.paySuccessPath = getContainerPropsValue(
276
266
  container,
277
267
  "content.pay_success_path",
@@ -24,6 +24,15 @@ module.exports = {
24
24
  "card_use_price": 10000,
25
25
  "use_card_point": "5000"
26
26
  },
27
+ {
28
+ "card_number": "101001000005195",
29
+ "card_type_name": "聚福宝福卡测试蛋糕",
30
+ "end_time": 1679034403,
31
+ "card_point": 5000,
32
+ "is_bind_card": true,
33
+ "card_use_price": 10000,
34
+ "use_card_point": "5000"
35
+ },
27
36
  ],
28
37
  },
29
38
  getBaseOrderStatus:{},
@@ -207,7 +207,6 @@ export default {
207
207
  callback_url: "",
208
208
  isCollectUsername: false,
209
209
  showDialog: false,
210
- share_code: "",
211
210
 
212
211
  inputStyle: "linear", //输入框样式 linear:线性 face: 面性
213
212
  formBorderColor: "#F9F9F9", //
@@ -368,7 +367,6 @@ export default {
368
367
  this.auth_code = options.auth_code;
369
368
  this.provider_id = options.provider_id;
370
369
  this.callback_url = options.callback_url;
371
- this.share_code = options.share_code;
372
370
  },
373
371
  /**
374
372
  * @description 监听事件变化
@@ -564,7 +562,6 @@ export default {
564
562
  auth_code,
565
563
  provider_id,
566
564
  phone_number,
567
- share_code,
568
565
  }
569
566
  }).then(res => {
570
567
  this.$xdHideLoading();
@@ -264,7 +264,7 @@ export default {
264
264
  size: 'small',
265
265
  groupKey:'content',
266
266
  },
267
- showBg && params.poster && params.poster['type'] && {
267
+ showBg && params.poster && params.poster['type']&& params.poster['type'] !== '1' && {
268
268
  label: '广告背景图:',
269
269
  ele: 'xd-upload',
270
270
  valueKey: 'background',
@@ -112,7 +112,7 @@
112
112
  }"
113
113
  >
114
114
  <view
115
- v-if="topIsCarousel === 1 "
115
+ v-if="topIsCarousel === 1 && topList.lenght > 0"
116
116
  :style="{
117
117
  width: bigWidth + 'rpx',
118
118
  height: smallHeight + 'rpx',
@@ -190,7 +190,7 @@
190
190
  }"
191
191
  >
192
192
  <view
193
- v-if="bottomIsCarousel === 1 "
193
+ v-if="bottomIsCarousel === 1 && bottomList.lenght > 0"
194
194
  :style="{
195
195
  width: bigWidth + 'rpx',
196
196
  height: smallHeight + 'rpx',
@@ -28,13 +28,25 @@
28
28
  </view>
29
29
  <view class="prodcut-content-btn" v-if="isBtn">
30
30
  <view :class="{onePrice: cell === 1}">
31
- <CusPrice
32
- v-if="productConfig.isPrice === 'Y'"
33
- type="two"
34
- :showPrice="item['show_prices']"
35
- :isShowIcon="productConfig.isShowIcon"
36
- :isPlus="productConfig.is_plus_site">
37
- </CusPrice>
31
+ <view v-if="productConfig.isPrice === 'Y'">
32
+ <xd-unit
33
+ :price="(item['promo_price'] || item['sale_price'])"
34
+ :isOld="false"
35
+ :iconSize="0.3"
36
+ :fontSize="36"
37
+ />
38
+ </view>
39
+ <view
40
+ v-if="productConfig.isShowDiscount==='Y' && checkDiscountPrice"
41
+ :style="{color:oldPriceColor}" class="oldPrice">
42
+ <xd-unit
43
+ :price="dividePrice"
44
+ :iconSize="0.21"
45
+ :fontSize="24"
46
+ delete-line
47
+ is-gray
48
+ />
49
+ </view>
38
50
  </view>
39
51
  <view>
40
52
  <view @click.stop="handleDetail()" v-if="productConfig.isAddCart === 'Y'">
@@ -56,15 +68,13 @@ import getServiceUrl from "@/common/getServiceUrl";
56
68
  import XdFontIcon from "@/components/XdFontIcon/XdFontIcon.vue";
57
69
  import XdProductStatus from "@/components/XdProductStatus/XdProductStatus";
58
70
  import XdUnit from "@/components/XdUnit/XdUnit.vue";
59
- import CusPrice from "@/components/CusPrice/CusPrice";
60
71
 
61
72
  export default {
62
73
  name: "ContentProduct",
63
74
  components:{
64
75
  XdFontIcon,
65
76
  XdUnit,
66
- XdProductStatus,
67
- CusPrice
77
+ XdProductStatus
68
78
  },
69
79
  props:{
70
80
  keyword:{
@@ -240,10 +250,10 @@ export default {
240
250
  & > view:first-child {
241
251
  flex: 1;
242
252
  & > view:first-child {
253
+ height: 40rpx;
243
254
  display: flex;
244
- flex-direction: column;
245
255
  justify-content: flex-start;
246
- align-items: flex-start;
256
+ align-items: center;
247
257
  overflow: hidden;
248
258
  }
249
259
  & > view:nth-child(2) {
@@ -73,7 +73,6 @@
73
73
  import listMixins from "./listMixins";
74
74
  import CustomList from "./CustomList.vue";
75
75
  import AllList from "./AllList.vue";
76
- import { mapState } from 'vuex';
77
76
 
78
77
  class EmitParent {
79
78
  constructor(options) {
@@ -87,7 +86,7 @@
87
86
  CustomList,
88
87
  XdFontIcon,
89
88
  AllList,
90
- XdSearchHistory,
89
+ XdSearchHistory
91
90
  },
92
91
  mixins: [
93
92
  componentsMixins, extsMixins, JfbBaseTfkSearchMixin,listMixins
@@ -128,13 +127,9 @@
128
127
  allModuleItemContRadius: 16,
129
128
  allModuleItemContBgColor: "#FFFFFF",
130
129
  emitParent:{},
131
- is_plus_site: false
132
130
  }
133
131
  },
134
132
  computed: {
135
- ...mapState({
136
- siteInfo: state => state.siteInfo,
137
- }),
138
133
  showMenuList(){
139
134
  return [{label: "全部", value: "all"}, ...this.menuList]
140
135
  },
@@ -236,7 +231,6 @@
236
231
  return this;
237
232
  }
238
233
  })
239
- this.is_plus_site = this.projectAttr.headers['X-Site-Group']==="vip";
240
234
  this.init(this.container);
241
235
  this.cusInit(this.container);
242
236
  },
@@ -252,11 +246,6 @@
252
246
  if(this.tabId === 'all'){
253
247
  data['search_range'] = this.searchScope.map(item => item.value.split("@")[0]).join(',');
254
248
  }
255
- if(this.productConfig.isShowDiscount==='Y'){
256
- data.is_show_uprice=this.$xdUniHelper.multiplyFloatNumber(this.productConfig.differ,100)
257
- } else {
258
- data.is_show_uprice=-1
259
- }
260
249
 
261
250
  jfbRootExec("getTfkSearchList", {
262
251
  vm: this,
@@ -28,18 +28,6 @@ module.exports = {
28
28
  sale_price: 3000,
29
29
  status: "ok",
30
30
  thumb: "/uploads/20231215/b2ce0235129aa592044f96343f25c338.jpeg",
31
- show_prices: [
32
- {
33
- "p": 6500,
34
- "n": "PLUS价",
35
- "t": "S"
36
- },
37
- {
38
- "p": 7500,
39
- "n": "原价",
40
- "t": "U"
41
- }
42
- ]
43
31
  },
44
32
  {
45
33
  brand_id: 30000,
@@ -55,19 +43,7 @@ module.exports = {
55
43
  sale_price: 2195,
56
44
  status: "ok",
57
45
  thumb:
58
- "https://img1.winxuancdn.com/1305/10251305_9.jpg?1530683968642",
59
- show_prices: [
60
- {
61
- "p": 8500,
62
- "n": "PLUS价",
63
- "t": "S"
64
- },
65
- {
66
- "p": 7500,
67
- "n": "原价",
68
- "t": "U"
69
- }
70
- ]
46
+ "https://img1.winxuancdn.com/1305/10251305_9.jpg?1530683968642"
71
47
  },
72
48
  {
73
49
  brand_id: 30000,
@@ -83,19 +59,7 @@ module.exports = {
83
59
  sale_price: 4219,
84
60
  status: "ok",
85
61
  thumb:
86
- "https://img2.winxuancdn.com/9564/10309564_9.jpg?1530754178039",
87
- show_prices: [
88
- {
89
- "p": 100,
90
- "n": "PLUS价",
91
- "t": "S"
92
- },
93
- {
94
- "p": 200,
95
- "n": "原价",
96
- "t": "U"
97
- }
98
- ]
62
+ "https://img2.winxuancdn.com/9564/10309564_9.jpg?1530754178039"
99
63
  },
100
64
  {
101
65
  brand_id: 30000,
@@ -111,19 +75,7 @@ module.exports = {
111
75
  sale_price: 4388,
112
76
  status: "ok",
113
77
  thumb:
114
- "https://img3.winxuancdn.com/9416/10309416_9.jpg?1530754178039",
115
- show_prices: [
116
- {
117
- "p": 100,
118
- "n": "PLUS价",
119
- "t": "S"
120
- },
121
- {
122
- "p": 200,
123
- "n": "原价",
124
- "t": "U"
125
- }
126
- ]
78
+ "https://img3.winxuancdn.com/9416/10309416_9.jpg?1530754178039"
127
79
  }
128
80
  ]
129
81
  },
@@ -24,8 +24,7 @@ export default {
24
24
  let differ = getContainerPropsValue(container, 'content.differ', 1);
25
25
  let showActivityPrice = getContainerPropsValue(container, 'content.showActivityPrice', 'N');
26
26
  let isShowExchange = getContainerPropsValue(container, 'content.isShowExchange', 'N');
27
- let isShowIcon = this.siteInfo.mapping.is_show_coin_icon==='Y'
28
- this.productConfig = {is_show_brand, isPrice, isShowTag, isShowDiscount, isAddCart, differ, showActivityPrice, isShowExchange,is_plus_site: this.is_plus_site,isShowIcon};
27
+ this.productConfig = {is_show_brand, isPrice, isShowTag, isShowDiscount, isAddCart, differ, showActivityPrice, isShowExchange};
29
28
 
30
29
  //内容
31
30
  let brandColor = getContainerPropsValue(container, 'content.brandColor', '#aaa');