jufubao-base 1.0.232-beta2 → 1.0.232-beta4

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 (95) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseBalance/Api.js +58 -0
  3. package/src/components/JfbBaseBalance/Attr.js +48 -0
  4. package/src/components/JfbBaseBalance/JfbBaseBalance.vue +111 -0
  5. package/src/components/JfbBaseBalance/JfbBaseBalanceLess.less +79 -0
  6. package/src/components/JfbBaseBalance/JfbBaseBalanceMixin.js +30 -0
  7. package/src/components/JfbBaseBalance/Mock.js +13 -0
  8. package/src/components/JfbBaseCardDelay/JfbBaseCardDelay.vue +30 -29
  9. package/src/components/JfbBaseCodeOpenVip/Api.js +58 -0
  10. package/src/components/JfbBaseCodeOpenVip/Attr.js +250 -0
  11. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +213 -0
  12. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipLess.less +79 -0
  13. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipMixin.js +30 -0
  14. package/src/components/JfbBaseCodeOpenVip/Mock.js +13 -0
  15. package/src/components/JfbBaseConsumpCode/Api.js +58 -0
  16. package/src/components/JfbBaseConsumpCode/Attr.js +48 -0
  17. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +657 -0
  18. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeLess.less +79 -0
  19. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeMixin.js +30 -0
  20. package/src/components/JfbBaseConsumpCode/Mock.js +13 -0
  21. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +16 -7
  22. package/src/components/JfbBaseOpenVip/Api.js +58 -0
  23. package/src/components/JfbBaseOpenVip/Attr.js +250 -0
  24. package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +363 -0
  25. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipLess.less +79 -0
  26. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipMixin.js +30 -0
  27. package/src/components/JfbBaseOpenVip/Mock.js +13 -0
  28. package/src/components/JfbBaseOpenVip/XdVipList.vue +81 -0
  29. package/src/components/JfbBaseOpenVipCard/Api.js +58 -0
  30. package/src/components/JfbBaseOpenVipCard/Attr.js +48 -0
  31. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCard.vue +111 -0
  32. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardLess.less +79 -0
  33. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardMixin.js +30 -0
  34. package/src/components/JfbBaseOpenVipCard/Mock.js +13 -0
  35. package/src/components/JfbBaseOpenVipDetail/Api.js +58 -0
  36. package/src/components/JfbBaseOpenVipDetail/Attr.js +48 -0
  37. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +140 -0
  38. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailLess.less +79 -0
  39. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailMixin.js +30 -0
  40. package/src/components/JfbBaseOpenVipDetail/Mock.js +13 -0
  41. package/src/components/JfbBasePersonalData/Api.js +58 -0
  42. package/src/components/JfbBasePersonalData/Attr.js +48 -0
  43. package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +111 -0
  44. package/src/components/JfbBasePersonalData/JfbBasePersonalDataLess.less +79 -0
  45. package/src/components/JfbBasePersonalData/JfbBasePersonalDataMixin.js +30 -0
  46. package/src/components/JfbBasePersonalData/Mock.js +13 -0
  47. package/src/components/JfbBasePointsCard/Api.js +58 -0
  48. package/src/components/JfbBasePointsCard/Attr.js +223 -0
  49. package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +291 -0
  50. package/src/components/JfbBasePointsCard/JfbBasePointsCardLess.less +79 -0
  51. package/src/components/JfbBasePointsCard/JfbBasePointsCardMixin.js +30 -0
  52. package/src/components/JfbBasePointsCard/Mock.js +13 -0
  53. package/src/components/JfbBasePointsDetail/Api.js +23 -0
  54. package/src/components/JfbBasePointsDetail/Attr.js +304 -0
  55. package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +221 -0
  56. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailLess.less +79 -0
  57. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailMixin.js +30 -0
  58. package/src/components/JfbBasePointsDetail/Mock.js +13 -0
  59. package/src/components/JfbBaseRechargeOrder/Api.js +3 -13
  60. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +16 -34
  61. package/src/components/JfbBaseSavingDetail/Api.js +58 -0
  62. package/src/components/JfbBaseSavingDetail/Attr.js +48 -0
  63. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +111 -0
  64. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailLess.less +79 -0
  65. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailMixin.js +30 -0
  66. package/src/components/JfbBaseSavingDetail/Mock.js +13 -0
  67. package/src/components/JfbBaseShare/Api.js +58 -0
  68. package/src/components/JfbBaseShare/Attr.js +48 -0
  69. package/src/components/JfbBaseShare/JfbBaseShare.vue +217 -0
  70. package/src/components/JfbBaseShare/JfbBaseShareLess.less +79 -0
  71. package/src/components/JfbBaseShare/JfbBaseShareMixin.js +30 -0
  72. package/src/components/JfbBaseShare/Mock.js +13 -0
  73. package/src/components/JfbBaseTfkSearch/Attr.js +8 -82
  74. package/src/components/JfbBaseTfkSearch/ContentProduct.vue +13 -5
  75. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +1 -1
  76. package/src/components/JfbBaseUserInfo/Attr.js +102 -10
  77. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +301 -114
  78. package/src/components/JfbBaseWithDrawAgain/Api.js +58 -0
  79. package/src/components/JfbBaseWithDrawAgain/Attr.js +48 -0
  80. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +111 -0
  81. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainLess.less +79 -0
  82. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainMixin.js +30 -0
  83. package/src/components/JfbBaseWithDrawAgain/Mock.js +13 -0
  84. package/src/components/JfbBaseWithDrawRecord/Api.js +58 -0
  85. package/src/components/JfbBaseWithDrawRecord/Attr.js +48 -0
  86. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +111 -0
  87. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordLess.less +79 -0
  88. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordMixin.js +30 -0
  89. package/src/components/JfbBaseWithDrawRecord/Mock.js +13 -0
  90. package/src/components/JfbBaseWithdraw/Api.js +58 -0
  91. package/src/components/JfbBaseWithdraw/Attr.js +48 -0
  92. package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +111 -0
  93. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawLess.less +79 -0
  94. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawMixin.js +30 -0
  95. package/src/components/JfbBaseWithdraw/Mock.js +13 -0
@@ -0,0 +1,217 @@
1
+ <template>
2
+ <view
3
+ class="jfb-base-share"
4
+ @click="handleEditxSelect"
5
+ :class="{ editx : isEditx && active }"
6
+ >
7
+ <!--#ifdef H5-->
8
+ <view
9
+ class="jfb-base-share__edit"
10
+ :class="{ editx : isEditx && active }"
11
+ v-if="isEditx && active"
12
+ >
13
+ <view class="jfb-base-share__edit-icon" @click="delEdit">删除</view>
14
+ </view>
15
+ <!-- #endif -->
16
+ <view class="jfb-base-share__body">
17
+ <view class="card_wrap">
18
+ <swiper class="card_swiper" next-margin="50rpx" previous-margin="50rpx">
19
+ <swiper-item class="swiper_item" v-for="i in 3" :key="i">
20
+ <view class="swiper_item-inner">
21
+ <view class="swiper_item-logo"></view>
22
+ <view class="swiper_item-title">邀请好友领福利</view>
23
+ <view class="swiper_item-qrcode"></view>
24
+ <view class="swiper_item-visit">邀请码<br/>LWNXK7H</view>
25
+ </view>
26
+ <!-- <image style="width: 600rpx;height: 900rpx;"
27
+ src="https://sandbox-img.jufubao.cn/uploads/20250410/34559f90dd5a01e7368c02bf33f1b484.png?ver=1744249748881&x-oss-process=style/size5"></image> -->
28
+ </swiper-item>
29
+ </swiper>
30
+ </view>
31
+
32
+ <view class="share_wrap">
33
+ <view class="share_btn">
34
+ <image src="https://sandbox-img.jufubao.cn/uploads/20250410/57bc093618bc51a85dc8bb68825d2b97.png?x-oss-process=style/size8" mode="widthFix"></image>
35
+ </view>
36
+ <view class="share_btn">
37
+ <image src="https://sandbox-img1.jufubao.cn/uploads/20250410/faeb136bfd684ab6fa4608208ad26294.png?x-oss-process=style/size8" mode="widthFix"></image>
38
+ </view>
39
+ </view>
40
+
41
+ <view class="visit_tip">
42
+ 好友使用你的邀请码成功注册后<br/>Ta将成为你的邀请用户
43
+ </view>
44
+ </view>
45
+ </view>
46
+ </template>
47
+
48
+ <script>
49
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
50
+ import { jfbRootExec } from "@/utils/xd.event";
51
+ import JfbBaseShareMixin from "./JfbBaseShareMixin";
52
+ import { getContainerPropsValue } from "@/utils/xd.base";
53
+ import componentsMixins from "@/mixins/componentsMixins";
54
+ import extsMixins from "@/mixins/extsMixins";
55
+ export default {
56
+ name: "JfbBaseShare",
57
+ components: {
58
+ XdFontIcon
59
+ },
60
+ mixins: [
61
+ componentsMixins, extsMixins, JfbBaseShareMixin
62
+ ],
63
+ data() {
64
+ return {
65
+ hideMask: true,
66
+ //todo
67
+ }
68
+ },
69
+ watch: {
70
+ container(value, oldValue) {
71
+ if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
72
+ if (this.$configProject['isPreview']) this.init(value)
73
+ },
74
+ },
75
+ created() {
76
+ this.init(this.container);
77
+
78
+ //todo
79
+ },
80
+ methods: {
81
+ onJfbLoad(options) {
82
+
83
+ // jfbRootExec('baiduUserLogin', {
84
+
85
+ // vm: this,// data: {
86
+
87
+ // account: 'gaoshiyong',// password: '123456789',// type: 3,// ...options
88
+
89
+ // }
90
+
91
+ // }).then().catch()
92
+ },
93
+ /**
94
+ * @description 监听事件变化
95
+ * @param container {object} 业务组件对象自己
96
+ */
97
+ init(container) {
98
+
99
+ //this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
100
+
101
+ //this.height = getContainerPropsValue(container, 'content.height', 10);
102
+ },
103
+ onJfbScroll(options) {
104
+ console.log('event.onJfbScroll', options)
105
+ },
106
+ onJfbReachBottom(options) {
107
+ console.log('event.onJfbReachBottom', options)
108
+ },
109
+ onJfbShow(options) {
110
+ console.log('event.onJfbShow', options)
111
+ },
112
+ onJfbHide(options) {
113
+ console.log('event.onJfbHide', options)
114
+ },
115
+ onJfbBack(options) {
116
+ console.log('event.onJfbBack', options)
117
+ },
118
+ onJfbUpdate(...data) {
119
+ console.log('event.onJfbUpdate', data)
120
+ },
121
+ onJfbCustomEvent(options) {
122
+ console.log('event.onJfbReachBottom', options)
123
+ },
124
+ }
125
+ }
126
+
127
+ </script>
128
+
129
+ <style scoped lang="less">
130
+ @import "./JfbBaseShareLess.less";
131
+
132
+ .jfb-base-share {
133
+ &__body{
134
+ padding: 60rpx 0;
135
+ box-sizing: border-box;
136
+ .card_wrap{
137
+ height: 960rpx;
138
+ box-sizing: border-box;
139
+ .card_swiper{
140
+ height: 100%;
141
+ width: 100%;
142
+ .swiper_item{
143
+ display: flex;
144
+ align-items: center;
145
+ justify-content: center;
146
+
147
+ &-inner{
148
+ width: 630rpx;
149
+ height: 960rpx;
150
+ background: url('https://sandbox-img.jufubao.cn/uploads/20250410/2d9f5ec31efb5cddece747d8b8da51f0.png?x-oss-process=style/size8') no-repeat;
151
+ background-size: auto 100%;
152
+ box-sizing: border-box;
153
+ display: flex;
154
+ flex-direction: column;
155
+ align-items: center;
156
+ padding-top: 60rpx;
157
+
158
+ }
159
+ &-logo{
160
+ height: 96rpx;
161
+ width: 96rpx;
162
+ background-color: #FFFFFF;
163
+ }
164
+ &-title{
165
+ margin-top: 24rpx;
166
+ color: #B35300;
167
+ font-size: 40rpx;
168
+ font-weight: 500;
169
+ }
170
+ &-qrcode{
171
+ width: 400rpx;
172
+ height: 400rpx;
173
+ background-color: #FFFFFF;
174
+ margin-top: 60rpx;
175
+ border-radius: 24rpx;
176
+ }
177
+ &-visit{
178
+ width: 400rpx;
179
+ height: 120rpx;
180
+ background: linear-gradient(180deg, #FEFEF5 0%, #FDFDCB 100%);
181
+ margin-top: 36rpx;
182
+ border-radius: 24rpx;
183
+ font-size: 32rpx;
184
+ font-weight: 500;
185
+ color: #965720;
186
+ text-align: center;
187
+ padding-top: 20rpx;
188
+ box-sizing: border-box;
189
+ }
190
+ }
191
+ }
192
+ }
193
+ .share_wrap{
194
+ display: flex;
195
+ align-items: center;
196
+ justify-content: center;
197
+ .share_btn{
198
+ margin-top: 60rpx;
199
+ width: 300rpx;
200
+ image{
201
+ width: 100%;
202
+ }
203
+
204
+ & + .share_btn{
205
+ margin-left: 32rpx;
206
+ }
207
+ }
208
+ }
209
+ .visit_tip{
210
+ color: #965720;
211
+ font-size: 26rpx;
212
+ margin-top: 32rpx;
213
+ text-align: center;
214
+ }
215
+ }
216
+ }
217
+ </style>
@@ -0,0 +1,79 @@
1
+ /**
2
+ * @desc 获取绝对路径完整地址
3
+ * @param @path
4
+ **/
5
+ //例如:https://image.jufubao.cn/20220501010108/image/bg/default_gonghui_bg.png
6
+ @basePath: 'business/';
7
+ @doMain: '//sandbox-img.jufubao.cn/';
8
+
9
+ .getBusinessImageUrl(@path, @size: 'size8') {
10
+ @url: "@{doMain}@{basePath}@{path}?x-oss-process=style/@{size}";
11
+ background-image: url(@url);
12
+ }
13
+
14
+ //start
15
+ .jfb-base-share {
16
+ box-sizing: border-box;
17
+
18
+ &__body{
19
+ position: relative;
20
+ overflow: hidden;
21
+ z-index: 2
22
+ }
23
+
24
+ &.editx,&.editx:hover {
25
+ position: relative;
26
+ min-height: unit(100, rpx);
27
+ z-index: 3;
28
+ &::after {
29
+ border: 2rpx dashed blue;
30
+ content: " ";
31
+ position: absolute;
32
+ top:0;
33
+ left:0;
34
+ bottom:0;
35
+ right:0;
36
+ z-index: 4;
37
+ cursor: pointer;
38
+ }
39
+
40
+ }
41
+
42
+
43
+ &__edit {
44
+ cursor: pointer;
45
+ position: absolute;
46
+ right: unit(0, rpx);
47
+ top: unit(-52, rpx);
48
+ height: unit(50, rpx);
49
+ line-height: unit(50, rpx);
50
+ display: flex;
51
+ justify-content: center;
52
+ align-items: center;
53
+ background: rgba(0, 0, 0, .6);
54
+ border-radius: unit(10, rpx);
55
+ box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
56
+ color: #fff;
57
+ font-size: unit(22, rpx);
58
+
59
+ &-icon{
60
+ padding: 0 unit(20, rpx);
61
+ }
62
+
63
+ &.editx {
64
+ box-sizing: border-box;
65
+
66
+ }
67
+ }
68
+ }
69
+ //end
70
+
71
+
72
+ /**notPreview**/
73
+ .jfb-base-share {
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
78
+ }
79
+ /**endNotPreview**/
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+
4
+ //@AttrImport
5
+ import Attr from "./Attr";
6
+ //@EndAttrImport
7
+
8
+
9
+ export default {
10
+ data() {
11
+ return {
12
+ //#ifdef H5
13
+
14
+ //@AttrData
15
+ Attr:{}, //对外开发编辑属性
16
+ //@EndAttrData
17
+
18
+ // #endif
19
+ cssRoot: 'jfb-base-share'
20
+ }
21
+ },
22
+ created() {
23
+
24
+ //@AttrDataCreated
25
+ this.Attr = this.$xdUniHelper.customClone(Attr);
26
+ //@EndAttrDataCreated
27
+
28
+
29
+ },
30
+ }
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+
5
+ getShareByIdFilmSquate:{},
6
+
7
+ updateShareFilmPaiqiDate:{},
8
+
9
+ removeShareFilmAddress:{},
10
+
11
+ addShareFilmcart:{},
12
+
13
+ }
@@ -7,6 +7,9 @@ import CusAttr from "./CusAttr";
7
7
  export default {
8
8
  style: [],
9
9
  content: (data) => {
10
+ let entryGroupId = 'default';
11
+ if(data['entryGroupId']) entryGroupId = data['entryGroupId'];
12
+
10
13
  return [
11
14
  {
12
15
  label: '是否支持聚好兑:',
@@ -239,89 +242,12 @@ export default {
239
242
  groupKey: "style",
240
243
  type: "number",
241
244
  },
242
- // {
243
- // label: "全部 - 列表单个样式配置",
244
- // ele: "title",
245
- // groupKey:'style',
246
- // size: "small",
247
- // },
248
- // {
249
- // label: "业务板块列表单个背景色",
250
- // ele: "xd-color",
251
- // valueKey: 'allModuleItemContBgColor',
252
- // value: data['allModuleItemContBgColor'] || '#FFFFFF',
253
- // groupKey:'style',
254
- // },
255
- // {
256
- // label: "业务板块列表单个间距",
257
- // ele: "el-input",
258
- // valueKey: "allModuleItemContMargin",
259
- // value: data.allModuleItemContMargin || 20,
260
- // groupKey:'style',
261
- // type: "number",
262
- // },
263
- // {
264
- // label: "业务板块列表单个边框",
265
- // ele: "xd-border",
266
- // valueKey: 'allModuleItemContBorder',
267
- // value: data['allModuleItemContBorder'] || null,
268
- // groupKey:'style',
269
- // },
270
- // {
271
- // label: "业务板块列表单个阴影",
272
- // ele: "xd-shadow",
273
- // groupKey:'style',
274
- // valueKey: 'allModuleItemContShadow',
275
- // value: data['allModuleItemContShadow'] || null,
276
- // handleCustom({action, data}) {
277
- // XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
278
- // .then(res => {
279
- // data.cb(res.list)
280
- // })
281
- // .catch(error => {
282
- // console.error(error);
283
- // data.cb([])
284
- // });
285
- // },
286
- // },
287
- // {
288
- // label: "业务板块列表单个内边距",
289
- // ele: "xd-margin-padding",
290
- // valueKey: "allModuleItemContPadding",
291
- // value: data['allModuleItemContPadding'] || null,
292
- // groupKey:'style',
293
- // setting: {
294
- // type: 'padding',
295
- // },
296
- // placeholder: '请设置内边距',
297
- // inline: false,
298
- // notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
299
- // },
300
- // {
301
- // label: "业务板块列表单个圆角",
302
- // ele: 'xd-site-select-list',
303
- // valueKey: 'allModuleItemContRadius',
304
- // value: data.allModuleItemContRadius || 16,
305
- // groupKey:'style',
306
- // placeholder: '请选择内容圆角设置',
307
- // multiple: false,
308
- // className: 'input80',
309
- // handleCustom({ action, data }) {
310
- // XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
311
- // .then(res => {
312
- // data.cb(res.list)
313
- // })
314
- // .catch(error => {
315
- // console.error(error);
316
- // });
317
- // },
318
- // },
319
245
 
320
246
  {
321
247
  label: '选择综合入口类型:',
322
248
  ele: 'xd-site-select-list',
323
249
  valueKey: 'entryGroupId',
324
- value: data.entryGroupId || 'default',
250
+ value: entryGroupId,
325
251
  placeholder: '请选择综合入口类型',
326
252
  multiple: false,
327
253
  groupKey:'content',
@@ -349,12 +275,12 @@ export default {
349
275
  multiple: false,
350
276
  className: 'input80',
351
277
  setting: {
352
- group_id: data.entryGroupId || 'default',
278
+ group_id: entryGroupId,
353
279
  },
354
- handleCustom({ action, data }) {
355
- XdBus.getParentApi('getSearchSettingOptions')({group_id: 'default', ...data.params})
280
+ handleCustom(resData) {
281
+ XdBus.getParentApi('getSearchSettingOptions')(resData.data.params)
356
282
  .then(res => {
357
- data.cb(res.list)
283
+ resData.data.cb(res.list)
358
284
  })
359
285
  .catch(error => {
360
286
  console.error(error);
@@ -28,7 +28,7 @@
28
28
  </view>
29
29
  <view class="prodcut-content-btn" v-if="isBtn">
30
30
  <view :class="{onePrice: cell === 1}">
31
- <view v-if="productConfig.isPrice === 'Y'">
31
+ <!-- <view v-if="productConfig.isPrice === 'Y'">
32
32
  <xd-unit
33
33
  :price="(item['promo_price'] || item['sale_price'])"
34
34
  :isOld="false"
@@ -46,7 +46,13 @@
46
46
  delete-line
47
47
  is-gray
48
48
  />
49
- </view>
49
+ </view> -->
50
+ <CusPrice
51
+ v-if="productConfig.isPrice === 'Y'"
52
+ type="two"
53
+ :showPrice="item['showPrice']"
54
+ :isVip="true">
55
+ </CusPrice>
50
56
  </view>
51
57
  <view>
52
58
  <view @click.stop="handleDetail()" v-if="productConfig.isAddCart === 'Y'">
@@ -68,13 +74,15 @@ import getServiceUrl from "@/common/getServiceUrl";
68
74
  import XdFontIcon from "@/components/XdFontIcon/XdFontIcon.vue";
69
75
  import XdProductStatus from "@/components/XdProductStatus/XdProductStatus";
70
76
  import XdUnit from "@/components/XdUnit/XdUnit.vue";
77
+ import CusPrice from "@/components/CusPrice/CusPrice";
71
78
 
72
79
  export default {
73
80
  name: "ContentProduct",
74
81
  components:{
75
82
  XdFontIcon,
76
83
  XdUnit,
77
- XdProductStatus
84
+ XdProductStatus,
85
+ CusPrice
78
86
  },
79
87
  props:{
80
88
  keyword:{
@@ -250,10 +258,10 @@ export default {
250
258
  & > view:first-child {
251
259
  flex: 1;
252
260
  & > view:first-child {
253
- height: 40rpx;
254
261
  display: flex;
262
+ flex-direction: column;
255
263
  justify-content: flex-start;
256
- align-items: center;
264
+ align-items: flex-start;
257
265
  overflow: hidden;
258
266
  }
259
267
  & > view:nth-child(2) {
@@ -86,7 +86,7 @@
86
86
  CustomList,
87
87
  XdFontIcon,
88
88
  AllList,
89
- XdSearchHistory
89
+ XdSearchHistory,
90
90
  },
91
91
  mixins: [
92
92
  componentsMixins, extsMixins, JfbBaseTfkSearchMixin,listMixins