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,1191 @@
1
+ import { mockIp, mockReqId } from '../../utils/mock';
2
+
3
+ const orderResps = [
4
+ {
5
+ data: {
6
+ saasId: '88888888',
7
+ storeId: '1000',
8
+ storeName: '云Mall深圳旗舰店',
9
+ uid: '88888888205468',
10
+ parentOrderNo: '354021731671873099',
11
+ orderId: '354021735982432279',
12
+ orderNo: '354021731671873099',
13
+ orderType: 0,
14
+ orderSubType: 0,
15
+ orderStatus: 5,
16
+ orderSubStatus: null,
17
+ totalAmount: '10010',
18
+ goodsAmount: '10000',
19
+ goodsAmountApp: '10000',
20
+ paymentAmount: '20',
21
+ freightFee: '10',
22
+ packageFee: '0',
23
+ discountAmount: '9990',
24
+ channelType: 0,
25
+ channelSource: '',
26
+ channelIdentity: '',
27
+ remark: '买电风扇送电池吗',
28
+ cancelType: 0,
29
+ cancelReasonType: 0,
30
+ cancelReason: '',
31
+ rightsType: 0,
32
+ createTime: '1600350829288',
33
+ orderItemVOs: [
34
+ {
35
+ id: '354021736133427225',
36
+ orderNo: null,
37
+ spuId: '3',
38
+ skuId: '135696670',
39
+ roomId: null,
40
+ goodsMainType: 0,
41
+ goodsViceType: 0,
42
+ goodsName: '腾讯极光盒子4智能网络电视机顶盒6K千兆网络机顶盒4K高分辨率',
43
+ specifications: [
44
+ { specTitle: '颜色', specValue: '贵族青' },
45
+ { specTitle: '类型', specValue: '尊享礼盒装' },
46
+ ],
47
+ goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/dz-3b.png',
48
+ originPrice: '0',
49
+ actualPrice: '9999',
50
+ buyQuantity: 1,
51
+ itemTotalAmount: '9999',
52
+ itemDiscountAmount: '9990',
53
+ itemPaymentAmount: '10',
54
+ goodsPaymentPrice: '10',
55
+ tagPrice: null,
56
+ tagText: null,
57
+ outCode: null,
58
+ labelVOs: null,
59
+ buttonVOs: [{ primary: false }],
60
+ },
61
+ ],
62
+ logisticsVO: {
63
+ logisticsType: 1,
64
+ logisticsNo: '',
65
+ logisticsStatus: null,
66
+ logisticsCompanyCode: '',
67
+ logisticsCompanyName: '',
68
+ receiverAddressId: '14',
69
+ provinceCode: '440000',
70
+ cityCode: '440300',
71
+ countryCode: '440306',
72
+ receiverProvince: '广东省',
73
+ receiverCity: '深圳市',
74
+ receiverCountry: '宝安区',
75
+ receiverArea: '',
76
+ receiverAddress: '沙井中心路28号丽沙花都xx栋xx号',
77
+ receiverPostCode: '',
78
+ receiverLongitude: '113.829127',
79
+ receiverLatitude: '22.713649',
80
+ receiverIdentity: '88888888205468',
81
+ receiverPhone: '17612345678',
82
+ receiverName: '测试用户',
83
+ expectArrivalTime: null,
84
+ senderName: '',
85
+ senderPhone: '',
86
+ senderAddress: '',
87
+ sendTime: null,
88
+ arrivalTime: null,
89
+ },
90
+ paymentVO: {
91
+ payStatus: 1,
92
+ amount: '20',
93
+ currency: null,
94
+ payType: null,
95
+ payWay: null,
96
+ payWayName: null,
97
+ interactId: null,
98
+ traceNo: null,
99
+ channelTrxNo: null,
100
+ period: null,
101
+ payTime: null,
102
+ paySuccessTime: null,
103
+ },
104
+ buttonVOs: [{ primary: true, type: 1, name: '付款' }],
105
+ labelVOs: null,
106
+ invoiceVO: null,
107
+ couponAmount: '0',
108
+ autoCancelTime: '1823652629288',
109
+ orderStatusName: '待付款',
110
+ orderStatusRemark: '需支付¥0.20',
111
+ logisticsLogVO: null,
112
+ invoiceStatus: 3,
113
+ invoiceDesc: '暂不开发票',
114
+ invoiceUrl: null,
115
+ },
116
+ code: 'Success',
117
+ msg: null,
118
+ requestId: mockReqId(),
119
+ clientIp: mockIp(),
120
+ rt: 89,
121
+ success: true,
122
+ },
123
+ {
124
+ data: {
125
+ saasId: '88888888',
126
+ storeId: '1000',
127
+ storeName: '云Mall深圳旗舰店',
128
+ uid: '88888888205468',
129
+
130
+ parentOrderNo: '132381532610540875',
131
+ orderId: '132381537256650240',
132
+ orderNo: '132381532610540875',
133
+ orderType: 0,
134
+ orderSubType: 0,
135
+ orderStatus: 10,
136
+ orderSubStatus: null,
137
+ totalAmount: '76600',
138
+ goodsAmount: '76600',
139
+ goodsAmountApp: '76600',
140
+ paymentAmount: '36800',
141
+ freightFee: '0',
142
+ packageFee: '0',
143
+ discountAmount: '34800',
144
+ channelType: 0,
145
+ channelSource: '',
146
+ channelIdentity: '',
147
+ remark: '麻烦给个配饰',
148
+ cancelType: 0,
149
+ cancelReasonType: 0,
150
+ cancelReason: '',
151
+ rightsType: 0,
152
+
153
+ createTime: '1587140043976',
154
+
155
+ orderItemVOs: [
156
+ {
157
+ id: '132381537407645696',
158
+ orderNo: null,
159
+ spuId: '0',
160
+ skuId: '135676631',
161
+ roomId: null,
162
+ goodsMainType: 0,
163
+ goodsViceType: 0,
164
+ goodsName: '白色短袖连衣裙荷叶边裙摆宽松韩版休闲纯白清爽优雅连衣裙',
165
+ goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-09a.png',
166
+ originPrice: '40000',
167
+ actualPrice: '29800',
168
+ specifications: [
169
+ {
170
+ specTitle: '颜色',
171
+ specValue: '米色荷叶边',
172
+ },
173
+ {
174
+ specTitle: '尺码',
175
+ specValue: 'S',
176
+ },
177
+ ],
178
+ buyQuantity: 1,
179
+ itemTotalAmount: '29800',
180
+ itemDiscountAmount: '19813',
181
+ itemPaymentAmount: '9987',
182
+ goodsPaymentPrice: '9987',
183
+ tagPrice: null,
184
+ tagText: null,
185
+ outCode: null,
186
+ labelVOs: null,
187
+ buttonVOs: null,
188
+ },
189
+ {
190
+ id: '132381537407645952',
191
+ orderNo: null,
192
+ spuId: '7',
193
+ skuId: '135691633',
194
+ roomId: null,
195
+ goodsMainType: 0,
196
+ goodsViceType: 0,
197
+ goodsName: '不锈钢刀叉勺套装家用西餐餐具ins简约耐用不锈钢金色银色可选',
198
+ goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/gh-2b.png',
199
+ originPrice: '29900',
200
+ actualPrice: '19900',
201
+ specifications: [
202
+ { specTitle: '颜色', specValue: '奶黄色' },
203
+ { specTitle: '类型', specValue: '三件套' },
204
+ ],
205
+ buyQuantity: 1,
206
+ itemTotalAmount: '19900',
207
+ itemDiscountAmount: '13230',
208
+ itemPaymentAmount: '6670',
209
+ goodsPaymentPrice: '6670',
210
+ tagPrice: null,
211
+ tagText: null,
212
+ outCode: null,
213
+ labelVOs: null,
214
+ buttonVOs: null,
215
+ },
216
+ {
217
+ id: '132381537407646208',
218
+ orderNo: null,
219
+ spuId: '1',
220
+ skuId: '135691631',
221
+ roomId: null,
222
+ goodsMainType: 0,
223
+ goodsViceType: 0,
224
+ goodsName: '纯色纯棉休闲圆领短袖T恤纯白亲肤厚柔软细腻面料纯白短袖套头T恤',
225
+ goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-08a.png',
226
+ originPrice: '31900',
227
+ actualPrice: '26900',
228
+ specifications: [
229
+ {
230
+ specTitle: '颜色',
231
+ specValue: '白色',
232
+ },
233
+ {
234
+ specTitle: '尺码',
235
+ specValue: 'S',
236
+ },
237
+ ],
238
+ buyQuantity: 1,
239
+ itemTotalAmount: '26900',
240
+ itemDiscountAmount: '6757',
241
+ itemPaymentAmount: '20143',
242
+ goodsPaymentPrice: '20143',
243
+ tagPrice: null,
244
+ tagText: null,
245
+ outCode: null,
246
+ labelVOs: null,
247
+ buttonVOs: null,
248
+ },
249
+ ],
250
+ logisticsVO: {
251
+ logisticsType: 1,
252
+ logisticsNo: '',
253
+ logisticsStatus: null,
254
+ logisticsCompanyCode: '',
255
+ logisticsCompanyName: '',
256
+
257
+ receiverAddressId: '2',
258
+ provinceCode: '440000',
259
+ cityCode: '440300',
260
+ countryCode: '440306',
261
+ receiverProvince: '广东省',
262
+ receiverCity: '广州市',
263
+ receiverCountry: '海珠区',
264
+ receiverArea: '',
265
+ receiverAddress: '新港中路397号',
266
+ receiverPostCode: '',
267
+ receiverLongitude: '113.829127',
268
+ receiverLatitude: '22.713649',
269
+ receiverIdentity: '88888888205468',
270
+ receiverPhone: '17612345678',
271
+ receiverName: '张三',
272
+ expectArrivalTime: null,
273
+ senderName: '',
274
+ senderPhone: '',
275
+ senderAddress: '',
276
+ sendTime: null,
277
+ arrivalTime: null,
278
+ },
279
+ paymentVO: {
280
+ payStatus: 1,
281
+ amount: '36800',
282
+ currency: 'CNY',
283
+ payType: 0,
284
+ payWay: null,
285
+ payWayName: null,
286
+ interactId: '4923587',
287
+ traceNo: null,
288
+ channelTrxNo: null,
289
+ period: null,
290
+ payTime: '1600162877000',
291
+ paySuccessTime: '1600162877538',
292
+ },
293
+ buttonVOs: [
294
+ {
295
+ primary: false,
296
+ type: 2,
297
+ name: '取消订单',
298
+ },
299
+ {
300
+ primary: true,
301
+ type: 9,
302
+ name: '再次购买',
303
+ },
304
+ ],
305
+ labelVOs: null,
306
+ invoiceVO: {
307
+ buyerName: '腾讯计算机有限公司', //个人或公司名称
308
+ buyerTaxNo: '9144 9808 0909 0293 XG', //税号
309
+ buyerPhone: '18600008888', //手机
310
+ email: '73900484@qq.com', //邮箱
311
+ titleType: 2, //发票抬头 1-个人 2-公司
312
+ ontentType: 1, //发票内容 1-明细 2类别
313
+ invoiceType: 5, //是否开票 0-不开 5-电子发票
314
+ money: '1.54',
315
+ },
316
+ trajectoryVos: [
317
+ {
318
+ title: '已下单',
319
+ icon: 'https://tdesign.gtimg.com/miniprogram/template/retail/order/ordered.svg',
320
+ code: '200002',
321
+ nodes: [
322
+ {
323
+ status: '订单已经支付成功,支付方式为:微信支付',
324
+ timestamp: '1600162877506',
325
+ remark: null,
326
+ },
327
+ ],
328
+ isShow: true,
329
+ },
330
+ {
331
+ title: '',
332
+ icon: null,
333
+ code: '200001',
334
+ nodes: [
335
+ {
336
+ status: '订单已提交',
337
+ timestamp: '1600162856204',
338
+ remark: null,
339
+ },
340
+ ],
341
+ isShow: true,
342
+ },
343
+ ],
344
+
345
+ couponAmount: '5000',
346
+ autoCancelTime: null,
347
+ orderStatusName: '待发货',
348
+ orderStatusRemark: null,
349
+ logisticsLogVO: null,
350
+ invoiceStatus: 3,
351
+ invoiceDesc: '暂不开发票',
352
+ invoiceUrl: null,
353
+ },
354
+ code: 'Success',
355
+ msg: null,
356
+ requestId: mockReqId(),
357
+ clientIp: mockIp(),
358
+ rt: 79,
359
+ success: true,
360
+ },
361
+ {
362
+ data: {
363
+ saasId: '88888888',
364
+ storeId: '1000',
365
+ storeName: '云Mall深圳旗舰店',
366
+ uid: '88888888205468',
367
+ parentOrderNo: '132222623132329291',
368
+ orderId: '132222629674264064',
369
+ orderNo: '132222623132329291',
370
+ orderType: 0,
371
+ orderSubType: 0,
372
+ orderStatus: 40,
373
+ orderSubStatus: null,
374
+ totalAmount: '500400',
375
+ goodsAmount: '500400',
376
+ goodsAmountApp: '500400',
377
+ paymentAmount: '458600',
378
+ freightFee: '0',
379
+ packageFee: '0',
380
+ discountAmount: '36800',
381
+ channelType: 0,
382
+ channelSource: '',
383
+ channelIdentity: '',
384
+ remark: '我是买一送一的,记得送',
385
+ cancelType: 3,
386
+ cancelReasonType: 0,
387
+ cancelReason: '',
388
+ rightsType: 0,
389
+ createTime: '1587130572345',
390
+ orderItemVOs: [
391
+ {
392
+ id: '132222629825259776',
393
+ orderNo: null,
394
+ spuId: '5',
395
+ skuId: '135691625',
396
+ roomId: null,
397
+ goodsMainType: 0,
398
+ goodsViceType: 0,
399
+ goodsName: '迷你便携高颜值蓝牙无线耳机立体声只能触控式操作简约立体声耳机',
400
+ goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/dz-2a.png',
401
+ originPrice: '15900',
402
+ actualPrice: '8900',
403
+ specifications: [
404
+ {
405
+ specTitle: '颜色',
406
+ specValue: '黑色',
407
+ },
408
+ {
409
+ specTitle: '尺码',
410
+ specValue: '简约款',
411
+ },
412
+ ],
413
+ buyQuantity: 1,
414
+ itemTotalAmount: '8900',
415
+ itemDiscountAmount: '2134',
416
+ itemPaymentAmount: '6766',
417
+ goodsPaymentPrice: '6766',
418
+ tagPrice: null,
419
+ tagText: null,
420
+ outCode: null,
421
+ labelVOs: null,
422
+ buttonVOs: [{ primary: false, type: 4, name: '申请售后' }],
423
+ },
424
+ {
425
+ id: '132222629825260032',
426
+ orderNo: null,
427
+ spuId: '0',
428
+ skuId: '135676631',
429
+ roomId: null,
430
+ goodsMainType: 0,
431
+ goodsViceType: 0,
432
+ goodsName: '白色短袖连衣裙荷叶边裙摆宽松韩版休闲纯白清爽优雅连衣裙',
433
+ goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-09a.png',
434
+ originPrice: '40000',
435
+ actualPrice: '29800',
436
+ specifications: [
437
+ {
438
+ specTitle: '颜色',
439
+ specValue: '米色荷叶边',
440
+ },
441
+ {
442
+ specTitle: '尺码',
443
+ specValue: 'S',
444
+ },
445
+ ],
446
+ buyQuantity: 1,
447
+ itemTotalAmount: '29800',
448
+ itemDiscountAmount: '4026',
449
+ itemPaymentAmount: '25774',
450
+ goodsPaymentPrice: '25774',
451
+ tagPrice: null,
452
+ tagText: null,
453
+ outCode: null,
454
+ labelVOs: null,
455
+ buttonVOs: [{ primary: false, type: 4, name: '申请售后' }],
456
+ },
457
+ {
458
+ id: '132222629825260288',
459
+ orderNo: null,
460
+ spuId: '3',
461
+ skuId: '135691622',
462
+ roomId: null,
463
+ goodsMainType: 0,
464
+ goodsViceType: 0,
465
+ goodsName: '腾讯极光盒子4智能网络电视机顶盒6K千兆网络机顶盒4K高分辨率',
466
+ goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/dz-3a.png',
467
+ originPrice: '16900',
468
+ actualPrice: '9900',
469
+ specifications: [
470
+ {
471
+ specTitle: '颜色',
472
+ specValue: '经典白',
473
+ },
474
+ {
475
+ specTitle: '类型',
476
+ specValue: '经典套装',
477
+ },
478
+ ],
479
+ buyQuantity: 1,
480
+ itemTotalAmount: '9900',
481
+ itemDiscountAmount: '1337',
482
+ itemPaymentAmount: '8563',
483
+ goodsPaymentPrice: '8563',
484
+ tagPrice: null,
485
+ tagText: null,
486
+ outCode: null,
487
+ labelVOs: null,
488
+ buttonVOs: [{ primary: false, type: 4, name: '申请售后' }],
489
+ },
490
+ {
491
+ id: '132222629825260544',
492
+ orderNo: null,
493
+ spuId: '135681628',
494
+ skuId: '135676629',
495
+ roomId: null,
496
+ goodsMainType: 0,
497
+ goodsViceType: 0,
498
+ goodsName: '带帽午休毯虎年款多功能加厚加大加绒简约多功能午休毯连帽披肩',
499
+ goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/muy-3a.png',
500
+ originPrice: '39900',
501
+ actualPrice: '29900',
502
+ specifications: [
503
+ {
504
+ specTitle: '颜色',
505
+ specValue: '浅灰色',
506
+ },
507
+ {
508
+ specTitle: '尺码',
509
+ specValue: 'S',
510
+ },
511
+ ],
512
+ buyQuantity: 4,
513
+ itemTotalAmount: '119600',
514
+ itemDiscountAmount: '4040',
515
+ itemPaymentAmount: '115560',
516
+ goodsPaymentPrice: '28890',
517
+ tagPrice: null,
518
+ tagText: null,
519
+ outCode: null,
520
+ labelVOs: null,
521
+ buttonVOs: [{ primary: false, type: 4, name: '申请售后' }],
522
+ },
523
+ {
524
+ id: '132222629825260800',
525
+ orderNo: null,
526
+ spuId: '2',
527
+ skuId: '135686631',
528
+ roomId: null,
529
+ goodsMainType: 0,
530
+ goodsViceType: 0,
531
+ goodsName: '运动连帽拉链卫衣休闲开衫长袖多色运动细绒面料运动上衣',
532
+ goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-17a.png',
533
+ originPrice: '39900',
534
+ actualPrice: '25900',
535
+ specifications: [
536
+ {
537
+ specTitle: '颜色',
538
+ specValue: '军绿色',
539
+ },
540
+ {
541
+ specTitle: '尺码',
542
+ specValue: 'XS',
543
+ },
544
+ ],
545
+ buyQuantity: 1,
546
+ itemTotalAmount: '25900',
547
+ itemDiscountAmount: '392',
548
+ itemPaymentAmount: '25508',
549
+ goodsPaymentPrice: '25508',
550
+ tagPrice: null,
551
+ tagText: null,
552
+ outCode: null,
553
+ labelVOs: null,
554
+ buttonVOs: [{ primary: false, type: 4, name: '申请售后' }],
555
+ },
556
+ ],
557
+ logisticsVO: {
558
+ logisticsType: 1,
559
+ logisticsNo: '111112',
560
+ logisticsStatus: null,
561
+ logisticsCompanyCode: 'yunda',
562
+ logisticsCompanyName: '韵达快递',
563
+
564
+ receiverAddressId: '8',
565
+ provinceCode: '440000',
566
+ cityCode: '440300',
567
+ countryCode: '440306',
568
+ receiverProvince: '广东省',
569
+ receiverCity: '深圳市',
570
+ receiverCountry: '南山区',
571
+ receiverArea: '',
572
+ receiverAddress: '前海路333号阳光玫瑰园',
573
+ receiverPostCode: '',
574
+ receiverLongitude: '113.829127',
575
+ receiverLatitude: '22.713649',
576
+ receiverIdentity: '700000011070005',
577
+ receiverPhone: '17612345678',
578
+ receiverName: '平均线',
579
+ expectArrivalTime: null,
580
+ senderName: '',
581
+ senderPhone: '',
582
+ senderAddress: '',
583
+ sendTime: '1599795293089',
584
+ arrivalTime: null,
585
+ },
586
+ paymentVO: {
587
+ payStatus: 1,
588
+ amount: '458600',
589
+ currency: 'CNY',
590
+ payType: 0,
591
+ payWay: null,
592
+ payWayName: null,
593
+ interactId: '66869',
594
+ traceNo: null,
595
+ channelTrxNo: null,
596
+ period: null,
597
+ payTime: '1594869391000',
598
+ paySuccessTime: '1594869391287',
599
+ },
600
+ buttonVOs: [
601
+ {
602
+ primary: true,
603
+ type: 3,
604
+ name: '确认收货',
605
+ },
606
+ ],
607
+ labelVOs: null,
608
+ trajectoryVos: [
609
+ {
610
+ title: '已发货',
611
+ icon: 'deliver',
612
+ code: '200003',
613
+ nodes: [
614
+ {
615
+ status: '商家已发货,物流承运商:韵达快递',
616
+ timestamp: '1599795293089',
617
+ remark: null,
618
+ },
619
+ ],
620
+ isShow: true,
621
+ },
622
+ {
623
+ title: '已下单',
624
+ icon: 'https://tdesign.gtimg.com/miniprogram/template/retail/order/ordered.svg',
625
+ code: '200002',
626
+ nodes: [
627
+ {
628
+ status: '订单已经支付成功,支付方式为:微信支付',
629
+ timestamp: '1594869391220',
630
+ remark: null,
631
+ },
632
+ ],
633
+ isShow: true,
634
+ },
635
+ {
636
+ title: '',
637
+ icon: null,
638
+ code: '200001',
639
+ nodes: [
640
+ {
641
+ status: '订单已提交',
642
+ timestamp: '1594869381185',
643
+ remark: null,
644
+ },
645
+ ],
646
+ isShow: true,
647
+ },
648
+ ],
649
+
650
+ couponAmount: '5000',
651
+ autoCancelTime: null,
652
+ orderStatusName: '待收货',
653
+ orderStatusRemark: null,
654
+ logisticsLogVO: null,
655
+ invoiceStatus: 1,
656
+ invoiceDesc: '已开发票',
657
+ invoiceUrl: null,
658
+ invoiceVO: {
659
+ buyerName: '公司名称XXXX', //个人或公司名称
660
+ buyerTaxNo: 'R5647U7', //税号
661
+ buyerPhone: '13534343434', //手机
662
+ email: '123@qq.com', //邮箱
663
+ titleType: 2, //发票抬头 1-个人 2-公司
664
+ ontentType: 2, //发票内容 1-明细 2类别
665
+ invoiceType: 5, //是否开票 0-不开 5-电子发票
666
+ isInvoice: '已开票',
667
+ money: 10000,
668
+ },
669
+ },
670
+ code: 'Success',
671
+ msg: null,
672
+ requestId: mockReqId(),
673
+ clientIp: mockIp(),
674
+ rt: 74,
675
+ success: true,
676
+ },
677
+ {
678
+ data: {
679
+ saasId: '88888888',
680
+ storeId: '1000',
681
+ storeName: '云Mall深圳旗舰店',
682
+ uid: '88888888205468',
683
+ parentOrderNo: '130862219672031307',
684
+ orderId: '130862224737571072',
685
+ orderNo: '130862219672031307',
686
+ orderType: 0,
687
+ orderSubType: 0,
688
+ orderStatus: 80,
689
+ orderSubStatus: null,
690
+ totalAmount: '298000',
691
+ goodsAmount: '298000',
692
+ goodsAmountApp: '298000',
693
+ paymentAmount: '263200',
694
+ freightFee: '0',
695
+ packageFee: '0',
696
+ discountAmount: '29800',
697
+ channelType: 0,
698
+ channelSource: '',
699
+ channelIdentity: '',
700
+ remark: '',
701
+ cancelType: 3,
702
+ cancelReasonType: 0,
703
+ cancelReason: '超时未支付',
704
+ rightsType: 0,
705
+ createTime: '1587049485895',
706
+ orderItemVOs: [
707
+ {
708
+ id: '130862224922120960',
709
+ orderNo: null,
710
+ spuId: '0',
711
+ skuId: '135676631',
712
+ roomId: null,
713
+ goodsMainType: 0,
714
+ goodsViceType: 0,
715
+ goodsName: '白色短袖连衣裙荷叶边裙摆宽松韩版休闲纯白清爽优雅连衣裙',
716
+ goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-09a.png',
717
+ originPrice: '40000',
718
+ actualPrice: '29800',
719
+ specifications: [
720
+ { specTitle: '颜色', specValue: '米色荷叶边' },
721
+ { specTitle: '尺码', specValue: 'S' },
722
+ ],
723
+ buyQuantity: 10,
724
+ itemTotalAmount: '298000',
725
+ itemDiscountAmount: '29800',
726
+ itemPaymentAmount: '268200',
727
+ goodsPaymentPrice: '26820',
728
+ tagPrice: null,
729
+ tagText: null,
730
+ outCode: null,
731
+ labelVOs: null,
732
+ buttonVOs: null,
733
+ },
734
+ ],
735
+ logisticsVO: {
736
+ logisticsType: 1,
737
+ logisticsNo: '',
738
+ logisticsStatus: null,
739
+ logisticsCompanyCode: '',
740
+ logisticsCompanyName: '',
741
+ receiverAddressId: '2',
742
+ provinceCode: '440000',
743
+ cityCode: '440300',
744
+ countryCode: '440306',
745
+ receiverProvince: '广东省',
746
+ receiverCity: '深圳市',
747
+ receiverCountry: '宝安区',
748
+ receiverArea: '',
749
+ receiverAddress: '沙井中心路28号丽沙花都xx栋xx号',
750
+ receiverPostCode: '',
751
+ receiverLongitude: '113.829127',
752
+ receiverLatitude: '22.713649',
753
+ receiverIdentity: '88888888205468',
754
+ receiverPhone: '17612345678',
755
+ receiverName: '测试用户',
756
+ expectArrivalTime: null,
757
+ senderName: '',
758
+ senderPhone: '',
759
+ senderAddress: '',
760
+ sendTime: null,
761
+ arrivalTime: null,
762
+ },
763
+ paymentVO: {
764
+ payStatus: 1,
765
+ amount: '263200',
766
+ currency: null,
767
+ payType: null,
768
+ payWay: null,
769
+ payWayName: null,
770
+ interactId: null,
771
+ traceNo: null,
772
+ channelTrxNo: null,
773
+ period: null,
774
+ payTime: null,
775
+ paySuccessTime: null,
776
+ },
777
+ buttonVOs: null,
778
+ labelVOs: null,
779
+ invoiceVO: null,
780
+ couponAmount: '5000',
781
+ autoCancelTime: null,
782
+ orderStatusName: '已取消(未支付)',
783
+ orderStatusRemark: '超时未支付',
784
+ logisticsLogVO: null,
785
+ invoiceStatus: 2,
786
+ invoiceDesc: '暂不开发票',
787
+ invoiceUrl: null,
788
+ },
789
+ code: 'Success',
790
+ msg: null,
791
+ requestId: mockReqId(),
792
+ clientIp: mockIp(),
793
+ rt: 70,
794
+ success: true,
795
+ },
796
+ {
797
+ data: {
798
+ saasId: '88888888',
799
+ storeId: '1000',
800
+ storeName: '云Mall深圳旗舰店',
801
+ uid: '88888888205468',
802
+ parentOrderNo: '130494472895208267',
803
+ orderId: '130494482155052032',
804
+ orderNo: '130494472895208267',
805
+ orderType: 0,
806
+ orderSubType: 0,
807
+ orderStatus: 80,
808
+ orderSubStatus: null,
809
+ totalAmount: '59700',
810
+ goodsAmount: '59700',
811
+ goodsAmountApp: '59700',
812
+ paymentAmount: '24900',
813
+ freightFee: '0',
814
+ packageFee: '0',
815
+ discountAmount: '29800',
816
+ channelType: 0,
817
+ channelSource: '',
818
+ channelIdentity: '',
819
+ remark: '',
820
+ cancelType: 3,
821
+ cancelReasonType: 0,
822
+ cancelReason: '超时未支付',
823
+ rightsType: 0,
824
+ createTime: '1587027566726',
825
+ orderItemVOs: [
826
+ {
827
+ id: '130494482322824704',
828
+ orderNo: null,
829
+ spuId: '7',
830
+ skuId: '135691633',
831
+ roomId: null,
832
+ goodsMainType: 0,
833
+ goodsViceType: 0,
834
+ goodsName: '不锈钢刀叉勺套装家用西餐餐具ins简约耐用不锈钢金色银色可选',
835
+ goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/gh-2b.png',
836
+ originPrice: '29900',
837
+ actualPrice: '19900',
838
+ specifications: [
839
+ { specTitle: '颜色', specValue: '奶黄色' },
840
+ { specTitle: '类型', specValue: '三件套' },
841
+ ],
842
+ buyQuantity: 3,
843
+ itemTotalAmount: '59700',
844
+ itemDiscountAmount: '29800',
845
+ itemPaymentAmount: '29900',
846
+ goodsPaymentPrice: '9966',
847
+ tagPrice: null,
848
+ tagText: null,
849
+ outCode: null,
850
+ labelVOs: null,
851
+ buttonVOs: null,
852
+ },
853
+ ],
854
+ logisticsVO: {
855
+ logisticsType: 1,
856
+ logisticsNo: '',
857
+ logisticsStatus: null,
858
+ logisticsCompanyCode: '',
859
+ logisticsCompanyName: '',
860
+ receiverAddressId: '2',
861
+ provinceCode: '440000',
862
+ cityCode: '440300',
863
+ countryCode: '440306',
864
+ receiverProvince: '广东省',
865
+ receiverCity: '深圳市',
866
+ receiverCountry: '宝安区',
867
+ receiverArea: '',
868
+ receiverAddress: '沙井中心路28号丽沙花都xx栋xx号',
869
+ receiverPostCode: '',
870
+ receiverLongitude: '113.829127',
871
+ receiverLatitude: '22.713649',
872
+ receiverIdentity: '88888888205468',
873
+ receiverPhone: '17612345678',
874
+ receiverName: '测试用户',
875
+ expectArrivalTime: null,
876
+ senderName: '',
877
+ senderPhone: '',
878
+ senderAddress: '',
879
+ sendTime: null,
880
+ arrivalTime: null,
881
+ },
882
+ paymentVO: {
883
+ payStatus: 1,
884
+ amount: '24900',
885
+ currency: null,
886
+ payType: null,
887
+ payWay: null,
888
+ payWayName: null,
889
+ interactId: null,
890
+ traceNo: null,
891
+ channelTrxNo: null,
892
+ period: null,
893
+ payTime: null,
894
+ paySuccessTime: null,
895
+ },
896
+ buttonVOs: null,
897
+ labelVOs: null,
898
+ invoiceVO: null,
899
+ couponAmount: '5000',
900
+ autoCancelTime: null,
901
+ orderStatusName: '已取消(未支付)',
902
+ orderStatusRemark: '超时未支付',
903
+ logisticsLogVO: null,
904
+ invoiceStatus: 3,
905
+ invoiceDesc: '暂不开发票',
906
+ invoiceUrl: null,
907
+ },
908
+ code: 'Success',
909
+ msg: null,
910
+ requestId: mockReqId(),
911
+ clientIp: mockIp(),
912
+ rt: 81,
913
+ success: true,
914
+ },
915
+ {
916
+ data: {
917
+ saasId: '88888888',
918
+ storeId: '1000',
919
+ storeName: '云Mall深圳旗舰店',
920
+ uid: '88888888205468',
921
+ parentOrderNo: '130169571554503755',
922
+ orderId: '130169572291521792',
923
+ orderNo: '130169571554503755',
924
+ orderType: 0,
925
+ orderSubType: 0,
926
+ orderStatus: 50,
927
+ orderSubStatus: null,
928
+ totalAmount: '538000',
929
+ goodsAmount: '538000',
930
+ goodsAmountApp: '538000',
931
+ paymentAmount: '508200',
932
+ freightFee: '0',
933
+ packageFee: '0',
934
+ discountAmount: '29800',
935
+ channelType: 0,
936
+ channelSource: '',
937
+ channelIdentity: '',
938
+ remark: '',
939
+ cancelType: 0,
940
+ cancelReasonType: 0,
941
+ cancelReason: '',
942
+ rightsType: 10,
943
+ createTime: '1587008200587',
944
+ orderItemVOs: [
945
+ {
946
+ id: '130169572425740032',
947
+ orderNo: null,
948
+ spuId: '1',
949
+ skuId: '135691631',
950
+ roomId: null,
951
+ goodsMainType: 0,
952
+ goodsViceType: 0,
953
+ goodsName: '纯色纯棉休闲圆领短袖T恤纯白亲肤厚柔软细腻面料纯白短袖套头T恤',
954
+ goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-08b.png',
955
+ originPrice: '31900',
956
+ actualPrice: '26900',
957
+ specifications: [
958
+ { specTitle: '颜色', specValue: '橙色' },
959
+ { specTitle: '尺码', specValue: 'M' },
960
+ ],
961
+ buyQuantity: 20,
962
+ itemTotalAmount: '538000',
963
+ itemDiscountAmount: '29800',
964
+ itemPaymentAmount: '508200',
965
+ goodsPaymentPrice: '25410',
966
+ tagPrice: null,
967
+ tagText: null,
968
+ outCode: null,
969
+ labelVOs: null,
970
+ buttonVOs: null,
971
+ },
972
+ ],
973
+ logisticsVO: {
974
+ logisticsType: 1,
975
+ logisticsNo: '123',
976
+ logisticsStatus: null,
977
+ logisticsCompanyCode: 'zhongtong',
978
+ logisticsCompanyName: '中通速递',
979
+ receiverAddressId: '2',
980
+ provinceCode: '440000',
981
+ cityCode: '440300',
982
+ countryCode: '440306',
983
+ receiverProvince: '广东省',
984
+ receiverCity: '深圳市',
985
+ receiverCountry: '宝安区',
986
+ receiverArea: '',
987
+ receiverAddress: '沙井中心路28号丽沙花都xx栋xx号',
988
+ receiverPostCode: '',
989
+ receiverLongitude: '113.829127',
990
+ receiverLatitude: '22.713649',
991
+ receiverIdentity: '88888888205468',
992
+ receiverPhone: '17612345678',
993
+ receiverName: '测试用户',
994
+ expectArrivalTime: null,
995
+ senderName: '',
996
+ senderPhone: '',
997
+ senderAddress: '',
998
+ sendTime: '1587008529453',
999
+ arrivalTime: '1587008623995',
1000
+ },
1001
+ paymentVO: {
1002
+ payStatus: 2,
1003
+ amount: '508200',
1004
+ currency: 'CNY',
1005
+ payType: 0,
1006
+ payWay: 0,
1007
+ payWayName: '微信支付',
1008
+ interactId: '121212',
1009
+ traceNo: '121212',
1010
+ channelTrxNo: '121212',
1011
+ period: null,
1012
+ payTime: '2020-03-23 00:00:00',
1013
+ paySuccessTime: '2020-04-16 11:36:41',
1014
+ },
1015
+ buttonVOs: [
1016
+ { primary: false, type: 4, name: '申请售后' },
1017
+ { primary: true, type: 6, name: '评价' },
1018
+ ],
1019
+ labelVOs: null,
1020
+ invoiceVO: {
1021
+ buyerName: '腾讯计算机有限公司', //个人或公司名称
1022
+ buyerTaxNo: '9144 9808 0909 0293 XG', //税号
1023
+ buyerPhone: '18600008888', //手机
1024
+ email: '73900484@qq.com', //邮箱
1025
+ titleType: 2, //发票抬头 1-个人 2-公司
1026
+ ontentType: 1, //发票内容 1-明细 2类别
1027
+ invoiceType: 5, //是否开票 0-不开 5-电子发票
1028
+ money: '1.54',
1029
+ },
1030
+ couponAmount: '0',
1031
+ autoCancelTime: null,
1032
+ orderStatusName: '交易完成',
1033
+ orderStatusRemark: null,
1034
+ logisticsLogVO: null,
1035
+ invoiceStatus: 2,
1036
+ invoiceDesc: '暂不开发票',
1037
+ invoiceUrl: null,
1038
+ },
1039
+ code: 'Success',
1040
+ msg: null,
1041
+ requestId: mockReqId(),
1042
+ clientIp: mockIp(),
1043
+ rt: 91,
1044
+ success: true,
1045
+ },
1046
+ {
1047
+ data: {
1048
+ saasId: '88888888',
1049
+ storeId: '1000',
1050
+ storeName: '云Mall深圳旗舰店',
1051
+ uid: '88888888205468',
1052
+ parentOrderNo: '130150835531421259',
1053
+ orderId: '130150836385879808',
1054
+ orderNo: '130150835531421259',
1055
+ orderType: 0,
1056
+ orderSubType: 0,
1057
+ orderStatus: 50,
1058
+ orderSubStatus: null,
1059
+ totalAmount: '29800',
1060
+ goodsAmount: '29800',
1061
+ goodsAmountApp: '29800',
1062
+ paymentAmount: '4000',
1063
+ freightFee: '0',
1064
+ packageFee: '0',
1065
+ discountAmount: '25800',
1066
+ channelType: 0,
1067
+ channelSource: '',
1068
+ channelIdentity: '',
1069
+ remark: '',
1070
+ cancelType: 0,
1071
+ cancelReasonType: 0,
1072
+ cancelReason: '',
1073
+ rightsType: 0,
1074
+ createTime: '1587007083839',
1075
+ orderItemVOs: [
1076
+ {
1077
+ id: '130150836520098048',
1078
+ orderNo: null,
1079
+ spuId: '0',
1080
+ skuId: '135681631',
1081
+ roomId: null,
1082
+ goodsMainType: 0,
1083
+ goodsViceType: 0,
1084
+ goodsName: '白色短袖连衣裙荷叶边裙摆宽松韩版休闲纯白清爽优雅连衣裙',
1085
+ goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-09a.png',
1086
+ originPrice: '40000',
1087
+ actualPrice: '29800',
1088
+ specifications: [
1089
+ { specTitle: '颜色', specValue: '米色荷叶边' },
1090
+ { specTitle: '尺码', specValue: 'M' },
1091
+ ],
1092
+ buyQuantity: 1,
1093
+ itemTotalAmount: '29800',
1094
+ itemDiscountAmount: '25800',
1095
+ itemPaymentAmount: '4000',
1096
+ goodsPaymentPrice: '4000',
1097
+ tagPrice: null,
1098
+ tagText: null,
1099
+ outCode: null,
1100
+ labelVOs: null,
1101
+ buttonVOs: null,
1102
+ },
1103
+ ],
1104
+ logisticsVO: {
1105
+ logisticsType: 1,
1106
+ logisticsNo: '123',
1107
+ logisticsStatus: null,
1108
+ logisticsCompanyCode: 'yuantong',
1109
+ logisticsCompanyName: '圆通速递',
1110
+ receiverAddressId: '2',
1111
+ provinceCode: '440000',
1112
+ cityCode: '440300',
1113
+ countryCode: '440306',
1114
+ receiverProvince: '广东省',
1115
+ receiverCity: '深圳市',
1116
+ receiverCountry: '宝安区',
1117
+ receiverArea: '',
1118
+ receiverAddress: '沙井中心路28号丽沙花都xx栋xx号',
1119
+ receiverPostCode: '',
1120
+ receiverLongitude: '113.829127',
1121
+ receiverLatitude: '22.713649',
1122
+ receiverIdentity: '88888888205468',
1123
+ receiverPhone: '17612345678',
1124
+ receiverName: '测试用户',
1125
+ expectArrivalTime: null,
1126
+ senderName: '',
1127
+ senderPhone: '',
1128
+ senderAddress: '',
1129
+ sendTime: '1587008539953',
1130
+ arrivalTime: '1588291200508',
1131
+ },
1132
+ paymentVO: {
1133
+ payStatus: 2,
1134
+ amount: '4000',
1135
+ currency: 'RNB',
1136
+ payType: 0,
1137
+ payWay: 0,
1138
+ payWayName: '微信支付',
1139
+ interactId: '121212',
1140
+ traceNo: '121212',
1141
+ channelTrxNo: '121212',
1142
+ period: null,
1143
+ payTime: '2020-03-23 00:00:00',
1144
+ paySuccessTime: '2020-04-16 11:18:09',
1145
+ },
1146
+ buttonVOs: [
1147
+ { primary: false, type: 4, name: '申请售后' },
1148
+ { primary: true, type: 6, name: '评价' },
1149
+ ],
1150
+ labelVOs: null,
1151
+ invoiceVO: null,
1152
+ couponAmount: '0',
1153
+ autoCancelTime: null,
1154
+ orderStatusName: '交易完成',
1155
+ orderStatusRemark: null,
1156
+ logisticsLogVO: null,
1157
+ invoiceStatus: 2,
1158
+ invoiceDesc: '暂不开发票',
1159
+ invoiceUrl: null,
1160
+ },
1161
+ code: 'Success',
1162
+ msg: null,
1163
+ requestId: mockReqId(),
1164
+ clientIp: mockIp(),
1165
+ rt: 95,
1166
+ success: true,
1167
+ },
1168
+ ];
1169
+
1170
+ export function genOrderDetail(params) {
1171
+ const { parameter } = params;
1172
+ const resp = orderResps.find((r) => r.data.orderNo === parameter);
1173
+ return resp;
1174
+ }
1175
+
1176
+ export function genBusinessTime() {
1177
+ const resp = {
1178
+ data: {
1179
+ businessTime: ['周一,周二,周三,周四,周五:00:20:00-08:00:00'],
1180
+ telphone: '18565372257',
1181
+ saasId: '88888888',
1182
+ },
1183
+ code: 'Success',
1184
+ msg: null,
1185
+ requestId: mockReqId(),
1186
+ clientIp: mockIp(),
1187
+ rt: 3,
1188
+ success: true,
1189
+ };
1190
+ return resp;
1191
+ }