create-weapp-vite 2.0.32 → 2.0.34

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 (180) hide show
  1. package/README.md +0 -1
  2. package/dist/{chunk-IT75MAH3.js → chunk-6CRKNZN2.js} +2 -3
  3. package/dist/cli.js +1 -5
  4. package/dist/index.d.ts +0 -1
  5. package/dist/index.js +1 -1
  6. package/package.json +2 -2
  7. package/templates/tailwindcss/package.json +1 -1
  8. package/templates/tdesign/package.json +1 -1
  9. package/templates/vant/package.json +1 -1
  10. package/templates/wevu/package.json +1 -1
  11. package/templates/wevu-tdesign/package.json +2 -2
  12. package/templates/wevu-retail/.editorconfig +0 -9
  13. package/templates/wevu-retail/.vscode/settings.json +0 -10
  14. package/templates/wevu-retail/AGENTS.md +0 -35
  15. package/templates/wevu-retail/README.md +0 -26
  16. package/templates/wevu-retail/auto-import-components.json +0 -1
  17. package/templates/wevu-retail/gitignore +0 -35
  18. package/templates/wevu-retail/package.json +0 -42
  19. package/templates/wevu-retail/postcss.config.js +0 -6
  20. package/templates/wevu-retail/project.config.json +0 -44
  21. package/templates/wevu-retail/project.private.config.json +0 -8
  22. package/templates/wevu-retail/src/app.vue +0 -104
  23. package/templates/wevu-retail/src/common/updateManager.ts +0 -29
  24. package/templates/wevu-retail/src/components/filter/index.vue +0 -134
  25. package/templates/wevu-retail/src/components/filter-popup/index.vue +0 -67
  26. package/templates/wevu-retail/src/components/goods-card/index.vue +0 -219
  27. package/templates/wevu-retail/src/components/goods-list/index.vue +0 -91
  28. package/templates/wevu-retail/src/components/load-more/index.vue +0 -99
  29. package/templates/wevu-retail/src/components/loading-content/index.vue +0 -48
  30. package/templates/wevu-retail/src/components/price/index.vue +0 -104
  31. package/templates/wevu-retail/src/components/promotion/ui-coupon-card/index.vue +0 -143
  32. package/templates/wevu-retail/src/components/promotion/ui-coupon-card/tools.wxs +0 -18
  33. package/templates/wevu-retail/src/components/swipeout/index.vue +0 -118
  34. package/templates/wevu-retail/src/components/swipeout/swipe.wxs +0 -151
  35. package/templates/wevu-retail/src/components/webp-image/index.vue +0 -105
  36. package/templates/wevu-retail/src/components/webp-image/utils.wxs +0 -140
  37. package/templates/wevu-retail/src/config/index.ts +0 -20437
  38. package/templates/wevu-retail/src/custom-tab-bar/data.ts +0 -22
  39. package/templates/wevu-retail/src/custom-tab-bar/index.vue +0 -62
  40. package/templates/wevu-retail/src/model/activities.ts +0 -7
  41. package/templates/wevu-retail/src/model/activity.ts +0 -18
  42. package/templates/wevu-retail/src/model/address.ts +0 -31
  43. package/templates/wevu-retail/src/model/cart.ts +0 -306
  44. package/templates/wevu-retail/src/model/category.ts +0 -175
  45. package/templates/wevu-retail/src/model/comments/queryDetail.ts +0 -50
  46. package/templates/wevu-retail/src/model/comments.ts +0 -298
  47. package/templates/wevu-retail/src/model/coupon.ts +0 -39
  48. package/templates/wevu-retail/src/model/detailsComments.ts +0 -30
  49. package/templates/wevu-retail/src/model/good.ts +0 -1904
  50. package/templates/wevu-retail/src/model/goods.ts +0 -7
  51. package/templates/wevu-retail/src/model/order/applyService.ts +0 -329
  52. package/templates/wevu-retail/src/model/order/orderConfirm.ts +0 -147
  53. package/templates/wevu-retail/src/model/order/orderDetail.ts +0 -1191
  54. package/templates/wevu-retail/src/model/order/orderList.ts +0 -1033
  55. package/templates/wevu-retail/src/model/promotion.ts +0 -20
  56. package/templates/wevu-retail/src/model/search.ts +0 -60
  57. package/templates/wevu-retail/src/model/submitComment.ts +0 -58
  58. package/templates/wevu-retail/src/model/swiper.ts +0 -39
  59. package/templates/wevu-retail/src/model/usercenter.ts +0 -52
  60. package/templates/wevu-retail/src/pages/cart/components/cart-bar/index.vue +0 -104
  61. package/templates/wevu-retail/src/pages/cart/components/cart-empty/index.vue +0 -41
  62. package/templates/wevu-retail/src/pages/cart/components/cart-group/index.vue +0 -333
  63. package/templates/wevu-retail/src/pages/cart/components/cart-group/index.wxs +0 -5
  64. package/templates/wevu-retail/src/pages/cart/components/cart-group/utils.wxs +0 -20
  65. package/templates/wevu-retail/src/pages/cart/components/goods-card/index.vue +0 -334
  66. package/templates/wevu-retail/src/pages/cart/components/specs-popup/index.vue +0 -100
  67. package/templates/wevu-retail/src/pages/cart/index.vue +0 -342
  68. package/templates/wevu-retail/src/pages/category/components/goods-category/components/c-sidebar/README.md +0 -95
  69. package/templates/wevu-retail/src/pages/category/components/goods-category/components/c-sidebar/c-sidebar-item/index.vue +0 -73
  70. package/templates/wevu-retail/src/pages/category/components/goods-category/components/c-sidebar/index.vue +0 -121
  71. package/templates/wevu-retail/src/pages/category/components/goods-category/components/c-tabbar/c-tabbar-more/index.vue +0 -74
  72. package/templates/wevu-retail/src/pages/category/components/goods-category/components/c-tabbar/index.vue +0 -102
  73. package/templates/wevu-retail/src/pages/category/components/goods-category/index.vue +0 -137
  74. package/templates/wevu-retail/src/pages/category/index.vue +0 -50
  75. package/templates/wevu-retail/src/pages/coupon/components/coupon-card/index.vue +0 -95
  76. package/templates/wevu-retail/src/pages/coupon/components/floating-button/index.vue +0 -44
  77. package/templates/wevu-retail/src/pages/coupon/coupon-activity-goods/index.vue +0 -135
  78. package/templates/wevu-retail/src/pages/coupon/coupon-detail/index.vue +0 -94
  79. package/templates/wevu-retail/src/pages/coupon/coupon-list/index.vue +0 -136
  80. package/templates/wevu-retail/src/pages/goods/comments/components/comments-card/components/images-videos/assets/play.png +0 -0
  81. package/templates/wevu-retail/src/pages/goods/comments/components/comments-card/components/images-videos/index.vue +0 -65
  82. package/templates/wevu-retail/src/pages/goods/comments/components/comments-card/components/my-video/index.vue +0 -92
  83. package/templates/wevu-retail/src/pages/goods/comments/components/comments-card/index.vue +0 -93
  84. package/templates/wevu-retail/src/pages/goods/comments/create/index.vue +0 -196
  85. package/templates/wevu-retail/src/pages/goods/comments/index.vue +0 -293
  86. package/templates/wevu-retail/src/pages/goods/details/components/buy-bar/index.vue +0 -117
  87. package/templates/wevu-retail/src/pages/goods/details/components/goods-specs-popup/index.vue +0 -440
  88. package/templates/wevu-retail/src/pages/goods/details/components/promotion-popup/index.vue +0 -83
  89. package/templates/wevu-retail/src/pages/goods/details/index.vue +0 -598
  90. package/templates/wevu-retail/src/pages/goods/list/index.vue +0 -299
  91. package/templates/wevu-retail/src/pages/goods/result/index.vue +0 -350
  92. package/templates/wevu-retail/src/pages/goods/search/index.vue +0 -196
  93. package/templates/wevu-retail/src/pages/home/home.vue +0 -215
  94. package/templates/wevu-retail/src/pages/home/readme +0 -8
  95. package/templates/wevu-retail/src/pages/order/after-service-detail/api.ts +0 -34
  96. package/templates/wevu-retail/src/pages/order/after-service-detail/index.vue +0 -430
  97. package/templates/wevu-retail/src/pages/order/after-service-list/api.ts +0 -1262
  98. package/templates/wevu-retail/src/pages/order/after-service-list/index.vue +0 -299
  99. package/templates/wevu-retail/src/pages/order/apply-service/index.vue +0 -665
  100. package/templates/wevu-retail/src/pages/order/components/after-service-button-bar/index.vue +0 -142
  101. package/templates/wevu-retail/src/pages/order/components/customer-service/index.vue +0 -75
  102. package/templates/wevu-retail/src/pages/order/components/goods-card/index.vue +0 -356
  103. package/templates/wevu-retail/src/pages/order/components/noGoods/noGood.wxs +0 -17
  104. package/templates/wevu-retail/src/pages/order/components/noGoods/noGoods.vue +0 -125
  105. package/templates/wevu-retail/src/pages/order/components/order-button-bar/index.vue +0 -262
  106. package/templates/wevu-retail/src/pages/order/components/order-card/index.vue +0 -126
  107. package/templates/wevu-retail/src/pages/order/components/order-goods-card/index.vue +0 -86
  108. package/templates/wevu-retail/src/pages/order/components/reason-sheet/index.vue +0 -161
  109. package/templates/wevu-retail/src/pages/order/components/reason-sheet/reasonSheet.ts +0 -25
  110. package/templates/wevu-retail/src/pages/order/components/selectCoupons/mock.ts +0 -22
  111. package/templates/wevu-retail/src/pages/order/components/selectCoupons/selectCoupon.wxs +0 -16
  112. package/templates/wevu-retail/src/pages/order/components/selectCoupons/selectCoupons.vue +0 -207
  113. package/templates/wevu-retail/src/pages/order/components/specs-goods-card/index.vue +0 -185
  114. package/templates/wevu-retail/src/pages/order/config.ts +0 -94
  115. package/templates/wevu-retail/src/pages/order/delivery-detail/index.vue +0 -145
  116. package/templates/wevu-retail/src/pages/order/delivery-detail/isUrl.wxs +0 -7
  117. package/templates/wevu-retail/src/pages/order/fill-tracking-no/api.ts +0 -71
  118. package/templates/wevu-retail/src/pages/order/fill-tracking-no/index.vue +0 -267
  119. package/templates/wevu-retail/src/pages/order/invoice/index.vue +0 -94
  120. package/templates/wevu-retail/src/pages/order/order-confirm/components/address-card/index.vue +0 -78
  121. package/templates/wevu-retail/src/pages/order/order-confirm/getNotes.wxs +0 -11
  122. package/templates/wevu-retail/src/pages/order/order-confirm/handleInvoice.wxs +0 -11
  123. package/templates/wevu-retail/src/pages/order/order-confirm/index.vue +0 -707
  124. package/templates/wevu-retail/src/pages/order/order-confirm/order.wxs +0 -8
  125. package/templates/wevu-retail/src/pages/order/order-confirm/pay.ts +0 -115
  126. package/templates/wevu-retail/src/pages/order/order-detail/index.vue +0 -456
  127. package/templates/wevu-retail/src/pages/order/order-list/index.vue +0 -288
  128. package/templates/wevu-retail/src/pages/order/pay-result/index.vue +0 -77
  129. package/templates/wevu-retail/src/pages/order/receipt/index.vue +0 -336
  130. package/templates/wevu-retail/src/pages/promotion/promotion-detail/index.vue +0 -145
  131. package/templates/wevu-retail/src/pages/user/address/edit/index.vue +0 -514
  132. package/templates/wevu-retail/src/pages/user/address/list/index.vue +0 -249
  133. package/templates/wevu-retail/src/pages/user/components/t-location/index.vue +0 -156
  134. package/templates/wevu-retail/src/pages/user/components/ui-address-item/index.vue +0 -92
  135. package/templates/wevu-retail/src/pages/user/name-edit/index.vue +0 -49
  136. package/templates/wevu-retail/src/pages/user/person-info/index.vue +0 -198
  137. package/templates/wevu-retail/src/pages/usercenter/address/edit/util.ts +0 -33
  138. package/templates/wevu-retail/src/pages/usercenter/components/order-group/index.vue +0 -90
  139. package/templates/wevu-retail/src/pages/usercenter/components/ui-select-picker/index.vue +0 -108
  140. package/templates/wevu-retail/src/pages/usercenter/components/user-center-card/index.vue +0 -82
  141. package/templates/wevu-retail/src/pages/usercenter/index.vue +0 -301
  142. package/templates/wevu-retail/src/services/_utils/delay.ts +0 -3
  143. package/templates/wevu-retail/src/services/_utils/timeout.ts +0 -3
  144. package/templates/wevu-retail/src/services/activity/fetchActivity.ts +0 -20
  145. package/templates/wevu-retail/src/services/activity/fetchActivityList.ts +0 -20
  146. package/templates/wevu-retail/src/services/address/edit.ts +0 -33
  147. package/templates/wevu-retail/src/services/address/fetchAddress.ts +0 -48
  148. package/templates/wevu-retail/src/services/address/list.ts +0 -31
  149. package/templates/wevu-retail/src/services/cart/cart.ts +0 -20
  150. package/templates/wevu-retail/src/services/comments/fetchComments.ts +0 -18
  151. package/templates/wevu-retail/src/services/comments/fetchCommentsCount.ts +0 -18
  152. package/templates/wevu-retail/src/services/coupon/index.ts +0 -65
  153. package/templates/wevu-retail/src/services/good/comments/fetchCommentDetail.ts +0 -20
  154. package/templates/wevu-retail/src/services/good/fetchCategoryList.ts +0 -18
  155. package/templates/wevu-retail/src/services/good/fetchGood.ts +0 -18
  156. package/templates/wevu-retail/src/services/good/fetchGoods.ts +0 -29
  157. package/templates/wevu-retail/src/services/good/fetchGoodsDetailsComments.ts +0 -37
  158. package/templates/wevu-retail/src/services/good/fetchGoodsList.ts +0 -39
  159. package/templates/wevu-retail/src/services/good/fetchSearchHistory.ts +0 -35
  160. package/templates/wevu-retail/src/services/good/fetchSearchResult.ts +0 -38
  161. package/templates/wevu-retail/src/services/home/home.ts +0 -53
  162. package/templates/wevu-retail/src/services/order/applyService.ts +0 -70
  163. package/templates/wevu-retail/src/services/order/orderConfirm.ts +0 -69
  164. package/templates/wevu-retail/src/services/order/orderDetail.ts +0 -39
  165. package/templates/wevu-retail/src/services/order/orderList.ts +0 -39
  166. package/templates/wevu-retail/src/services/order/orderSubmitComment.ts +0 -22
  167. package/templates/wevu-retail/src/services/promotion/detail.ts +0 -18
  168. package/templates/wevu-retail/src/services/usercenter/fetchPerson.ts +0 -28
  169. package/templates/wevu-retail/src/services/usercenter/fetchUsercenter.ts +0 -18
  170. package/templates/wevu-retail/src/sitemap.json +0 -7
  171. package/templates/wevu-retail/src/utils/addressParse.ts +0 -25
  172. package/templates/wevu-retail/src/utils/getPermission.ts +0 -45
  173. package/templates/wevu-retail/src/utils/mock.ts +0 -51
  174. package/templates/wevu-retail/src/utils/util.ts +0 -134
  175. package/templates/wevu-retail/src/vite-env.d.ts +0 -1
  176. package/templates/wevu-retail/tailwind.config.ts +0 -15
  177. package/templates/wevu-retail/tsconfig.app.json +0 -58
  178. package/templates/wevu-retail/tsconfig.json +0 -11
  179. package/templates/wevu-retail/tsconfig.node.json +0 -33
  180. package/templates/wevu-retail/vite.config.ts +0 -14
@@ -1,1033 +0,0 @@
1
- import { mockIp, mockReqId } from '../../utils/mock';
2
-
3
- export function genOrders(params) {
4
- const resp = {
5
- data: {
6
- pageNum: 1,
7
- pageSize: 10,
8
- totalCount: 7,
9
- orders: [
10
- {
11
- saasId: '88888888',
12
- storeId: '1000',
13
- storeName: '云Mall深圳旗舰店',
14
- uid: '88888888205468',
15
- parentOrderNo: '354021731671873099',
16
- orderId: '354021735982432279',
17
- orderNo: '354021731671873099',
18
- orderType: 0,
19
- orderSubType: 0,
20
- orderStatus: 5,
21
- orderSubStatus: null,
22
- totalAmount: '10010',
23
- goodsAmount: '10000',
24
- goodsAmountApp: '10000',
25
- paymentAmount: '20',
26
- freightFee: '10',
27
- packageFee: '0',
28
- discountAmount: '9990',
29
- channelType: 0,
30
- channelSource: '',
31
- channelIdentity: '',
32
- remark: '',
33
- cancelType: null,
34
- cancelReasonType: null,
35
- cancelReason: null,
36
- rightsType: null,
37
- createTime: '1600350829291',
38
- orderItemVOs: [
39
- {
40
- id: '354021736133427225',
41
- orderNo: null,
42
- spuId: '3',
43
- skuId: '135696670',
44
- roomId: null,
45
- goodsMainType: 0,
46
- goodsViceType: 0,
47
- goodsName: '腾讯极光盒子4智能网络电视机顶盒6K千兆网络机顶盒4K高分辨率',
48
- specifications: [
49
- { specTitle: '颜色', specValue: '贵族青' },
50
- { specTitle: '类型', specValue: '尊享礼盒装' },
51
- ],
52
- goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/dz-3b.png',
53
- originPrice: '0',
54
- actualPrice: '9999',
55
- buyQuantity: 1,
56
- itemTotalAmount: '9999',
57
- itemDiscountAmount: '9990',
58
- itemPaymentAmount: '10',
59
- goodsPaymentPrice: '10',
60
- tagPrice: null,
61
- tagText: null,
62
- outCode: null,
63
- labelVOs: null,
64
- buttonVOs: null,
65
- },
66
- ],
67
- logisticsVO: {
68
- logisticsType: 1,
69
- logisticsNo: '',
70
- logisticsStatus: null,
71
- logisticsCompanyCode: '',
72
- logisticsCompanyName: '',
73
- receiverAddressId: '14',
74
- provinceCode: '440000',
75
- cityCode: '440300',
76
- countryCode: '440306',
77
- receiverProvince: '广东省',
78
- receiverCity: '深圳市',
79
- receiverCountry: '宝安区',
80
- receiverArea: '',
81
- receiverAddress: '沙井中心路28号丽沙花都xx栋xx号',
82
- receiverAddress: '沙井中心路28号丽沙花都xx栋xx号',
83
- receiverPostCode: '',
84
- receiverLongitude: '113.829127',
85
- receiverLatitude: '22.713649',
86
- receiverIdentity: '88888888205468',
87
- receiverPhone: '17612345678',
88
- receiverName: '测试用户',
89
- receiverPhone: '17612345678',
90
- receiverName: '测试用户',
91
- expectArrivalTime: null,
92
- senderName: '',
93
- senderPhone: '',
94
- senderAddress: '',
95
- sendTime: null,
96
- arrivalTime: null,
97
- },
98
- paymentVO: {
99
- payStatus: 1,
100
- amount: '20',
101
- currency: null,
102
- payType: null,
103
- payWay: null,
104
- payWayName: null,
105
- interactId: null,
106
- traceNo: null,
107
- channelTrxNo: null,
108
- period: null,
109
- payTime: null,
110
- paySuccessTime: null,
111
- },
112
- buttonVOs: [
113
- { primary: false, type: 2, name: '取消订单' },
114
- { primary: true, type: 1, name: '付款' },
115
- ],
116
- labelVOs: null,
117
- invoiceVO: null,
118
- couponAmount: null,
119
- autoCancelTime: '1600352629291',
120
- orderStatusName: '待付款',
121
- orderStatusRemark: '需支付¥0.20',
122
- logisticsLogVO: null,
123
- invoiceStatus: null,
124
- invoiceDesc: null,
125
- invoiceUrl: null,
126
- },
127
- {
128
- saasId: '88888888',
129
- storeId: '1000',
130
- storeName: '云Mall深圳旗舰店',
131
- uid: '88888888205468',
132
- parentOrderNo: '132381532610540875',
133
- orderId: '132381537256650240',
134
- orderNo: '132381532610540875',
135
- orderType: 0,
136
- orderSubType: 0,
137
- orderStatus: 10,
138
- orderSubStatus: null,
139
- totalAmount: '76600',
140
- goodsAmount: '76600',
141
- goodsAmountApp: '76600',
142
- paymentAmount: '36800',
143
- freightFee: '0',
144
- packageFee: '0',
145
- discountAmount: '39800',
146
- channelType: 0,
147
- channelSource: '',
148
- channelIdentity: '',
149
- remark: '',
150
- cancelType: null,
151
- cancelReasonType: null,
152
- cancelReason: null,
153
- rightsType: null,
154
- createTime: '1587140043980',
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
- { specTitle: '颜色', specValue: '米色荷叶边' },
170
- { specTitle: '尺码', specValue: 'S' },
171
- ],
172
- buyQuantity: 1,
173
- itemTotalAmount: '29800',
174
- itemDiscountAmount: '19813',
175
- itemPaymentAmount: '9987',
176
- goodsPaymentPrice: '9987',
177
- tagPrice: null,
178
- tagText: null,
179
- outCode: null,
180
- labelVOs: null,
181
- buttonVOs: null,
182
- },
183
- {
184
- id: '132381537407645952',
185
- orderNo: null,
186
- spuId: '7',
187
- skuId: '135691633',
188
- roomId: null,
189
- goodsMainType: 0,
190
- goodsViceType: 0,
191
- goodsName: '不锈钢刀叉勺套装家用西餐餐具ins简约耐用不锈钢金色银色可选',
192
- goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/gh-2b.png',
193
- originPrice: '29900',
194
- actualPrice: '19900',
195
- specifications: [
196
- { specTitle: '颜色', specValue: '奶黄色' },
197
- { specTitle: '类型', specValue: '三件套' },
198
- ],
199
- buyQuantity: 1,
200
- itemTotalAmount: '19900',
201
- itemDiscountAmount: '13230',
202
- itemPaymentAmount: '6670',
203
- goodsPaymentPrice: '6670',
204
- tagPrice: null,
205
- tagText: null,
206
- outCode: null,
207
- labelVOs: null,
208
- buttonVOs: null,
209
- },
210
- {
211
- id: '132381537407646208',
212
- orderNo: null,
213
- spuId: '1',
214
- skuId: '135691631',
215
- roomId: null,
216
- goodsMainType: 0,
217
- goodsViceType: 0,
218
- goodsName: '纯色纯棉休闲圆领短袖T恤纯白亲肤厚柔软细腻面料纯白短袖套头T恤',
219
- goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-08a.png',
220
- originPrice: '31900',
221
- actualPrice: '26900',
222
- specifications: [
223
- { specTitle: '颜色', specValue: '白色' },
224
- { specTitle: '尺码', specValue: 'S' },
225
- ],
226
- buyQuantity: 1,
227
- itemTotalAmount: '26900',
228
- itemDiscountAmount: '6757',
229
- itemPaymentAmount: '20143',
230
- goodsPaymentPrice: '20143',
231
- tagPrice: null,
232
- tagText: null,
233
- outCode: null,
234
- labelVOs: null,
235
- buttonVOs: null,
236
- },
237
- ],
238
- logisticsVO: {
239
- logisticsType: 1,
240
- logisticsNo: '',
241
- logisticsStatus: null,
242
- logisticsCompanyCode: '',
243
- logisticsCompanyName: '',
244
- receiverAddressId: '2',
245
- provinceCode: '440000',
246
- cityCode: '440300',
247
- countryCode: '440306',
248
- receiverProvince: '广东省',
249
- receiverCity: '深圳市',
250
- receiverCountry: '南山区',
251
- receiverArea: '',
252
- receiverAddress: '前海路333号阳光玫瑰园',
253
- receiverPostCode: '',
254
- receiverLongitude: '113.829127',
255
- receiverLatitude: '22.713649',
256
- receiverIdentity: '88888888205468',
257
- receiverPhone: '17612345678',
258
- receiverPhone: '17612345678',
259
- receiverName: '平均线',
260
- expectArrivalTime: null,
261
- senderName: '',
262
- senderPhone: '',
263
- senderAddress: '',
264
- sendTime: null,
265
- arrivalTime: null,
266
- },
267
- paymentVO: {
268
- payStatus: 1,
269
- amount: '36800',
270
- currency: null,
271
- payType: null,
272
- payWay: null,
273
- payWayName: null,
274
- interactId: null,
275
- traceNo: null,
276
- channelTrxNo: null,
277
- period: null,
278
- payTime: null,
279
- paySuccessTime: null,
280
- },
281
- buttonVOs: [
282
- {
283
- primary: false,
284
- type: 2,
285
- name: '取消订单',
286
- },
287
- {
288
- primary: true,
289
- type: 9,
290
- name: '再次购买',
291
- },
292
- ],
293
- labelVOs: null,
294
- invoiceVO: null,
295
- couponAmount: null,
296
- autoCancelTime: null,
297
- orderStatusName: '待发货',
298
- orderStatusRemark: null,
299
- logisticsLogVO: null,
300
- invoiceStatus: null,
301
- invoiceDesc: null,
302
- invoiceUrl: null,
303
- },
304
- {
305
- saasId: '88888888',
306
- storeId: '1000',
307
- storeName: '云Mall深圳旗舰店',
308
- uid: '88888888205468',
309
- parentOrderNo: '132222623132329291',
310
- orderId: '132222629674264064',
311
- orderNo: '132222623132329291',
312
- orderType: 0,
313
- orderSubType: 0,
314
- orderStatus: 40,
315
- orderSubStatus: null,
316
- totalAmount: '500400',
317
- goodsAmount: '500400',
318
- goodsAmountApp: '500400',
319
- paymentAmount: '458600',
320
- freightFee: '0',
321
- packageFee: '0',
322
- discountAmount: '41800',
323
- channelType: 0,
324
- channelSource: '',
325
- channelIdentity: '',
326
- remark: '',
327
- cancelType: null,
328
- cancelReasonType: null,
329
- cancelReason: null,
330
- rightsType: null,
331
- createTime: '1587130572349',
332
- orderItemVOs: [
333
- {
334
- id: '132222629825259776',
335
- orderNo: null,
336
- spuId: '5',
337
- skuId: '135691625',
338
- roomId: null,
339
- goodsMainType: 0,
340
- goodsViceType: 0,
341
- goodsName: '迷你便携高颜值蓝牙无线耳机立体声只能触控式操作简约立体声耳机',
342
- goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/dz-2a.png',
343
- originPrice: '15900',
344
- actualPrice: '8900',
345
- specifications: [
346
- { specTitle: '颜色', specValue: '黑色' },
347
- { specTitle: '尺码', specValue: '简约' },
348
- ],
349
- buyQuantity: 1,
350
- itemTotalAmount: '8900',
351
- itemDiscountAmount: '2134',
352
- itemPaymentAmount: '6766',
353
- goodsPaymentPrice: '6766',
354
- tagPrice: null,
355
- tagText: null,
356
- outCode: null,
357
- labelVOs: null,
358
- buttonVOs: null,
359
- },
360
- {
361
- id: '132222629825260032',
362
- orderNo: null,
363
- spuId: '0',
364
- skuId: '135676631',
365
- roomId: null,
366
- goodsMainType: 0,
367
- goodsViceType: 0,
368
- goodsName: '白色短袖连衣裙荷叶边裙摆宽松韩版休闲纯白清爽优雅连衣裙',
369
- goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-09a.png',
370
- originPrice: '40000',
371
- actualPrice: '29800',
372
- specifications: [
373
- { specTitle: '颜色', specValue: '米色荷叶边' },
374
- { specTitle: '尺码', specValue: 'S' },
375
- ],
376
- buyQuantity: 1,
377
- itemTotalAmount: '29800',
378
- itemDiscountAmount: '4026',
379
- itemPaymentAmount: '25774',
380
- goodsPaymentPrice: '25774',
381
- tagPrice: null,
382
- tagText: null,
383
- outCode: null,
384
- labelVOs: null,
385
- buttonVOs: null,
386
- },
387
- {
388
- id: '132222629825260288',
389
- orderNo: null,
390
- spuId: '3',
391
- skuId: '135691622',
392
- roomId: null,
393
- goodsMainType: 0,
394
- goodsViceType: 0,
395
- goodsName: '腾讯极光盒子4智能网络电视机顶盒6K千兆网络机顶盒4K高分辨率',
396
- goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/dz-3a.png',
397
- originPrice: '16900',
398
- actualPrice: '9900',
399
- specifications: [
400
- { specTitle: '颜色', specValue: '经典白' },
401
- { specTitle: '类型', specValue: '经典套装' },
402
- ],
403
- buyQuantity: 1,
404
- itemTotalAmount: '9900',
405
- itemDiscountAmount: '1337',
406
- itemPaymentAmount: '8563',
407
- goodsPaymentPrice: '8563',
408
- tagPrice: null,
409
- tagText: null,
410
- outCode: null,
411
- labelVOs: null,
412
- buttonVOs: null,
413
- },
414
- {
415
- id: '132222629825260544',
416
- orderNo: null,
417
- spuId: '135681628',
418
- skuId: '135676629',
419
- roomId: null,
420
- goodsMainType: 0,
421
- goodsViceType: 0,
422
- goodsName: '带帽午休毯虎年款多功能加厚加大加绒简约多功能午休毯连帽披肩',
423
- goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/muy-3a.png',
424
- originPrice: '39900',
425
- actualPrice: '29900',
426
- specifications: [
427
- { specTitle: '颜色', specValue: '浅灰色' },
428
- { specTitle: '尺码', specValue: 'S' },
429
- ],
430
- buyQuantity: 4,
431
- itemTotalAmount: '119600',
432
- itemDiscountAmount: '4040',
433
- itemPaymentAmount: '115560',
434
- goodsPaymentPrice: '28890',
435
- tagPrice: null,
436
- tagText: null,
437
- outCode: null,
438
- labelVOs: null,
439
- buttonVOs: null,
440
- },
441
- {
442
- id: '132222629825260800',
443
- orderNo: null,
444
- spuId: '2',
445
- skuId: '135686631',
446
- roomId: null,
447
- goodsMainType: 0,
448
- goodsViceType: 0,
449
- goodsName: '运动连帽拉链卫衣休闲开衫长袖多色运动细绒面料运动上衣',
450
- goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-17a.png',
451
- originPrice: '39900',
452
- actualPrice: '25900',
453
- specifications: [
454
- { specTitle: '颜色', specValue: '军绿色' },
455
- { specTitle: '尺码', specValue: 'XS' },
456
- ],
457
- buyQuantity: 1,
458
- itemTotalAmount: '25900',
459
- itemDiscountAmount: '392',
460
- itemPaymentAmount: '25508',
461
- goodsPaymentPrice: '25508',
462
- tagPrice: null,
463
- tagText: null,
464
- outCode: null,
465
- labelVOs: null,
466
- buttonVOs: null,
467
- },
468
- ],
469
- logisticsVO: {
470
- logisticsType: 1,
471
- logisticsNo: '',
472
- logisticsStatus: null,
473
- logisticsCompanyCode: '',
474
- logisticsCompanyName: '',
475
- receiverAddressId: '2',
476
- provinceCode: '440000',
477
- cityCode: '440300',
478
- countryCode: '440306',
479
- receiverProvince: '广东省',
480
- receiverCity: '深圳市',
481
- receiverCountry: '南山区',
482
- receiverArea: '',
483
- receiverAddress: '前海路333号阳光玫瑰园',
484
- receiverPostCode: '',
485
- receiverLongitude: '113.829127',
486
- receiverLatitude: '22.713649',
487
- receiverIdentity: '88888888205468',
488
- receiverPhone: '17612345678',
489
- receiverPhone: '17612345678',
490
- receiverName: '平均线',
491
- expectArrivalTime: null,
492
- senderName: '',
493
- senderPhone: '',
494
- senderAddress: '',
495
- sendTime: null,
496
- arrivalTime: null,
497
- },
498
- paymentVO: {
499
- payStatus: 1,
500
- amount: '458600',
501
- currency: null,
502
- payType: null,
503
- payWay: null,
504
- payWayName: null,
505
- interactId: null,
506
- traceNo: null,
507
- channelTrxNo: null,
508
- period: null,
509
- payTime: null,
510
- paySuccessTime: null,
511
- },
512
- buttonVOs: [
513
- {
514
- primary: true,
515
- type: 3,
516
- name: '确认收货',
517
- },
518
- ],
519
- labelVOs: null,
520
- invoiceVO: null,
521
- couponAmount: null,
522
- autoCancelTime: null,
523
- orderStatusName: '待收货',
524
- orderStatusRemark: null,
525
- logisticsLogVO: null,
526
- invoiceStatus: null,
527
- invoiceDesc: null,
528
- invoiceUrl: null,
529
- },
530
- {
531
- saasId: '88888888',
532
- storeId: '1000',
533
- storeName: '云Mall深圳旗舰店',
534
- uid: '88888888205468',
535
- parentOrderNo: '130862219672031307',
536
- orderId: '130862224737571072',
537
- orderNo: '130862219672031307',
538
- orderType: 0,
539
- orderSubType: 0,
540
- orderStatus: 80,
541
- orderSubStatus: null,
542
- totalAmount: '298000',
543
- goodsAmount: '298000',
544
- goodsAmountApp: '298000',
545
- paymentAmount: '263200',
546
- freightFee: '0',
547
- packageFee: '0',
548
- discountAmount: '34800',
549
- channelType: 0,
550
- channelSource: '',
551
- channelIdentity: '',
552
- remark: '',
553
- cancelType: null,
554
- cancelReasonType: null,
555
- cancelReason: null,
556
- rightsType: null,
557
- createTime: '1587049485899',
558
- orderItemVOs: [
559
- {
560
- id: '130862224922120960',
561
- orderNo: null,
562
- spuId: '0',
563
- skuId: '135676631',
564
- roomId: null,
565
- goodsMainType: 0,
566
- goodsViceType: 0,
567
- goodsName: '白色短袖连衣裙荷叶边裙摆宽松韩版休闲纯白清爽优雅连衣裙',
568
- goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-09a.png',
569
- originPrice: '40000',
570
- actualPrice: '29800',
571
- specifications: [
572
- { specTitle: '颜色', specValue: '米色荷叶边' },
573
- { specTitle: '尺码', specValue: 'S' },
574
- ],
575
- buyQuantity: 10,
576
- itemTotalAmount: '298000',
577
- itemDiscountAmount: '29800',
578
- itemPaymentAmount: '268200',
579
- goodsPaymentPrice: '26820',
580
- tagPrice: null,
581
- tagText: null,
582
- outCode: null,
583
- labelVOs: null,
584
- buttonVOs: null,
585
- },
586
- ],
587
- logisticsVO: {
588
- logisticsType: 1,
589
- logisticsNo: '',
590
- logisticsStatus: null,
591
- logisticsCompanyCode: '',
592
- logisticsCompanyName: '',
593
- receiverAddressId: '2',
594
- provinceCode: '440000',
595
- cityCode: '440300',
596
- countryCode: '440306',
597
- receiverProvince: '广东省',
598
- receiverCity: '深圳市',
599
- receiverCountry: '南山区',
600
- receiverArea: '',
601
- receiverAddress: '前海路333号阳光玫瑰园',
602
- receiverPostCode: '',
603
- receiverLongitude: '113.829127',
604
- receiverLatitude: '22.713649',
605
- receiverIdentity: '88888888205468',
606
- receiverPhone: '17612345678',
607
- receiverPhone: '17612345678',
608
- receiverName: '平均线',
609
- expectArrivalTime: null,
610
- senderName: '',
611
- senderPhone: '',
612
- senderAddress: '',
613
- sendTime: null,
614
- arrivalTime: null,
615
- },
616
- paymentVO: {
617
- payStatus: 1,
618
- amount: '263200',
619
- currency: null,
620
- payType: null,
621
- payWay: null,
622
- payWayName: null,
623
- interactId: null,
624
- traceNo: null,
625
- channelTrxNo: null,
626
- period: null,
627
- payTime: null,
628
- paySuccessTime: null,
629
- },
630
- buttonVOs: null,
631
- labelVOs: null,
632
- invoiceVO: null,
633
- couponAmount: null,
634
- autoCancelTime: null,
635
- orderStatusName: '已取消',
636
- orderStatusRemark: null,
637
- logisticsLogVO: null,
638
- invoiceStatus: null,
639
- invoiceDesc: null,
640
- invoiceUrl: null,
641
- },
642
- {
643
- saasId: '88888888',
644
- storeId: '1000',
645
- storeName: '云Mall深圳旗舰店',
646
- uid: '88888888205468',
647
- parentOrderNo: '130494472895208267',
648
- orderId: '130494482155052032',
649
- orderNo: '130494472895208267',
650
- orderType: 0,
651
- orderSubType: 0,
652
- orderStatus: 80,
653
- orderSubStatus: null,
654
- totalAmount: '59700',
655
- goodsAmount: '59700',
656
- goodsAmountApp: '59700',
657
- paymentAmount: '24900',
658
- freightFee: '0',
659
- packageFee: '0',
660
- discountAmount: '34800',
661
- channelType: 0,
662
- channelSource: '',
663
- channelIdentity: '',
664
- remark: '',
665
- cancelType: null,
666
- cancelReasonType: null,
667
- cancelReason: null,
668
- rightsType: null,
669
- createTime: '1587027566730',
670
- orderItemVOs: [
671
- {
672
- id: '130494482322824704',
673
- orderNo: null,
674
- spuId: '7',
675
- skuId: '135691633',
676
- roomId: null,
677
- goodsMainType: 0,
678
- goodsViceType: 0,
679
- goodsName: '不锈钢刀叉勺套装家用西餐餐具ins简约耐用不锈钢金色银色可选',
680
- goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/gh-2b.png',
681
- originPrice: '29900',
682
- actualPrice: '19900',
683
- specifications: [
684
- { specTitle: '颜色', specValue: '奶黄色' },
685
- { specTitle: '类型', specValue: '三件套' },
686
- ],
687
- buyQuantity: 3,
688
- itemTotalAmount: '59700',
689
- itemDiscountAmount: '29800',
690
- itemPaymentAmount: '29900',
691
- goodsPaymentPrice: '9966',
692
- tagPrice: null,
693
- tagText: null,
694
- outCode: null,
695
- labelVOs: null,
696
- buttonVOs: null,
697
- },
698
- ],
699
- logisticsVO: {
700
- logisticsType: 1,
701
- logisticsNo: '',
702
- logisticsStatus: null,
703
- logisticsCompanyCode: '',
704
- logisticsCompanyName: '',
705
- receiverAddressId: '2',
706
- provinceCode: '440000',
707
- cityCode: '440300',
708
- countryCode: '440306',
709
- receiverProvince: '广东省',
710
- receiverCity: '深圳市',
711
- receiverCountry: '南山区',
712
- receiverArea: '',
713
- receiverAddress: '前海路333号阳光玫瑰园',
714
- receiverPostCode: '',
715
- receiverLongitude: '113.829127',
716
- receiverLatitude: '22.713649',
717
- receiverIdentity: '88888888205468',
718
- receiverPhone: '17612345678',
719
- receiverPhone: '17612345678',
720
- receiverName: '平均线',
721
- expectArrivalTime: null,
722
- senderName: '',
723
- senderPhone: '',
724
- senderAddress: '',
725
- sendTime: null,
726
- arrivalTime: null,
727
- },
728
- paymentVO: {
729
- payStatus: 1,
730
- amount: '24900',
731
- currency: null,
732
- payType: null,
733
- payWay: null,
734
- payWayName: null,
735
- interactId: null,
736
- traceNo: null,
737
- channelTrxNo: null,
738
- period: null,
739
- payTime: null,
740
- paySuccessTime: null,
741
- },
742
- buttonVOs: null,
743
- labelVOs: null,
744
- invoiceVO: null,
745
- couponAmount: null,
746
- autoCancelTime: null,
747
- orderStatusName: '已取消',
748
- orderStatusRemark: null,
749
- logisticsLogVO: null,
750
- invoiceStatus: null,
751
- invoiceDesc: null,
752
- invoiceUrl: null,
753
- },
754
- {
755
- saasId: '88888888',
756
- storeId: '1000',
757
- storeName: '云Mall深圳旗舰店',
758
- uid: '88888888205468',
759
- parentOrderNo: '130169571554503755',
760
- orderId: '130169572291521792',
761
- orderNo: '130169571554503755',
762
- orderType: 0,
763
- orderSubType: 0,
764
- orderStatus: 50,
765
- orderSubStatus: null,
766
- totalAmount: '538000',
767
- goodsAmount: '538000',
768
- goodsAmountApp: '538000',
769
- paymentAmount: '508200',
770
- freightFee: '0',
771
- packageFee: '0',
772
- discountAmount: '29800',
773
- channelType: 0,
774
- channelSource: '',
775
- channelIdentity: '',
776
- remark: '',
777
- cancelType: null,
778
- cancelReasonType: null,
779
- cancelReason: null,
780
- rightsType: null,
781
- createTime: '1587008200590',
782
- orderItemVOs: [
783
- {
784
- id: '130169572425740032',
785
- orderNo: null,
786
- spuId: '1',
787
- skuId: '135691631',
788
- roomId: null,
789
- goodsMainType: 0,
790
- goodsViceType: 0,
791
- goodsName: '纯色纯棉休闲圆领短袖T恤纯白亲肤厚柔软细腻面料纯白短袖套头T恤',
792
- goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-08b.png',
793
- originPrice: '31900',
794
- actualPrice: '26900',
795
- specifications: [
796
- { specTitle: '颜色', specValue: '橙色' },
797
- { specTitle: '尺码', specValue: 'M' },
798
- ],
799
- buyQuantity: 20,
800
- itemTotalAmount: '538000',
801
- itemDiscountAmount: '29800',
802
- itemPaymentAmount: '508200',
803
- goodsPaymentPrice: '25410',
804
- tagPrice: null,
805
- tagText: null,
806
- outCode: null,
807
- labelVOs: null,
808
- buttonVOs: [
809
- {
810
- primary: true,
811
- type: 4,
812
- name: '',
813
- },
814
- ],
815
- },
816
- ],
817
- logisticsVO: {
818
- logisticsType: 1,
819
- logisticsNo: '123',
820
- logisticsStatus: null,
821
- logisticsCompanyCode: 'zhongtong',
822
- logisticsCompanyName: '中通速递',
823
- receiverAddressId: '2',
824
- provinceCode: '440000',
825
- cityCode: '440300',
826
- countryCode: '440306',
827
- receiverProvince: '广东省',
828
- receiverCity: '深圳市',
829
- receiverCountry: '南山区',
830
- receiverArea: '',
831
- receiverAddress: '前海路333号阳光玫瑰园',
832
- receiverPostCode: '',
833
- receiverLongitude: '113.829127',
834
- receiverLatitude: '22.713649',
835
- receiverIdentity: '88888888205468',
836
- receiverPhone: '17612345678',
837
- receiverPhone: '17612345678',
838
- receiverName: '平均线',
839
- expectArrivalTime: null,
840
- senderName: '',
841
- senderPhone: '',
842
- senderAddress: '',
843
- sendTime: '1587008529453',
844
- arrivalTime: '1587008623995',
845
- },
846
- paymentVO: {
847
- payStatus: 1,
848
- amount: '508200',
849
- currency: null,
850
- payType: null,
851
- payWay: null,
852
- payWayName: null,
853
- interactId: null,
854
- traceNo: null,
855
- channelTrxNo: null,
856
- period: null,
857
- payTime: null,
858
- paySuccessTime: null,
859
- },
860
- buttonVOs: [
861
- { primary: false, type: 4, name: '申请售后' },
862
- { primary: true, type: 6, name: '评价' },
863
- ],
864
- labelVOs: null,
865
- invoiceVO: {
866
- buyerName: '腾讯计算机有限公司', //个人或公司名称
867
- buyerTaxNo: '9144 9808 0909 0293 XG', //税号
868
- buyerPhone: '18600008888', //手机
869
- email: '73900484@qq.com', //邮箱
870
- titleType: 2, //发票抬头 1-个人 2-公司
871
- ontentType: 1, //发票内容 1-明细 2类别
872
- invoiceType: 5, //是否开票 0-不开 5-电子发票
873
- money: '1.54',
874
- },
875
- couponAmount: null,
876
- autoCancelTime: null,
877
- orderStatusName: '交易完成',
878
- orderStatusRemark: null,
879
- logisticsLogVO: null,
880
- invoiceStatus: null,
881
- invoiceDesc: null,
882
- invoiceUrl: null,
883
- },
884
- {
885
- saasId: '88888888',
886
- storeId: '1000',
887
- storeName: '云Mall深圳旗舰店',
888
- uid: '88888888205468',
889
- parentOrderNo: '130150835531421259',
890
- orderId: '130150836385879808',
891
- orderNo: '130150835531421259',
892
- orderType: 0,
893
- orderSubType: 0,
894
- orderStatus: 50,
895
- orderSubStatus: null,
896
- totalAmount: '29800',
897
- goodsAmount: '29800',
898
- goodsAmountApp: '29800',
899
- paymentAmount: '4000',
900
- freightFee: '0',
901
- packageFee: '0',
902
- discountAmount: '25800',
903
- channelType: 0,
904
- channelSource: '',
905
- channelIdentity: '',
906
- remark: '',
907
- cancelType: null,
908
- cancelReasonType: null,
909
- cancelReason: null,
910
- rightsType: null,
911
- createTime: '1587007083842',
912
- orderItemVOs: [
913
- {
914
- id: '130150836520098048',
915
- orderNo: null,
916
- spuId: '0',
917
- skuId: '135681631',
918
- roomId: null,
919
- goodsMainType: 0,
920
- goodsViceType: 0,
921
- goodsName: '白色短袖连衣裙荷叶边裙摆宽松韩版休闲纯白清爽优雅连衣裙',
922
- goodsPictureUrl: 'https://tdesign.gtimg.com/miniprogram/template/retail/goods/nz-09a.png',
923
- originPrice: '40000',
924
- actualPrice: '29800',
925
- specifications: [
926
- { specTitle: '颜色', specValue: '米色荷叶边' },
927
- { specTitle: '尺码', specValue: 'M' },
928
- ],
929
- buyQuantity: 1,
930
- itemTotalAmount: '29800',
931
- itemDiscountAmount: '25800',
932
- itemPaymentAmount: '4000',
933
- goodsPaymentPrice: '4000',
934
- tagPrice: null,
935
- tagText: null,
936
- outCode: null,
937
- labelVOs: null,
938
- buttonVOs: null,
939
- },
940
- ],
941
- logisticsVO: {
942
- logisticsType: 1,
943
- logisticsNo: '123',
944
- logisticsStatus: null,
945
- logisticsCompanyCode: 'yuantong',
946
- logisticsCompanyName: '圆通速递',
947
- receiverAddressId: '2',
948
- provinceCode: '440000',
949
- cityCode: '440300',
950
- countryCode: '440306',
951
- receiverProvince: '广东省',
952
- receiverCity: '深圳市',
953
- receiverCountry: '南山区',
954
- receiverArea: '',
955
- receiverAddress: '前海路333号阳光玫瑰园',
956
- receiverPostCode: '',
957
- receiverLongitude: '113.829127',
958
- receiverLatitude: '22.713649',
959
- receiverIdentity: '88888888205468',
960
- receiverPhone: '17612345678',
961
- receiverPhone: '17612345678',
962
- receiverName: '平均线',
963
- expectArrivalTime: null,
964
- senderName: '',
965
- senderPhone: '',
966
- senderAddress: '',
967
- sendTime: '1587008539953',
968
- arrivalTime: '1588291200508',
969
- },
970
- paymentVO: {
971
- payStatus: 1,
972
- amount: '4000',
973
- currency: null,
974
- payType: null,
975
- payWay: null,
976
- payWayName: null,
977
- interactId: null,
978
- traceNo: null,
979
- channelTrxNo: null,
980
- period: null,
981
- payTime: null,
982
- paySuccessTime: null,
983
- },
984
- buttonVOs: [{ primary: true, type: 6, name: '评价' }],
985
- labelVOs: null,
986
- invoiceVO: null,
987
- couponAmount: null,
988
- autoCancelTime: null,
989
- orderStatusName: '交易完成',
990
- orderStatusRemark: null,
991
- logisticsLogVO: null,
992
- invoiceStatus: null,
993
- invoiceDesc: null,
994
- invoiceUrl: null,
995
- },
996
- ],
997
- },
998
- code: 'Success',
999
- msg: null,
1000
- requestId: mockReqId(),
1001
- clientIp: mockIp(),
1002
- rt: 113,
1003
- success: true,
1004
- };
1005
- const { pageNum, pageSize, orderStatus } = params.parameter;
1006
- // 实现筛选
1007
- if (orderStatus > -1) {
1008
- resp.data.orders = resp.data.orders.filter((order) => order.orderStatus === orderStatus);
1009
- }
1010
- // 实现分页
1011
- resp.data.pageNum = pageNum;
1012
- resp.data.pageSize = pageSize;
1013
- resp.data.orders = resp.data.orders.slice((pageNum - 1) * pageSize, pageNum * pageSize);
1014
- return resp;
1015
- }
1016
-
1017
- export function genOrdersCount() {
1018
- const resp = {
1019
- data: [
1020
- { tabType: 5, orderNum: 1 },
1021
- { tabType: 10, orderNum: 1 },
1022
- { tabType: 40, orderNum: 1 },
1023
- { tabType: 50, orderNum: 2 },
1024
- ],
1025
- code: 'Success',
1026
- msg: null,
1027
- requestId: mockReqId(),
1028
- clientIp: mockIp(),
1029
- rt: 41,
1030
- success: true,
1031
- };
1032
- return resp;
1033
- }