xiaoe_mp_npm 1.0.14-test01 → 1.0.14

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 (355) hide show
  1. package/.gitlab-ci.yml +44 -44
  2. package/miniprogram_dist/ConfirmOrder/components/AddressSelect/index.js +160 -160
  3. package/miniprogram_dist/ConfirmOrder/components/ChoosePicker/index.js +115 -115
  4. package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.js +890 -890
  5. package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.json +23 -23
  6. package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.scss +44 -44
  7. package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.wxml +188 -188
  8. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/CopGoodsList/index.js +129 -129
  9. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/CopGoodsList/index.json +8 -8
  10. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/CopGoodsList/index.scss +58 -58
  11. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/CopGoodsList/index.wxml +25 -25
  12. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.js +448 -448
  13. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.json +9 -9
  14. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.scss +222 -222
  15. package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.wxml +81 -81
  16. package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.scss +90 -90
  17. package/miniprogram_dist/ConfirmOrder/components/Invoice/index.scss +60 -60
  18. package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.scss +39 -39
  19. package/miniprogram_dist/ConfirmOrder/components/PayBar/index.js +249 -249
  20. package/miniprogram_dist/ConfirmOrder/components/PayBar/index.scss +61 -61
  21. package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.js +77 -68
  22. package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.json +6 -4
  23. package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.less +39 -16
  24. package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.scss +40 -40
  25. package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.wxml +50 -18
  26. package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.wxss +24 -0
  27. package/miniprogram_dist/ConfirmOrder/components/PickupSelect/index.js +99 -99
  28. package/miniprogram_dist/ConfirmOrder/components/PickupSelect/index.wxml +13 -13
  29. package/miniprogram_dist/ConfirmOrder/components/SvipSelect/SvipSelect.js +99 -99
  30. package/miniprogram_dist/ConfirmOrder/components/SvipSelect/SvipSelect.json +6 -6
  31. package/miniprogram_dist/ConfirmOrder/components/SvipSelect/SvipSelect.scss +150 -150
  32. package/miniprogram_dist/ConfirmOrder/components/SvipSelect/SvipSelect.wxml +39 -39
  33. package/miniprogram_dist/ConfirmOrder/components/SvipSelect/filter.wxs +6 -6
  34. package/miniprogram_dist/ConfirmOrder/index.js +110 -110
  35. package/miniprogram_dist/CopGoodsCard/constans.js +462 -462
  36. package/miniprogram_dist/CopGoodsCard/index.js +147 -147
  37. package/miniprogram_dist/CopGoodsCard/index.json +2 -2
  38. package/miniprogram_dist/CopGoodsCard/index.scss +100 -100
  39. package/miniprogram_dist/CopGoodsCard/index.wxml +20 -20
  40. package/miniprogram_dist/CouponList/components/CouponItem/index.js +319 -613
  41. package/miniprogram_dist/CouponList/components/CouponItem/index.scss +780 -950
  42. package/miniprogram_dist/CouponList/components/CouponItem/index.wxml +221 -266
  43. package/miniprogram_dist/CouponList/components/CouponItem/index.wxss +475 -1054
  44. package/miniprogram_dist/CouponList/couponColumn/index.js +176 -176
  45. package/miniprogram_dist/CouponList/couponColumn/index.scss +117 -117
  46. package/miniprogram_dist/CouponList/couponColumn/index.wxml +39 -39
  47. package/miniprogram_dist/CouponReceivePopup/index.js +72 -96
  48. package/miniprogram_dist/CouponReceivePopup/index.json +5 -5
  49. package/miniprogram_dist/CouponReceivePopup/index.scss +129 -223
  50. package/miniprogram_dist/CouponReceivePopup/index.wxml +98 -106
  51. package/miniprogram_dist/CouponReceivePopup/index.wxss +69 -553
  52. package/miniprogram_dist/CustomPopup/index.js +94 -94
  53. package/miniprogram_dist/CustomPopup/index.wxml +33 -33
  54. package/miniprogram_dist/GoodsItem/index.js +745 -745
  55. package/miniprogram_dist/GoodsItem/index.scss +524 -524
  56. package/miniprogram_dist/GoodsItem/index.wxml +173 -173
  57. package/miniprogram_dist/GoodsItem/index.wxs +18 -18
  58. package/miniprogram_dist/GoodsRecommend/fun.wxs +37 -37
  59. package/miniprogram_dist/GoodsRecommend/index.js +91 -91
  60. package/miniprogram_dist/GoodsRecommend/index.json +3 -3
  61. package/miniprogram_dist/GoodsRecommend/index.less +129 -129
  62. package/miniprogram_dist/GoodsRecommend/index.scss +162 -162
  63. package/miniprogram_dist/GoodsRecommend/index.wxml +47 -47
  64. package/miniprogram_dist/LiveGoodsList/Header/index.js +13 -28
  65. package/miniprogram_dist/LiveGoodsList/Header/index.scss +78 -105
  66. package/miniprogram_dist/LiveGoodsList/Header/index.wxml +11 -15
  67. package/miniprogram_dist/LiveGoodsList/Header/index.wxss +8 -88
  68. package/miniprogram_dist/LiveGoodsList/index.js +821 -850
  69. package/miniprogram_dist/LiveGoodsList/index.json +2 -1
  70. package/miniprogram_dist/LiveGoodsList/index.scss +92 -92
  71. package/miniprogram_dist/LiveGoodsList/index.wxml +106 -98
  72. package/miniprogram_dist/PayModule/button/index.scss +44 -44
  73. package/miniprogram_dist/PayModule/index/index.js +264 -264
  74. package/miniprogram_dist/Task/TaskBubble/index.js +146 -146
  75. package/miniprogram_dist/Task/TaskBubble/index.json +3 -3
  76. package/miniprogram_dist/Task/TaskBubble/index.scss +125 -125
  77. package/miniprogram_dist/Task/TaskBubble/index.wxml +22 -22
  78. package/miniprogram_dist/Task/TaskIcon/index.js +29 -29
  79. package/miniprogram_dist/Task/TaskIcon/index.json +4 -4
  80. package/miniprogram_dist/Task/TaskIcon/index.scss +70 -70
  81. package/miniprogram_dist/Task/TaskIcon/index.wxml +5 -5
  82. package/miniprogram_dist/Task/TaskPopup/component/RewardList/index.js +39 -39
  83. package/miniprogram_dist/Task/TaskPopup/component/RewardList/index.json +6 -6
  84. package/miniprogram_dist/Task/TaskPopup/component/RewardList/index.scss +39 -39
  85. package/miniprogram_dist/Task/TaskPopup/component/RewardList/index.wxml +19 -19
  86. package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.js +297 -297
  87. package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.json +5 -5
  88. package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.scss +139 -139
  89. package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.wxml +47 -47
  90. package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.wxs +7 -7
  91. package/miniprogram_dist/Task/TaskPopup/component/TaskList/index.js +184 -184
  92. package/miniprogram_dist/Task/TaskPopup/component/TaskList/index.json +7 -7
  93. package/miniprogram_dist/Task/TaskPopup/component/TaskList/index.scss +66 -66
  94. package/miniprogram_dist/Task/TaskPopup/component/TaskList/index.wxml +39 -39
  95. package/miniprogram_dist/Task/TaskPopup/component/TaskType/index.js +78 -78
  96. package/miniprogram_dist/Task/TaskPopup/component/TaskType/index.json +9 -9
  97. package/miniprogram_dist/Task/TaskPopup/component/TaskType/index.scss +62 -62
  98. package/miniprogram_dist/Task/TaskPopup/component/TaskType/index.wxml +42 -42
  99. package/miniprogram_dist/Task/TaskPopup/index.js +126 -126
  100. package/miniprogram_dist/Task/TaskPopup/index.json +8 -8
  101. package/miniprogram_dist/Task/TaskPopup/index.scss +140 -140
  102. package/miniprogram_dist/Task/TaskPopup/index.wxml +76 -76
  103. package/miniprogram_dist/Task/taskReceivePopup/coupon/index.js +52 -52
  104. package/miniprogram_dist/Task/taskReceivePopup/coupon/index.json +6 -6
  105. package/miniprogram_dist/Task/taskReceivePopup/coupon/index.scss +91 -91
  106. package/miniprogram_dist/Task/taskReceivePopup/coupon/index.wxml +58 -58
  107. package/miniprogram_dist/Task/taskReceivePopup/coupon/index.wxs +48 -48
  108. package/miniprogram_dist/Task/taskReceivePopup/customPrizes/index.js +44 -44
  109. package/miniprogram_dist/Task/taskReceivePopup/customPrizes/index.json +6 -6
  110. package/miniprogram_dist/Task/taskReceivePopup/customPrizes/index.scss +106 -106
  111. package/miniprogram_dist/Task/taskReceivePopup/customPrizes/index.wxml +38 -38
  112. package/miniprogram_dist/Task/taskReceivePopup/customPrizes/index.wxs +48 -48
  113. package/miniprogram_dist/Task/taskReceivePopup/index.js +34 -34
  114. package/miniprogram_dist/Task/taskReceivePopup/index.json +13 -13
  115. package/miniprogram_dist/Task/taskReceivePopup/index.wxml +25 -25
  116. package/miniprogram_dist/Task/taskReceivePopup/integral/index.js +61 -61
  117. package/miniprogram_dist/Task/taskReceivePopup/integral/index.json +6 -6
  118. package/miniprogram_dist/Task/taskReceivePopup/integral/index.scss +60 -60
  119. package/miniprogram_dist/Task/taskReceivePopup/integral/index.wxml +12 -12
  120. package/miniprogram_dist/TeacherGoodsList/index.js +825 -825
  121. package/miniprogram_dist/TeacherGoodsList/index.json +9 -9
  122. package/miniprogram_dist/TeacherGoodsList/index.scss +145 -145
  123. package/miniprogram_dist/TeacherGoodsList/index.wxml +110 -110
  124. package/miniprogram_dist/common/api/confirmOrder.js +223 -223
  125. package/miniprogram_dist/common/api/couponlist.js +80 -44
  126. package/miniprogram_dist/common/api/liveGoodsList.js +89 -89
  127. package/miniprogram_dist/common/api/sku.js +73 -73
  128. package/miniprogram_dist/common/utils/index.js +69 -69
  129. package/miniprogram_dist/coupon/components/CouponItem/index.less +208 -208
  130. package/miniprogram_dist/coupon/components/CouponItem/index.scss +246 -246
  131. package/miniprogram_dist/coupon/components/CouponSelect/index.scss +330 -330
  132. package/miniprogram_dist/coupon/index.js +248 -248
  133. package/miniprogram_dist/coupon/index.scss +83 -83
  134. package/package.json +78 -78
  135. package/src/AliveInvite/LiveRoomVertical/index.wxss +252 -252
  136. package/src/CollectionAddress/index.wxss +5 -5
  137. package/src/ConfirmOrder/components/AddressEdit/index.wxss +120 -120
  138. package/src/ConfirmOrder/components/AddressManage/index.wxss +98 -98
  139. package/src/ConfirmOrder/components/AddressSelect/index.js +160 -160
  140. package/src/ConfirmOrder/components/AddressSelect/index.wxss +67 -67
  141. package/src/ConfirmOrder/components/ChoosePicker/index.js +115 -115
  142. package/src/ConfirmOrder/components/ChoosePicker/index.wxss +18 -18
  143. package/src/ConfirmOrder/components/ConfirmOrderContent/index.js +890 -890
  144. package/src/ConfirmOrder/components/ConfirmOrderContent/index.json +23 -23
  145. package/src/ConfirmOrder/components/ConfirmOrderContent/index.scss +44 -44
  146. package/src/ConfirmOrder/components/ConfirmOrderContent/index.wxml +188 -188
  147. package/src/ConfirmOrder/components/ConfirmOrderContent/index.wxss +51 -51
  148. package/src/ConfirmOrder/components/GoodsInfo/components/CopGoodsList/index.js +129 -129
  149. package/src/ConfirmOrder/components/GoodsInfo/components/CopGoodsList/index.json +8 -8
  150. package/src/ConfirmOrder/components/GoodsInfo/components/CopGoodsList/index.scss +58 -58
  151. package/src/ConfirmOrder/components/GoodsInfo/components/CopGoodsList/index.wxml +25 -25
  152. package/src/ConfirmOrder/components/GoodsInfo/components/CopGoodsList/index.wxss +1 -1
  153. package/src/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityGiftList/index.wxss +45 -45
  154. package/src/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityItem/index.wxss +100 -100
  155. package/src/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/index.wxss +55 -55
  156. package/src/ConfirmOrder/components/GoodsInfo/components/ImageData/index.wxss +13 -13
  157. package/src/ConfirmOrder/components/GoodsInfo/index.js +448 -448
  158. package/src/ConfirmOrder/components/GoodsInfo/index.json +9 -9
  159. package/src/ConfirmOrder/components/GoodsInfo/index.scss +222 -222
  160. package/src/ConfirmOrder/components/GoodsInfo/index.wxml +81 -81
  161. package/src/ConfirmOrder/components/GoodsInfo/index.wxss +673 -673
  162. package/src/ConfirmOrder/components/Header/index.wxss +26 -26
  163. package/src/ConfirmOrder/components/IntegralSelect/componenets/integralTips/index.wxss +85 -85
  164. package/src/ConfirmOrder/components/IntegralSelect/index.scss +90 -90
  165. package/src/ConfirmOrder/components/IntegralSelect/index.wxss +218 -218
  166. package/src/ConfirmOrder/components/Invoice/components/InvoiceSelect/index.wxss +155 -155
  167. package/src/ConfirmOrder/components/Invoice/components/InvoiceTip/index.wxss +51 -51
  168. package/src/ConfirmOrder/components/Invoice/index.scss +60 -60
  169. package/src/ConfirmOrder/components/Invoice/index.wxss +93 -93
  170. package/src/ConfirmOrder/components/LeaveWord/index.scss +39 -39
  171. package/src/ConfirmOrder/components/LeaveWord/index.wxss +34 -34
  172. package/src/ConfirmOrder/components/ModeSelect/index.wxss +44 -44
  173. package/src/ConfirmOrder/components/PayBar/index.js +249 -249
  174. package/src/ConfirmOrder/components/PayBar/index.scss +61 -61
  175. package/src/ConfirmOrder/components/PayBar/index.wxss +108 -108
  176. package/src/ConfirmOrder/components/PayDetail/index.js +77 -68
  177. package/src/ConfirmOrder/components/PayDetail/index.json +6 -4
  178. package/src/ConfirmOrder/components/PayDetail/index.less +39 -16
  179. package/src/ConfirmOrder/components/PayDetail/index.scss +40 -40
  180. package/src/ConfirmOrder/components/PayDetail/index.wxml +50 -18
  181. package/src/ConfirmOrder/components/PayDetail/index.wxss +78 -50
  182. package/src/ConfirmOrder/components/PickupSelect/index.js +99 -99
  183. package/src/ConfirmOrder/components/PickupSelect/index.wxml +13 -13
  184. package/src/ConfirmOrder/components/PickupSelect/index.wxss +22 -22
  185. package/src/ConfirmOrder/components/SelectSite/index.wxss +82 -82
  186. package/src/ConfirmOrder/components/Shipper/index.wxss +76 -76
  187. package/src/ConfirmOrder/components/ShipperEdit/index.wxss +78 -78
  188. package/src/ConfirmOrder/components/SvipSelect/SvipSelect.js +99 -99
  189. package/src/ConfirmOrder/components/SvipSelect/SvipSelect.json +6 -6
  190. package/src/ConfirmOrder/components/SvipSelect/SvipSelect.scss +150 -150
  191. package/src/ConfirmOrder/components/SvipSelect/SvipSelect.wxml +39 -39
  192. package/src/ConfirmOrder/components/SvipSelect/SvipSelect.wxss +266 -266
  193. package/src/ConfirmOrder/components/SvipSelect/filter.wxs +6 -6
  194. package/src/ConfirmOrder/components/WechatAddress/index.wxss +22 -22
  195. package/src/ConfirmOrder/index.js +110 -110
  196. package/src/ConfirmOrder/index.wxss +5 -5
  197. package/src/CopGoodsCard/constans.js +462 -462
  198. package/src/CopGoodsCard/index.js +147 -147
  199. package/src/CopGoodsCard/index.json +2 -2
  200. package/src/CopGoodsCard/index.scss +100 -100
  201. package/src/CopGoodsCard/index.wxml +20 -20
  202. package/src/CopGoodsCard/index.wxss +1 -1
  203. package/src/CouponList/components/CouponItem/index.js +319 -613
  204. package/src/CouponList/components/CouponItem/index.scss +780 -950
  205. package/src/CouponList/components/CouponItem/index.wxml +221 -266
  206. package/src/CouponList/components/CouponItem/index.wxss +2376 -1
  207. package/src/CouponList/couponColumn/index.js +176 -176
  208. package/src/CouponList/couponColumn/index.scss +117 -117
  209. package/src/CouponList/couponColumn/index.wxml +39 -39
  210. package/src/CouponList/couponColumn/index.wxss +265 -265
  211. package/src/CouponList/couponMsg/index.wxss +3 -3
  212. package/src/CouponReceivePopup/index.js +72 -96
  213. package/src/CouponReceivePopup/index.json +5 -5
  214. package/src/CouponReceivePopup/index.scss +129 -223
  215. package/src/CouponReceivePopup/index.wxml +98 -106
  216. package/src/CouponReceivePopup/index.wxss +1 -1
  217. package/src/CustomPopup/index.js +94 -94
  218. package/src/CustomPopup/index.wxml +33 -33
  219. package/src/CustomPopup/index.wxss +22 -22
  220. package/src/GoodsItem/index.js +745 -745
  221. package/src/GoodsItem/index.scss +524 -524
  222. package/src/GoodsItem/index.wxml +173 -173
  223. package/src/GoodsItem/index.wxs +18 -18
  224. package/src/GoodsItem/index.wxss +1935 -1935
  225. package/src/GoodsRecommend/fun.wxs +37 -37
  226. package/src/GoodsRecommend/index.js +91 -91
  227. package/src/GoodsRecommend/index.json +3 -3
  228. package/src/GoodsRecommend/index.less +129 -129
  229. package/src/GoodsRecommend/index.scss +162 -162
  230. package/src/GoodsRecommend/index.wxml +47 -47
  231. package/src/GoodsRecommend/index.wxss +537 -537
  232. package/src/LiveGoodsList/Header/index.js +13 -28
  233. package/src/LiveGoodsList/Header/index.scss +78 -105
  234. package/src/LiveGoodsList/Header/index.wxml +11 -15
  235. package/src/LiveGoodsList/Header/index.wxss +190 -1
  236. package/src/LiveGoodsList/index.js +821 -850
  237. package/src/LiveGoodsList/index.json +2 -1
  238. package/src/LiveGoodsList/index.scss +92 -92
  239. package/src/LiveGoodsList/index.wxml +106 -98
  240. package/src/LiveGoodsList/index.wxss +12 -0
  241. package/src/PayComplete/Components/CouponItem/index.wxss +122 -122
  242. package/src/PayComplete/Components/Header/index.wxss +27 -27
  243. package/src/PayComplete/Components/LeadGroup/index.wxss +33 -33
  244. package/src/PayComplete/Components/PayGifts/index.wxss +157 -157
  245. package/src/PayComplete/Components/PayState/earnIntegral/index.wxss +23 -23
  246. package/src/PayComplete/Components/PayState/index.wxss +20 -20
  247. package/src/PayComplete/index.wxss +27 -27
  248. package/src/PayModule/button/index.scss +44 -44
  249. package/src/PayModule/button/index.wxss +58 -58
  250. package/src/PayModule/index/index.js +264 -264
  251. package/src/PayModule/wechatLoading/index.wxss +57 -57
  252. package/src/Recommend/index.wxss +110 -110
  253. package/src/Sku/Header/index.wxss +27 -27
  254. package/src/Sku/commSelect/index.wxss +54 -54
  255. package/src/Sku/goods-info/index.wxss +52 -52
  256. package/src/Sku/index/index.wxss +52 -52
  257. package/src/Sku/row-item/index.wxss +50 -50
  258. package/src/Sku/step/index.wxss +11 -11
  259. package/src/Task/TaskBubble/index.js +146 -146
  260. package/src/Task/TaskBubble/index.json +3 -3
  261. package/src/Task/TaskBubble/index.scss +125 -125
  262. package/src/Task/TaskBubble/index.wxml +22 -22
  263. package/src/Task/TaskBubble/index.wxss +289 -289
  264. package/src/Task/TaskIcon/index.js +29 -29
  265. package/src/Task/TaskIcon/index.json +4 -4
  266. package/src/Task/TaskIcon/index.scss +70 -70
  267. package/src/Task/TaskIcon/index.wxml +5 -5
  268. package/src/Task/TaskIcon/index.wxss +130 -130
  269. package/src/Task/TaskPopup/component/RewardList/index.js +39 -39
  270. package/src/Task/TaskPopup/component/RewardList/index.json +6 -6
  271. package/src/Task/TaskPopup/component/RewardList/index.scss +39 -39
  272. package/src/Task/TaskPopup/component/RewardList/index.wxml +19 -19
  273. package/src/Task/TaskPopup/component/RewardList/index.wxss +18 -18
  274. package/src/Task/TaskPopup/component/TaskItem/index.js +297 -297
  275. package/src/Task/TaskPopup/component/TaskItem/index.json +5 -5
  276. package/src/Task/TaskPopup/component/TaskItem/index.scss +139 -139
  277. package/src/Task/TaskPopup/component/TaskItem/index.wxml +47 -47
  278. package/src/Task/TaskPopup/component/TaskItem/index.wxs +7 -7
  279. package/src/Task/TaskPopup/component/TaskItem/index.wxss +394 -394
  280. package/src/Task/TaskPopup/component/TaskList/index.js +184 -184
  281. package/src/Task/TaskPopup/component/TaskList/index.json +7 -7
  282. package/src/Task/TaskPopup/component/TaskList/index.scss +66 -66
  283. package/src/Task/TaskPopup/component/TaskList/index.wxml +39 -39
  284. package/src/Task/TaskPopup/component/TaskList/index.wxss +118 -118
  285. package/src/Task/TaskPopup/component/TaskType/index.js +78 -78
  286. package/src/Task/TaskPopup/component/TaskType/index.json +9 -9
  287. package/src/Task/TaskPopup/component/TaskType/index.scss +62 -62
  288. package/src/Task/TaskPopup/component/TaskType/index.wxml +42 -42
  289. package/src/Task/TaskPopup/component/TaskType/index.wxss +110 -110
  290. package/src/Task/TaskPopup/index.js +126 -126
  291. package/src/Task/TaskPopup/index.json +8 -8
  292. package/src/Task/TaskPopup/index.scss +140 -140
  293. package/src/Task/TaskPopup/index.wxml +76 -76
  294. package/src/Task/TaskPopup/index.wxss +1 -1
  295. package/src/Task/taskReceivePopup/coupon/index.js +52 -52
  296. package/src/Task/taskReceivePopup/coupon/index.json +6 -6
  297. package/src/Task/taskReceivePopup/coupon/index.scss +91 -91
  298. package/src/Task/taskReceivePopup/coupon/index.wxml +58 -58
  299. package/src/Task/taskReceivePopup/coupon/index.wxs +48 -48
  300. package/src/Task/taskReceivePopup/coupon/index.wxss +187 -187
  301. package/src/Task/taskReceivePopup/customPrizes/index.js +44 -44
  302. package/src/Task/taskReceivePopup/customPrizes/index.json +6 -6
  303. package/src/Task/taskReceivePopup/customPrizes/index.scss +106 -106
  304. package/src/Task/taskReceivePopup/customPrizes/index.wxml +38 -38
  305. package/src/Task/taskReceivePopup/customPrizes/index.wxs +48 -48
  306. package/src/Task/taskReceivePopup/customPrizes/index.wxss +1 -1
  307. package/src/Task/taskReceivePopup/index.js +34 -34
  308. package/src/Task/taskReceivePopup/index.json +13 -13
  309. package/src/Task/taskReceivePopup/index.wxml +25 -25
  310. package/src/Task/taskReceivePopup/index.wxss +1 -1
  311. package/src/Task/taskReceivePopup/integral/index.js +61 -61
  312. package/src/Task/taskReceivePopup/integral/index.json +6 -6
  313. package/src/Task/taskReceivePopup/integral/index.scss +60 -60
  314. package/src/Task/taskReceivePopup/integral/index.wxml +12 -12
  315. package/src/Task/taskReceivePopup/integral/index.wxss +94 -94
  316. package/src/TeacherGoodsList/index.js +825 -825
  317. package/src/TeacherGoodsList/index.json +9 -9
  318. package/src/TeacherGoodsList/index.scss +145 -145
  319. package/src/TeacherGoodsList/index.wxml +110 -110
  320. package/src/TeacherGoodsList/index.wxss +196 -196
  321. package/src/common/api/confirmOrder.js +223 -223
  322. package/src/common/api/couponlist.js +80 -44
  323. package/src/common/api/liveGoodsList.js +89 -89
  324. package/src/common/api/sku.js +73 -73
  325. package/src/common/css/theme.wxss +16 -16
  326. package/src/common/utils/index.js +69 -69
  327. package/src/coupon/components/CouponItem/index.less +208 -208
  328. package/src/coupon/components/CouponItem/index.scss +246 -246
  329. package/src/coupon/components/CouponItem/index.wxss +821 -821
  330. package/src/coupon/components/CouponSelect/index.scss +330 -330
  331. package/src/coupon/components/CouponSelect/index.wxss +1132 -1132
  332. package/src/coupon/index.js +248 -248
  333. package/src/coupon/index.scss +83 -83
  334. package/src/coupon/index.wxss +216 -216
  335. package/miniprogram_dist/CouponList/components/couponIcon/index.js +0 -20
  336. package/miniprogram_dist/CouponList/components/couponIcon/index.json +0 -4
  337. package/miniprogram_dist/CouponList/components/couponIcon/index.scss +0 -51
  338. package/miniprogram_dist/CouponList/components/couponIcon/index.wxml +0 -3
  339. package/miniprogram_dist/CouponList/components/couponIcon/index.wxss +0 -46
  340. package/miniprogram_dist/CouponList/stuCouponPopup/index.js +0 -360
  341. package/miniprogram_dist/CouponList/stuCouponPopup/index.json +0 -8
  342. package/miniprogram_dist/CouponList/stuCouponPopup/index.scss +0 -158
  343. package/miniprogram_dist/CouponList/stuCouponPopup/index.wxml +0 -76
  344. package/miniprogram_dist/CouponList/stuCouponPopup/index.wxss +0 -486
  345. package/src/CouponList/components/couponIcon/index.js +0 -20
  346. package/src/CouponList/components/couponIcon/index.json +0 -4
  347. package/src/CouponList/components/couponIcon/index.scss +0 -51
  348. package/src/CouponList/components/couponIcon/index.wxml +0 -3
  349. package/src/CouponList/components/couponIcon/index.wxss +0 -1
  350. package/src/CouponList/stuCouponPopup/index.js +0 -360
  351. package/src/CouponList/stuCouponPopup/index.json +0 -8
  352. package/src/CouponList/stuCouponPopup/index.scss +0 -158
  353. package/src/CouponList/stuCouponPopup/index.wxml +0 -76
  354. package/src/CouponList/stuCouponPopup/index.wxss +0 -1
  355. package/src/miniprogram_npm/miniprogram-computed/index.js +0 -1
package/.gitlab-ci.yml CHANGED
@@ -1,44 +1,44 @@
1
- # 发布测试包
2
- build_test:
3
- stage: build
4
- only:
5
- - dev
6
- - bug-hotfix/replace-url
7
- - feature/live_marketing_iteration
8
- - feature/remove-error-report
9
- - fix/record-lottery
10
- tags:
11
- - fe-group-prod-runner-2
12
- script:
13
- - export project_name=$(cat package.json|awk -F "[:]" '/"name"/{print$2}')
14
- - export project_name=${project_name:2:$[${#project_name}-4]}
15
- - export version=`cat package.json|awk -F "[:]" '/"version"/{print$2}'`
16
- - export version=${version:2:$[${#version}-4]}
17
- - export message=$(git log --pretty=format:%s -1)
18
- - export author=$(git log --pretty=format:%an -1)
19
- - cnpm i
20
- - npm run build
21
- - cnpm publish
22
-
23
- # 发布正式包
24
- build_master:
25
- stage: build
26
- only:
27
- - master
28
- - /^release\/.*$/
29
- tags:
30
- - fe-group-prod-runner-2
31
- script:
32
- - export project_name=$(cat package.json|awk -F "[:]" '/"name"/{print$2}')
33
- - export project_name=${project_name:2:$[${#project_name}-4]}
34
- - export version=`cat package.json|awk -F "[:]" '/"version"/{print$2}'`
35
- - export version=${version:2:$[${#version}-4]}
36
- - export message=$(git log --no-merges --pretty=format:%s -1)
37
- - export author=$(git log --no-merges --pretty=format:%an -1)
38
- - cnpm i
39
- - npm run build
40
- - cnpm publish
41
- - curl 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=0ae9c0e9-3e15-49cf-9493-8f880943c6f0' -H 'Content-Type:application/json' -d '{"msgtype":"text","text":{"content":"'${project_name}'发包成功,版本号:'${version}',提交人:'${author}',提交信息:'${message}'"}}'
42
-
43
-
44
-
1
+ # 发布测试包
2
+ build_test:
3
+ stage: build
4
+ only:
5
+ - dev
6
+ - bug-hotfix/replace-url
7
+ - feature/live_marketing_iteration
8
+ - feature/remove-error-report
9
+ - fix/record-lottery
10
+ tags:
11
+ - fe-group-prod-runner-2
12
+ script:
13
+ - export project_name=$(cat package.json|awk -F "[:]" '/"name"/{print$2}')
14
+ - export project_name=${project_name:2:$[${#project_name}-4]}
15
+ - export version=`cat package.json|awk -F "[:]" '/"version"/{print$2}'`
16
+ - export version=${version:2:$[${#version}-4]}
17
+ - export message=$(git log --pretty=format:%s -1)
18
+ - export author=$(git log --pretty=format:%an -1)
19
+ - cnpm i
20
+ - npm run build
21
+ - cnpm publish
22
+
23
+ # 发布正式包
24
+ build_master:
25
+ stage: build
26
+ only:
27
+ - master
28
+ - /^release\/.*$/
29
+ tags:
30
+ - fe-group-prod-runner-2
31
+ script:
32
+ - export project_name=$(cat package.json|awk -F "[:]" '/"name"/{print$2}')
33
+ - export project_name=${project_name:2:$[${#project_name}-4]}
34
+ - export version=`cat package.json|awk -F "[:]" '/"version"/{print$2}'`
35
+ - export version=${version:2:$[${#version}-4]}
36
+ - export message=$(git log --no-merges --pretty=format:%s -1)
37
+ - export author=$(git log --no-merges --pretty=format:%an -1)
38
+ - cnpm i
39
+ - npm run build
40
+ - cnpm publish
41
+ - curl 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=0ae9c0e9-3e15-49cf-9493-8f880943c6f0' -H 'Content-Type:application/json' -d '{"msgtype":"text","text":{"content":"'${project_name}'发包成功,版本号:'${version}',提交人:'${author}',提交信息:'${message}'"}}'
42
+
43
+
44
+
@@ -1,161 +1,161 @@
1
- // src/ConfirmOrder/components/AddressSelect/index.js
2
- const computedBehavior = require('miniprogram-computed').behavior
3
- import {
4
- ENTITY_GOODS,COP_GOODS
5
- } from '../../../common/utils/constants';
6
- import {
7
- isEmptyObject
8
- } from "../../../common/utils/index"
9
-
10
- Component({
11
- behaviors: [computedBehavior],
12
- /**
13
- * 组件的属性列表
14
- */
15
- properties: {
16
- addressInfo: {
17
- type: Object,
18
- value: () => {},
19
- observer(address) {
20
- this.triggerEvent("dataChange", {
21
- name: 'address',
22
- prePayParams: {
23
- address_id: address && address.id,
24
- },
25
- errMsg: this.data.showAddressSelect && !this.data.haveAddress && '请添加收货地址',
26
- triggerPrePay: !!(!this.data.isCart && address && address.id),
27
- })
28
- if (this.data.isCart) {
29
- this.triggerEvent("updataData", {
30
- cartInfoLoaded: false
31
- })
32
- }
33
- if (!this.data.addressInfoLoaded) {
34
- this.triggerEvent("updataData", {
35
- addressInfoLoaded: true
36
- })
37
- }
38
- }
39
- },
40
- isCart: {
41
- type: Number,
42
- value: 0,
43
- },
44
- activeMode: {
45
- type: Number,
46
- value: 0,
47
- },
48
- baseInfoQuery: {
49
- type: Object,
50
- value: () => {},
51
- },
52
- hasEntityGoods: {
53
- type: Boolean,
54
- value: false,
55
- },
56
- cartGoodsList: {
57
- type: Array,
58
- value: () => [],
59
- },
60
- goodsInfo: {
61
- type: Object,
62
- value: () => {},
63
- },
64
- isShowAddressManage: {
65
- type: Boolean,
66
- value: false,
67
- },
68
- addressQuery: {
69
- type: Object,
70
- value: () => {},
71
- },
72
- cartInfoLoaded: {
73
- type: Boolean,
74
- value: false,
75
- },
76
- addressInfoLoaded: {
77
- type: Boolean,
78
- value: false,
79
- }
80
- },
81
-
82
- /**
83
- * 组件的初始数据
84
- */
85
- data: {
86
-
87
- },
88
-
89
- lifetimes: {
90
- attached: async function () {
91
- this.triggerEvent("dataChange", {
92
- name: 'address',
93
- errMsg: this.data.showAddressSelect &&
94
- !this.data.haveAddress &&
95
- this.data.activeMode === 0 &&
96
- '请添加收货地址',
97
- })
98
- },
99
- },
100
- computed: {
101
- showAddressSelect(data) {
102
- return (
103
- data.baseInfoQuery.spu_type === ENTITY_GOODS ||
104
- data.baseInfoQuery.spu_type === COP_GOODS ||
105
- (data.goodsInfo.is_goods_package && data.hasEntityGoods) ||
106
- (data.isCart &&
107
- data.cartGoodsList.some((goodsInfo) => {
108
- return (
109
- goodsInfo.spu_type === ENTITY_GOODS ||
110
- goodsInfo.entity_goods_num > 0
111
- );
112
- }))
113
- );
114
- },
115
- haveAddress(data) {
116
- return data.addressInfo && !isEmptyObject(data.addressInfo);
117
- },
118
- invalidAddress(data) {
119
- return data.addressInfo && !data.addressInfo.calculate_freight;
120
- },
121
- needAddress(data) {
122
- return !data.haveAddress && data.showAddressSelect;
123
- },
124
- },
125
- observers: {
126
- needAddress(val) {
127
- if (val) {
128
- this.triggerEvent("dataChange", {
129
- name: 'address',
130
- errMsg: '请添加收货地址'
131
- })
132
- }
133
- }
134
- },
135
- /**
136
- * 组件的方法列表
137
- */
138
- methods: {
139
- // 修改地址
140
- changeAddress() {
141
- let obj = {}
142
- if (this.data.haveAddress) {
143
- obj = {
144
- isShowAddressManage: true,
145
- addressQuery: {
146
- selectable: true,
147
- id: this.data.addressInfo.id,
148
- orderdata: this.data.baseInfoQuery,
149
- }
150
- }
151
- } else {
152
- obj = {
153
- isShowEditAddress: true,
154
- addressQuery: {}
155
- }
156
- }
157
- this.triggerEvent("updataData", obj)
158
- this.setData(obj)
159
- }
160
- }
1
+ // src/ConfirmOrder/components/AddressSelect/index.js
2
+ const computedBehavior = require('miniprogram-computed').behavior
3
+ import {
4
+ ENTITY_GOODS,COP_GOODS
5
+ } from '../../../common/utils/constants';
6
+ import {
7
+ isEmptyObject
8
+ } from "../../../common/utils/index"
9
+
10
+ Component({
11
+ behaviors: [computedBehavior],
12
+ /**
13
+ * 组件的属性列表
14
+ */
15
+ properties: {
16
+ addressInfo: {
17
+ type: Object,
18
+ value: () => {},
19
+ observer(address) {
20
+ this.triggerEvent("dataChange", {
21
+ name: 'address',
22
+ prePayParams: {
23
+ address_id: address && address.id,
24
+ },
25
+ errMsg: this.data.showAddressSelect && !this.data.haveAddress && '请添加收货地址',
26
+ triggerPrePay: !!(!this.data.isCart && address && address.id),
27
+ })
28
+ if (this.data.isCart) {
29
+ this.triggerEvent("updataData", {
30
+ cartInfoLoaded: false
31
+ })
32
+ }
33
+ if (!this.data.addressInfoLoaded) {
34
+ this.triggerEvent("updataData", {
35
+ addressInfoLoaded: true
36
+ })
37
+ }
38
+ }
39
+ },
40
+ isCart: {
41
+ type: Number,
42
+ value: 0,
43
+ },
44
+ activeMode: {
45
+ type: Number,
46
+ value: 0,
47
+ },
48
+ baseInfoQuery: {
49
+ type: Object,
50
+ value: () => {},
51
+ },
52
+ hasEntityGoods: {
53
+ type: Boolean,
54
+ value: false,
55
+ },
56
+ cartGoodsList: {
57
+ type: Array,
58
+ value: () => [],
59
+ },
60
+ goodsInfo: {
61
+ type: Object,
62
+ value: () => {},
63
+ },
64
+ isShowAddressManage: {
65
+ type: Boolean,
66
+ value: false,
67
+ },
68
+ addressQuery: {
69
+ type: Object,
70
+ value: () => {},
71
+ },
72
+ cartInfoLoaded: {
73
+ type: Boolean,
74
+ value: false,
75
+ },
76
+ addressInfoLoaded: {
77
+ type: Boolean,
78
+ value: false,
79
+ }
80
+ },
81
+
82
+ /**
83
+ * 组件的初始数据
84
+ */
85
+ data: {
86
+
87
+ },
88
+
89
+ lifetimes: {
90
+ attached: async function () {
91
+ this.triggerEvent("dataChange", {
92
+ name: 'address',
93
+ errMsg: this.data.showAddressSelect &&
94
+ !this.data.haveAddress &&
95
+ this.data.activeMode === 0 &&
96
+ '请添加收货地址',
97
+ })
98
+ },
99
+ },
100
+ computed: {
101
+ showAddressSelect(data) {
102
+ return (
103
+ data.baseInfoQuery.spu_type === ENTITY_GOODS ||
104
+ data.baseInfoQuery.spu_type === COP_GOODS ||
105
+ (data.goodsInfo.is_goods_package && data.hasEntityGoods) ||
106
+ (data.isCart &&
107
+ data.cartGoodsList.some((goodsInfo) => {
108
+ return (
109
+ goodsInfo.spu_type === ENTITY_GOODS ||
110
+ goodsInfo.entity_goods_num > 0
111
+ );
112
+ }))
113
+ );
114
+ },
115
+ haveAddress(data) {
116
+ return data.addressInfo && !isEmptyObject(data.addressInfo);
117
+ },
118
+ invalidAddress(data) {
119
+ return data.addressInfo && !data.addressInfo.calculate_freight;
120
+ },
121
+ needAddress(data) {
122
+ return !data.haveAddress && data.showAddressSelect;
123
+ },
124
+ },
125
+ observers: {
126
+ needAddress(val) {
127
+ if (val) {
128
+ this.triggerEvent("dataChange", {
129
+ name: 'address',
130
+ errMsg: '请添加收货地址'
131
+ })
132
+ }
133
+ }
134
+ },
135
+ /**
136
+ * 组件的方法列表
137
+ */
138
+ methods: {
139
+ // 修改地址
140
+ changeAddress() {
141
+ let obj = {}
142
+ if (this.data.haveAddress) {
143
+ obj = {
144
+ isShowAddressManage: true,
145
+ addressQuery: {
146
+ selectable: true,
147
+ id: this.data.addressInfo.id,
148
+ orderdata: this.data.baseInfoQuery,
149
+ }
150
+ }
151
+ } else {
152
+ obj = {
153
+ isShowEditAddress: true,
154
+ addressQuery: {}
155
+ }
156
+ }
157
+ this.triggerEvent("updataData", obj)
158
+ this.setData(obj)
159
+ }
160
+ }
161
161
  })
@@ -1,116 +1,116 @@
1
- // src/ConfirmOrder/components/ChoosePicker/index.js
2
- const computedBehavior = require('miniprogram-computed').behavior
3
-
4
- Component({
5
- behaviors: [computedBehavior],
6
- options: {
7
- styleIsolation: 'shared',
8
- },
9
- /**
10
- * 组件的属性列表
11
- */
12
- properties: {
13
- pickerUserInfo: {
14
- type: Object || String,
15
- value: () => {},
16
- observer(newVal, oldVal) {
17
- if (Object.keys(newVal).length > 0) {
18
- if (newVal.picker && newVal.picker_contact){
19
- this.setData({
20
- hasData: true
21
- })
22
- } else {
23
- this.setData({
24
- hasData: false
25
- })
26
- }
27
- } else {
28
- this.setData({
29
- hasData: false
30
- })
31
- }
32
- if (this.data.express_type === 2 && !newVal?.picker) {
33
- this.triggerEvent('dataChange', {
34
- name: 'pickerUserInfo',
35
- errMsg: '请填写提货人',
36
- });
37
- } else {
38
- this.triggerEvent('dataChange', {
39
- name: 'pickerUserInfo',
40
- errMsg: '',
41
- });
42
- }
43
- }
44
- },
45
- express_type: {
46
- type: Number,
47
- value: 1,
48
- },
49
- pickerList: {
50
- type: Array,
51
- value: () => [],
52
- },
53
- isShowSelectShipper: {
54
- type: Boolean,
55
- value: false,
56
- },
57
- isShowCreateShipper: {
58
- type: Boolean,
59
- value: false,
60
- },
61
- backPage: {
62
- type: Number,
63
- value: 1,
64
- },
65
- shipperType: {
66
- type: Number,
67
- value: 1,
68
- },
69
- express_type: {
70
- type: Number,
71
- value: 1,
72
- },
73
- },
74
-
75
- /**
76
- * 组件的初始数据
77
- */
78
- data: {
79
- hasData: false,
80
- },
81
- lifetimes: {
82
- attached: function () {
83
- if (this.data.express_type === 2 && !this.data.pickerUserInfo?.picker) {
84
- console.log(111);
85
- this.triggerEvent('dataChange', {
86
- name: 'pickerUserInfo',
87
- errMsg: '请填写提货人',
88
- });
89
- }
90
- },
91
- },
92
- /**
93
- * 组件的方法列表
94
- */
95
- methods: {
96
- // 选择提货人
97
- selectShipper() {
98
- this.triggerEvent('dataChange', {
99
- name: 'pickerUserInfo',
100
- errMsg: '',
101
- });
102
- this.triggerEvent("updataData", {
103
- isShowSelectShipper: true
104
- })
105
- },
106
- // 新建提货人
107
- createShipper() {
108
- this.triggerEvent("updataData", {
109
- isShowCreateShipper: true,
110
- shipperType: 1,
111
- backPage: 1,
112
- backType: 1
113
- })
114
- }
115
- }
1
+ // src/ConfirmOrder/components/ChoosePicker/index.js
2
+ const computedBehavior = require('miniprogram-computed').behavior
3
+
4
+ Component({
5
+ behaviors: [computedBehavior],
6
+ options: {
7
+ styleIsolation: 'shared',
8
+ },
9
+ /**
10
+ * 组件的属性列表
11
+ */
12
+ properties: {
13
+ pickerUserInfo: {
14
+ type: Object || String,
15
+ value: () => {},
16
+ observer(newVal, oldVal) {
17
+ if (Object.keys(newVal).length > 0) {
18
+ if (newVal.picker && newVal.picker_contact){
19
+ this.setData({
20
+ hasData: true
21
+ })
22
+ } else {
23
+ this.setData({
24
+ hasData: false
25
+ })
26
+ }
27
+ } else {
28
+ this.setData({
29
+ hasData: false
30
+ })
31
+ }
32
+ if (this.data.express_type === 2 && !newVal?.picker) {
33
+ this.triggerEvent('dataChange', {
34
+ name: 'pickerUserInfo',
35
+ errMsg: '请填写提货人',
36
+ });
37
+ } else {
38
+ this.triggerEvent('dataChange', {
39
+ name: 'pickerUserInfo',
40
+ errMsg: '',
41
+ });
42
+ }
43
+ }
44
+ },
45
+ express_type: {
46
+ type: Number,
47
+ value: 1,
48
+ },
49
+ pickerList: {
50
+ type: Array,
51
+ value: () => [],
52
+ },
53
+ isShowSelectShipper: {
54
+ type: Boolean,
55
+ value: false,
56
+ },
57
+ isShowCreateShipper: {
58
+ type: Boolean,
59
+ value: false,
60
+ },
61
+ backPage: {
62
+ type: Number,
63
+ value: 1,
64
+ },
65
+ shipperType: {
66
+ type: Number,
67
+ value: 1,
68
+ },
69
+ express_type: {
70
+ type: Number,
71
+ value: 1,
72
+ },
73
+ },
74
+
75
+ /**
76
+ * 组件的初始数据
77
+ */
78
+ data: {
79
+ hasData: false,
80
+ },
81
+ lifetimes: {
82
+ attached: function () {
83
+ if (this.data.express_type === 2 && !this.data.pickerUserInfo?.picker) {
84
+ console.log(111);
85
+ this.triggerEvent('dataChange', {
86
+ name: 'pickerUserInfo',
87
+ errMsg: '请填写提货人',
88
+ });
89
+ }
90
+ },
91
+ },
92
+ /**
93
+ * 组件的方法列表
94
+ */
95
+ methods: {
96
+ // 选择提货人
97
+ selectShipper() {
98
+ this.triggerEvent('dataChange', {
99
+ name: 'pickerUserInfo',
100
+ errMsg: '',
101
+ });
102
+ this.triggerEvent("updataData", {
103
+ isShowSelectShipper: true
104
+ })
105
+ },
106
+ // 新建提货人
107
+ createShipper() {
108
+ this.triggerEvent("updataData", {
109
+ isShowCreateShipper: true,
110
+ shipperType: 1,
111
+ backPage: 1,
112
+ backType: 1
113
+ })
114
+ }
115
+ }
116
116
  })