create-weapp-vite 2.0.31 → 2.0.32

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 (175) hide show
  1. package/README.md +1 -0
  2. package/dist/{chunk-FGMHC2DJ.js → chunk-IT75MAH3.js} +3 -2
  3. package/dist/cli.js +5 -1
  4. package/dist/index.d.ts +1 -0
  5. package/dist/index.js +1 -1
  6. package/package.json +1 -1
  7. package/templates/wevu-retail/.editorconfig +9 -0
  8. package/templates/wevu-retail/.vscode/settings.json +10 -0
  9. package/templates/wevu-retail/AGENTS.md +35 -0
  10. package/templates/wevu-retail/README.md +26 -0
  11. package/templates/wevu-retail/auto-import-components.json +1 -0
  12. package/templates/wevu-retail/gitignore +35 -0
  13. package/templates/wevu-retail/package.json +42 -0
  14. package/templates/wevu-retail/postcss.config.js +6 -0
  15. package/templates/wevu-retail/project.config.json +44 -0
  16. package/templates/wevu-retail/project.private.config.json +8 -0
  17. package/templates/wevu-retail/src/app.vue +104 -0
  18. package/templates/wevu-retail/src/common/updateManager.ts +29 -0
  19. package/templates/wevu-retail/src/components/filter/index.vue +134 -0
  20. package/templates/wevu-retail/src/components/filter-popup/index.vue +67 -0
  21. package/templates/wevu-retail/src/components/goods-card/index.vue +219 -0
  22. package/templates/wevu-retail/src/components/goods-list/index.vue +91 -0
  23. package/templates/wevu-retail/src/components/load-more/index.vue +99 -0
  24. package/templates/wevu-retail/src/components/loading-content/index.vue +48 -0
  25. package/templates/wevu-retail/src/components/price/index.vue +104 -0
  26. package/templates/wevu-retail/src/components/promotion/ui-coupon-card/index.vue +143 -0
  27. package/templates/wevu-retail/src/components/promotion/ui-coupon-card/tools.wxs +18 -0
  28. package/templates/wevu-retail/src/components/swipeout/index.vue +118 -0
  29. package/templates/wevu-retail/src/components/swipeout/swipe.wxs +151 -0
  30. package/templates/wevu-retail/src/components/webp-image/index.vue +105 -0
  31. package/templates/wevu-retail/src/components/webp-image/utils.wxs +140 -0
  32. package/templates/wevu-retail/src/config/index.ts +20437 -0
  33. package/templates/wevu-retail/src/custom-tab-bar/data.ts +22 -0
  34. package/templates/wevu-retail/src/custom-tab-bar/index.vue +62 -0
  35. package/templates/wevu-retail/src/model/activities.ts +7 -0
  36. package/templates/wevu-retail/src/model/activity.ts +18 -0
  37. package/templates/wevu-retail/src/model/address.ts +31 -0
  38. package/templates/wevu-retail/src/model/cart.ts +306 -0
  39. package/templates/wevu-retail/src/model/category.ts +175 -0
  40. package/templates/wevu-retail/src/model/comments/queryDetail.ts +50 -0
  41. package/templates/wevu-retail/src/model/comments.ts +298 -0
  42. package/templates/wevu-retail/src/model/coupon.ts +39 -0
  43. package/templates/wevu-retail/src/model/detailsComments.ts +30 -0
  44. package/templates/wevu-retail/src/model/good.ts +1904 -0
  45. package/templates/wevu-retail/src/model/goods.ts +7 -0
  46. package/templates/wevu-retail/src/model/order/applyService.ts +329 -0
  47. package/templates/wevu-retail/src/model/order/orderConfirm.ts +147 -0
  48. package/templates/wevu-retail/src/model/order/orderDetail.ts +1191 -0
  49. package/templates/wevu-retail/src/model/order/orderList.ts +1033 -0
  50. package/templates/wevu-retail/src/model/promotion.ts +20 -0
  51. package/templates/wevu-retail/src/model/search.ts +60 -0
  52. package/templates/wevu-retail/src/model/submitComment.ts +58 -0
  53. package/templates/wevu-retail/src/model/swiper.ts +39 -0
  54. package/templates/wevu-retail/src/model/usercenter.ts +52 -0
  55. package/templates/wevu-retail/src/pages/cart/components/cart-bar/index.vue +104 -0
  56. package/templates/wevu-retail/src/pages/cart/components/cart-empty/index.vue +41 -0
  57. package/templates/wevu-retail/src/pages/cart/components/cart-group/index.vue +333 -0
  58. package/templates/wevu-retail/src/pages/cart/components/cart-group/index.wxs +5 -0
  59. package/templates/wevu-retail/src/pages/cart/components/cart-group/utils.wxs +20 -0
  60. package/templates/wevu-retail/src/pages/cart/components/goods-card/index.vue +334 -0
  61. package/templates/wevu-retail/src/pages/cart/components/specs-popup/index.vue +100 -0
  62. package/templates/wevu-retail/src/pages/cart/index.vue +342 -0
  63. package/templates/wevu-retail/src/pages/category/components/goods-category/components/c-sidebar/README.md +95 -0
  64. package/templates/wevu-retail/src/pages/category/components/goods-category/components/c-sidebar/c-sidebar-item/index.vue +73 -0
  65. package/templates/wevu-retail/src/pages/category/components/goods-category/components/c-sidebar/index.vue +121 -0
  66. package/templates/wevu-retail/src/pages/category/components/goods-category/components/c-tabbar/c-tabbar-more/index.vue +74 -0
  67. package/templates/wevu-retail/src/pages/category/components/goods-category/components/c-tabbar/index.vue +102 -0
  68. package/templates/wevu-retail/src/pages/category/components/goods-category/index.vue +137 -0
  69. package/templates/wevu-retail/src/pages/category/index.vue +50 -0
  70. package/templates/wevu-retail/src/pages/coupon/components/coupon-card/index.vue +95 -0
  71. package/templates/wevu-retail/src/pages/coupon/components/floating-button/index.vue +44 -0
  72. package/templates/wevu-retail/src/pages/coupon/coupon-activity-goods/index.vue +135 -0
  73. package/templates/wevu-retail/src/pages/coupon/coupon-detail/index.vue +94 -0
  74. package/templates/wevu-retail/src/pages/coupon/coupon-list/index.vue +136 -0
  75. package/templates/wevu-retail/src/pages/goods/comments/components/comments-card/components/images-videos/assets/play.png +0 -0
  76. package/templates/wevu-retail/src/pages/goods/comments/components/comments-card/components/images-videos/index.vue +65 -0
  77. package/templates/wevu-retail/src/pages/goods/comments/components/comments-card/components/my-video/index.vue +92 -0
  78. package/templates/wevu-retail/src/pages/goods/comments/components/comments-card/index.vue +93 -0
  79. package/templates/wevu-retail/src/pages/goods/comments/create/index.vue +196 -0
  80. package/templates/wevu-retail/src/pages/goods/comments/index.vue +293 -0
  81. package/templates/wevu-retail/src/pages/goods/details/components/buy-bar/index.vue +117 -0
  82. package/templates/wevu-retail/src/pages/goods/details/components/goods-specs-popup/index.vue +440 -0
  83. package/templates/wevu-retail/src/pages/goods/details/components/promotion-popup/index.vue +83 -0
  84. package/templates/wevu-retail/src/pages/goods/details/index.vue +598 -0
  85. package/templates/wevu-retail/src/pages/goods/list/index.vue +299 -0
  86. package/templates/wevu-retail/src/pages/goods/result/index.vue +350 -0
  87. package/templates/wevu-retail/src/pages/goods/search/index.vue +196 -0
  88. package/templates/wevu-retail/src/pages/home/home.vue +215 -0
  89. package/templates/wevu-retail/src/pages/home/readme +8 -0
  90. package/templates/wevu-retail/src/pages/order/after-service-detail/api.ts +34 -0
  91. package/templates/wevu-retail/src/pages/order/after-service-detail/index.vue +430 -0
  92. package/templates/wevu-retail/src/pages/order/after-service-list/api.ts +1262 -0
  93. package/templates/wevu-retail/src/pages/order/after-service-list/index.vue +299 -0
  94. package/templates/wevu-retail/src/pages/order/apply-service/index.vue +665 -0
  95. package/templates/wevu-retail/src/pages/order/components/after-service-button-bar/index.vue +142 -0
  96. package/templates/wevu-retail/src/pages/order/components/customer-service/index.vue +75 -0
  97. package/templates/wevu-retail/src/pages/order/components/goods-card/index.vue +356 -0
  98. package/templates/wevu-retail/src/pages/order/components/noGoods/noGood.wxs +17 -0
  99. package/templates/wevu-retail/src/pages/order/components/noGoods/noGoods.vue +125 -0
  100. package/templates/wevu-retail/src/pages/order/components/order-button-bar/index.vue +262 -0
  101. package/templates/wevu-retail/src/pages/order/components/order-card/index.vue +126 -0
  102. package/templates/wevu-retail/src/pages/order/components/order-goods-card/index.vue +86 -0
  103. package/templates/wevu-retail/src/pages/order/components/reason-sheet/index.vue +161 -0
  104. package/templates/wevu-retail/src/pages/order/components/reason-sheet/reasonSheet.ts +25 -0
  105. package/templates/wevu-retail/src/pages/order/components/selectCoupons/mock.ts +22 -0
  106. package/templates/wevu-retail/src/pages/order/components/selectCoupons/selectCoupon.wxs +16 -0
  107. package/templates/wevu-retail/src/pages/order/components/selectCoupons/selectCoupons.vue +207 -0
  108. package/templates/wevu-retail/src/pages/order/components/specs-goods-card/index.vue +185 -0
  109. package/templates/wevu-retail/src/pages/order/config.ts +94 -0
  110. package/templates/wevu-retail/src/pages/order/delivery-detail/index.vue +145 -0
  111. package/templates/wevu-retail/src/pages/order/delivery-detail/isUrl.wxs +7 -0
  112. package/templates/wevu-retail/src/pages/order/fill-tracking-no/api.ts +71 -0
  113. package/templates/wevu-retail/src/pages/order/fill-tracking-no/index.vue +267 -0
  114. package/templates/wevu-retail/src/pages/order/invoice/index.vue +94 -0
  115. package/templates/wevu-retail/src/pages/order/order-confirm/components/address-card/index.vue +78 -0
  116. package/templates/wevu-retail/src/pages/order/order-confirm/getNotes.wxs +11 -0
  117. package/templates/wevu-retail/src/pages/order/order-confirm/handleInvoice.wxs +11 -0
  118. package/templates/wevu-retail/src/pages/order/order-confirm/index.vue +707 -0
  119. package/templates/wevu-retail/src/pages/order/order-confirm/order.wxs +8 -0
  120. package/templates/wevu-retail/src/pages/order/order-confirm/pay.ts +115 -0
  121. package/templates/wevu-retail/src/pages/order/order-detail/index.vue +456 -0
  122. package/templates/wevu-retail/src/pages/order/order-list/index.vue +288 -0
  123. package/templates/wevu-retail/src/pages/order/pay-result/index.vue +77 -0
  124. package/templates/wevu-retail/src/pages/order/receipt/index.vue +336 -0
  125. package/templates/wevu-retail/src/pages/promotion/promotion-detail/index.vue +145 -0
  126. package/templates/wevu-retail/src/pages/user/address/edit/index.vue +514 -0
  127. package/templates/wevu-retail/src/pages/user/address/list/index.vue +249 -0
  128. package/templates/wevu-retail/src/pages/user/components/t-location/index.vue +156 -0
  129. package/templates/wevu-retail/src/pages/user/components/ui-address-item/index.vue +92 -0
  130. package/templates/wevu-retail/src/pages/user/name-edit/index.vue +49 -0
  131. package/templates/wevu-retail/src/pages/user/person-info/index.vue +198 -0
  132. package/templates/wevu-retail/src/pages/usercenter/address/edit/util.ts +33 -0
  133. package/templates/wevu-retail/src/pages/usercenter/components/order-group/index.vue +90 -0
  134. package/templates/wevu-retail/src/pages/usercenter/components/ui-select-picker/index.vue +108 -0
  135. package/templates/wevu-retail/src/pages/usercenter/components/user-center-card/index.vue +82 -0
  136. package/templates/wevu-retail/src/pages/usercenter/index.vue +301 -0
  137. package/templates/wevu-retail/src/services/_utils/delay.ts +3 -0
  138. package/templates/wevu-retail/src/services/_utils/timeout.ts +3 -0
  139. package/templates/wevu-retail/src/services/activity/fetchActivity.ts +20 -0
  140. package/templates/wevu-retail/src/services/activity/fetchActivityList.ts +20 -0
  141. package/templates/wevu-retail/src/services/address/edit.ts +33 -0
  142. package/templates/wevu-retail/src/services/address/fetchAddress.ts +48 -0
  143. package/templates/wevu-retail/src/services/address/list.ts +31 -0
  144. package/templates/wevu-retail/src/services/cart/cart.ts +20 -0
  145. package/templates/wevu-retail/src/services/comments/fetchComments.ts +18 -0
  146. package/templates/wevu-retail/src/services/comments/fetchCommentsCount.ts +18 -0
  147. package/templates/wevu-retail/src/services/coupon/index.ts +65 -0
  148. package/templates/wevu-retail/src/services/good/comments/fetchCommentDetail.ts +20 -0
  149. package/templates/wevu-retail/src/services/good/fetchCategoryList.ts +18 -0
  150. package/templates/wevu-retail/src/services/good/fetchGood.ts +18 -0
  151. package/templates/wevu-retail/src/services/good/fetchGoods.ts +29 -0
  152. package/templates/wevu-retail/src/services/good/fetchGoodsDetailsComments.ts +37 -0
  153. package/templates/wevu-retail/src/services/good/fetchGoodsList.ts +39 -0
  154. package/templates/wevu-retail/src/services/good/fetchSearchHistory.ts +35 -0
  155. package/templates/wevu-retail/src/services/good/fetchSearchResult.ts +38 -0
  156. package/templates/wevu-retail/src/services/home/home.ts +53 -0
  157. package/templates/wevu-retail/src/services/order/applyService.ts +70 -0
  158. package/templates/wevu-retail/src/services/order/orderConfirm.ts +69 -0
  159. package/templates/wevu-retail/src/services/order/orderDetail.ts +39 -0
  160. package/templates/wevu-retail/src/services/order/orderList.ts +39 -0
  161. package/templates/wevu-retail/src/services/order/orderSubmitComment.ts +22 -0
  162. package/templates/wevu-retail/src/services/promotion/detail.ts +18 -0
  163. package/templates/wevu-retail/src/services/usercenter/fetchPerson.ts +28 -0
  164. package/templates/wevu-retail/src/services/usercenter/fetchUsercenter.ts +18 -0
  165. package/templates/wevu-retail/src/sitemap.json +7 -0
  166. package/templates/wevu-retail/src/utils/addressParse.ts +25 -0
  167. package/templates/wevu-retail/src/utils/getPermission.ts +45 -0
  168. package/templates/wevu-retail/src/utils/mock.ts +51 -0
  169. package/templates/wevu-retail/src/utils/util.ts +134 -0
  170. package/templates/wevu-retail/src/vite-env.d.ts +1 -0
  171. package/templates/wevu-retail/tailwind.config.ts +15 -0
  172. package/templates/wevu-retail/tsconfig.app.json +58 -0
  173. package/templates/wevu-retail/tsconfig.json +11 -0
  174. package/templates/wevu-retail/tsconfig.node.json +33 -0
  175. package/templates/wevu-retail/vite.config.ts +14 -0
@@ -0,0 +1,1904 @@
1
+ import { cdnBase } from '../config/index';
2
+ const imgPrefix = cdnBase;
3
+
4
+ const defaultDesc = [`${imgPrefix}/goods/details-1.png`];
5
+
6
+ const allGoods = [
7
+ {
8
+ saasId: '88888888',
9
+ storeId: '1000',
10
+ spuId: '0',
11
+ title: '白色短袖连衣裙荷叶边裙摆宽松韩版休闲纯白清爽优雅连衣裙',
12
+ primaryImage: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-09a.png',
13
+ images: [
14
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-09a.png',
15
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-09b.png',
16
+ ],
17
+ video: null,
18
+ available: 1,
19
+ minSalePrice: 29800,
20
+ minLinePrice: 29800,
21
+ maxSalePrice: 29800,
22
+ maxLinePrice: 40000,
23
+ spuStockQuantity: 510,
24
+ soldNum: 1020,
25
+ isPutOnSale: 1,
26
+ categoryIds: ['127880527393854975', '127880527393854976', '127880537778953984'],
27
+ specList: [
28
+ {
29
+ specId: '10011',
30
+ title: '颜色',
31
+ specValueList: [
32
+ {
33
+ specValueId: '10012',
34
+ specId: null,
35
+ saasId: null,
36
+ specValue: '米色荷叶边',
37
+ image: null,
38
+ },
39
+ ],
40
+ },
41
+ {
42
+ specId: '10013',
43
+ title: '尺码',
44
+ specValueList: [
45
+ {
46
+ specValueId: '11014',
47
+ specId: null,
48
+ saasId: null,
49
+ specValue: 'S',
50
+ image: null,
51
+ },
52
+ {
53
+ specValueId: '10014',
54
+ specId: null,
55
+ saasId: null,
56
+ specValue: 'M',
57
+ image: null,
58
+ },
59
+ {
60
+ specValueId: '11013',
61
+ specId: null,
62
+ saasId: null,
63
+ specValue: 'L',
64
+ image: null,
65
+ },
66
+ ],
67
+ },
68
+ ],
69
+ skuList: [
70
+ {
71
+ skuId: '135676631',
72
+ skuImage: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-09a.png',
73
+ specInfo: [
74
+ {
75
+ specId: '10011',
76
+ specTitle: null,
77
+ specValueId: '10012',
78
+ specValue: null,
79
+ },
80
+ {
81
+ specId: '10013',
82
+ specTitle: null,
83
+ specValueId: '11014',
84
+ specValue: null,
85
+ },
86
+ ],
87
+ priceInfo: [
88
+ { priceType: 1, price: '29800', priceTypeName: null },
89
+ { priceType: 2, price: '40000', priceTypeName: null },
90
+ ],
91
+ stockInfo: {
92
+ stockQuantity: 175,
93
+ safeStockQuantity: 0,
94
+ soldQuantity: 0,
95
+ },
96
+ weight: { value: null, unit: 'KG' },
97
+ volume: null,
98
+ profitPrice: null,
99
+ },
100
+ {
101
+ skuId: '135676632',
102
+ skuImage: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-09a.png',
103
+ specInfo: [
104
+ {
105
+ specId: '10011',
106
+ specTitle: null,
107
+ specValueId: '10012',
108
+ specValue: null,
109
+ },
110
+ {
111
+ specId: '10013',
112
+ specTitle: null,
113
+ specValueId: '11013',
114
+ specValue: null,
115
+ },
116
+ ],
117
+ priceInfo: [
118
+ { priceType: 1, price: '29800', priceTypeName: null },
119
+ { priceType: 2, price: '40000', priceTypeName: null },
120
+ ],
121
+ stockInfo: {
122
+ stockQuantity: 158,
123
+ safeStockQuantity: 0,
124
+ soldQuantity: 0,
125
+ },
126
+ weight: { value: null, unit: 'KG' },
127
+ volume: null,
128
+ profitPrice: null,
129
+ },
130
+ {
131
+ skuId: '135681631',
132
+ skuImage: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-09a.png',
133
+ specInfo: [
134
+ {
135
+ specId: '10011',
136
+ specTitle: null,
137
+ specValueId: '10012',
138
+ specValue: null,
139
+ },
140
+ {
141
+ specId: '10013',
142
+ specTitle: null,
143
+ specValueId: '10014',
144
+ specValue: null,
145
+ },
146
+ ],
147
+ priceInfo: [
148
+ { priceType: 1, price: '29800', priceTypeName: null },
149
+ { priceType: 2, price: '40000', priceTypeName: null },
150
+ ],
151
+ stockInfo: {
152
+ stockQuantity: 177,
153
+ safeStockQuantity: 0,
154
+ soldQuantity: 0,
155
+ },
156
+ weight: { value: null, unit: 'KG' },
157
+ volume: null,
158
+ profitPrice: null,
159
+ },
160
+ ],
161
+ spuTagList: [{ id: '13001', title: '限时抢购', image: null }],
162
+ limitInfo: [
163
+ {
164
+ text: '限购5件',
165
+ },
166
+ ],
167
+ desc: [
168
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-09c.png',
169
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-09d.png',
170
+ ],
171
+ etitle: '',
172
+ },
173
+ {
174
+ saasId: '88888888',
175
+ storeId: '1000',
176
+ spuId: '135686633',
177
+ title: '纯色纯棉休闲圆领短袖T恤纯白亲肤厚柔软细腻面料纯白短袖套头T恤',
178
+ primaryImage: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-08b.png',
179
+ minSalePrice: '25900',
180
+ minLinePrice: '31900',
181
+ maxSalePrice: '26900',
182
+ maxLinePrice: '31900',
183
+ isSoldOut: false,
184
+ images: [
185
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-08a.png',
186
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-08a1.png',
187
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-08b.png',
188
+ ],
189
+ groupIdList: ['15029', '14023'],
190
+ spuTagList: [
191
+ {
192
+ id: null,
193
+ title: '2020夏季新款',
194
+ image: null,
195
+ },
196
+ ],
197
+ skuList: [
198
+ {
199
+ skuId: '135686634',
200
+ skuImage: null,
201
+ specInfo: [
202
+ {
203
+ specId: '10000',
204
+ specTitle: null,
205
+ specValueId: '10001',
206
+ specValue: '白色',
207
+ },
208
+ {
209
+ specId: '10002',
210
+ specTitle: null,
211
+ specValueId: '10003',
212
+ specValue: 'M',
213
+ },
214
+ ],
215
+ priceInfo: [
216
+ {
217
+ priceType: 1,
218
+ price: '25900',
219
+ priceTypeName: '销售价格',
220
+ },
221
+ {
222
+ priceType: 2,
223
+ price: '31900',
224
+ priceTypeName: '划线价格',
225
+ },
226
+ ],
227
+ stockInfo: {
228
+ stockQuantity: -9,
229
+ safeStockQuantity: 0,
230
+ soldQuantity: 0,
231
+ },
232
+ weight: null,
233
+ volume: null,
234
+ profitPrice: null,
235
+ },
236
+ {
237
+ skuId: '135691631',
238
+ skuImage: null,
239
+ specInfo: [
240
+ {
241
+ specId: '10000',
242
+ specTitle: null,
243
+ specValueId: '10001',
244
+ specValue: '白色',
245
+ },
246
+ {
247
+ specId: '10002',
248
+ specTitle: null,
249
+ specValueId: '11003',
250
+ specValue: 'S',
251
+ },
252
+ ],
253
+ priceInfo: [
254
+ {
255
+ priceType: 1,
256
+ price: '26900',
257
+ priceTypeName: '销售价格',
258
+ },
259
+ {
260
+ priceType: 2,
261
+ price: '31900',
262
+ priceTypeName: '划线价格',
263
+ },
264
+ ],
265
+ stockInfo: {
266
+ stockQuantity: 177,
267
+ safeStockQuantity: 0,
268
+ soldQuantity: 0,
269
+ },
270
+ weight: null,
271
+ volume: null,
272
+ profitPrice: null,
273
+ },
274
+ {
275
+ skuId: '135691632',
276
+ skuImage: null,
277
+ specInfo: [
278
+ {
279
+ specId: '10000',
280
+ specTitle: null,
281
+ specValueId: '10001',
282
+ specValue: '白色',
283
+ },
284
+ {
285
+ specId: '10002',
286
+ specTitle: null,
287
+ specValueId: '11002',
288
+ specValue: 'L',
289
+ },
290
+ ],
291
+ priceInfo: [
292
+ {
293
+ priceType: 1,
294
+ price: '26900',
295
+ priceTypeName: '销售价格',
296
+ },
297
+ {
298
+ priceType: 2,
299
+ price: '31900',
300
+ priceTypeName: '划线价格',
301
+ },
302
+ ],
303
+ stockInfo: {
304
+ stockQuantity: 194,
305
+ safeStockQuantity: 0,
306
+ soldQuantity: 0,
307
+ },
308
+ weight: null,
309
+ volume: null,
310
+ profitPrice: null,
311
+ },
312
+ ],
313
+ isAvailable: 1,
314
+ spuStockQuantity: 371,
315
+ soldNum: 1032,
316
+ isPutOnSale: 1,
317
+ specList: [
318
+ {
319
+ specId: '10000',
320
+ title: '颜色',
321
+ specValueList: [
322
+ {
323
+ specValueId: '10001',
324
+ specId: '10000',
325
+ saasId: '88888888',
326
+ specValue: '白色',
327
+ image: '',
328
+ },
329
+ ],
330
+ },
331
+ {
332
+ specId: '10002',
333
+ title: '尺码',
334
+ specValueList: [
335
+ {
336
+ specValueId: '11003',
337
+ specId: '10002',
338
+ saasId: '88888888',
339
+ specValue: 'S',
340
+ image: '',
341
+ },
342
+ {
343
+ specValueId: '10003',
344
+ specId: '10002',
345
+ saasId: '88888888',
346
+ specValue: 'M',
347
+ image: '',
348
+ },
349
+ {
350
+ specValueId: '11002',
351
+ specId: '10002',
352
+ saasId: '88888888',
353
+ specValue: 'L',
354
+ image: '',
355
+ },
356
+ ],
357
+ },
358
+ ],
359
+ promotionList: null,
360
+ minProfitPrice: null,
361
+ etitle: '',
362
+ desc: [
363
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-08c.png',
364
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-08d.png',
365
+ ],
366
+ },
367
+ {
368
+ saasId: '88888888',
369
+ storeId: '1000',
370
+ spuId: '135691628',
371
+ title: '运动连帽拉链卫衣休闲开衫长袖多色运动细绒面料运动上衣',
372
+ images: [
373
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-17a.png',
374
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-17a1.png',
375
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-17b.png',
376
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-17b1.png',
377
+ ],
378
+ primaryImage: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-17a.png',
379
+ minSalePrice: '25900',
380
+ minLinePrice: '39900',
381
+ maxSalePrice: '25900',
382
+ maxLinePrice: '39900',
383
+ isSoldOut: true,
384
+ groupIdList: ['15029', '14023'],
385
+ spuTagList: [
386
+ {
387
+ id: null,
388
+ title: '2020夏季新款',
389
+ image: null,
390
+ },
391
+ ],
392
+ skuList: [
393
+ {
394
+ skuId: '135686631',
395
+ skuImage: null,
396
+ specInfo: [
397
+ {
398
+ specId: '127904180600844800',
399
+ specTitle: null,
400
+ specValueId: '127904180768617216',
401
+ specValue: '军绿色',
402
+ },
403
+ {
404
+ specId: '127904861604820480',
405
+ specTitle: null,
406
+ specValueId: '127904862494014208',
407
+ specValue: 'XS',
408
+ },
409
+ ],
410
+ priceInfo: [
411
+ {
412
+ priceType: 1,
413
+ price: '25900',
414
+ priceTypeName: '销售价格',
415
+ },
416
+ {
417
+ priceType: 2,
418
+ price: '39900',
419
+ priceTypeName: '划线价格',
420
+ },
421
+ ],
422
+ stockInfo: {
423
+ stockQuantity: 0,
424
+ safeStockQuantity: 0,
425
+ soldQuantity: 0,
426
+ },
427
+ weight: null,
428
+ volume: null,
429
+ profitPrice: null,
430
+ },
431
+ {
432
+ skuId: '135686632',
433
+ skuImage: null,
434
+ specInfo: [
435
+ {
436
+ specId: '127904180600844800',
437
+ specTitle: null,
438
+ specValueId: '127904180768617216',
439
+ specValue: '军绿色',
440
+ },
441
+ {
442
+ specId: '127904861604820480',
443
+ specTitle: null,
444
+ specValueId: '127904862007474176',
445
+ specValue: 'M',
446
+ },
447
+ ],
448
+ priceInfo: [
449
+ {
450
+ priceType: 1,
451
+ price: '25900',
452
+ priceTypeName: '销售价格',
453
+ },
454
+ {
455
+ priceType: 2,
456
+ price: '39900',
457
+ priceTypeName: '划线价格',
458
+ },
459
+ ],
460
+ stockInfo: {
461
+ stockQuantity: 0,
462
+ safeStockQuantity: 0,
463
+ soldQuantity: 0,
464
+ },
465
+ weight: null,
466
+ volume: null,
467
+ profitPrice: null,
468
+ },
469
+ {
470
+ skuId: '135691629',
471
+ skuImage: null,
472
+ specInfo: [
473
+ {
474
+ specId: '127904180600844800',
475
+ specTitle: null,
476
+ specValueId: '127904180768617216',
477
+ specValue: '军绿色',
478
+ },
479
+ {
480
+ specId: '127904861604820480',
481
+ specTitle: null,
482
+ specValueId: '127904862175246592',
483
+ specValue: 'S',
484
+ },
485
+ ],
486
+ priceInfo: [
487
+ {
488
+ priceType: 1,
489
+ price: '25900',
490
+ priceTypeName: '销售价格',
491
+ },
492
+ {
493
+ priceType: 2,
494
+ price: '39900',
495
+ priceTypeName: '划线价格',
496
+ },
497
+ ],
498
+ stockInfo: {
499
+ stockQuantity: 0,
500
+ safeStockQuantity: 0,
501
+ soldQuantity: 0,
502
+ },
503
+ weight: null,
504
+ volume: null,
505
+ profitPrice: null,
506
+ },
507
+ {
508
+ skuId: '135691630',
509
+ skuImage: null,
510
+ specInfo: [
511
+ {
512
+ specId: '127904180600844800',
513
+ specTitle: null,
514
+ specValueId: '127904180768617216',
515
+ specValue: '军绿色',
516
+ },
517
+ {
518
+ specId: '127904861604820480',
519
+ specTitle: null,
520
+ specValueId: '127904861755815680',
521
+ specValue: 'L',
522
+ },
523
+ ],
524
+ priceInfo: [
525
+ {
526
+ priceType: 1,
527
+ price: '25900',
528
+ priceTypeName: '销售价格',
529
+ },
530
+ {
531
+ priceType: 2,
532
+ price: '39900',
533
+ priceTypeName: '划线价格',
534
+ },
535
+ ],
536
+ stockInfo: {
537
+ stockQuantity: 0,
538
+ safeStockQuantity: 0,
539
+ soldQuantity: 0,
540
+ },
541
+ weight: null,
542
+ volume: null,
543
+ profitPrice: null,
544
+ },
545
+ ],
546
+ isAvailable: 1,
547
+ spuStockQuantity: 0,
548
+ soldNum: 1022,
549
+ isPutOnSale: 1,
550
+ specList: [
551
+ {
552
+ specId: '127904180600844800',
553
+ title: '颜色',
554
+ specValueList: [
555
+ {
556
+ specValueId: '127904180768617216',
557
+ specId: '127904180600844800',
558
+ saasId: '88888888',
559
+ specValue: '军绿色',
560
+ image: '',
561
+ },
562
+ ],
563
+ },
564
+ {
565
+ specId: '127904861604820480',
566
+ title: '尺码',
567
+ specValueList: [
568
+ {
569
+ specValueId: '127904862494014208',
570
+ specId: '127904861604820480',
571
+ saasId: '88888888',
572
+ specValue: 'XS',
573
+ image: '',
574
+ },
575
+ {
576
+ specValueId: '127904862175246592',
577
+ specId: '127904861604820480',
578
+ saasId: '88888888',
579
+ specValue: 'S',
580
+ image: '',
581
+ },
582
+ {
583
+ specValueId: '127904862007474176',
584
+ specId: '127904861604820480',
585
+ saasId: '88888888',
586
+ specValue: 'M',
587
+ image: '',
588
+ },
589
+ {
590
+ specValueId: '127904861755815680',
591
+ specId: '127904861604820480',
592
+ saasId: '88888888',
593
+ specValue: 'L',
594
+ image: '',
595
+ },
596
+ ],
597
+ },
598
+ ],
599
+ promotionList: null,
600
+ minProfitPrice: null,
601
+ etitle: '',
602
+ desc: [
603
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-17c.png',
604
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-17d.png',
605
+ ],
606
+ },
607
+ {
608
+ saasId: '88888888',
609
+ storeId: '1000',
610
+ spuId: '135686623',
611
+ title: '腾讯极光盒子4智能网络电视机顶盒6K千兆网络机顶盒4K高分辨率',
612
+ primaryImage: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/dz-3a.png',
613
+ images: [
614
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/dz-3a.png',
615
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/dz-3b.png',
616
+ ],
617
+ minSalePrice: '9900',
618
+ minLinePrice: '16900',
619
+ maxSalePrice: '10900',
620
+ maxLinePrice: '16900',
621
+ isSoldOut: false,
622
+ groupIdList: [
623
+ '15029',
624
+ '15030',
625
+ '14023',
626
+ '127886731843219200',
627
+ '127886732665303040',
628
+ '127886733101511680',
629
+ '127886733923595520',
630
+ '14025',
631
+ '127886726071855616',
632
+ '14026',
633
+ '127886727481142784',
634
+ '127886731440566784',
635
+ ],
636
+ spuTagList: [
637
+ {
638
+ id: null,
639
+ title: '联名系列',
640
+ image: null,
641
+ },
642
+ ],
643
+ skuList: [
644
+ {
645
+ skuId: '135686624',
646
+ skuImage: null,
647
+ specInfo: [
648
+ {
649
+ specId: '10000',
650
+ specTitle: null,
651
+ specValueId: '10001',
652
+ specValue: '经典白',
653
+ },
654
+ {
655
+ specId: '10002',
656
+ specTitle: null,
657
+ specValueId: '10003',
658
+ specValue: '节能套装',
659
+ },
660
+ ],
661
+ priceInfo: [
662
+ {
663
+ priceType: 1,
664
+ price: '9900',
665
+ priceTypeName: '销售价格',
666
+ },
667
+ {
668
+ priceType: 2,
669
+ price: '16900',
670
+ priceTypeName: '划线价格',
671
+ },
672
+ ],
673
+ stockInfo: {
674
+ stockQuantity: 98,
675
+ safeStockQuantity: 0,
676
+ soldQuantity: 0,
677
+ },
678
+ weight: null,
679
+ volume: null,
680
+ profitPrice: null,
681
+ },
682
+ {
683
+ skuId: '135686625',
684
+ skuImage: null,
685
+ specInfo: [
686
+ {
687
+ specId: '10000',
688
+ specTitle: null,
689
+ specValueId: '11000',
690
+ specValue: '贵族青',
691
+ },
692
+ {
693
+ specId: '10002',
694
+ specTitle: null,
695
+ specValueId: '11003',
696
+ specValue: '经典套装',
697
+ },
698
+ ],
699
+ priceInfo: [
700
+ {
701
+ priceType: 1,
702
+ price: '9900',
703
+ priceTypeName: '销售价格',
704
+ },
705
+ {
706
+ priceType: 2,
707
+ price: '16900',
708
+ priceTypeName: '划线价格',
709
+ },
710
+ ],
711
+ stockInfo: {
712
+ stockQuantity: 100,
713
+ safeStockQuantity: 0,
714
+ soldQuantity: 0,
715
+ },
716
+ weight: null,
717
+ volume: null,
718
+ profitPrice: null,
719
+ },
720
+ {
721
+ skuId: '135686626',
722
+ skuImage: null,
723
+ specInfo: [
724
+ {
725
+ specId: '10000',
726
+ specTitle: null,
727
+ specValueId: '11000',
728
+ specValue: '经典白',
729
+ },
730
+ {
731
+ specId: '10002',
732
+ specTitle: null,
733
+ specValueId: '11002',
734
+ specValue: '尊享礼盒装',
735
+ },
736
+ ],
737
+ priceInfo: [
738
+ {
739
+ priceType: 1,
740
+ price: '9900',
741
+ priceTypeName: '销售价格',
742
+ },
743
+ {
744
+ priceType: 2,
745
+ price: '16900',
746
+ priceTypeName: '划线价格',
747
+ },
748
+ ],
749
+ stockInfo: {
750
+ stockQuantity: 100,
751
+ safeStockQuantity: 0,
752
+ soldQuantity: 0,
753
+ },
754
+ weight: null,
755
+ volume: null,
756
+ profitPrice: null,
757
+ },
758
+ {
759
+ skuId: '135691622',
760
+ skuImage: null,
761
+ specInfo: [
762
+ {
763
+ specId: '10000',
764
+ specTitle: null,
765
+ specValueId: '10001',
766
+ specValue: '经典白',
767
+ },
768
+ {
769
+ specId: '10002',
770
+ specTitle: null,
771
+ specValueId: '11003',
772
+ specValue: 'S',
773
+ },
774
+ ],
775
+ priceInfo: [
776
+ {
777
+ priceType: 1,
778
+ price: '9900',
779
+ priceTypeName: '销售价格',
780
+ },
781
+ {
782
+ priceType: 2,
783
+ price: '16900',
784
+ priceTypeName: '划线价格',
785
+ },
786
+ ],
787
+ stockInfo: {
788
+ stockQuantity: 100,
789
+ safeStockQuantity: 0,
790
+ soldQuantity: 0,
791
+ },
792
+ weight: null,
793
+ volume: null,
794
+ profitPrice: null,
795
+ },
796
+ {
797
+ skuId: '135691623',
798
+ skuImage: null,
799
+ specInfo: [
800
+ {
801
+ specId: '10000',
802
+ specTitle: null,
803
+ specValueId: '10001',
804
+ specValue: '经典白',
805
+ },
806
+ {
807
+ specId: '10002',
808
+ specTitle: null,
809
+ specValueId: '11002',
810
+ specValue: '尊享礼盒装',
811
+ },
812
+ ],
813
+ priceInfo: [
814
+ {
815
+ priceType: 1,
816
+ price: '10900',
817
+ priceTypeName: '销售价格',
818
+ },
819
+ {
820
+ priceType: 2,
821
+ price: '16900',
822
+ priceTypeName: '划线价格',
823
+ },
824
+ ],
825
+ stockInfo: {
826
+ stockQuantity: 100,
827
+ safeStockQuantity: 0,
828
+ soldQuantity: 0,
829
+ },
830
+ weight: null,
831
+ volume: null,
832
+ profitPrice: null,
833
+ },
834
+ {
835
+ skuId: '135691624',
836
+ skuImage: null,
837
+ specInfo: [
838
+ {
839
+ specId: '10000',
840
+ specTitle: null,
841
+ specValueId: '11000',
842
+ specValue: '贵族青',
843
+ },
844
+ {
845
+ specId: '10002',
846
+ specTitle: null,
847
+ specValueId: '10003',
848
+ specValue: '节能套装',
849
+ },
850
+ ],
851
+ priceInfo: [
852
+ {
853
+ priceType: 1,
854
+ price: '9900',
855
+ priceTypeName: '销售价格',
856
+ },
857
+ {
858
+ priceType: 2,
859
+ price: '16900',
860
+ priceTypeName: '划线价格',
861
+ },
862
+ ],
863
+ stockInfo: {
864
+ stockQuantity: 100,
865
+ safeStockQuantity: 0,
866
+ soldQuantity: 0,
867
+ },
868
+ weight: null,
869
+ volume: null,
870
+ profitPrice: null,
871
+ },
872
+ ],
873
+ isAvailable: 1,
874
+ spuStockQuantity: 598,
875
+ soldNum: 102,
876
+ isPutOnSale: 1,
877
+ desc: [
878
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/dz-3c.png',
879
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/dz-3d.png',
880
+ ],
881
+ specList: [
882
+ {
883
+ specId: '10000',
884
+ title: '颜色',
885
+ specValueList: [
886
+ {
887
+ specValueId: '10001',
888
+ specId: '10000',
889
+ saasId: '88888888',
890
+ specValue: '经典白',
891
+ image: '',
892
+ },
893
+ {
894
+ specValueId: '11000',
895
+ specId: '10000',
896
+ saasId: '88888888',
897
+ specValue: '贵族青',
898
+ image: '',
899
+ },
900
+ ],
901
+ },
902
+ {
903
+ specId: '10002',
904
+ title: '尺码',
905
+ specValueList: [
906
+ {
907
+ specValueId: '11003',
908
+ specId: '10002',
909
+ saasId: '88888888',
910
+ specValue: '经典套装',
911
+ image: '',
912
+ },
913
+ {
914
+ specValueId: '10003',
915
+ specId: '10002',
916
+ saasId: '88888888',
917
+ specValue: '节能套装',
918
+ image: '',
919
+ },
920
+ {
921
+ specValueId: '11002',
922
+ specId: '10002',
923
+ saasId: '88888888',
924
+ specValue: '尊享礼盒装',
925
+ image: '',
926
+ },
927
+ ],
928
+ },
929
+ ],
930
+ promotionList: null,
931
+ minProfitPrice: null,
932
+ etitle: '',
933
+ },
934
+ {
935
+ saasId: '88888888',
936
+ storeId: '1000',
937
+ spuId: '135681628',
938
+ title: '带帽午休毯虎年款多功能加厚加大加绒简约多功能午休毯连帽披肩',
939
+ primaryImage: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/muy-3a.png',
940
+ images: [
941
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/muy-3a.png',
942
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/muy-3a1.png',
943
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/muy-3b.png',
944
+ ],
945
+ minSalePrice: '29900',
946
+ minLinePrice: '39900',
947
+ maxSalePrice: '39900',
948
+ maxLinePrice: '39900',
949
+ isSoldOut: false,
950
+ groupIdList: [
951
+ '14023',
952
+ '127886732245873408',
953
+ '127886733487386880',
954
+ '14025',
955
+ '127886726071855616',
956
+ '14026',
957
+ '127886728420666112',
958
+ '127886728957538048',
959
+ '127886729779621888',
960
+ '127886730165497088',
961
+ '127886730652037376',
962
+ '127886731037912576',
963
+ '127886731440566784',
964
+ '127886729360190464',
965
+ '15029',
966
+ '15030',
967
+ ],
968
+ spuTagList: [
969
+ {
970
+ id: null,
971
+ title: '限时抢购',
972
+ image: null,
973
+ },
974
+ ],
975
+ skuList: [
976
+ {
977
+ skuId: '135676629',
978
+ skuImage: null,
979
+ specInfo: [
980
+ {
981
+ specId: '127904180600844800',
982
+ specTitle: null,
983
+ specValueId: '127904181322265856',
984
+ specValue: '浅灰色',
985
+ },
986
+ {
987
+ specId: '127904861604820480',
988
+ specTitle: null,
989
+ specValueId: '127904862175246592',
990
+ specValue: 'S',
991
+ },
992
+ ],
993
+ priceInfo: [
994
+ {
995
+ priceType: 1,
996
+ price: '29900',
997
+ priceTypeName: '销售价格',
998
+ },
999
+ {
1000
+ priceType: 2,
1001
+ price: '39900',
1002
+ priceTypeName: '划线价格',
1003
+ },
1004
+ ],
1005
+ stockInfo: {
1006
+ stockQuantity: 80,
1007
+ safeStockQuantity: 0,
1008
+ soldQuantity: 0,
1009
+ },
1010
+ weight: null,
1011
+ volume: null,
1012
+ profitPrice: null,
1013
+ },
1014
+ {
1015
+ skuId: '135676630',
1016
+ skuImage: null,
1017
+ specInfo: [
1018
+ {
1019
+ specId: '127904180600844800',
1020
+ specTitle: null,
1021
+ specValueId: '127904181322265856',
1022
+ specValue: '浅灰色',
1023
+ },
1024
+ {
1025
+ specId: '127904861604820480',
1026
+ specTitle: null,
1027
+ specValueId: '127904861755815680',
1028
+ specValue: 'L',
1029
+ },
1030
+ ],
1031
+ priceInfo: [
1032
+ {
1033
+ priceType: 1,
1034
+ price: '39900',
1035
+ priceTypeName: '销售价格',
1036
+ },
1037
+ {
1038
+ priceType: 2,
1039
+ price: '39900',
1040
+ priceTypeName: '划线价格',
1041
+ },
1042
+ ],
1043
+ stockInfo: {
1044
+ stockQuantity: 122,
1045
+ safeStockQuantity: 0,
1046
+ soldQuantity: 0,
1047
+ },
1048
+ weight: null,
1049
+ volume: null,
1050
+ profitPrice: null,
1051
+ },
1052
+ {
1053
+ skuId: '135681629',
1054
+ skuImage: null,
1055
+ specInfo: [
1056
+ {
1057
+ specId: '127904180600844800',
1058
+ specTitle: null,
1059
+ specValueId: '127904181322265856',
1060
+ specValue: '浅灰色',
1061
+ },
1062
+ {
1063
+ specId: '127904861604820480',
1064
+ specTitle: null,
1065
+ specValueId: '127904862007474176',
1066
+ specValue: 'M',
1067
+ },
1068
+ ],
1069
+ priceInfo: [
1070
+ {
1071
+ priceType: 1,
1072
+ price: '39900',
1073
+ priceTypeName: '销售价格',
1074
+ },
1075
+ {
1076
+ priceType: 2,
1077
+ price: '39900',
1078
+ priceTypeName: '划线价格',
1079
+ },
1080
+ ],
1081
+ stockInfo: {
1082
+ stockQuantity: 119,
1083
+ safeStockQuantity: 0,
1084
+ soldQuantity: 0,
1085
+ },
1086
+ weight: null,
1087
+ volume: null,
1088
+ profitPrice: null,
1089
+ },
1090
+ ],
1091
+ desc: [
1092
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/muy-3c.png',
1093
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/muy-3d.png',
1094
+ ],
1095
+ isAvailable: 1,
1096
+ spuStockQuantity: 321,
1097
+ soldNum: 102,
1098
+ isPutOnSale: 1,
1099
+ specList: [
1100
+ {
1101
+ specId: '127904180600844800',
1102
+ title: '颜色',
1103
+ specValueList: [
1104
+ {
1105
+ specValueId: '127904181322265856',
1106
+ specId: '127904180600844800',
1107
+ saasId: '88888888',
1108
+ specValue: '浅灰色',
1109
+ image: '',
1110
+ },
1111
+ ],
1112
+ },
1113
+ {
1114
+ specId: '127904861604820480',
1115
+ title: '尺码',
1116
+ specValueList: [
1117
+ {
1118
+ specValueId: '127904862175246592',
1119
+ specId: '127904861604820480',
1120
+ saasId: '88888888',
1121
+ specValue: 'S',
1122
+ image: '',
1123
+ },
1124
+ {
1125
+ specValueId: '127904862007474176',
1126
+ specId: '127904861604820480',
1127
+ saasId: '88888888',
1128
+ specValue: 'M',
1129
+ image: '',
1130
+ },
1131
+ {
1132
+ specValueId: '127904861755815680',
1133
+ specId: '127904861604820480',
1134
+ saasId: '88888888',
1135
+ specValue: 'L',
1136
+ image: '',
1137
+ },
1138
+ ],
1139
+ },
1140
+ ],
1141
+ promotionList: null,
1142
+ minProfitPrice: null,
1143
+ etitle: '',
1144
+ },
1145
+ {
1146
+ saasId: '88888888',
1147
+ storeId: '1000',
1148
+ spuId: '135681626',
1149
+ title: '迷你便携高颜值蓝牙无线耳机立体声只能触控式操作简约立体声耳机',
1150
+ primaryImage: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/dz-2a.png',
1151
+ images: [
1152
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/dz-2a.png',
1153
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/dz-2a1.png',
1154
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/dz-2b.png',
1155
+ ],
1156
+ minSalePrice: '29000',
1157
+ minLinePrice: '40000',
1158
+ maxSalePrice: '39000',
1159
+ maxLinePrice: '40000',
1160
+ isSoldOut: false,
1161
+ groupIdList: [
1162
+ '15029',
1163
+ '15030',
1164
+ '14023',
1165
+ '127886732245873408',
1166
+ '127886733487386880',
1167
+ '14025',
1168
+ '127886726071855616',
1169
+ '14026',
1170
+ '127886728420666112',
1171
+ '127886728957538048',
1172
+ '127886730652037376',
1173
+ '127886731037912576',
1174
+ ],
1175
+ spuTagList: [
1176
+ {
1177
+ id: null,
1178
+ title: '限时抢购',
1179
+ image: null,
1180
+ },
1181
+ ],
1182
+ skuList: [
1183
+ {
1184
+ skuId: '135676627',
1185
+ skuImage: null,
1186
+ specInfo: [
1187
+ {
1188
+ specId: '10006',
1189
+ specTitle: null,
1190
+ specValueId: '10007',
1191
+ specValue: '黑色',
1192
+ },
1193
+ {
1194
+ specId: '11007',
1195
+ specTitle: null,
1196
+ specValueId: '10009',
1197
+ specValue: '简约款',
1198
+ },
1199
+ ],
1200
+ priceInfo: [
1201
+ {
1202
+ priceType: 1,
1203
+ price: '29000',
1204
+ priceTypeName: '销售价格',
1205
+ },
1206
+ {
1207
+ priceType: 2,
1208
+ price: '40000',
1209
+ priceTypeName: '划线价格',
1210
+ },
1211
+ ],
1212
+ stockInfo: {
1213
+ stockQuantity: 123,
1214
+ safeStockQuantity: 0,
1215
+ soldQuantity: 0,
1216
+ },
1217
+ weight: null,
1218
+ volume: null,
1219
+ profitPrice: null,
1220
+ },
1221
+ {
1222
+ skuId: '135676628',
1223
+ skuImage: null,
1224
+ specInfo: [
1225
+ {
1226
+ specId: '10006',
1227
+ specTitle: null,
1228
+ specValueId: '10007',
1229
+ specValue: '黑色',
1230
+ },
1231
+ {
1232
+ specId: '11007',
1233
+ specTitle: null,
1234
+ specValueId: '10008',
1235
+ specValue: '礼盒装',
1236
+ },
1237
+ ],
1238
+ priceInfo: [
1239
+ {
1240
+ priceType: 1,
1241
+ price: '39000',
1242
+ priceTypeName: '销售价格',
1243
+ },
1244
+ {
1245
+ priceType: 2,
1246
+ price: '40000',
1247
+ priceTypeName: '划线价格',
1248
+ },
1249
+ ],
1250
+ stockInfo: {
1251
+ stockQuantity: 123,
1252
+ safeStockQuantity: 0,
1253
+ soldQuantity: 0,
1254
+ },
1255
+ weight: null,
1256
+ volume: null,
1257
+ profitPrice: null,
1258
+ },
1259
+ {
1260
+ skuId: '135681627',
1261
+ skuImage: null,
1262
+ specInfo: [
1263
+ {
1264
+ specId: '10006',
1265
+ specTitle: null,
1266
+ specValueId: '10007',
1267
+ specValue: '黑色',
1268
+ },
1269
+ {
1270
+ specId: '11007',
1271
+ specTitle: null,
1272
+ specValueId: '11008',
1273
+ specValue: '带充电线简约款',
1274
+ },
1275
+ ],
1276
+ priceInfo: [
1277
+ {
1278
+ priceType: 1,
1279
+ price: '39000',
1280
+ priceTypeName: '销售价格',
1281
+ },
1282
+ {
1283
+ priceType: 2,
1284
+ price: '40000',
1285
+ priceTypeName: '划线价格',
1286
+ },
1287
+ ],
1288
+ stockInfo: {
1289
+ stockQuantity: 120,
1290
+ safeStockQuantity: 0,
1291
+ soldQuantity: 0,
1292
+ },
1293
+ weight: null,
1294
+ volume: null,
1295
+ profitPrice: null,
1296
+ },
1297
+ ],
1298
+ desc: [
1299
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/dz-2c.png',
1300
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/dz-2d.png',
1301
+ ],
1302
+ isAvailable: 1,
1303
+ spuStockQuantity: 366,
1304
+ soldNum: 102,
1305
+ isPutOnSale: 1,
1306
+ specList: [
1307
+ {
1308
+ specId: '10006',
1309
+ title: '颜色',
1310
+ specValueList: [
1311
+ {
1312
+ specValueId: '10007',
1313
+ specId: '10006',
1314
+ saasId: '88888888',
1315
+ specValue: '黑色',
1316
+ image: '',
1317
+ },
1318
+ ],
1319
+ },
1320
+ {
1321
+ specId: '11007',
1322
+ title: '类型',
1323
+ specValueList: [
1324
+ {
1325
+ specValueId: '10009',
1326
+ specId: '11007',
1327
+ saasId: '88888888',
1328
+ specValue: '简约款',
1329
+ image: '',
1330
+ },
1331
+ {
1332
+ specValueId: '11008',
1333
+ specId: '11007',
1334
+ saasId: '88888888',
1335
+ specValue: '带充电线简约款',
1336
+ image: '',
1337
+ },
1338
+ {
1339
+ specValueId: '10008',
1340
+ specId: '11007',
1341
+ saasId: '88888888',
1342
+ specValue: '礼盒款',
1343
+ image: '',
1344
+ },
1345
+ ],
1346
+ },
1347
+ ],
1348
+ promotionList: null,
1349
+ minProfitPrice: null,
1350
+ etitle: '',
1351
+ },
1352
+ {
1353
+ saasId: '88888888',
1354
+ storeId: '1000',
1355
+ spuId: '135681622',
1356
+ title: '简约餐盘耐热家用盘子菜盘套装多颜色简约餐盘耐热家用盘子',
1357
+ primaryImage: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/gh-1a.png',
1358
+ images: [
1359
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/gh-1a.png',
1360
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/gh-1a2.png',
1361
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/gh-1b.png',
1362
+ ],
1363
+ minSalePrice: '129900',
1364
+ minLinePrice: '218000',
1365
+ maxSalePrice: '139900',
1366
+ maxLinePrice: '218000',
1367
+ isSoldOut: false,
1368
+ desc: [
1369
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/gh-1c.png',
1370
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/gh-1d.png',
1371
+ ],
1372
+ groupIdList: [
1373
+ '14023',
1374
+ '127886732665303040',
1375
+ '127886733101511680',
1376
+ '127886733923595520',
1377
+ '14025',
1378
+ '127886726071855616',
1379
+ '14026',
1380
+ '127886728957538048',
1381
+ '127886727481142784',
1382
+ '127886729779621888',
1383
+ '127886730165497088',
1384
+ '127886730652037376',
1385
+ '127886731440566784',
1386
+ '127886729360190464',
1387
+ '15029',
1388
+ '15030',
1389
+ ],
1390
+ spuTagList: [
1391
+ {
1392
+ id: null,
1393
+ title: '掌柜热卖',
1394
+ image: null,
1395
+ },
1396
+ ],
1397
+ skuList: [
1398
+ {
1399
+ skuId: '135676623',
1400
+ skuImage: null,
1401
+ specInfo: [
1402
+ {
1403
+ specId: '127904180600844800',
1404
+ specTitle: null,
1405
+ specValueId: '127904181506815488',
1406
+ specValue: '奶黄色',
1407
+ },
1408
+ {
1409
+ specId: '127904861604820480',
1410
+ specTitle: null,
1411
+ specValueId: '127904862175246592',
1412
+ specValue: '单盘',
1413
+ },
1414
+ ],
1415
+ priceInfo: [
1416
+ {
1417
+ priceType: 1,
1418
+ price: '129900',
1419
+ priceTypeName: '销售价格',
1420
+ },
1421
+ {
1422
+ priceType: 2,
1423
+ price: '218000',
1424
+ priceTypeName: '划线价格',
1425
+ },
1426
+ ],
1427
+ stockInfo: {
1428
+ stockQuantity: 119,
1429
+ safeStockQuantity: 0,
1430
+ soldQuantity: 0,
1431
+ },
1432
+ weight: null,
1433
+ volume: null,
1434
+ profitPrice: null,
1435
+ },
1436
+ {
1437
+ skuId: '135676624',
1438
+ skuImage: null,
1439
+ specInfo: [
1440
+ {
1441
+ specId: '127904180600844800',
1442
+ specTitle: null,
1443
+ specValueId: '127904181506815488',
1444
+ specValue: '奶黄色',
1445
+ },
1446
+ {
1447
+ specId: '127904861604820480',
1448
+ specTitle: null,
1449
+ specValueId: '127904861755815680',
1450
+ specValue: '盘+碗',
1451
+ },
1452
+ ],
1453
+ priceInfo: [
1454
+ {
1455
+ priceType: 1,
1456
+ price: '139900',
1457
+ priceTypeName: '销售价格',
1458
+ },
1459
+ {
1460
+ priceType: 2,
1461
+ price: '218000',
1462
+ priceTypeName: '划线价格',
1463
+ },
1464
+ ],
1465
+ stockInfo: {
1466
+ stockQuantity: 116,
1467
+ safeStockQuantity: 0,
1468
+ soldQuantity: 0,
1469
+ },
1470
+ weight: null,
1471
+ volume: null,
1472
+ profitPrice: null,
1473
+ },
1474
+ {
1475
+ skuId: '135681623',
1476
+ skuImage: null,
1477
+ specInfo: [
1478
+ {
1479
+ specId: '127904180600844800',
1480
+ specTitle: null,
1481
+ specValueId: '127904181506815488',
1482
+ specValue: '奶黄色',
1483
+ },
1484
+ {
1485
+ specId: '127904861604820480',
1486
+ specTitle: null,
1487
+ specValueId: '127904862007474176',
1488
+ specValue: '单盘',
1489
+ },
1490
+ ],
1491
+ priceInfo: [
1492
+ {
1493
+ priceType: 1,
1494
+ price: '139900',
1495
+ priceTypeName: '销售价格',
1496
+ },
1497
+ {
1498
+ priceType: 2,
1499
+ price: '218000',
1500
+ priceTypeName: '划线价格',
1501
+ },
1502
+ ],
1503
+ stockInfo: {
1504
+ stockQuantity: 122,
1505
+ safeStockQuantity: 0,
1506
+ soldQuantity: 0,
1507
+ },
1508
+ weight: null,
1509
+ volume: null,
1510
+ profitPrice: null,
1511
+ },
1512
+ ],
1513
+ isAvailable: 1,
1514
+ spuStockQuantity: 357,
1515
+ soldNum: 23102,
1516
+ isPutOnSale: 1,
1517
+ specList: [
1518
+ {
1519
+ specId: '127904180600844800',
1520
+ title: '颜色',
1521
+ specValueList: [
1522
+ {
1523
+ specValueId: '127904181506815488',
1524
+ specId: '127904180600844800',
1525
+ saasId: '88888888',
1526
+ specValue: '奶黄色',
1527
+ image: '',
1528
+ },
1529
+ ],
1530
+ },
1531
+ {
1532
+ specId: '127904861604820480',
1533
+ title: '类型',
1534
+ specValueList: [
1535
+ {
1536
+ specValueId: '127904862175246592',
1537
+ specId: '127904861604820480',
1538
+ saasId: '88888888',
1539
+ specValue: '单盘',
1540
+ image: '',
1541
+ },
1542
+ {
1543
+ specValueId: '127904862007474176',
1544
+ specId: '127904861604820480',
1545
+ saasId: '88888888',
1546
+ specValue: '单碗',
1547
+ image: '',
1548
+ },
1549
+ {
1550
+ specValueId: '127904861755815680',
1551
+ specId: '127904861604820480',
1552
+ saasId: '88888888',
1553
+ specValue: '盘+碗',
1554
+ image: '',
1555
+ },
1556
+ ],
1557
+ },
1558
+ ],
1559
+ promotionList: null,
1560
+ minProfitPrice: null,
1561
+ etitle: '',
1562
+ },
1563
+ {
1564
+ saasId: '88888888',
1565
+ storeId: '1000',
1566
+ spuId: '135681624',
1567
+ title: '不锈钢刀叉勺套装家用西餐餐具ins简约耐用不锈钢金色银色可选',
1568
+ primaryImage: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/gh-2b.png',
1569
+ images: [
1570
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/gh-2a.png',
1571
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/gh-2a1.png',
1572
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/gh-2b.png',
1573
+ ],
1574
+ video: null,
1575
+ available: 1,
1576
+ minSalePrice: '19900',
1577
+ minLinePrice: '19900',
1578
+ maxSalePrice: '29900',
1579
+ maxLinePrice: '29900',
1580
+ spuStockQuantity: 0,
1581
+ soldNum: 102,
1582
+ isPutOnSale: 1,
1583
+ categoryIds: ['127880527393854975', '127880527393854977', '127880526789875961'],
1584
+ specList: [
1585
+ {
1586
+ specId: '127904180600844800',
1587
+ title: '颜色',
1588
+ specValueList: [
1589
+ {
1590
+ specValueId: '127904180768617216',
1591
+ specId: null,
1592
+ saasId: null,
1593
+ specValue: '奶黄色',
1594
+ image: null,
1595
+ },
1596
+ ],
1597
+ },
1598
+ {
1599
+ specId: '127904861604820480',
1600
+ title: '数量',
1601
+ specValueList: [
1602
+ {
1603
+ specValueId: '127904862175246592',
1604
+ specId: null,
1605
+ saasId: null,
1606
+ specValue: '三件套',
1607
+ image: null,
1608
+ },
1609
+ {
1610
+ specValueId: '127904862007474176',
1611
+ specId: null,
1612
+ saasId: null,
1613
+ specValue: '六件套',
1614
+ image: null,
1615
+ },
1616
+ {
1617
+ specValueId: '127904861755815680',
1618
+ specId: null,
1619
+ saasId: null,
1620
+ specValue: '八件套',
1621
+ image: null,
1622
+ },
1623
+ ],
1624
+ },
1625
+ ],
1626
+ skuList: [
1627
+ {
1628
+ skuId: '135676625',
1629
+ skuImage: null,
1630
+ specInfo: [
1631
+ {
1632
+ specId: '127904180600844800',
1633
+ specTitle: null,
1634
+ specValueId: '127904180768617216',
1635
+ specValue: null,
1636
+ },
1637
+ {
1638
+ specId: '127904861604820480',
1639
+ specTitle: null,
1640
+ specValueId: '127904862175246592',
1641
+ specValue: null,
1642
+ },
1643
+ ],
1644
+ priceInfo: [
1645
+ { priceType: 1, price: '19900', priceTypeName: null },
1646
+ { priceType: 2, price: '29900', priceTypeName: null },
1647
+ ],
1648
+ stockInfo: {
1649
+ stockQuantity: 0,
1650
+ safeStockQuantity: 0,
1651
+ soldQuantity: 0,
1652
+ },
1653
+ weight: { value: null, unit: 'KG' },
1654
+ volume: null,
1655
+ profitPrice: null,
1656
+ },
1657
+ {
1658
+ skuId: '135676626',
1659
+ skuImage: null,
1660
+ specInfo: [
1661
+ {
1662
+ specId: '127904180600844800',
1663
+ specTitle: null,
1664
+ specValueId: '127904180768617216',
1665
+ specValue: null,
1666
+ },
1667
+ {
1668
+ specId: '127904861604820480',
1669
+ specTitle: null,
1670
+ specValueId: '127904861755815680',
1671
+ specValue: null,
1672
+ },
1673
+ ],
1674
+ priceInfo: [
1675
+ { priceType: 1, price: '29900', priceTypeName: null },
1676
+ { priceType: 2, price: '29900', priceTypeName: null },
1677
+ ],
1678
+ stockInfo: {
1679
+ stockQuantity: 0,
1680
+ safeStockQuantity: 0,
1681
+ soldQuantity: 0,
1682
+ },
1683
+ weight: { value: null, unit: 'KG' },
1684
+ volume: null,
1685
+ profitPrice: null,
1686
+ },
1687
+ {
1688
+ skuId: '135681625',
1689
+ skuImage: null,
1690
+ specInfo: [
1691
+ {
1692
+ specId: '127904180600844800',
1693
+ specTitle: null,
1694
+ specValueId: '127904180768617216',
1695
+ specValue: null,
1696
+ },
1697
+ {
1698
+ specId: '127904861604820480',
1699
+ specTitle: null,
1700
+ specValueId: '127904862007474176',
1701
+ specValue: null,
1702
+ },
1703
+ ],
1704
+ priceInfo: [
1705
+ { priceType: 1, price: '29900', priceTypeName: null },
1706
+ { priceType: 2, price: '29900', priceTypeName: null },
1707
+ ],
1708
+ stockInfo: {
1709
+ stockQuantity: 0,
1710
+ safeStockQuantity: 0,
1711
+ soldQuantity: 0,
1712
+ },
1713
+ weight: { value: null, unit: 'KG' },
1714
+ volume: null,
1715
+ profitPrice: null,
1716
+ },
1717
+ ],
1718
+ spuTagList: [{ id: '19011', title: '2020秋季新款', image: null }],
1719
+ spuLimitList: null,
1720
+ desc: [
1721
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/gh-2c.png',
1722
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/gh-2d.png',
1723
+ ],
1724
+ etitle: '',
1725
+ },
1726
+ {
1727
+ saasId: '88888888',
1728
+ storeId: '1000',
1729
+ spuId: '135681628',
1730
+ title: '带帽午休毯虎年款多功能加厚加大加绒简约多功能午休毯连帽披肩',
1731
+ primaryImage: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/muy-3a.png',
1732
+ images: ['https://tdesign.gtimg.com/miniprogram/template/retail/goods/muy-3a.png'],
1733
+ video: null,
1734
+ available: 1,
1735
+ minSalePrice: '29900',
1736
+ minLinePrice: '29900',
1737
+ maxSalePrice: '39900',
1738
+ maxLinePrice: '39900',
1739
+ spuStockQuantity: 321,
1740
+ soldNum: 103,
1741
+ isPutOnSale: 1,
1742
+ categoryIds: ['127880527393854975', '127880527393854977', '127880526789875961'],
1743
+ specList: [
1744
+ {
1745
+ specId: '127904180600844800',
1746
+ title: '颜色',
1747
+ specValueList: [
1748
+ {
1749
+ specValueId: '127904181322265856',
1750
+ specId: null,
1751
+ saasId: null,
1752
+ specValue: '浅灰色',
1753
+ image: null,
1754
+ },
1755
+ ],
1756
+ },
1757
+ {
1758
+ specId: '127904861604820480',
1759
+ title: '尺码',
1760
+ specValueList: [
1761
+ {
1762
+ specValueId: '127904862175246592',
1763
+ specId: null,
1764
+ saasId: null,
1765
+ specValue: 'S',
1766
+ image: null,
1767
+ },
1768
+ {
1769
+ specValueId: '127904862007474176',
1770
+ specId: null,
1771
+ saasId: null,
1772
+ specValue: 'M',
1773
+ image: null,
1774
+ },
1775
+ {
1776
+ specValueId: '127904861755815680',
1777
+ specId: null,
1778
+ saasId: null,
1779
+ specValue: 'L',
1780
+ image: null,
1781
+ },
1782
+ ],
1783
+ },
1784
+ ],
1785
+ skuList: [
1786
+ {
1787
+ skuId: '135676629',
1788
+ skuImage: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/muy-3a.png',
1789
+ specInfo: [
1790
+ {
1791
+ specId: '127904180600844800',
1792
+ specTitle: null,
1793
+ specValueId: '127904181322265856',
1794
+ specValue: null,
1795
+ },
1796
+ {
1797
+ specId: '127904861604820480',
1798
+ specTitle: null,
1799
+ specValueId: '127904862175246592',
1800
+ specValue: null,
1801
+ },
1802
+ ],
1803
+ priceInfo: [
1804
+ { priceType: 1, price: '29900', priceTypeName: null },
1805
+ { priceType: 2, price: '39900', priceTypeName: null },
1806
+ ],
1807
+ stockInfo: {
1808
+ stockQuantity: 80,
1809
+ safeStockQuantity: 0,
1810
+ soldQuantity: 0,
1811
+ },
1812
+ weight: { value: null, unit: 'KG' },
1813
+ volume: null,
1814
+ profitPrice: null,
1815
+ },
1816
+ {
1817
+ skuId: '135676630',
1818
+ skuImage: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/muy-3a.png',
1819
+ specInfo: [
1820
+ {
1821
+ specId: '127904180600844800',
1822
+ specTitle: null,
1823
+ specValueId: '127904181322265856',
1824
+ specValue: null,
1825
+ },
1826
+ {
1827
+ specId: '127904861604820480',
1828
+ specTitle: null,
1829
+ specValueId: '127904861755815680',
1830
+ specValue: null,
1831
+ },
1832
+ ],
1833
+ priceInfo: [
1834
+ { priceType: 1, price: '39900', priceTypeName: null },
1835
+ { priceType: 2, price: '39900', priceTypeName: null },
1836
+ ],
1837
+ stockInfo: {
1838
+ stockQuantity: 122,
1839
+ safeStockQuantity: 0,
1840
+ soldQuantity: 0,
1841
+ },
1842
+ weight: { value: null, unit: 'KG' },
1843
+ volume: null,
1844
+ profitPrice: null,
1845
+ },
1846
+ {
1847
+ skuId: '135681629',
1848
+ skuImage: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/muy-3a.png',
1849
+ specInfo: [
1850
+ {
1851
+ specId: '127904180600844800',
1852
+ specTitle: null,
1853
+ specValueId: '127904181322265856',
1854
+ specValue: null,
1855
+ },
1856
+ {
1857
+ specId: '127904861604820480',
1858
+ specTitle: null,
1859
+ specValueId: '127904862007474176',
1860
+ specValue: null,
1861
+ },
1862
+ ],
1863
+ priceInfo: [
1864
+ { priceType: 1, price: '39900', priceTypeName: null },
1865
+ { priceType: 2, price: '39900', priceTypeName: null },
1866
+ ],
1867
+ stockInfo: {
1868
+ stockQuantity: 119,
1869
+ safeStockQuantity: 0,
1870
+ soldQuantity: 0,
1871
+ },
1872
+ weight: { value: null, unit: 'KG' },
1873
+ volume: null,
1874
+ profitPrice: null,
1875
+ },
1876
+ ],
1877
+ spuTagList: [{ id: '13001', title: '限时抢购', image: null }],
1878
+ spuLimitList: null,
1879
+ desc: [
1880
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/muy-3c.png',
1881
+ 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/muy-3d.png',
1882
+ ],
1883
+ etitle: '',
1884
+ },
1885
+ ];
1886
+
1887
+ /**
1888
+ * @param {string} id
1889
+ * @param {number} [available] 库存, 默认1
1890
+ */
1891
+ export function genGood(id, available = 1) {
1892
+ const specID = ['135681624', '135681628'];
1893
+ if (specID.indexOf(id) > -1) {
1894
+ return allGoods.filter((good) => good.spuId === id)[0];
1895
+ }
1896
+ const item = allGoods[id % allGoods.length];
1897
+ return {
1898
+ ...item,
1899
+ spuId: `${id}`,
1900
+ available: available,
1901
+ desc: item?.desc || defaultDesc,
1902
+ images: item?.images || [item?.primaryImage],
1903
+ };
1904
+ }