jufubao-base 1.0.166 → 1.0.167-beta2

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 (67) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseAfterOrderDetail/Attr.js +9 -0
  3. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +42 -81
  4. package/src/components/JfbBaseAfterOrderDetail/Mock.js +3 -2
  5. package/src/components/JfbBaseAfterOrderList/Attr.js +9 -0
  6. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +63 -83
  7. package/src/components/JfbBaseAfterOrderList/Mock.js +11 -3
  8. package/src/components/JfbBaseCard/Attr.js +220 -194
  9. package/src/components/JfbBaseCard/JfbBaseCard.vue +50 -17
  10. package/src/components/JfbBaseCard/Mock.js +7 -6
  11. package/src/components/JfbBaseCardBind/JfbBaseCardBind.vue +2 -0
  12. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabled.vue +3 -3
  13. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +2 -2
  14. package/src/components/JfbBaseCardEntry/Attr.js +12 -0
  15. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +35 -2
  16. package/src/components/JfbBaseCardEntry/Mock.js +1 -0
  17. package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +43 -32
  18. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +27 -8
  19. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +32 -13
  20. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfo.vue +2 -3
  21. package/src/components/JfbBaseCardV2/Attr.js +39 -2
  22. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +46 -24
  23. package/src/components/JfbBaseCardV2/Mock.js +12 -11
  24. package/src/components/JfbBaseCardV3/Attr.js +13 -1
  25. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +5 -1
  26. package/src/components/JfbBaseCardV3/Mock.js +1 -1
  27. package/src/components/JfbBaseMultipleExpress/Attr.js +9 -0
  28. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpress.vue +20 -28
  29. package/src/components/JfbBaseMultipleExpress/Mock.js +10 -0
  30. package/src/components/JfbBaseOrderDetail/Attr.js +23 -0
  31. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +57 -137
  32. package/src/components/JfbBaseOrderDetail/bizMock.js +4 -2
  33. package/src/components/JfbBaseOrderList/Attr.js +9 -0
  34. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +37 -90
  35. package/src/components/JfbBaseOrderList/Mock.js +27 -5
  36. package/src/components/JfbBasePhoneCollect/Attr.js +11 -0
  37. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +3 -0
  38. package/src/components/JfbBasePoster/Attr.js +1 -0
  39. package/src/components/JfbBasePosterBigSmall/Attr.js +3 -0
  40. package/src/components/JfbBasePosterType/Attr.js +35 -25
  41. package/src/components/JfbBasePosterType/FourScreen.vue +18 -19
  42. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +12 -0
  43. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +2 -2
  44. package/src/components/JfbBaseTfkCardBind/Api.js +58 -0
  45. package/src/components/JfbBaseTfkCardBind/Attr.js +58 -0
  46. package/src/components/JfbBaseTfkCardBind/JfbBaseTfkCardBind.vue +111 -0
  47. package/src/components/JfbBaseTfkCardBind/JfbBaseTfkCardBindLess.less +79 -0
  48. package/src/components/JfbBaseTfkCardBind/JfbBaseTfkCardBindMixin.js +30 -0
  49. package/src/components/JfbBaseTfkCardBind/Mock.js +13 -0
  50. package/src/components/JfbBaseTfkCardDetail/Api.js +58 -0
  51. package/src/components/JfbBaseTfkCardDetail/Attr.js +58 -0
  52. package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetail.vue +111 -0
  53. package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetailLess.less +79 -0
  54. package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetailMixin.js +30 -0
  55. package/src/components/JfbBaseTfkCardDetail/Mock.js +13 -0
  56. package/src/components/JfbBaseTfkCardLogin/Api.js +58 -0
  57. package/src/components/JfbBaseTfkCardLogin/Attr.js +58 -0
  58. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +111 -0
  59. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLoginLess.less +79 -0
  60. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLoginMixin.js +30 -0
  61. package/src/components/JfbBaseTfkCardLogin/Mock.js +13 -0
  62. package/src/components/JfbBaseTfkSearch/Api.js +58 -0
  63. package/src/components/JfbBaseTfkSearch/Attr.js +58 -0
  64. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +111 -0
  65. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearchLess.less +79 -0
  66. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearchMixin.js +30 -0
  67. package/src/components/JfbBaseTfkSearch/Mock.js +13 -0
@@ -38,7 +38,7 @@
38
38
  <view class="jfb-base-card__body-card-item-right-bottom-info-residue"></view>
39
39
  <view class="jfb-base-card__body-card-item-right-bottom-info-deduction"></view>
40
40
  </view>
41
- <view :style="{ background: mainColor }"></view>
41
+ <view :style="{ background: '#F2F2F2' }"></view>
42
42
  </view>
43
43
  </view>
44
44
  </view>
@@ -47,26 +47,35 @@
47
47
  <template v-else>
48
48
  <view
49
49
  class="jfb-base-card__body-card"
50
- :style="{
51
- margin: marginUi,
52
- }"
50
+ :style="{padding: marginUi}"
53
51
  >
54
52
  <view
55
53
  v-for="(item, index) in cardList"
56
54
  :key="index"
57
55
  @click="handleBindLogin(item)"
58
56
  class="jfb-base-card__body-card-item"
57
+ :style="{
58
+ marginBottom: list_sp + 'rpx',
59
+ backgroundColor:(item['is_login'] === 'Y'? mainBorderColor : '#fff'),
60
+ borderColor:`${item['is_login'] === 'Y'? mainSubBorderColor:'#eeeeee'}`
61
+ }"
59
62
  >
60
63
  <view class="jfb-base-card__body-card-item-left">
61
64
  <xd-font-icon
62
65
  size="100"
63
- color="#8D5F18"
64
- icon="iconyouhuiquan1-011"
66
+ :color="mainColor"
67
+ :icon="item['is_login'] === 'Y'?'iconkaquandengluchenggong':'iconyouhuiquan1-011'"
65
68
  ></xd-font-icon>
66
- <view>{{login_name}}</view>
69
+ <view :style="{color: item['is_login'] === 'Y'?mainColor :''}">{{ item['is_login'] === 'Y'? logged_name : login_name}}</view>
67
70
  </view>
68
- <view class="jfb-base-card__body-card-item-right">
69
- <view class="jfb-base-card__body-card-item-right-top">
71
+ <view
72
+ class="jfb-base-card__body-card-item-right"
73
+ :style="{borderColor: item['is_login'] === 'Y'? mainSubBorderColor:'#eeeeee'}"
74
+ >
75
+ <view
76
+ class="jfb-base-card__body-card-item-right-top"
77
+ :style="{borderColor: item['is_login'] === 'Y'? mainSubBorderColor:'#eeeeee'}"
78
+ >
70
79
  <view>
71
80
  <xd-font-icon
72
81
  icon="iconkaquan"
@@ -85,10 +94,7 @@
85
94
  <view class="jfb-base-card__body-card-item-right-bottom-info-residue">剩余{{ item.unit }}数:{{ item.card_point }}{{ item.unit }}</view>
86
95
  <view class="jfb-base-card__body-card-item-right-bottom-info-deduction">购买其他物品可抵:{{ item.other_card_point }}</view>
87
96
  </view>
88
- <view
89
- @click.stop="toDetail(item)"
90
- :style="{ background: mainColor }"
91
- >查看</view>
97
+ <view @click.stop="toDetail(item)" :style="{ background: mainColor }">{{look_name}}</view>
92
98
  </view>
93
99
  </view>
94
100
  </view>
@@ -121,6 +127,7 @@
121
127
  import extsMixins from "@/mixins/extsMixins";
122
128
  import {Base64} from "js-base64";
123
129
  import {mapState} from "vuex";
130
+ import Color from "color";
124
131
 
125
132
  export default {
126
133
  name: "JfbBaseCardV2",
@@ -135,19 +142,19 @@
135
142
  return {
136
143
  cardList: [],
137
144
  inCallback: "",
145
+ mainBorderColor:'',
146
+ mainSubBorderColor:'',
138
147
 
139
148
  //面板
140
149
  cardInfoPath: "", //卡券详情
141
150
  cardBindPath: "",
142
151
  orderListPath: "",
143
152
  login_name:'',
144
- margin: {
145
- top: 0,
146
- left: 0,
147
- bottom: 0,
148
- right: 0
149
- },
153
+ look_name:'',
154
+ logged_name:'',
155
+ margin: {},
150
156
  loadingCardList: true,
157
+ list_sp:20,
151
158
 
152
159
  inCallbackUrlOrg:'',//是否带有回调地址
153
160
  }
@@ -165,11 +172,17 @@
165
172
  return this.fixedStyle({paddingBottom: 0, zIndex: 111})
166
173
  },
167
174
  marginUi() {
168
- return `${this.margin.top || 0}rpx ${this.margin.right || 0}rpx ${this.margin.bottom || 0}rpx ${this.margin.left || 0}rpx`
175
+ let str = `${this.checkValue(this.margin.top, 20)}rpx`;
176
+ str = `${str} ${this.checkValue(this.margin.right, 20)}rpx`;
177
+ str = `${str} ${this.checkValue(this.margin.bottom, 20)}rpx`;
178
+ str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
179
+ return str
169
180
  },
170
181
  },
171
182
  created() {
172
183
  this.init(this.container);
184
+ this.mainBorderColor = Color(this.mainColor).alpha(0.05).toString();
185
+ this.mainSubBorderColor = Color(this.mainColor).alpha(0.1).toString();
173
186
  },
174
187
  methods: {
175
188
  onJfbLoad(options) {
@@ -216,7 +229,11 @@
216
229
  this.cardBindPath = getContainerPropsValue(container, "content.cardBindPath", {value: ""}).value;
217
230
  this.orderListPath = getContainerPropsValue(container, "content.orderListPath", {value: ""}).value;
218
231
  this.login_name = getContainerPropsValue(container, "content.login_name", "登录");
219
- this.margin = getContainerPropsValue(container, 'content.margin', {top: 0, left: 0, bottom: 0, right: 0});
232
+ this.margin = getContainerPropsValue(container, 'content.margin', {});
233
+ this.look_name = getContainerPropsValue(container, 'content.look_name', '查看');
234
+ this.logged_name = getContainerPropsValue(container, 'content.logged_name', '已登录');
235
+ this.list_sp = getContainerPropsValue(container, 'content.list_sp', 20);
236
+
220
237
  },
221
238
 
222
239
  handleBindLogin(item){
@@ -317,9 +334,13 @@
317
334
  display: flex;
318
335
  align-items: center;
319
336
  justify-content: flex-start;
320
- border: unit(2, rpx) solid #eeeeeeff;
337
+ border: unit(2, rpx) solid #eee;
321
338
  border-radius: unit(20, rpx);
322
- margin-bottom: unit(30, rpx);
339
+
340
+ &:last-child {
341
+ margin-bottom: 0;
342
+ }
343
+
323
344
 
324
345
  &-left {
325
346
  width: unit(200, rpx);
@@ -394,13 +415,14 @@
394
415
  }
395
416
 
396
417
  & > view:nth-child(2) {
397
- width: unit(80, rpx);
418
+ min-width: unit(80, rpx);
398
419
  height: unit(40, rpx);
399
420
  border-radius: unit(20, rpx);
400
421
  font-size: unit(22, rpx);
401
422
  color: #fff;
402
423
  text-align: center;
403
424
  line-height: unit(40, rpx);
425
+ padding: 2rpx 10rpx;
404
426
  }
405
427
  }
406
428
  }
@@ -8,17 +8,18 @@ module.exports = {
8
8
  "card_point": 100000000,
9
9
  "card_type_name": "聚福宝福卡测试蛋糕",
10
10
  "unit": "",
11
- "end_time": "2024-10-31 23:59:59",
11
+ "end_time": "2024-10-31",
12
12
  "is_valid": "Y",
13
13
  "main_product_name": "",
14
14
  "other_card_point": 0,
15
- "is_exchange": "N"
15
+ "is_exchange": "N",
16
+ "is_login":"Y"
16
17
  }, {
17
18
  "card_number": "101001000005193",
18
19
  "card_point": 99963600,
19
20
  "card_type_name": "聚福宝福卡测试蛋糕",
20
21
  "unit": "次",
21
- "end_time": "2024-10-31 23:59:59",
22
+ "end_time": "2024-10-31",
22
23
  "is_valid": "Y",
23
24
  "main_product_name": "",
24
25
  "other_card_point": 0,
@@ -28,7 +29,7 @@ module.exports = {
28
29
  "card_point": 100000000,
29
30
  "card_type_name": "聚福宝福卡测试蛋糕",
30
31
  "unit": "",
31
- "end_time": "2024-10-31 23:59:59",
32
+ "end_time": "2024-10-31",
32
33
  "is_valid": "Y",
33
34
  "main_product_name": "",
34
35
  "other_card_point": 0,
@@ -38,7 +39,7 @@ module.exports = {
38
39
  "card_point": 99631000,
39
40
  "card_type_name": "聚福宝福卡测试蛋糕",
40
41
  "unit": "点",
41
- "end_time": "2024-10-31 23:59:59",
42
+ "end_time": "2024-10-31",
42
43
  "is_valid": "Y",
43
44
  "main_product_name": "",
44
45
  "other_card_point": 0,
@@ -48,7 +49,7 @@ module.exports = {
48
49
  "card_point": 1400,
49
50
  "card_type_name": "聚福宝福卡测试蛋糕",
50
51
  "unit": "",
51
- "end_time": "2025-05-03 23:59:59",
52
+ "end_time": "2025-05-03",
52
53
  "is_valid": "Y",
53
54
  "main_product_name": "",
54
55
  "other_card_point": 0,
@@ -58,7 +59,7 @@ module.exports = {
58
59
  "card_point": 0,
59
60
  "card_type_name": "聚福宝测试C40",
60
61
  "unit": "次",
61
- "end_time": "2025-05-03 23:59:59",
62
+ "end_time": "2025-05-03",
62
63
  "is_valid": "Y",
63
64
  "main_product_name": "",
64
65
  "other_card_point": 0,
@@ -68,7 +69,7 @@ module.exports = {
68
69
  "card_point": 3600,
69
70
  "card_type_name": "聚福宝福卡测试蛋糕",
70
71
  "unit": "",
71
- "end_time": "2025-05-03 23:59:59",
72
+ "end_time": "2025-05-03",
72
73
  "is_valid": "Y",
73
74
  "main_product_name": "",
74
75
  "other_card_point": 0,
@@ -78,7 +79,7 @@ module.exports = {
78
79
  "card_point": 0,
79
80
  "card_type_name": "聚福宝测试C40",
80
81
  "unit": "次",
81
- "end_time": "2025-05-03 23:59:59",
82
+ "end_time": "2025-05-03",
82
83
  "is_valid": "Y",
83
84
  "main_product_name": "",
84
85
  "other_card_point": 0,
@@ -88,7 +89,7 @@ module.exports = {
88
89
  "card_point": 10000000,
89
90
  "card_type_name": "聚福宝福卡测试蛋糕",
90
91
  "unit": "点",
91
- "end_time": "2024-02-03 23:59:59",
92
+ "end_time": "2024-02-03",
92
93
  "is_valid": "Y",
93
94
  "main_product_name": "",
94
95
  "other_card_point": 0,
@@ -98,7 +99,7 @@ module.exports = {
98
99
  "card_point": 1000000,
99
100
  "card_type_name": "聚福宝福卡测试蛋糕",
100
101
  "unit": "点",
101
- "end_time": "2024-02-23 23:59:59",
102
+ "end_time": "2024-02-23",
102
103
  "is_valid": "Y",
103
104
  "main_product_name": "",
104
105
  "other_card_point": 0,
@@ -17,7 +17,19 @@ export default {
17
17
  placeholder: '请输入票券登录文案',
18
18
  className: 'input80',
19
19
  inline: false,
20
- notice: '当未设置文案时候,前台页面显示为"<span style="color:red">登录</span>"'
20
+ notice: '当未设置文案时候,前台页面显示为"<span style="color:red">登录</span>",建议不超过<span style="color:red">4</span>个汉字'
21
+ },
22
+ {
23
+ label: '票券已登录文案:',
24
+ ele: 'el-input',
25
+ type: 'text',
26
+ valueKey: 'logged_name',
27
+ groupKey:'content',
28
+ value: data.logged_name || '',
29
+ placeholder: '请输入票券已登录文案',
30
+ className: 'input80',
31
+ inline: false,
32
+ notice: '当未设置文案时候,前台页面显示为"<span style="color:red">已登录</span>",建议不超过<span style="color:red">4</span>个汉字'
21
33
  },
22
34
  {
23
35
  label: '绑定新票券地址:',
@@ -20,9 +20,11 @@
20
20
  </view>
21
21
  <template v-else>
22
22
  <view class="card_list" v-if="cardList.length">
23
- <xd-card-v2 v-for="(item, index) in cardList"
23
+ <xd-card-v2
24
+ v-for="(item, index) in cardList"
24
25
  :mainColor="mainColor"
25
26
  :login-name="login_name"
27
+ :logged-name="logged_name"
26
28
  :key="index"
27
29
  :cardInfo="item"
28
30
  :tabIndex="1"
@@ -73,6 +75,7 @@
73
75
  changeUrl: "",
74
76
  detailUrl: "",
75
77
  login_name:'',
78
+ logged_name:'',
76
79
  loadingCardList: true,
77
80
 
78
81
  inCallbackUrlOrg:'',//是否带有回调地址
@@ -136,6 +139,7 @@
136
139
  this.changeUrl = getContainerPropsValue(container, "content.changeUrl", {value: ""}).value;
137
140
  this.detailUrl = getContainerPropsValue(container, "content.detailUrl", {value: ""}).value;
138
141
  this.login_name = getContainerPropsValue(container, "content.login_name", "登录");
142
+ this.logged_name = getContainerPropsValue(container, "content.logged_name", "已登录");
139
143
  },
140
144
  toBindCard(){
141
145
  let path = this.getUrlCallback(this.cardBindPath)
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
3
  module.exports = {
4
- aaaa: {}
4
+ getListCardBindV3: {}
5
5
  }
@@ -7,6 +7,15 @@ export default {
7
7
  style: [],
8
8
  content: (data) => {
9
9
  return [
10
+ {
11
+ label: '品牌文字颜色:',
12
+ ele: 'xd-color',
13
+ valueKey: 'brandTextColor',
14
+ groupKey:'style',
15
+ value: data['brandTextColor'] || null,
16
+ placeholder: '请选择品牌文字颜色',
17
+ classNmae: 'input80',
18
+ },
10
19
  {
11
20
  label: '物流详情路径:',
12
21
  ele: 'xd-select-pages-path',
@@ -10,9 +10,7 @@
10
10
  :class="{ editx: isEditx && active }"
11
11
  v-if="isEditx && active"
12
12
  >
13
- <view class="jfb-base-multiple-express__edit-icon" @click="delEdit"
14
- >删除</view
15
- >
13
+ <view class="jfb-base-multiple-express__edit-icon" @click="delEdit">删除</view>
16
14
  </view>
17
15
  <!-- #endif -->
18
16
  <view class="jfb-base-multiple-express__body" v-if="express.length > 0">
@@ -36,8 +34,7 @@
36
34
  <view
37
35
  class="jfb-base-multiple-express__body-express-number-copy"
38
36
  @click="copy(item.logistics_number)"
39
- >复制单号</view
40
- >
37
+ >复制单号</view>
41
38
  </view>
42
39
  <view
43
40
  class="jfb-base-multiple-express__body-express-product"
@@ -46,30 +43,22 @@
46
43
  <view
47
44
  :style="{ color: mainColor }"
48
45
  class="jfb-base-multiple-express__body-express-product-status"
49
- >{{ item.sub_order_status_text }}</view
50
- >
46
+ >{{ item.sub_order_status_text }}</view>
51
47
  <view
52
48
  class="jfb-base-multiple-express__body-express-product-content"
53
49
  v-for="(Sitem, Sindex) in item.showList"
54
50
  :key="Sindex"
55
51
  >
56
- <image
57
- :src="Sitem.thumb"
58
- style="background: #ffffff"
59
- mode="aspectFit"
60
- ></image>
52
+ <image :src="Sitem.thumb" style="background: #ffffff" mode="aspectFit"></image>
61
53
  <view
62
54
  class="jfb-base-multiple-express__body-express-product-content-info"
63
55
  >
64
- <view
65
- class="jfb-base-multiple-express__body-express-product-content-info-name"
66
- >{{ Sitem.product_name }}</view
67
- >
56
+ <view class="jfb-base-multiple-express__body-express-product-content-info-name">{{ Sitem.product_name }}</view>
57
+ <view class="brand-name" v-if="Sitem.brand_name" :style="{color:brandTextColor}">{{ Sitem.brand_name }}</view>
68
58
  <view
69
59
  v-if="Sitem.sku_name"
70
60
  class="jfb-base-multiple-express__body-express-product-content-info-skuname"
71
- >规格:{{ Sitem.sku_name }}</view
72
- >
61
+ >规格:{{ Sitem.sku_name }}</view>
73
62
  <view
74
63
  class="jfb-base-multiple-express__body-express-product-content-info-price"
75
64
  >
@@ -83,7 +72,7 @@
83
72
  </view>
84
73
  <view v-else></view>
85
74
  <view class="info-price">
86
- x
75
+ <text>x</text>
87
76
  <text style="margin-left: 8rpx;">{{ Sitem.num }}</text>
88
77
  </view>
89
78
  </view>
@@ -127,6 +116,7 @@ export default {
127
116
  return {
128
117
  express: [],
129
118
  main_order_id: "",
119
+ brandTextColor:'',
130
120
  };
131
121
  },
132
122
  watch: {
@@ -180,13 +170,8 @@ export default {
180
170
  * @param container {object} 业务组件对象自己
181
171
  */
182
172
  init(container) {
183
- this.expressPath = getContainerPropsValue(
184
- container,
185
- "content.expressPath",
186
- {
187
- value: "",
188
- }
189
- ).value;
173
+ this.expressPath = getContainerPropsValue(container, "content.expressPath", {value: "",}).value;
174
+ this.brandTextColor = getContainerPropsValue(container, "content.brandTextColor", this.mainColor);
190
175
  },
191
176
  handleToDetail(item) {
192
177
  this.$xdUniHelper.navigateTo({
@@ -289,7 +274,7 @@ export default {
289
274
  &-status {
290
275
  font-size: unit(24, rpx);
291
276
  text-align: right;
292
- margin: unit(36, rpx) 0;
277
+ margin: unit(20, rpx) 0;
293
278
  }
294
279
 
295
280
  &-content {
@@ -310,7 +295,14 @@ export default {
310
295
  flex-direction: column;
311
296
  justify-content: space-between;
312
297
  margin-left: unit(24, rpx);
313
- height: unit(160, rpx);
298
+ min-height: unit(160, rpx);
299
+
300
+ .brand-name {
301
+ font-size: 24rpx;
302
+ margin-bottom: 6rpx;
303
+ .uni-max-cut(2, 64);
304
+ line-height: 32rpx;
305
+ }
314
306
 
315
307
  &-name {
316
308
  font-size: unit(32, rpx);
@@ -11,6 +11,8 @@ module.exports = {
11
11
  "logistics_number": "SF1685689779402",
12
12
  "package_id": "K8bX6_E7KZcIq7K6DiHJb",
13
13
  "product_list": [{
14
+ 'brand_id': 20001,
15
+ 'brand_name': "维尔纳斯",
14
16
  "product_id": 60006948,
15
17
  "product_name": "生日蛋糕",
16
18
  "sku_id": "0",
@@ -19,6 +21,8 @@ module.exports = {
19
21
  "thumb": "\/\/sandbox-img.jufubao.cn\/uploads\/20230406\/0b890cd5a947d9c5724b412d34cd4000.png",
20
22
  "price": 2103
21
23
  }, {
24
+ 'brand_id': 20001,
25
+ 'brand_name': "维尔纳斯",
22
26
  "product_id": 60006948,
23
27
  "product_name": "生日蛋糕",
24
28
  "sku_id": "0",
@@ -36,6 +40,8 @@ module.exports = {
36
40
  "logistics_number": "75580431357494",
37
41
  "package_id": "GSoLqqSNzneETTn-QlZZG",
38
42
  "product_list": [{
43
+ 'brand_id': 2,
44
+ 'brand_name': "北京味多美蛋糕叔叔/HEYTEA/喜茶/凯蒂猫/Quange/全格",
39
45
  "product_id": 60006948,
40
46
  "product_name": "生日蛋糕",
41
47
  "sku_id": "0",
@@ -53,6 +59,8 @@ module.exports = {
53
59
  "logistics_number": "75580918666266",
54
60
  "package_id": "oxrqHZEeKn_a9qrjwYwRG",
55
61
  "product_list": [{
62
+ 'brand_id': 2,
63
+ 'brand_name': "北京味多美蛋糕叔叔/HEYTEA/喜茶/凯蒂猫/Quange/全格",
56
64
  "product_id": 60006948,
57
65
  "product_name": "生日蛋糕",
58
66
  "sku_id": "0",
@@ -70,6 +78,8 @@ module.exports = {
70
78
  "logistics_number": "1231",
71
79
  "package_id": "axz_Mgal3f3G5k3eELsUd",
72
80
  "product_list": [{
81
+ 'brand_id': 20167,
82
+ 'brand_name': "派悦坊",
73
83
  "product_id": 60006948,
74
84
  "product_name": "生日蛋糕",
75
85
  "sku_id": "0",
@@ -260,6 +260,20 @@ export default {
260
260
  }
261
261
  },
262
262
  },
263
+ {
264
+ label: "是否展示可用门店:",
265
+ ele: 'xd-radio',
266
+ valueKey: "is_show_support_shop",
267
+ value: data['is_show_support_shop'] || 'N',
268
+ groupKey:'content',
269
+ placeholder: '请选择是否展示可用门店',
270
+ multiple: false,
271
+ className: 'input80',
272
+ list: [
273
+ { label: '是', value: 'Y' },
274
+ { label: '否', value: 'N' },
275
+ ]
276
+ },
263
277
  {
264
278
  label: '外填充:',
265
279
  ele: 'xd-margin-padding',
@@ -273,6 +287,15 @@ export default {
273
287
  inline: false,
274
288
  notice: '设置外填充,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
275
289
  },
290
+ {
291
+ label: '品牌文字颜色:',
292
+ ele: 'xd-color',
293
+ valueKey: 'brandTextColor',
294
+ groupKey:'style',
295
+ value: data['brandTextColor'] || null,
296
+ placeholder: '请选择品牌文字颜色',
297
+ classNmae: 'input80',
298
+ },
276
299
  {
277
300
  label: '背景颜色:',
278
301
  ele: 'xd-color',