jufubao-mall 2.0.33 → 2.0.35-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 (36) hide show
  1. package/package.json +1 -1
  2. package/src/components/CusCouponChose/CusCouponChose.vue +10 -13
  3. package/src/components/CusEnter/CusEnter.vue +9 -1
  4. package/src/components/CusListItem/CusListItem.vue +141 -0
  5. package/src/components/CusPoster/CusPoster.vue +17 -62
  6. package/src/components/CusPrice/CusPrice.vue +391 -0
  7. package/src/components/CusProduct/CusProduct.vue +576 -184
  8. package/src/components/CusShops/CusShops.vue +409 -209
  9. package/src/components/CusTab/CusTab.vue +159 -22
  10. package/src/components/CusVipList/CusVipList.vue +169 -0
  11. package/src/components/JfbMallConfirm/Api.js +1 -1
  12. package/src/components/JfbMallConfirm/Attr.js +167 -453
  13. package/src/components/JfbMallConfirm/JfbMallConfirm.vue +362 -162
  14. package/src/components/JfbMallConfirm/Mock.js +61 -43
  15. package/src/components/JfbMallConfirm/XdAddrDefault.vue +26 -13
  16. package/src/components/JfbMallConfirm/XdAddrOld.vue +9 -7
  17. package/src/components/JfbMallConfirm/XdListItem.vue +10 -2
  18. package/src/components/JfbMallConfirm/cusAttr/advanced.js +91 -0
  19. package/src/components/JfbMallConfirm/cusAttr/content.js +355 -0
  20. package/src/components/JfbMallConfirm/cusAttr/style.js +628 -0
  21. package/src/components/JfbMallConfirm/shopList.vue +84 -42
  22. package/src/components/JfbMallNetworkMedia/Api.js +94 -0
  23. package/src/components/JfbMallNetworkMedia/Attr.js +20 -0
  24. package/src/components/JfbMallNetworkMedia/JfbMallNetworkMedia.vue +1167 -0
  25. package/src/components/JfbMallNetworkMedia/JfbMallNetworkMediaLess.less +80 -0
  26. package/src/components/JfbMallNetworkMedia/JfbMallNetworkMediaMixin.js +30 -0
  27. package/src/components/JfbMallNetworkMedia/Mock.js +372 -0
  28. package/src/components/JfbMallNetworkMedia/cusAttr/advanced.js +60 -0
  29. package/src/components/JfbMallNetworkMedia/cusAttr/content.js +230 -0
  30. package/src/components/JfbMallNetworkMedia/cusAttr/font.js +123 -0
  31. package/src/components/JfbMallNetworkMedia/cusAttr/icon.js +257 -0
  32. package/src/components/JfbMallNetworkMedia/cusAttr/style.js +12 -0
  33. package/src/components/JfbMallProductInfo/cusAttr/content.js +2 -0
  34. package/src/components/JfbMallProductList/JfbMallProductList.vue +7 -1
  35. package/src/components/JfbMallProductList/XdCateV1.vue +0 -1
  36. package/src/components/SkeProduct/SkeProduct.vue +88 -3
@@ -7,64 +7,82 @@ module.exports = {
7
7
  card_number: "101001000005193",
8
8
  card_type_name: "聚福宝福卡测试蛋糕",
9
9
  end_time: "2024-10-31",
10
- card_point: 100000000,
11
- is_bind_card: true
10
+ card_point: 30000,
11
+ is_bind_card: true,
12
+ unit: "点",
13
+ show_name: "满50减10"
12
14
  },
13
15
  {
14
16
  card_number: "101001000005184",
15
17
  card_type_name: "聚福宝福卡测试蛋糕",
16
18
  end_time: "2024-10-31",
17
- card_point: 100000000,
18
- is_bind_card: true
19
+ card_point: 10000,
20
+ is_bind_card: true,
21
+ unit: "点",
22
+ show_name: "满50减10"
19
23
  },
20
24
  {
21
25
  card_number: "101001000005185",
22
26
  card_type_name: "聚福宝福卡测试蛋糕",
23
27
  end_time: "2024-10-31",
24
- card_point: 99671000,
25
- is_bind_card: true
28
+ card_point: 9960,
29
+ is_bind_card: true,
30
+ unit: "点",
31
+ show_name: "满50减10"
26
32
  },
27
33
  {
28
34
  card_number: "101001000006990",
29
35
  card_type_name: "聚福宝福卡测试蛋糕",
30
36
  end_time: "2025-05-03",
31
- card_point: 1400,
32
- is_bind_card: true
37
+ card_point: 14000,
38
+ is_bind_card: true,
39
+ unit: "点",
40
+ show_name: "满50减10"
33
41
  },
34
42
  {
35
43
  card_number: "171004000000012",
36
44
  card_type_name: "聚福宝测试C40",
37
45
  end_time: "2025-05-03",
38
46
  card_point: 0,
39
- is_bind_card: true
47
+ is_bind_card: true,
48
+ unit: "点",
49
+ show_name: "满50减10"
40
50
  },
41
51
  {
42
52
  card_number: "101001000006989",
43
53
  card_type_name: "聚福宝福卡测试蛋糕",
44
54
  end_time: "2025-05-03",
45
55
  card_point: 3600,
46
- is_bind_card: true
56
+ is_bind_card: true,
57
+ unit: "点",
58
+ show_name: "满50减10"
47
59
  },
48
60
  {
49
61
  card_number: "171004000000011",
50
62
  card_type_name: "聚福宝测试C40",
51
63
  end_time: "2025-05-03",
52
64
  card_point: 0,
53
- is_bind_card: true
65
+ is_bind_card: true,
66
+ unit: "点",
67
+ show_name: "满50减10"
54
68
  },
55
69
  {
56
70
  card_number: "101001000005479",
57
71
  card_type_name: "聚福宝福卡测试蛋糕",
58
72
  end_time: "2024-02-03",
59
- card_point: 10000000,
60
- is_bind_card: true
73
+ card_point: 10000,
74
+ is_bind_card: true,
75
+ unit: "点",
76
+ show_name: "满50减10"
61
77
  },
62
78
  {
63
79
  card_number: "101001000005478",
64
80
  card_type_name: "聚福宝福卡测试蛋糕",
65
81
  end_time: "2024-02-23",
66
- card_point: 1000000,
67
- is_bind_card: true
82
+ card_point: 10000,
83
+ is_bind_card: true,
84
+ unit: "点",
85
+ show_name: "满50减10"
68
86
  }
69
87
  ],
70
88
  request_id: "ee8f030d48df4faa"
@@ -137,6 +155,7 @@ module.exports = {
137
155
  getMallCartConfirm: {
138
156
  total_amount: 46578,
139
157
  logistics_amount: 100,
158
+ origin_amount: 46578,
140
159
  is_can_buy: "N",
141
160
  user_logistics_discount_method: "",
142
161
  user_logistics_discount_amount: "0",
@@ -147,9 +166,9 @@ module.exports = {
147
166
  main_show_delivery_price: "Y",
148
167
  shop_group: [
149
168
  {
150
- repo_name: "仓库61527",
169
+ repo_name: "仓库1",
151
170
  supplier_id: 61527,
152
- delivery_method: "logistics",
171
+ delivery_method: "samecity",
153
172
  user_logistics_amount: 50,
154
173
  user_logistics_discount_id: "0",
155
174
  user_logistics_discount_name: "",
@@ -168,12 +187,12 @@ module.exports = {
168
187
  brand_id: 3,
169
188
  support_delivery_method_options: [
170
189
  { label: "快递配送", value: "logistics" },
171
- {
172
- label: "同城配送",
173
- value: "samecity"
174
- },
190
+ { label: "同城配送", value: "samecity" },
175
191
  { label: "到店自提", value: "takeout" }
176
192
  ],
193
+ sub_show_delivery_method: "Y",
194
+ sub_show_delivery_price: "Y",
195
+ time_label: "配送时间",
177
196
  supplier_logistics_amount_origin: "50",
178
197
  product: [
179
198
  {
@@ -205,7 +224,7 @@ module.exports = {
205
224
  product_thumb:
206
225
  "https://sandbox-img.jufubao.cn/uploads/20230406/0b890cd5a947d9c5724b412d34cd4000.png",
207
226
  product_form_data:
208
- '[{"id":"blessing","type":"input","struct":{"title":"祝福语","explain":"请务必确保输入的号码准确无误,填错号码无法进行退还操作,后果自负。","default":"","placeholder":"","required":true},"options":[],"value":"祝福语"}]',
227
+ '[{"id":"blessing","type":"input","struct":{"title":"祝福语","explain":"请务必准确填写号码,号码错误将无法进行退还操作。","default":"","placeholder":"","required":true},"options":[],"value":"祝福语"}]',
209
228
  brand_id: 3,
210
229
  brand_name: "北京味多美蛋糕叔叔/HEYTEA/喜茶/凯蒂猫/Quange/全格",
211
230
  aftersale_service: ",refund,exchange",
@@ -227,7 +246,7 @@ module.exports = {
227
246
  region_limit_tpl_id: "jaZLgT57MsMuI6EdCg1Zu",
228
247
  gift_id: 0,
229
248
  product_sku_id: "0",
230
- product_sku_name: "",
249
+ product_sku_name: "规格:400g/袋",
231
250
  is_activity: "Y"
232
251
  },
233
252
  {
@@ -259,7 +278,7 @@ module.exports = {
259
278
  product_thumb:
260
279
  "https://sandbox-img.jufubao.cn/uploads/20230406/0b890cd5a947d9c5724b412d34cd4000.png",
261
280
  product_form_data:
262
- '[{"id":"blessing","type":"input","struct":{"title":"祝福语","explain":"请务必确保输入的号码准确无误,填错号码无法进行退还操作,后果自负。","default":"","placeholder":"","required":true},"options":[],"value":"祝福语"}]',
281
+ '[{"id":"blessing","type":"input","struct":{"title":"祝福语","explain":"请务必准确填写号码,号码错误将无法进行退还操作。","default":"","placeholder":"","required":true},"options":[],"value":"祝福语"}]',
263
282
  brand_id: 3,
264
283
  brand_name: "北京味多美蛋糕叔叔/HEYTEA/喜茶/凯蒂猫/Quange/全格",
265
284
  aftersale_service: ",refund,exchange",
@@ -287,7 +306,7 @@ module.exports = {
287
306
  ]
288
307
  },
289
308
  {
290
- repo_name: "仓库61527",
309
+ repo_name: "仓库2",
291
310
  supplier_id: 61527,
292
311
  delivery_method: "logistics",
293
312
  user_logistics_amount: 0,
@@ -308,10 +327,7 @@ module.exports = {
308
327
  brand_id: 3,
309
328
  support_delivery_method_options: [
310
329
  { label: "快递配送", value: "logistics" },
311
- {
312
- label: "同城配送",
313
- value: "samecity"
314
- },
330
+ { label: "同城配送", value: "samecity" },
315
331
  { label: "到店自提", value: "takeout" }
316
332
  ],
317
333
  supplier_logistics_amount_origin: "0",
@@ -358,7 +374,7 @@ module.exports = {
358
374
  ]
359
375
  },
360
376
  {
361
- repo_name: "仓库61527",
377
+ repo_name: "仓库3",
362
378
  supplier_id: 61527,
363
379
  delivery_method: "logistics",
364
380
  user_logistics_amount: 50,
@@ -379,12 +395,12 @@ module.exports = {
379
395
  brand_id: 100003,
380
396
  support_delivery_method_options: [
381
397
  { label: "快递配送", value: "logistics" },
382
- {
383
- label: "同城配送",
384
- value: "samecity"
385
- },
398
+ { label: "同城配送", value: "samecity" },
386
399
  { label: "到店自提", value: "takeout" }
387
400
  ],
401
+ sub_show_delivery_method: "Y",
402
+ sub_show_delivery_price: "Y",
403
+ time_label: "配送时间",
388
404
  supplier_logistics_amount_origin: "50",
389
405
  product: [
390
406
  {
@@ -683,10 +699,10 @@ module.exports = {
683
699
  city_name: "秦皇岛市",
684
700
  area_name: "卢龙县",
685
701
  street_name: "卢龙镇",
686
- address_detail: "qww",
702
+ address_detail: "福成上上城四期南园12号楼3单元1203",
687
703
  house_number: "",
688
- name: "测试",
689
- phone: "18843854566",
704
+ name: "张先生",
705
+ phone: "178****9900",
690
706
  is_default: "Y",
691
707
  tag: 0,
692
708
  is_select: "Y",
@@ -728,13 +744,15 @@ module.exports = {
728
744
  next_page_token: "",
729
745
  request_id: "3c64153d7c1eec3a"
730
746
  },
731
- getPayMethod: {
732
- list: [
733
- { method: "card", show_name: "使用票券1", icon: "icon_4" },
734
- { method: "wallet", show_name: "使用我的元宝", icon: "icon_1" },
735
- { method: "score", show_name: "使用积分", icon: "icon_3" }
747
+ getMallPayMethod: {
748
+ "list":[
749
+ {"method":"third","show_name":"使用补差","icon":"icon_2"},
750
+ {"method":"card","show_name":"使用票券","icon":"icon_4"},
751
+ {"method":"score","show_name":"使用积分","icon":"icon_3"},
752
+ {"method":"wallet","show_name":"使用余额","icon":"icon_1"},
753
+ {"method":"coupon","show_name":"使用满减券","icon":"icon_1"}
736
754
  ],
737
- request_id: "3746368129d64b96"
755
+ "request_id":"83b92e9b30d37c9f"
738
756
  },
739
757
  getUserWallet: {
740
758
  show_name: "我的元宝",
@@ -1,20 +1,22 @@
1
1
  <template>
2
2
  <view class="xd-addr-default">
3
3
  <view v-if="curAddr" class="addr_wrap">
4
- <view class="icon_addr">
5
- <xd-font-icon size="32" style="color: #B1B1B1;" icon="icondizhitubiao"></xd-font-icon>
6
- </view>
7
4
  <view class="addr_info">
8
5
  <view class="addr_name">{{curAddr.name}} <text class="_phone">{{curAddr.phone}}</text></view>
9
6
  <view class="address-detail">
10
- {{curAddr.province_name}}{{curAddr.city_name}}{{curAddr.area_name}}{{curAddr.street_name}}{{curAddr.address_detail}}{{curAddr.house_number}}
7
+ <view class="icon_wrap">
8
+ <xd-font-icon size="28" style="color: #999999;" icon="icondizhitubiao"></xd-font-icon>
9
+ </view>
10
+ <view style="flex:1;width: 500rpx;">
11
+ {{curAddr.province_name}}{{curAddr.city_name}}{{curAddr.area_name}}{{curAddr.street_name}}{{curAddr.address_detail}}{{curAddr.house_number}}
12
+ </view>
11
13
  </view>
12
14
  <view class="address-prompt-message">
13
15
  为方便您顺利收件,请填写真实姓名
14
16
  </view>
15
17
  </view>
16
18
  <view class="arrow_right">
17
- <xd-font-icon size="32" style="color: #B1B1B1;" icon="iconxiangyou_xian"></xd-font-icon>
19
+ <!-- <xd-font-icon size="32" style="color: #B1B1B1;" icon="iconxiangyou_xian"></xd-font-icon> -->
18
20
  </view>
19
21
  </view>
20
22
  <view class="empty_addr" v-else>
@@ -57,7 +59,7 @@
57
59
  .addr_wrap{
58
60
  display: flex;
59
61
  align-items: center;
60
- padding: 34rpx 0 34rpx 12rpx;
62
+ padding: 32rpx 0 32rpx 48rpx;
61
63
  .icon_addr{
62
64
  display: flex;
63
65
  width: 70rpx;
@@ -74,20 +76,31 @@
74
76
  flex: 1;
75
77
  width: 400rpx;
76
78
  .addr_name{
77
- font-size: 30rpx;
78
- color: #191a1b;
79
+ font-size: 28rpx;
80
+ font-weight: 500;
81
+ color: #333333;
82
+ padding-left: 44rpx;
79
83
  }
80
84
  ._phone{
81
- color: #797d82;
82
85
  margin-left: 8rpx;
83
86
  }
84
87
  .address-detail{
85
- font-size: 26rpx;
86
- color: #797d82;
88
+ font-size: 28rpx;
89
+ color: #666666;
90
+ margin: 20rpx 0 8rpx;
91
+ display: flex;
92
+ align-items: flex-start;
93
+
94
+ .icon_wrap{
95
+ width: 44rpx;
96
+ padding: 8rpx 12rpx 0 0rpx;
97
+ box-sizing: border-box;
98
+ }
87
99
  }
88
100
  .address-prompt-message{
89
- font-size: 22rpx;
90
- color: #baa27a;
101
+ font-size: 24rpx;
102
+ color: var(--g-theme-dangerColor);
103
+ padding-left: 44rpx;
91
104
  }
92
105
  }
93
106
  }
@@ -33,7 +33,7 @@
33
33
 
34
34
  <style lang="less" scoped>
35
35
  .xd-addr-old{
36
- padding: 40rpx 60rpx;
36
+ padding: 28rpx 48rpx;
37
37
  display: flex;
38
38
  justify-content: space-between;
39
39
  align-items: center;
@@ -49,20 +49,22 @@
49
49
  display: flex;
50
50
  font-size: 28rpx;
51
51
  color: #333;
52
+ font-weight: 500;
52
53
  .default_tag{
53
- background: #D9B0FF;
54
+ background: var(--g-theme-mainColor);
54
55
  font-size: 24rpx;
55
- padding: 0 20rpx;
56
- line-height: 40rpx;
56
+ font-weight: 400;
57
+ padding: 8rpx 16rpx;
58
+ line-height: 1;
57
59
  border-radius: 4px;
58
60
  color: #FFFFFF;
59
- margin-right: 32rpx;
61
+ margin-right: 20rpx;
60
62
  }
61
63
  }
62
64
  .addr_detail{
63
- font-size: 32rpx;
65
+ font-size: 28rpx;
64
66
  color: #333333;
65
- margin: 20rpx 0;
67
+ margin: 12rpx 0;
66
68
  }
67
69
  .addr_info{
68
70
  font-size: 28rpx;
@@ -24,7 +24,7 @@
24
24
  v-if="showRight"
25
25
  :style="{
26
26
  marginLeft: '10rpx',
27
- color: '#B1B1B1'
27
+ color: rIconColor
28
28
  }"
29
29
  size="24"
30
30
  icon="iconxiangyou_xian"
@@ -52,7 +52,7 @@ export default {
52
52
  },
53
53
  paddingTB:{
54
54
  type: String,
55
- default: "24rpx"
55
+ default: "20rpx"
56
56
  },
57
57
  paddingLR: {
58
58
  type: String,
@@ -81,6 +81,10 @@ export default {
81
81
  className: {
82
82
  type: String,
83
83
  default: ''
84
+ },
85
+ rIconColor: {
86
+ type: String,
87
+ default: '#333333'
84
88
  }
85
89
  }
86
90
 
@@ -99,6 +103,8 @@ export default {
99
103
  .my-list_label{
100
104
  font-size: 28rpx;
101
105
  font-weight: 400;
106
+ height: 40rpx;
107
+ line-height: 40rpx;
102
108
  }
103
109
  }
104
110
  &.size_default{
@@ -106,6 +112,8 @@ export default {
106
112
  .my-list_label{
107
113
  font-size: 28rpx;
108
114
  font-weight: 400;
115
+ height: 40rpx;
116
+ line-height: 40rpx;
109
117
  }
110
118
  }
111
119
  &.size_small{
@@ -0,0 +1,91 @@
1
+ 'use strict';
2
+
3
+ export default (data)=>{
4
+ return [
5
+ {
6
+ label: '收货地址',
7
+ ele: 'xd-select-pages-path',
8
+ valueKey: 'shipAddressPath',
9
+ groupKey:'advanced',
10
+ className: 'input100',
11
+ placeholder: '请选择收货地址跳转地址',
12
+ value: data.shipAddressPath || null,
13
+ labelInline: true,
14
+ setting: {
15
+ router: XdBus.getParentApi('getPagesTree'),
16
+ },
17
+ },
18
+ {
19
+ label: '去支付',
20
+ ele: 'xd-select-pages-path',
21
+ valueKey: 'payPath',
22
+ placeholder: '请选择支付跳转地址',
23
+ value: data.payPath || null,
24
+ labelInline: true,
25
+ setting: {
26
+ router: XdBus.getParentApi('getPagesTree'),
27
+ },
28
+ groupKey:'advanced',
29
+ className: 'input100',
30
+ },
31
+ {
32
+ label: '支付成功',
33
+ ele: 'xd-select-pages-path',
34
+ valueKey: 'paySuccessPath',
35
+ placeholder: '请选择支付成功跳转地址',
36
+ value: data.paySuccessPath || null,
37
+ setting: {
38
+ router: XdBus.getParentApi('getPagesTree'),
39
+ },
40
+ labelInline: true,
41
+ groupKey:'advanced',
42
+ className: 'input100',
43
+ },
44
+ {
45
+ label: '选择城市',
46
+ ele: 'xd-select-pages-path',
47
+ valueKey: 'choseCityPath',
48
+ placeholder: '请选择选择城市跳转地址',
49
+ value: data.choseCityPath || null,
50
+ setting: {
51
+ router: XdBus.getParentApi('getPagesTree'),
52
+ },
53
+ labelInline: true,
54
+ groupKey:'advanced',
55
+ className: 'input100',
56
+ },
57
+ {
58
+ label: "预览模式",
59
+ ele: "xd-radio",
60
+ valueKey: "preview",
61
+ value: data.preview || 'N',
62
+ groupKey:'advanced',
63
+ className: 'input100',
64
+ labelInline: true,
65
+ inline: false,
66
+ notice: "开启后不能提交订单",
67
+ list: [
68
+ {label: "开启", value: "Y"},
69
+ {label: "关闭", value: "N"}
70
+ ]
71
+ },
72
+ {
73
+ label: '版本号:',
74
+ ele: 'el-input',
75
+ type: 'text',
76
+ groupKey: 'advanced',
77
+ valueKey: 'version',
78
+ value: 'v2.0',
79
+ hidden: true,
80
+ },
81
+ {
82
+ label: '引用过滤字段设置:',
83
+ ele: 'el-input',
84
+ type: 'text',
85
+ groupKey: 'content',
86
+ valueKey: 'refFilterContent',
87
+ value: '["address_layout", "showTopLine", "coupon_layout", "addr_style", "cont_style"]',
88
+ hidden: true,
89
+ },
90
+ ]
91
+ }