xiaoe_mp_npm 0.2.1 → 0.2.2-beta1
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.
- package/package.json +1 -1
- package/src/AliveInvite/LiveRoomVertical/index.less +1 -1
- package/src/AliveInvite/LiveRoomVertical/index.wxss +1 -1
- package/src/Lottery/components/MerchantContactInfo/index.wxml +1 -1
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/friends/friends.js +0 -145
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/friends/friends.json +0 -4
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/friends/friends.wxml +0 -23
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/friends/friends.wxss +0 -90
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/invite-poster/invite-poster.js +0 -227
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/invite-poster/invite-poster.json +0 -4
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/invite-poster/invite-poster.wxml +0 -64
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/invite-poster/invite-poster.wxss +0 -167
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/rewards/rewards.js +0 -117
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/rewards/rewards.json +0 -4
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/rewards/rewards.wxml +0 -36
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/rewards/rewards.wxss +0 -92
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/rules/rules.js +0 -90
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/rules/rules.json +0 -4
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/rules/rules.wxml +0 -16
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/rules/rules.wxss +0 -48
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/index.js +0 -232
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/index.json +0 -10
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/index.less +0 -271
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/index.wxml +0 -122
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/index.wxss +0 -267
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/libs/base64.js +0 -234
- package/miniprogram_dist/AliveInvite/images/copylink.png +0 -0
- package/miniprogram_dist/AliveInvite/images/cup.png +0 -0
- package/miniprogram_dist/AliveInvite/images/icon_arrow_right_white.png +0 -0
- package/miniprogram_dist/AliveInvite/images/icon_arrow_up.png +0 -0
- package/miniprogram_dist/AliveInvite/images/invite_entrance/new_crown_blue_pure.svg +0 -29
- package/miniprogram_dist/AliveInvite/images/invite_entrance/new_crown_pink_pure.svg +0 -29
- package/miniprogram_dist/AliveInvite/images/invite_entrance/new_crown_yellow_pure.svg +0 -27
- package/miniprogram_dist/AliveInvite/images/liveClose.png +0 -0
- package/miniprogram_dist/AliveInvite/images/new_emptypage.svg +0 -59
- package/miniprogram_dist/AliveInvite/images/new_icon_close.png +0 -0
- package/miniprogram_dist/AliveInvite/images/new_invite_title.svg +0 -23
- package/miniprogram_dist/AliveInvite/images/new_share_icon.png +0 -0
- package/miniprogram_dist/AliveInvite/images/rank_first.svg +0 -11
- package/miniprogram_dist/AliveInvite/images/rank_second.svg +0 -11
- package/miniprogram_dist/AliveInvite/images/rank_third.svg +0 -11
- package/miniprogram_dist/AliveInvite/images/u_6182407864819_jXJGQ1pe0d.png +0 -0
- package/miniprogram_dist/AliveInvite/images/wechat.png +0 -0
- package/miniprogram_dist/CollectionAddress/index.js +0 -285
- package/miniprogram_dist/CollectionAddress/index.json +0 -14
- package/miniprogram_dist/CollectionAddress/index.less +0 -5
- package/miniprogram_dist/CollectionAddress/index.wxml +0 -91
- package/miniprogram_dist/CollectionAddress/index.wxss +0 -5
- package/miniprogram_dist/ConfirmOrder/README.md +0 -12
- package/miniprogram_dist/ConfirmOrder/components/AddressEdit/index.js +0 -343
- package/miniprogram_dist/ConfirmOrder/components/AddressEdit/index.json +0 -11
- package/miniprogram_dist/ConfirmOrder/components/AddressEdit/index.less +0 -98
- package/miniprogram_dist/ConfirmOrder/components/AddressEdit/index.wxml +0 -39
- package/miniprogram_dist/ConfirmOrder/components/AddressEdit/index.wxss +0 -99
- package/miniprogram_dist/ConfirmOrder/components/AddressManage/index.js +0 -160
- package/miniprogram_dist/ConfirmOrder/components/AddressManage/index.json +0 -8
- package/miniprogram_dist/ConfirmOrder/components/AddressManage/index.less +0 -96
- package/miniprogram_dist/ConfirmOrder/components/AddressManage/index.wxml +0 -37
- package/miniprogram_dist/ConfirmOrder/components/AddressManage/index.wxss +0 -98
- package/miniprogram_dist/ConfirmOrder/components/AddressSelect/index.js +0 -160
- package/miniprogram_dist/ConfirmOrder/components/AddressSelect/index.json +0 -4
- package/miniprogram_dist/ConfirmOrder/components/AddressSelect/index.less +0 -80
- package/miniprogram_dist/ConfirmOrder/components/AddressSelect/index.wxml +0 -34
- package/miniprogram_dist/ConfirmOrder/components/AddressSelect/index.wxss +0 -67
- package/miniprogram_dist/ConfirmOrder/components/ChoosePicker/index.js +0 -110
- package/miniprogram_dist/ConfirmOrder/components/ChoosePicker/index.json +0 -6
- package/miniprogram_dist/ConfirmOrder/components/ChoosePicker/index.less +0 -21
- package/miniprogram_dist/ConfirmOrder/components/ChoosePicker/index.wxml +0 -10
- package/miniprogram_dist/ConfirmOrder/components/ChoosePicker/index.wxss +0 -18
- package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.js +0 -831
- package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.json +0 -23
- package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.less +0 -12
- package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.wxml +0 -172
- package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.wxss +0 -10
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityGiftList/index.js +0 -72
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityGiftList/index.json +0 -6
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityGiftList/index.less +0 -45
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityGiftList/index.wxml +0 -18
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityGiftList/index.wxss +0 -39
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityItem/filter.wxs +0 -8
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityItem/index.js +0 -92
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityItem/index.json +0 -4
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityItem/index.less +0 -109
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityItem/index.wxml +0 -29
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityItem/index.wxss +0 -96
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/index.js +0 -78
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/index.json +0 -8
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/index.less +0 -52
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/index.wxml +0 -27
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/index.wxss +0 -45
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/ImageData/index.js +0 -69
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/ImageData/index.json +0 -4
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/ImageData/index.less +0 -14
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/ImageData/index.wxml +0 -4
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/ImageData/index.wxss +0 -13
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/filter.wxs +0 -7
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.js +0 -429
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.json +0 -9
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.less +0 -182
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.wxml +0 -75
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.wxss +0 -153
- package/miniprogram_dist/ConfirmOrder/components/Header/index.js +0 -50
- package/miniprogram_dist/ConfirmOrder/components/Header/index.json +0 -6
- package/miniprogram_dist/ConfirmOrder/components/Header/index.less +0 -31
- package/miniprogram_dist/ConfirmOrder/components/Header/index.wxml +0 -10
- package/miniprogram_dist/ConfirmOrder/components/Header/index.wxss +0 -27
- package/miniprogram_dist/ConfirmOrder/components/InfoCollect/index.js +0 -108
- package/miniprogram_dist/ConfirmOrder/components/InfoCollect/index.json +0 -6
- package/miniprogram_dist/ConfirmOrder/components/InfoCollect/index.less +0 -0
- package/miniprogram_dist/ConfirmOrder/components/InfoCollect/index.wxml +0 -13
- package/miniprogram_dist/ConfirmOrder/components/InfoCollect/index.wxss +0 -1
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/componenets/integralTips/index.js +0 -85
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/componenets/integralTips/index.json +0 -4
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/componenets/integralTips/index.less +0 -64
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/componenets/integralTips/index.wxml +0 -31
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/componenets/integralTips/index.wxss +0 -57
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/filter.wxs +0 -7
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.js +0 -83
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.json +0 -8
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.less +0 -55
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.wxml +0 -27
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.wxss +0 -47
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceSelect/index.js +0 -284
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceSelect/index.json +0 -8
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceSelect/index.less +0 -162
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceSelect/index.wxml +0 -89
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceSelect/index.wxss +0 -152
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceTip/index.js +0 -33
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceTip/index.json +0 -6
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceTip/index.less +0 -49
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceTip/index.wxml +0 -17
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceTip/index.wxss +0 -58
- package/miniprogram_dist/ConfirmOrder/components/Invoice/index.js +0 -155
- package/miniprogram_dist/ConfirmOrder/components/Invoice/index.json +0 -7
- package/miniprogram_dist/ConfirmOrder/components/Invoice/index.less +0 -29
- package/miniprogram_dist/ConfirmOrder/components/Invoice/index.wxml +0 -24
- package/miniprogram_dist/ConfirmOrder/components/Invoice/index.wxss +0 -23
- package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.js +0 -61
- package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.json +0 -6
- package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.less +0 -6
- package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.wxml +0 -11
- package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.wxss +0 -6
- package/miniprogram_dist/ConfirmOrder/components/LimitDiscount/index.js +0 -50
- package/miniprogram_dist/ConfirmOrder/components/LimitDiscount/index.json +0 -4
- package/miniprogram_dist/ConfirmOrder/components/LimitDiscount/index.wxml +0 -1
- package/miniprogram_dist/ConfirmOrder/components/LimitDiscount/index.wxss +0 -1
- package/miniprogram_dist/ConfirmOrder/components/ModeSelect/index.js +0 -42
- package/miniprogram_dist/ConfirmOrder/components/ModeSelect/index.json +0 -7
- package/miniprogram_dist/ConfirmOrder/components/ModeSelect/index.less +0 -35
- package/miniprogram_dist/ConfirmOrder/components/ModeSelect/index.wxml +0 -7
- package/miniprogram_dist/ConfirmOrder/components/ModeSelect/index.wxss +0 -44
- package/miniprogram_dist/ConfirmOrder/components/PayBar/index.js +0 -233
- package/miniprogram_dist/ConfirmOrder/components/PayBar/index.json +0 -6
- package/miniprogram_dist/ConfirmOrder/components/PayBar/index.less +0 -32
- package/miniprogram_dist/ConfirmOrder/components/PayBar/index.wxml +0 -26
- package/miniprogram_dist/ConfirmOrder/components/PayBar/index.wxss +0 -27
- package/miniprogram_dist/ConfirmOrder/components/PayDetail/filter.wxs +0 -16
- package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.js +0 -68
- package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.json +0 -4
- package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.less +0 -16
- package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.wxml +0 -18
- package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.wxss +0 -14
- package/miniprogram_dist/ConfirmOrder/components/PayGifts/index.js +0 -23
- package/miniprogram_dist/ConfirmOrder/components/PayGifts/index.json +0 -4
- package/miniprogram_dist/ConfirmOrder/components/PayGifts/index.wxml +0 -2
- package/miniprogram_dist/ConfirmOrder/components/PayGifts/index.wxss +0 -1
- package/miniprogram_dist/ConfirmOrder/components/PickupSelect/index.js +0 -80
- package/miniprogram_dist/ConfirmOrder/components/PickupSelect/index.json +0 -8
- package/miniprogram_dist/ConfirmOrder/components/PickupSelect/index.less +0 -24
- package/miniprogram_dist/ConfirmOrder/components/PickupSelect/index.wxml +0 -14
- package/miniprogram_dist/ConfirmOrder/components/PickupSelect/index.wxss +0 -22
- package/miniprogram_dist/ConfirmOrder/components/SelectSite/index.js +0 -147
- package/miniprogram_dist/ConfirmOrder/components/SelectSite/index.json +0 -7
- package/miniprogram_dist/ConfirmOrder/components/SelectSite/index.less +0 -96
- package/miniprogram_dist/ConfirmOrder/components/SelectSite/index.wxml +0 -46
- package/miniprogram_dist/ConfirmOrder/components/SelectSite/index.wxss +0 -82
- package/miniprogram_dist/ConfirmOrder/components/Shipper/index.js +0 -100
- package/miniprogram_dist/ConfirmOrder/components/Shipper/index.json +0 -6
- package/miniprogram_dist/ConfirmOrder/components/Shipper/index.less +0 -70
- package/miniprogram_dist/ConfirmOrder/components/Shipper/index.wxml +0 -16
- package/miniprogram_dist/ConfirmOrder/components/Shipper/index.wxss +0 -76
- package/miniprogram_dist/ConfirmOrder/components/ShipperEdit/index.js +0 -218
- package/miniprogram_dist/ConfirmOrder/components/ShipperEdit/index.json +0 -8
- package/miniprogram_dist/ConfirmOrder/components/ShipperEdit/index.less +0 -77
- package/miniprogram_dist/ConfirmOrder/components/ShipperEdit/index.wxml +0 -20
- package/miniprogram_dist/ConfirmOrder/components/ShipperEdit/index.wxss +0 -78
- package/miniprogram_dist/ConfirmOrder/components/WechatAddress/index.js +0 -78
- package/miniprogram_dist/ConfirmOrder/components/WechatAddress/index.json +0 -4
- package/miniprogram_dist/ConfirmOrder/components/WechatAddress/index.less +0 -25
- package/miniprogram_dist/ConfirmOrder/components/WechatAddress/index.wxml +0 -9
- package/miniprogram_dist/ConfirmOrder/components/WechatAddress/index.wxss +0 -22
- package/miniprogram_dist/ConfirmOrder/index.js +0 -72
- package/miniprogram_dist/ConfirmOrder/index.json +0 -9
- package/miniprogram_dist/ConfirmOrder/index.less +0 -5
- package/miniprogram_dist/ConfirmOrder/index.wxml +0 -25
- package/miniprogram_dist/ConfirmOrder/index.wxss +0 -5
- package/miniprogram_dist/CouponList/README.md +0 -6
- package/miniprogram_dist/CouponList/components/CouponItem/index.js +0 -239
- package/miniprogram_dist/CouponList/components/CouponItem/index.json +0 -5
- package/miniprogram_dist/CouponList/components/CouponItem/index.less +0 -288
- package/miniprogram_dist/CouponList/components/CouponItem/index.wxml +0 -191
- package/miniprogram_dist/CouponList/components/CouponItem/index.wxss +0 -276
- package/miniprogram_dist/CouponList/couponColumn/index.js +0 -65
- package/miniprogram_dist/CouponList/couponColumn/index.json +0 -6
- package/miniprogram_dist/CouponList/couponColumn/index.less +0 -32
- package/miniprogram_dist/CouponList/couponColumn/index.wxml +0 -23
- package/miniprogram_dist/CouponList/couponColumn/index.wxss +0 -31
- package/miniprogram_dist/CouponList/couponMsg/index.js +0 -27
- package/miniprogram_dist/CouponList/couponMsg/index.json +0 -6
- package/miniprogram_dist/CouponList/couponMsg/index.less +0 -3
- package/miniprogram_dist/CouponList/couponMsg/index.wxml +0 -10
- package/miniprogram_dist/CouponList/couponMsg/index.wxss +0 -3
- package/miniprogram_dist/CurrentPay/index.js +0 -56
- package/miniprogram_dist/CurrentPay/index.json +0 -9
- package/miniprogram_dist/CurrentPay/index.wxml +0 -11
- package/miniprogram_dist/CurrentPay/index.wxss +0 -1
- package/miniprogram_dist/CurrentPayModule/index.js +0 -256
- package/miniprogram_dist/CurrentPayModule/index.json +0 -9
- package/miniprogram_dist/CurrentPayModule/index.less +0 -13
- package/miniprogram_dist/CurrentPayModule/index.wxml +0 -4
- package/miniprogram_dist/CurrentPayModule/index.wxss +0 -13
- package/miniprogram_dist/CustomPopup/index.js +0 -56
- package/miniprogram_dist/CustomPopup/index.json +0 -6
- package/miniprogram_dist/CustomPopup/index.less +0 -15
- package/miniprogram_dist/CustomPopup/index.wxml +0 -18
- package/miniprogram_dist/CustomPopup/index.wxss +0 -15
- package/miniprogram_dist/GoodsItem/index.js +0 -538
- package/miniprogram_dist/GoodsItem/index.json +0 -6
- package/miniprogram_dist/GoodsItem/index.less +0 -249
- package/miniprogram_dist/GoodsItem/index.wxml +0 -90
- package/miniprogram_dist/GoodsItem/index.wxss +0 -261
- package/miniprogram_dist/LiveGoodsList/Header/index.js +0 -36
- package/miniprogram_dist/LiveGoodsList/Header/index.json +0 -6
- package/miniprogram_dist/LiveGoodsList/Header/index.less +0 -45
- package/miniprogram_dist/LiveGoodsList/Header/index.wxml +0 -28
- package/miniprogram_dist/LiveGoodsList/Header/index.wxss +0 -44
- package/miniprogram_dist/LiveGoodsList/README.md +0 -10
- package/miniprogram_dist/LiveGoodsList/index.js +0 -423
- package/miniprogram_dist/LiveGoodsList/index.json +0 -10
- package/miniprogram_dist/LiveGoodsList/index.less +0 -53
- package/miniprogram_dist/LiveGoodsList/index.wxml +0 -74
- package/miniprogram_dist/LiveGoodsList/index.wxss +0 -50
- package/miniprogram_dist/Lottery/components/AddressCollection/index.js +0 -73
- package/miniprogram_dist/Lottery/components/AddressCollection/index.json +0 -7
- package/miniprogram_dist/Lottery/components/AddressCollection/index.less +0 -39
- package/miniprogram_dist/Lottery/components/AddressCollection/index.wxml +0 -16
- package/miniprogram_dist/Lottery/components/AddressCollection/index.wxss +0 -39
- package/miniprogram_dist/Lottery/components/CommonPopup/index.js +0 -57
- package/miniprogram_dist/Lottery/components/CommonPopup/index.json +0 -6
- package/miniprogram_dist/Lottery/components/CommonPopup/index.less +0 -66
- package/miniprogram_dist/Lottery/components/CommonPopup/index.wxml +0 -23
- package/miniprogram_dist/Lottery/components/CommonPopup/index.wxss +0 -61
- package/miniprogram_dist/Lottery/components/JoinRecords/RecordItem/index.js +0 -34
- package/miniprogram_dist/Lottery/components/JoinRecords/RecordItem/index.json +0 -6
- package/miniprogram_dist/Lottery/components/JoinRecords/RecordItem/index.less +0 -36
- package/miniprogram_dist/Lottery/components/JoinRecords/RecordItem/index.wxml +0 -8
- package/miniprogram_dist/Lottery/components/JoinRecords/RecordItem/index.wxss +0 -36
- package/miniprogram_dist/Lottery/components/JoinRecords/index.js +0 -59
- package/miniprogram_dist/Lottery/components/JoinRecords/index.json +0 -7
- package/miniprogram_dist/Lottery/components/JoinRecords/index.less +0 -40
- package/miniprogram_dist/Lottery/components/JoinRecords/index.wxml +0 -15
- package/miniprogram_dist/Lottery/components/JoinRecords/index.wxss +0 -40
- package/miniprogram_dist/Lottery/components/LotteryAnimation/animation.js +0 -1
- package/miniprogram_dist/Lottery/components/LotteryAnimation/index.js +0 -64
- package/miniprogram_dist/Lottery/components/LotteryAnimation/index.json +0 -4
- package/miniprogram_dist/Lottery/components/LotteryAnimation/index.less +0 -14
- package/miniprogram_dist/Lottery/components/LotteryAnimation/index.wxml +0 -4
- package/miniprogram_dist/Lottery/components/LotteryAnimation/index.wxss +0 -12
- package/miniprogram_dist/Lottery/components/LotteryAnimation/lottie-miniprogram-sdk.js +0 -9
- package/miniprogram_dist/Lottery/components/LotteryFAB/index.js +0 -99
- package/miniprogram_dist/Lottery/components/LotteryFAB/index.json +0 -6
- package/miniprogram_dist/Lottery/components/LotteryFAB/index.less +0 -36
- package/miniprogram_dist/Lottery/components/LotteryFAB/index.wxml +0 -17
- package/miniprogram_dist/Lottery/components/LotteryFAB/index.wxss +0 -36
- package/miniprogram_dist/Lottery/components/LotteryInfo/Indicator/index.js +0 -34
- package/miniprogram_dist/Lottery/components/LotteryInfo/Indicator/index.json +0 -5
- package/miniprogram_dist/Lottery/components/LotteryInfo/Indicator/index.less +0 -17
- package/miniprogram_dist/Lottery/components/LotteryInfo/Indicator/index.wxml +0 -3
- package/miniprogram_dist/Lottery/components/LotteryInfo/Indicator/index.wxss +0 -17
- package/miniprogram_dist/Lottery/components/LotteryInfo/LotteryCountdown/index.js +0 -37
- package/miniprogram_dist/Lottery/components/LotteryInfo/LotteryCountdown/index.json +0 -5
- package/miniprogram_dist/Lottery/components/LotteryInfo/LotteryCountdown/index.less +0 -17
- package/miniprogram_dist/Lottery/components/LotteryInfo/LotteryCountdown/index.wxml +0 -9
- package/miniprogram_dist/Lottery/components/LotteryInfo/LotteryCountdown/index.wxss +0 -17
- package/miniprogram_dist/Lottery/components/LotteryInfo/index.js +0 -159
- package/miniprogram_dist/Lottery/components/LotteryInfo/index.json +0 -10
- package/miniprogram_dist/Lottery/components/LotteryInfo/index.less +0 -99
- package/miniprogram_dist/Lottery/components/LotteryInfo/index.wxml +0 -50
- package/miniprogram_dist/Lottery/components/LotteryInfo/index.wxss +0 -104
- package/miniprogram_dist/Lottery/components/LotteryMsg/index.js +0 -42
- package/miniprogram_dist/Lottery/components/LotteryMsg/index.json +0 -5
- package/miniprogram_dist/Lottery/components/LotteryMsg/index.less +0 -22
- package/miniprogram_dist/Lottery/components/LotteryMsg/index.wxml +0 -11
- package/miniprogram_dist/Lottery/components/LotteryMsg/index.wxss +0 -20
- package/miniprogram_dist/Lottery/components/LotteryPopups/index.js +0 -178
- package/miniprogram_dist/Lottery/components/LotteryPopups/index.json +0 -13
- package/miniprogram_dist/Lottery/components/LotteryPopups/index.wxml +0 -7
- package/miniprogram_dist/Lottery/components/LotteryResult/LosingLottery/index.js +0 -35
- package/miniprogram_dist/Lottery/components/LotteryResult/LosingLottery/index.json +0 -7
- package/miniprogram_dist/Lottery/components/LotteryResult/LosingLottery/index.less +0 -48
- package/miniprogram_dist/Lottery/components/LotteryResult/LosingLottery/index.wxml +0 -16
- package/miniprogram_dist/Lottery/components/LotteryResult/LosingLottery/index.wxss +0 -48
- package/miniprogram_dist/Lottery/components/LotteryResult/WinLottery/index.js +0 -144
- package/miniprogram_dist/Lottery/components/LotteryResult/WinLottery/index.json +0 -7
- package/miniprogram_dist/Lottery/components/LotteryResult/WinLottery/index.less +0 -68
- package/miniprogram_dist/Lottery/components/LotteryResult/WinLottery/index.wxml +0 -23
- package/miniprogram_dist/Lottery/components/LotteryResult/WinLottery/index.wxss +0 -73
- package/miniprogram_dist/Lottery/components/LotteryResult/index.js +0 -56
- package/miniprogram_dist/Lottery/components/LotteryResult/index.json +0 -9
- package/miniprogram_dist/Lottery/components/LotteryResult/index.less +0 -0
- package/miniprogram_dist/Lottery/components/LotteryResult/index.wxml +0 -10
- package/miniprogram_dist/Lottery/components/LotteryResult/index.wxss +0 -0
- package/miniprogram_dist/Lottery/components/MerchantContactInfo/index.js +0 -40
- package/miniprogram_dist/Lottery/components/MerchantContactInfo/index.json +0 -7
- package/miniprogram_dist/Lottery/components/MerchantContactInfo/index.less +0 -61
- package/miniprogram_dist/Lottery/components/MerchantContactInfo/index.wxml +0 -19
- package/miniprogram_dist/Lottery/components/MerchantContactInfo/index.wxss +0 -61
- package/miniprogram_dist/Lottery/components/MyLottery/index.js +0 -52
- package/miniprogram_dist/Lottery/components/MyLottery/index.json +0 -11
- package/miniprogram_dist/Lottery/components/MyLottery/index.wxml +0 -12
- package/miniprogram_dist/Lottery/components/MyLottery/index.wxss +0 -0
- package/miniprogram_dist/Lottery/components/NobodyAttend/index.js +0 -33
- package/miniprogram_dist/Lottery/components/NobodyAttend/index.json +0 -6
- package/miniprogram_dist/Lottery/components/NobodyAttend/index.less +0 -33
- package/miniprogram_dist/Lottery/components/NobodyAttend/index.wxml +0 -11
- package/miniprogram_dist/Lottery/components/NobodyAttend/index.wxss +0 -33
- package/miniprogram_dist/Lottery/components/PrizeCard/index.js +0 -19
- package/miniprogram_dist/Lottery/components/PrizeCard/index.json +0 -5
- package/miniprogram_dist/Lottery/components/PrizeCard/index.less +0 -42
- package/miniprogram_dist/Lottery/components/PrizeCard/index.wxml +0 -8
- package/miniprogram_dist/Lottery/components/PrizeCard/index.wxss +0 -42
- package/miniprogram_dist/Lottery/components/RewardList/RewardItem/index.js +0 -137
- package/miniprogram_dist/Lottery/components/RewardList/RewardItem/index.json +0 -6
- package/miniprogram_dist/Lottery/components/RewardList/RewardItem/index.less +0 -77
- package/miniprogram_dist/Lottery/components/RewardList/RewardItem/index.wxml +0 -14
- package/miniprogram_dist/Lottery/components/RewardList/RewardItem/index.wxss +0 -77
- package/miniprogram_dist/Lottery/components/RewardList/index.js +0 -70
- package/miniprogram_dist/Lottery/components/RewardList/index.json +0 -7
- package/miniprogram_dist/Lottery/components/RewardList/index.less +0 -62
- package/miniprogram_dist/Lottery/components/RewardList/index.wxml +0 -28
- package/miniprogram_dist/Lottery/components/RewardList/index.wxss +0 -62
- package/miniprogram_dist/Lottery/components/Winners/WinnerItem/index.js +0 -14
- package/miniprogram_dist/Lottery/components/Winners/WinnerItem/index.json +0 -6
- package/miniprogram_dist/Lottery/components/Winners/WinnerItem/index.less +0 -41
- package/miniprogram_dist/Lottery/components/Winners/WinnerItem/index.wxml +0 -8
- package/miniprogram_dist/Lottery/components/Winners/WinnerItem/index.wxss +0 -50
- package/miniprogram_dist/Lottery/components/Winners/index.js +0 -80
- package/miniprogram_dist/Lottery/components/Winners/index.json +0 -7
- package/miniprogram_dist/Lottery/components/Winners/index.less +0 -49
- package/miniprogram_dist/Lottery/components/Winners/index.wxml +0 -31
- package/miniprogram_dist/Lottery/components/Winners/index.wxss +0 -49
- package/miniprogram_dist/Lottery/constants.js +0 -119
- package/miniprogram_dist/Lottery/countdown.js +0 -88
- package/miniprogram_dist/Lottery/eventBus.js +0 -29
- package/miniprogram_dist/Lottery/remotePic.js +0 -52
- package/miniprogram_dist/Lottery/store/effect.js +0 -204
- package/miniprogram_dist/Lottery/store/index.js +0 -35
- package/miniprogram_dist/Lottery/store/reducer.js +0 -194
- package/miniprogram_dist/Lottery/store/util.js +0 -116
- package/miniprogram_dist/Lottery/utils.js +0 -68
- package/miniprogram_dist/PayComplete/Components/CouponItem/index.js +0 -51
- package/miniprogram_dist/PayComplete/Components/CouponItem/index.json +0 -4
- package/miniprogram_dist/PayComplete/Components/CouponItem/index.less +0 -143
- package/miniprogram_dist/PayComplete/Components/CouponItem/index.wxml +0 -47
- package/miniprogram_dist/PayComplete/Components/CouponItem/index.wxss +0 -122
- package/miniprogram_dist/PayComplete/Components/CouponItem/sub.wxs +0 -73
- package/miniprogram_dist/PayComplete/Components/LeadGroup/index.js +0 -95
- package/miniprogram_dist/PayComplete/Components/LeadGroup/index.json +0 -7
- package/miniprogram_dist/PayComplete/Components/LeadGroup/index.less +0 -38
- package/miniprogram_dist/PayComplete/Components/LeadGroup/index.wxml +0 -6
- package/miniprogram_dist/PayComplete/Components/LeadGroup/index.wxss +0 -33
- package/miniprogram_dist/PayComplete/Components/PayGifts/index.js +0 -130
- package/miniprogram_dist/PayComplete/Components/PayGifts/index.json +0 -6
- package/miniprogram_dist/PayComplete/Components/PayGifts/index.less +0 -178
- package/miniprogram_dist/PayComplete/Components/PayGifts/index.wxml +0 -58
- package/miniprogram_dist/PayComplete/Components/PayGifts/index.wxss +0 -157
- package/miniprogram_dist/PayComplete/Components/PayState/earnIntegral/index.js +0 -62
- package/miniprogram_dist/PayComplete/Components/PayState/earnIntegral/index.json +0 -6
- package/miniprogram_dist/PayComplete/Components/PayState/earnIntegral/index.less +0 -26
- package/miniprogram_dist/PayComplete/Components/PayState/earnIntegral/index.wxml +0 -4
- package/miniprogram_dist/PayComplete/Components/PayState/earnIntegral/index.wxss +0 -23
- package/miniprogram_dist/PayComplete/Components/PayState/index.js +0 -38
- package/miniprogram_dist/PayComplete/Components/PayState/index.json +0 -7
- package/miniprogram_dist/PayComplete/Components/PayState/index.less +0 -23
- package/miniprogram_dist/PayComplete/Components/PayState/index.wxml +0 -11
- package/miniprogram_dist/PayComplete/Components/PayState/index.wxss +0 -20
- package/miniprogram_dist/PayComplete/index.js +0 -143
- package/miniprogram_dist/PayComplete/index.json +0 -11
- package/miniprogram_dist/PayComplete/index.less +0 -16
- package/miniprogram_dist/PayComplete/index.wxml +0 -31
- package/miniprogram_dist/PayComplete/index.wxss +0 -16
- package/miniprogram_dist/PayModule/README.md +0 -0
- package/miniprogram_dist/PayModule/button/index.js +0 -44
- package/miniprogram_dist/PayModule/button/index.json +0 -6
- package/miniprogram_dist/PayModule/button/index.less +0 -16
- package/miniprogram_dist/PayModule/button/index.wxml +0 -8
- package/miniprogram_dist/PayModule/button/index.wxss +0 -28
- package/miniprogram_dist/PayModule/index/index.js +0 -254
- package/miniprogram_dist/PayModule/index/index.json +0 -7
- package/miniprogram_dist/PayModule/index/index.less +0 -0
- package/miniprogram_dist/PayModule/index/index.wxml +0 -12
- package/miniprogram_dist/PayModule/index/index.wxss +0 -1
- package/miniprogram_dist/PayModule/wechatLoading/index.js +0 -43
- package/miniprogram_dist/PayModule/wechatLoading/index.json +0 -4
- package/miniprogram_dist/PayModule/wechatLoading/index.less +0 -66
- package/miniprogram_dist/PayModule/wechatLoading/index.wxml +0 -12
- package/miniprogram_dist/PayModule/wechatLoading/index.wxss +0 -57
- package/miniprogram_dist/Recommend/index.js +0 -58
- package/miniprogram_dist/Recommend/index.json +0 -4
- package/miniprogram_dist/Recommend/index.less +0 -116
- package/miniprogram_dist/Recommend/index.wxml +0 -29
- package/miniprogram_dist/Recommend/index.wxss +0 -110
- package/miniprogram_dist/SharePoster/PosterDom/index.js +0 -1898
- package/miniprogram_dist/SharePoster/PosterDom/index.json +0 -5
- package/miniprogram_dist/SharePoster/PosterDom/index.less +0 -57
- package/miniprogram_dist/SharePoster/PosterDom/index.wxml +0 -13
- package/miniprogram_dist/SharePoster/PosterDom/index.wxss +0 -57
- package/miniprogram_dist/SharePoster/README.md +0 -10
- package/miniprogram_dist/SharePoster/ShareTextPopup/index.js +0 -66
- package/miniprogram_dist/SharePoster/ShareTextPopup/index.json +0 -7
- package/miniprogram_dist/SharePoster/ShareTextPopup/index.less +0 -75
- package/miniprogram_dist/SharePoster/ShareTextPopup/index.wxml +0 -29
- package/miniprogram_dist/SharePoster/ShareTextPopup/index.wxss +0 -75
- package/miniprogram_dist/SharePoster/components/saveTip/index.js +0 -40
- package/miniprogram_dist/SharePoster/components/saveTip/index.json +0 -5
- package/miniprogram_dist/SharePoster/components/saveTip/index.less +0 -0
- package/miniprogram_dist/SharePoster/components/saveTip/index.wxml +0 -6
- package/miniprogram_dist/SharePoster/components/saveTip/index.wxss +0 -21
- package/miniprogram_dist/SharePoster/components/settingModal/index.js +0 -38
- package/miniprogram_dist/SharePoster/components/settingModal/index.json +0 -5
- package/miniprogram_dist/SharePoster/components/settingModal/index.less +0 -0
- package/miniprogram_dist/SharePoster/components/settingModal/index.wxml +0 -9
- package/miniprogram_dist/SharePoster/components/settingModal/index.wxss +0 -45
- package/miniprogram_dist/SharePoster/components/shareCircleTip/index.js +0 -35
- package/miniprogram_dist/SharePoster/components/shareCircleTip/index.json +0 -5
- package/miniprogram_dist/SharePoster/components/shareCircleTip/index.wxml +0 -5
- package/miniprogram_dist/SharePoster/components/shareCircleTip/index.wxss +0 -35
- package/miniprogram_dist/SharePoster/components/unauthorizedModal/index.js +0 -35
- package/miniprogram_dist/SharePoster/components/unauthorizedModal/index.json +0 -5
- package/miniprogram_dist/SharePoster/components/unauthorizedModal/index.wxml +0 -11
- package/miniprogram_dist/SharePoster/components/unauthorizedModal/index.wxss +0 -51
- package/miniprogram_dist/SharePoster/createPoster/index.js +0 -201
- package/miniprogram_dist/SharePoster/createPoster/utils/drawImage.js +0 -267
- package/miniprogram_dist/SharePoster/createPoster/utils/util.js +0 -40
- package/miniprogram_dist/SharePoster/libs/constant.js +0 -57
- package/miniprogram_dist/SharePoster/libs/positionMap.js +0 -255
- package/miniprogram_dist/SharePoster/mockData/mockData.js +0 -591
- package/miniprogram_dist/SharePoster/sharePopup/index.js +0 -658
- package/miniprogram_dist/SharePoster/sharePopup/index.json +0 -13
- package/miniprogram_dist/SharePoster/sharePopup/index.less +0 -181
- package/miniprogram_dist/SharePoster/sharePopup/index.wxml +0 -94
- package/miniprogram_dist/SharePoster/sharePopup/index.wxss +0 -193
- package/miniprogram_dist/Sku/commSelect/index.js +0 -427
- package/miniprogram_dist/Sku/commSelect/index.json +0 -8
- package/miniprogram_dist/Sku/commSelect/index.less +0 -48
- package/miniprogram_dist/Sku/commSelect/index.wxml +0 -41
- package/miniprogram_dist/Sku/commSelect/index.wxss +0 -45
- package/miniprogram_dist/Sku/goods-info/index.js +0 -52
- package/miniprogram_dist/Sku/goods-info/index.json +0 -4
- package/miniprogram_dist/Sku/goods-info/index.less +0 -48
- package/miniprogram_dist/Sku/goods-info/index.wxml +0 -19
- package/miniprogram_dist/Sku/goods-info/index.wxss +0 -48
- package/miniprogram_dist/Sku/index/index.js +0 -280
- package/miniprogram_dist/Sku/index/index.json +0 -12
- package/miniprogram_dist/Sku/index/index.less +0 -78
- package/miniprogram_dist/Sku/index/index.wxml +0 -58
- package/miniprogram_dist/Sku/index/index.wxss +0 -50
- package/miniprogram_dist/Sku/row-item/index.js +0 -61
- package/miniprogram_dist/Sku/row-item/index.json +0 -4
- package/miniprogram_dist/Sku/row-item/index.less +0 -48
- package/miniprogram_dist/Sku/row-item/index.wxml +0 -10
- package/miniprogram_dist/Sku/row-item/index.wxss +0 -42
- package/miniprogram_dist/Sku/step/index.js +0 -95
- package/miniprogram_dist/Sku/step/index.json +0 -6
- package/miniprogram_dist/Sku/step/index.less +0 -11
- package/miniprogram_dist/Sku/step/index.wxml +0 -11
- package/miniprogram_dist/Sku/step/index.wxss +0 -11
- package/miniprogram_dist/TeacherGoodsList/Header/index.js +0 -36
- package/miniprogram_dist/TeacherGoodsList/Header/index.json +0 -6
- package/miniprogram_dist/TeacherGoodsList/Header/index.less +0 -47
- package/miniprogram_dist/TeacherGoodsList/Header/index.wxml +0 -27
- package/miniprogram_dist/TeacherGoodsList/Header/index.wxss +0 -45
- package/miniprogram_dist/TeacherGoodsList/README.md +0 -10
- package/miniprogram_dist/TeacherGoodsList/index.js +0 -269
- package/miniprogram_dist/TeacherGoodsList/index.json +0 -8
- package/miniprogram_dist/TeacherGoodsList/index.less +0 -53
- package/miniprogram_dist/TeacherGoodsList/index.wxml +0 -49
- package/miniprogram_dist/TeacherGoodsList/index.wxss +0 -50
- package/miniprogram_dist/common/api/confirmOrder.js +0 -218
- package/miniprogram_dist/common/api/coupon.js +0 -19
- package/miniprogram_dist/common/api/couponlist.js +0 -106
- package/miniprogram_dist/common/api/eLiveInvite.js +0 -46
- package/miniprogram_dist/common/api/liveGoodsList.js +0 -52
- package/miniprogram_dist/common/api/lottery.js +0 -57
- package/miniprogram_dist/common/api/pay.js +0 -42
- package/miniprogram_dist/common/api/payComplete.js +0 -22
- package/miniprogram_dist/common/api/sharePoster.js +0 -68
- package/miniprogram_dist/common/api/sku.js +0 -58
- package/miniprogram_dist/common/assets/copy.wxss +0 -3
- package/miniprogram_dist/common/assets/icon.png +0 -0
- package/miniprogram_dist/common/assets/images/activity.png +0 -0
- package/miniprogram_dist/common/assets/images/address.png +0 -0
- package/miniprogram_dist/common/assets/images/bg_gift@2x.png +0 -0
- package/miniprogram_dist/common/assets/images/close.png +0 -0
- package/miniprogram_dist/common/assets/images/coupon/coupon_bg.png +0 -0
- package/miniprogram_dist/common/assets/images/coupon/coupon_finish.png +0 -0
- package/miniprogram_dist/common/assets/images/coupon/coupon_select.png +0 -0
- package/miniprogram_dist/common/assets/images/coupon/coupon_style2.png +0 -0
- package/miniprogram_dist/common/assets/images/coupon/coupon_style2.svg +0 -30
- package/miniprogram_dist/common/assets/images/coupon/coupons_style2.svg +0 -30
- package/miniprogram_dist/common/assets/images/coupon/down.svg +0 -22
- package/miniprogram_dist/common/assets/images/coupon/emptypage.svg +0 -50
- package/miniprogram_dist/common/assets/images/coupon/expand.png +0 -0
- package/miniprogram_dist/common/assets/images/coupon/failed.png +0 -0
- package/miniprogram_dist/common/assets/images/coupon/failed.svg +0 -5
- package/miniprogram_dist/common/assets/images/coupon/finished.png +0 -0
- package/miniprogram_dist/common/assets/images/coupon/has_receive.png +0 -0
- package/miniprogram_dist/common/assets/images/coupon/has_recevie_style2.png +0 -0
- package/miniprogram_dist/common/assets/images/coupon/hint.png +0 -0
- package/miniprogram_dist/common/assets/images/coupon/icon_arrow.png +0 -0
- package/miniprogram_dist/common/assets/images/coupon/retract.png +0 -0
- package/miniprogram_dist/common/assets/images/coupon/seal_receivingPage_received.png +0 -0
- package/miniprogram_dist/common/assets/images/coupon/superposition_logo.png +0 -0
- package/miniprogram_dist/common/assets/images/coupon/up.svg +0 -22
- package/miniprogram_dist/common/assets/images/fingerprint.png +0 -0
- package/miniprogram_dist/common/assets/images/icon-tip.png +0 -0
- package/miniprogram_dist/common/assets/images/img_adrr.png +0 -0
- package/miniprogram_dist/common/assets/images/left.png +0 -0
- package/miniprogram_dist/common/assets/images/liveGoodsList/explaining.png +0 -0
- package/miniprogram_dist/common/assets/images/liveGoodsList/no-data.png +0 -0
- package/miniprogram_dist/common/assets/images/lottery/arrow-right.png +0 -0
- package/miniprogram_dist/common/assets/images/lottery/black-right-arrow.png +0 -0
- package/miniprogram_dist/common/assets/images/lottery/close-f-new.png +0 -0
- package/miniprogram_dist/common/assets/images/lottery/icon_back_black.png +0 -0
- package/miniprogram_dist/common/assets/images/lottery/is_not_winner.svg +0 -19
- package/miniprogram_dist/common/assets/images/lottery/lotteryV2_close.png +0 -0
- package/miniprogram_dist/common/assets/images/lottery/lottery_v1_back.svg +0 -19
- package/miniprogram_dist/common/assets/images/lottery/lottery_v1_close.svg +0 -19
- package/miniprogram_dist/common/assets/images/lottery/prize_icon_new_land.png +0 -0
- package/miniprogram_dist/common/assets/images/lottery/reward_list_title.svg +0 -19
- package/miniprogram_dist/common/assets/images/lottery/white_right_arrow.png +0 -0
- package/miniprogram_dist/common/assets/images/lottery/winner_list_smile_icon.svg +0 -56
- package/miniprogram_dist/common/assets/images/lottery/winner_list_title.svg +0 -19
- package/miniprogram_dist/common/assets/images/package.png +0 -0
- package/miniprogram_dist/common/assets/images/pay/loading.svg +0 -3
- package/miniprogram_dist/common/assets/images/recommend.svg +0 -6
- package/miniprogram_dist/common/assets/images/recommend_with_bg.png +0 -0
- package/miniprogram_dist/common/assets/images/refresh.svg +0 -10
- package/miniprogram_dist/common/assets/images/refresh_white.svg +0 -3
- package/miniprogram_dist/common/assets/images/replenish.png +0 -0
- package/miniprogram_dist/common/assets/images/search-bg.png +0 -0
- package/miniprogram_dist/common/assets/images/shop.png +0 -0
- package/miniprogram_dist/common/assets/images/success.png +0 -0
- package/miniprogram_dist/common/assets/images/tips.png +0 -0
- package/miniprogram_dist/common/assets/images/update.png +0 -0
- package/miniprogram_dist/common/assets/images/wechat.svg +0 -4
- package/miniprogram_dist/common/assets/images/wx.png +0 -0
- package/miniprogram_dist/common/assets/images/zhixiang.png +0 -0
- package/miniprogram_dist/common/css/index.less +0 -2
- package/miniprogram_dist/common/css/index.wxss +0 -1
- package/miniprogram_dist/common/css/theme.less +0 -20
- package/miniprogram_dist/common/css/theme.wxss +0 -16
- package/miniprogram_dist/common/libs/dataUp/sensorUp.js +0 -92
- package/miniprogram_dist/common/libs/playerHttp.js +0 -58
- package/miniprogram_dist/common/libs/playerRequestUrl.js +0 -40
- package/miniprogram_dist/common/utils/constants.js +0 -256
- package/miniprogram_dist/common/utils/currency.js +0 -52
- package/miniprogram_dist/common/utils/helper.js +0 -160
- package/miniprogram_dist/common/utils/index.js +0 -56
- package/miniprogram_dist/common/utils/postCouponList.js +0 -53
- package/miniprogram_dist/common/utils/tool.js +0 -66
- package/miniprogram_dist/common/wxs/filter.wxs +0 -30
- package/miniprogram_dist/coupon/README.md +0 -12
- package/miniprogram_dist/coupon/components/CouponItem/index.js +0 -176
- package/miniprogram_dist/coupon/components/CouponItem/index.json +0 -6
- package/miniprogram_dist/coupon/components/CouponItem/index.less +0 -208
- package/miniprogram_dist/coupon/components/CouponItem/index.wxml +0 -100
- package/miniprogram_dist/coupon/components/CouponItem/index.wxss +0 -195
- package/miniprogram_dist/coupon/components/CouponSelect/index.js +0 -324
- package/miniprogram_dist/coupon/components/CouponSelect/index.json +0 -9
- package/miniprogram_dist/coupon/components/CouponSelect/index.less +0 -238
- package/miniprogram_dist/coupon/components/CouponSelect/index.wxml +0 -75
- package/miniprogram_dist/coupon/components/CouponSelect/index.wxss +0 -249
- package/miniprogram_dist/coupon/index.css +0 -50
- package/miniprogram_dist/coupon/index.js +0 -205
- package/miniprogram_dist/coupon/index.json +0 -8
- package/miniprogram_dist/coupon/index.less +0 -51
- package/miniprogram_dist/coupon/index.wxml +0 -24
- package/miniprogram_dist/coupon/index.wxss +0 -50
- package/miniprogram_dist/index.js +0 -117
- package/miniprogram_dist/index.js.map +0 -1
- package/miniprogram_dist/index.json +0 -5
- package/miniprogram_dist/index.wxml +0 -2
- package/miniprogram_dist/index.wxss +0 -1
- package/miniprogram_dist/lib.js +0 -105
- package/miniprogram_dist/lib.js.map +0 -1
|
@@ -1,831 +0,0 @@
|
|
|
1
|
-
// src/ConfirmOrder/components/ConfirmOrderContent/index.js
|
|
2
|
-
import {
|
|
3
|
-
getConfirmOrderDetail,
|
|
4
|
-
getExpressSwitch,
|
|
5
|
-
getPickerInfo,
|
|
6
|
-
getGoodsPackage,
|
|
7
|
-
getSuperVipInfo,
|
|
8
|
-
getBusinessFeature,
|
|
9
|
-
getMarketingInfo,
|
|
10
|
-
getPrePayInfoV3,
|
|
11
|
-
getShopConf
|
|
12
|
-
} from "../../../common/api/confirmOrder"
|
|
13
|
-
import {
|
|
14
|
-
isEmptyObject
|
|
15
|
-
} from "../../../common/utils/index"
|
|
16
|
-
import {
|
|
17
|
-
postCouponList
|
|
18
|
-
} from "../../../common/utils/postCouponList"
|
|
19
|
-
import {
|
|
20
|
-
MEMBER,
|
|
21
|
-
SPECIAL_COLUMN,
|
|
22
|
-
BIG_SPECIAL_COLUMN,
|
|
23
|
-
TRAINING_CAMP,
|
|
24
|
-
} from "../../../common/utils/constants.js";
|
|
25
|
-
import {
|
|
26
|
-
debounce
|
|
27
|
-
} from "../../../common/utils/tool.js"
|
|
28
|
-
const computedBehavior = require('miniprogram-computed').behavior
|
|
29
|
-
|
|
30
|
-
Component({
|
|
31
|
-
behaviors: [computedBehavior],
|
|
32
|
-
/**
|
|
33
|
-
* 组件的属性列表
|
|
34
|
-
*/
|
|
35
|
-
properties: {
|
|
36
|
-
baseInfoQuery: {
|
|
37
|
-
type: Object,
|
|
38
|
-
value: () => {},
|
|
39
|
-
},
|
|
40
|
-
isCart: {
|
|
41
|
-
type: Number,
|
|
42
|
-
value: 0,
|
|
43
|
-
},
|
|
44
|
-
isTeam: {
|
|
45
|
-
type: Boolean,
|
|
46
|
-
default: false,
|
|
47
|
-
},
|
|
48
|
-
aliveInfo:{
|
|
49
|
-
type: Object,
|
|
50
|
-
value:{}
|
|
51
|
-
},
|
|
52
|
-
sensorReportParams:{
|
|
53
|
-
type: Object,
|
|
54
|
-
value:{}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
},
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* 组件的初始数据
|
|
61
|
-
*/
|
|
62
|
-
data: {
|
|
63
|
-
activeMode: 0, // 0:快递配送,1:自提
|
|
64
|
-
express_type: 1, // 接口下发配送信息 1-快递配送 2-商品自提
|
|
65
|
-
userCanPick: 1, // 商家是否支持自提 1支持 0不支持
|
|
66
|
-
shopConf: {},
|
|
67
|
-
confirmOrderInfo: {
|
|
68
|
-
// 订单页详细信息(通过查询接口拿到)
|
|
69
|
-
app_info: {},
|
|
70
|
-
goods_info: {},
|
|
71
|
-
},
|
|
72
|
-
distributionMode: 0, // 配送方式 -1全部 1快递配送 2商品自提 (目前只支持实物商品,非实物商品返回0)
|
|
73
|
-
resource_id: "",
|
|
74
|
-
addressInfo: {}, // 地址信息(非自提)
|
|
75
|
-
pickerUserInfo: {}, // 自提人信息
|
|
76
|
-
hasEntityGoods: false, // 商品套餐是否包含实物商品
|
|
77
|
-
superVipInfo: {}, // 超级会员信息
|
|
78
|
-
businessConf: {},
|
|
79
|
-
marketingData: {}, //营销数据
|
|
80
|
-
isShowPoint: false, // 是否显示选择提货点组件
|
|
81
|
-
isShowSelectShipper: false, // 是否显示选择提货人组件
|
|
82
|
-
isShowCreateShipper: false, // 是否显示新增、编辑提货人组件
|
|
83
|
-
isShowAddressManage: false, // 是否显示地址管理组件(非自提)
|
|
84
|
-
isShowEditAddress: false, // 是否显示新建、编辑组件(非自提)
|
|
85
|
-
addressQuery: {}, // 地址相关组件需要的入参
|
|
86
|
-
marketingDataLoaded: false, //营销数据加载
|
|
87
|
-
cartInfoLoaded: false, //购物车数据加载
|
|
88
|
-
addressInfoLoaded: false, //地址信息加载
|
|
89
|
-
backType: 0, // 弹框顶部返回按钮操作
|
|
90
|
-
backPage: 1, // 1:确认订单页面大组件
|
|
91
|
-
shipperType: 1, // 1:新建自提人;2:编辑自提人
|
|
92
|
-
checkList: {}, // 支付前校验信息
|
|
93
|
-
beforePay: {}, // 支付前校验函数
|
|
94
|
-
afterPay: {}, // 支付后的参数
|
|
95
|
-
afterPayCallback: {}, // 支付后回调
|
|
96
|
-
payParams: {},
|
|
97
|
-
prePayParams: {}, //批价信息参数
|
|
98
|
-
getPrePayInfoReset: null, // 批价防抖函数回调
|
|
99
|
-
//错误信息
|
|
100
|
-
errMsg: {
|
|
101
|
-
10309: "该商品已售罄",
|
|
102
|
-
30201: "商家未设置支付方式,请联系商家处理",
|
|
103
|
-
30202: "支付失败,请联系商家处理",
|
|
104
|
-
10029: "已拥有,不可重复购买",
|
|
105
|
-
10067: "该商品已下架,不支持继续购买!",
|
|
106
|
-
10100: "该商品可能已下架或价格变更,请稍后再试。",
|
|
107
|
-
10306: "拼团失败,请刷新重试。",
|
|
108
|
-
10308: "活动即将开始",
|
|
109
|
-
10310: "商家正努力补货中",
|
|
110
|
-
10312: "未预约该活动",
|
|
111
|
-
20012: "购买数量超过活动限制。",
|
|
112
|
-
20020: "该团已满,请重新下单。",
|
|
113
|
-
20021: "该活动已结束。",
|
|
114
|
-
20011: "您已参与本团,不可重复参与。",
|
|
115
|
-
20077: "配送区域已更新,此收货地址超出配送范围,请重新选择",
|
|
116
|
-
20023: "单笔订单最多可购买1000件",
|
|
117
|
-
},
|
|
118
|
-
},
|
|
119
|
-
|
|
120
|
-
options: {
|
|
121
|
-
addGlobalClass: true
|
|
122
|
-
},
|
|
123
|
-
|
|
124
|
-
lifetimes: {
|
|
125
|
-
attached: async function () {
|
|
126
|
-
// 在组件实例进入页面节点树时执行
|
|
127
|
-
// 初始化数据
|
|
128
|
-
this.initData();
|
|
129
|
-
if (this.data.baseInfoQuery?.isCollectCoupons) {
|
|
130
|
-
const {
|
|
131
|
-
resource_id,
|
|
132
|
-
resource_type,
|
|
133
|
-
spu_id
|
|
134
|
-
} = this.data.baseInfoQuery
|
|
135
|
-
await postCouponList(spu_id || resource_id, resource_type).then(() => {
|
|
136
|
-
wx.showToast({
|
|
137
|
-
title: '您已享有最佳优惠,下单更优惠~',
|
|
138
|
-
icon: 'none',
|
|
139
|
-
duration: 2000
|
|
140
|
-
})
|
|
141
|
-
}).catch((err) => {
|
|
142
|
-
console.log("优惠券获取列表报错或者没有可领券", err)
|
|
143
|
-
})
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
},
|
|
147
|
-
computed: {
|
|
148
|
-
isShowMain(data) {
|
|
149
|
-
return (
|
|
150
|
-
!data.isShowPoint &&
|
|
151
|
-
!data.isShowSelectShipper &&
|
|
152
|
-
!data.isShowCreateShipper &&
|
|
153
|
-
!data.isShowAddressManage &&
|
|
154
|
-
!data.isShowEditAddress
|
|
155
|
-
)
|
|
156
|
-
},
|
|
157
|
-
//判断模式选择tab栏的显示和隐藏
|
|
158
|
-
showModeSelect(data) {
|
|
159
|
-
return data.distributionMode === -1 && data.userCanPick === 1;
|
|
160
|
-
},
|
|
161
|
-
// 显示地址栏的情况 商品有两种配送方式,商家关闭自提/购物车
|
|
162
|
-
showAddressSelect(data) {
|
|
163
|
-
return (
|
|
164
|
-
data.activeMode === 0 &&
|
|
165
|
-
(data.distributionMode === -1 || data.distributionMode === 1)
|
|
166
|
-
);
|
|
167
|
-
},
|
|
168
|
-
// 商品信息
|
|
169
|
-
goodsInfo(data) {
|
|
170
|
-
if (isEmptyObject(data.confirmOrderInfo.goods_info)) {
|
|
171
|
-
return data.baseInfoQuery;
|
|
172
|
-
}
|
|
173
|
-
return data.confirmOrderInfo.goods_info;
|
|
174
|
-
},
|
|
175
|
-
//通过商家是否开启自提和自提选择 决定自提组件的显示和隐藏
|
|
176
|
-
showPickSelf(data) {
|
|
177
|
-
return (
|
|
178
|
-
data.userCanPick === 1 &&
|
|
179
|
-
(data.activeMode === 1 || data.distributionMode === 2)
|
|
180
|
-
);
|
|
181
|
-
},
|
|
182
|
-
// 公共批价请求参数
|
|
183
|
-
commonPrePayParams(data) {
|
|
184
|
-
let spuType = data.baseInfoQuery.spu_type;
|
|
185
|
-
let coursePackage = [
|
|
186
|
-
MEMBER,
|
|
187
|
-
SPECIAL_COLUMN,
|
|
188
|
-
BIG_SPECIAL_COLUMN,
|
|
189
|
-
TRAINING_CAMP,
|
|
190
|
-
];
|
|
191
|
-
let paymentType = 2;
|
|
192
|
-
if (coursePackage.includes(spuType)) {
|
|
193
|
-
paymentType = 3;
|
|
194
|
-
}
|
|
195
|
-
return {
|
|
196
|
-
pre_pay_type: data.baseInfoQuery.pre_pay_type || 1,
|
|
197
|
-
resource_id: data.baseInfoQuery.resource_id,
|
|
198
|
-
spu_id: data.baseInfoQuery.id,
|
|
199
|
-
count: data.baseInfoQuery.count,
|
|
200
|
-
// product_id: data.baseInfoQuery.id,
|
|
201
|
-
product_id: '',
|
|
202
|
-
resource_type: data.baseInfoQuery.resource_type,
|
|
203
|
-
spu_type: spuType,
|
|
204
|
-
payment_type: paymentType,
|
|
205
|
-
sku_id: data.baseInfoQuery.sku,
|
|
206
|
-
};
|
|
207
|
-
},
|
|
208
|
-
// 通过请求获取的批价参数是否都已加载完毕
|
|
209
|
-
prePayParamsInfoLoaded(data) {
|
|
210
|
-
return (
|
|
211
|
-
((data.marketingDataLoaded && !data.isCart) ||
|
|
212
|
-
(data.isCart && data.cartInfoLoaded)) &&
|
|
213
|
-
(data.addressInfoLoaded ||
|
|
214
|
-
Object.keys(data.pickerUserInfo).length > 0 ||
|
|
215
|
-
data.activeMode === 0)
|
|
216
|
-
//加入商品自提后,这里判断是否加载完自提人消息来确定批价参数是否加载完毕
|
|
217
|
-
//每次切换提货模式时也要触发商品批价信息
|
|
218
|
-
);
|
|
219
|
-
},
|
|
220
|
-
},
|
|
221
|
-
observers: {
|
|
222
|
-
distributionMode(val) {
|
|
223
|
-
if (val === 1) {
|
|
224
|
-
this.setData({
|
|
225
|
-
express_type: val
|
|
226
|
-
})
|
|
227
|
-
} else if (val === 2) {
|
|
228
|
-
this.setData({
|
|
229
|
-
express_type: val
|
|
230
|
-
})
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
marketingData(marketingData) {
|
|
234
|
-
// 这里的逻辑应该是存在拼团的时候那么payment_type就要赋值为13,如果是限时折扣或者是单买的话,payment_type不做赋值默认为2
|
|
235
|
-
if (
|
|
236
|
-
marketingData &&
|
|
237
|
-
marketingData.payment_type &&
|
|
238
|
-
this.data.isTeam === "true"
|
|
239
|
-
) {
|
|
240
|
-
this.payInfoChange({
|
|
241
|
-
name: "marketingData",
|
|
242
|
-
prePayParams: {
|
|
243
|
-
payment_type: marketingData.payment_type,
|
|
244
|
-
},
|
|
245
|
-
});
|
|
246
|
-
}
|
|
247
|
-
this.setData({
|
|
248
|
-
marketingDataLoaded: true
|
|
249
|
-
})
|
|
250
|
-
},
|
|
251
|
-
isShowCreateShipper(val) {
|
|
252
|
-
if (val) {
|
|
253
|
-
if (this.data.shipperType === 1) {
|
|
254
|
-
this.triggerEvent("changeSheetInfo", {
|
|
255
|
-
title: "新建提货人",
|
|
256
|
-
})
|
|
257
|
-
} else {
|
|
258
|
-
this.triggerEvent("changeSheetInfo", {
|
|
259
|
-
title: "编辑提货人",
|
|
260
|
-
})
|
|
261
|
-
}
|
|
262
|
-
this.triggerEvent("changeSheetInfo", {
|
|
263
|
-
showClose: false,
|
|
264
|
-
showBack: true,
|
|
265
|
-
})
|
|
266
|
-
this.setData({
|
|
267
|
-
backType: 3
|
|
268
|
-
})
|
|
269
|
-
} else {
|
|
270
|
-
this.backClick();
|
|
271
|
-
}
|
|
272
|
-
},
|
|
273
|
-
showPickSelf(val) {
|
|
274
|
-
if (!val) {
|
|
275
|
-
this.payInfoChange({
|
|
276
|
-
name: "pickerUserInfo",
|
|
277
|
-
errMsg: "",
|
|
278
|
-
});
|
|
279
|
-
this.payInfoChange({
|
|
280
|
-
name: "address",
|
|
281
|
-
errMsg: "",
|
|
282
|
-
});
|
|
283
|
-
}
|
|
284
|
-
},
|
|
285
|
-
isShowSelectShipper: function (newData) {
|
|
286
|
-
if (newData) {
|
|
287
|
-
this.triggerEvent("changeSheetInfo", {
|
|
288
|
-
title: "选择提货人",
|
|
289
|
-
showClose: false,
|
|
290
|
-
showBack: true,
|
|
291
|
-
})
|
|
292
|
-
this.setData({
|
|
293
|
-
backType: 2
|
|
294
|
-
})
|
|
295
|
-
} else {
|
|
296
|
-
this.backClick();
|
|
297
|
-
}
|
|
298
|
-
},
|
|
299
|
-
isShowAddressManage(newData) {
|
|
300
|
-
if (newData) {
|
|
301
|
-
this.triggerEvent("changeSheetInfo", {
|
|
302
|
-
title: "选择地址",
|
|
303
|
-
showClose: false,
|
|
304
|
-
showBack: true,
|
|
305
|
-
})
|
|
306
|
-
this.setData({
|
|
307
|
-
backType: 4
|
|
308
|
-
})
|
|
309
|
-
} else {
|
|
310
|
-
if (!this.data.isShowEditAddress) {
|
|
311
|
-
this.backClick()
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
isShowEditAddress(newData) {
|
|
316
|
-
if (newData) {
|
|
317
|
-
this.triggerEvent("changeSheetInfo", {
|
|
318
|
-
title: "地址编辑",
|
|
319
|
-
showClose: false,
|
|
320
|
-
showBack: true,
|
|
321
|
-
})
|
|
322
|
-
this.setData({
|
|
323
|
-
backType: 5
|
|
324
|
-
})
|
|
325
|
-
} else {
|
|
326
|
-
this.backClick()
|
|
327
|
-
}
|
|
328
|
-
},
|
|
329
|
-
isShowPoint: function (newData) {
|
|
330
|
-
if (newData) {
|
|
331
|
-
this.triggerEvent("changeSheetInfo", {
|
|
332
|
-
title: "提货地址",
|
|
333
|
-
showClose: false,
|
|
334
|
-
showBack: true,
|
|
335
|
-
})
|
|
336
|
-
this.setData({
|
|
337
|
-
backType: 1
|
|
338
|
-
})
|
|
339
|
-
} else {
|
|
340
|
-
this.backClick();
|
|
341
|
-
}
|
|
342
|
-
},
|
|
343
|
-
prePayParamsInfoLoaded(val) {
|
|
344
|
-
if (val) {
|
|
345
|
-
let obj = {
|
|
346
|
-
...this.data.commonPrePayParams,
|
|
347
|
-
...this.data.prePayParams,
|
|
348
|
-
}
|
|
349
|
-
this.setData({
|
|
350
|
-
getPrePayInfoReset: this.getPrePayInfo(obj)
|
|
351
|
-
})
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
|
-
},
|
|
355
|
-
/**
|
|
356
|
-
* 组件的方法列表
|
|
357
|
-
*/
|
|
358
|
-
methods: {
|
|
359
|
-
// 初始化店铺设置信息
|
|
360
|
-
initShopConf() {
|
|
361
|
-
getShopConf().then(res => {
|
|
362
|
-
if (res.data.code === 0) {
|
|
363
|
-
this.setData({
|
|
364
|
-
shopConf: res.data.data
|
|
365
|
-
})
|
|
366
|
-
}
|
|
367
|
-
})
|
|
368
|
-
},
|
|
369
|
-
// 做防抖处理,避免短时间触发多次批价
|
|
370
|
-
getPrePayInfo: debounce(function (payload) {
|
|
371
|
-
// console.log("val: ", val);
|
|
372
|
-
// let payload = val[0]
|
|
373
|
-
if (!payload["resource_id"]) {
|
|
374
|
-
payload = {
|
|
375
|
-
...payload,
|
|
376
|
-
resource_id: this.data.resource_id,
|
|
377
|
-
};
|
|
378
|
-
}
|
|
379
|
-
this.setData({
|
|
380
|
-
prePayParams: payload
|
|
381
|
-
})
|
|
382
|
-
wx.showLoading({
|
|
383
|
-
mask: true,
|
|
384
|
-
title: '加载中'
|
|
385
|
-
})
|
|
386
|
-
return getPrePayInfoV3(payload).then(res => {
|
|
387
|
-
wx.hideLoading()
|
|
388
|
-
if (res.data.code === 0) {
|
|
389
|
-
this.setData({
|
|
390
|
-
prePayInfo: res.data.data
|
|
391
|
-
})
|
|
392
|
-
} else {
|
|
393
|
-
this.handlePreErrorCode(res.data);
|
|
394
|
-
}
|
|
395
|
-
if (wx.getStorageSync('toastWarn')) {
|
|
396
|
-
wx.showToast({
|
|
397
|
-
title: "单笔订单最多可购买1000件",
|
|
398
|
-
icon: 'none',
|
|
399
|
-
duration: 2000
|
|
400
|
-
})
|
|
401
|
-
setTimeout(() => {
|
|
402
|
-
wx.removeStorage({
|
|
403
|
-
key: "toastWarn"
|
|
404
|
-
})
|
|
405
|
-
}, 3000)
|
|
406
|
-
}
|
|
407
|
-
if (res.data.code === 10310 || res.data.code === 10309) {
|
|
408
|
-
this.setData({
|
|
409
|
-
["checkList.order"]: "商家努力补货中"
|
|
410
|
-
})
|
|
411
|
-
} else {
|
|
412
|
-
this.setData({
|
|
413
|
-
["checkList.order"]: ""
|
|
414
|
-
})
|
|
415
|
-
}
|
|
416
|
-
}).catch((err) => console.log(err))
|
|
417
|
-
}, 1000),
|
|
418
|
-
handlePreErrorCode(res) {
|
|
419
|
-
if (res.code !== 20077) {
|
|
420
|
-
this.handleErrorCode(res);
|
|
421
|
-
}
|
|
422
|
-
},
|
|
423
|
-
handleErrorCode(res) {
|
|
424
|
-
// 重复支付错误code特殊逻辑,不做toast处理,弹窗处理
|
|
425
|
-
if (res.code === 20022) {
|
|
426
|
-
return;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
if (res.code === 10061001) {
|
|
430
|
-
wx.showToast({
|
|
431
|
-
title: "订单信息有变化, 请刷新后重试",
|
|
432
|
-
icon: 'none',
|
|
433
|
-
duration: 2000
|
|
434
|
-
})
|
|
435
|
-
setTimeout(() => {
|
|
436
|
-
this.onLoad()
|
|
437
|
-
}, 1000);
|
|
438
|
-
return;
|
|
439
|
-
}
|
|
440
|
-
wx.showToast({
|
|
441
|
-
title: this.data.errMsg[res.code] || res.msg,
|
|
442
|
-
icon: 'none',
|
|
443
|
-
duration: 2000
|
|
444
|
-
})
|
|
445
|
-
},
|
|
446
|
-
/**
|
|
447
|
-
* @description: 支付参数改变事件,用于约束各业务测支付参数传参
|
|
448
|
-
* @param {string} data.name 业务侧名称,用于区分各业务侧参数
|
|
449
|
-
* @param {string} data.errMsg [同步校验]业务侧参数提示信息,用于支付前判断,目前主要用于判空提示(若为disabled标明只禁止提交,不弹提示。如信息采集,必须等信息采集加载完才能进行提交)
|
|
450
|
-
* @param {promise} data.beforePay [异步校验]业务侧用于进行支付前校验的校验方法, 这里为一个function,并返回一个Promise,resolve返回校验成功true或者校验失败false
|
|
451
|
-
* @param {object} data.prePayParams 业务侧涉及的批价参数,当有此参数时,会触发重新批价
|
|
452
|
-
* @param {object} data.payParams 业务侧涉及的支付参数,用于支付时传参
|
|
453
|
-
* @param {object} data.afterPay 业务侧支付后使用的一些参数 callBack: 支付完成后回调,支付完成后就只执行此回调方法,回调可返回支付完成后的跳转页面;
|
|
454
|
-
* srcUrl:支付失败跳转页面;backUrl: 支付成功跳转页面
|
|
455
|
-
* @param {Boolean} data.triggerPrePay 本次修改是否触发批价
|
|
456
|
-
*/
|
|
457
|
-
payInfoChange(val) {
|
|
458
|
-
let data = {};
|
|
459
|
-
val.detail ? data = val.detail : data = val
|
|
460
|
-
this.setData({
|
|
461
|
-
[`checkList.${data.name}`]: data.errMsg || ""
|
|
462
|
-
})
|
|
463
|
-
if (data.beforePay) {
|
|
464
|
-
this.setData({
|
|
465
|
-
[`beforePay.${data.name}`]: data.beforePay
|
|
466
|
-
})
|
|
467
|
-
}
|
|
468
|
-
if (data.afterPay) {
|
|
469
|
-
let {
|
|
470
|
-
callBack,
|
|
471
|
-
...others
|
|
472
|
-
} = data.afterPay;
|
|
473
|
-
this.setData({
|
|
474
|
-
afterPay: {
|
|
475
|
-
...this.data.afterPay,
|
|
476
|
-
...others,
|
|
477
|
-
}
|
|
478
|
-
})
|
|
479
|
-
if (callBack) {
|
|
480
|
-
this.setData({
|
|
481
|
-
[`afterPayCallback.${data.name}`]: callBack
|
|
482
|
-
})
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
// 支付参数处理
|
|
486
|
-
if (data.payParams) {
|
|
487
|
-
this.setData({
|
|
488
|
-
payParams: {
|
|
489
|
-
...this.data.payParams,
|
|
490
|
-
...data.payParams,
|
|
491
|
-
}
|
|
492
|
-
})
|
|
493
|
-
}
|
|
494
|
-
if (data.prePayParams) {
|
|
495
|
-
// 更新业务批价参数
|
|
496
|
-
this.setData({
|
|
497
|
-
prePayParams: {
|
|
498
|
-
...this.data.prePayParams,
|
|
499
|
-
...data.prePayParams,
|
|
500
|
-
}
|
|
501
|
-
})
|
|
502
|
-
if (this.data.prePayParamsInfoLoaded && data.triggerPrePay !== false) {
|
|
503
|
-
let obj = {
|
|
504
|
-
...this.data.commonPrePayParams,
|
|
505
|
-
...this.data.prePayParams,
|
|
506
|
-
}
|
|
507
|
-
this.setData({
|
|
508
|
-
getPrePayInfoReset: this.getPrePayInfo(obj)
|
|
509
|
-
})
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
},
|
|
513
|
-
// 返回箭头点击事件
|
|
514
|
-
backClick() {
|
|
515
|
-
switch (this.data.backType) {
|
|
516
|
-
case 1:
|
|
517
|
-
this.triggerEvent("changeSheetInfo", {
|
|
518
|
-
title: "确认订单",
|
|
519
|
-
showClose: true,
|
|
520
|
-
showBack: false,
|
|
521
|
-
})
|
|
522
|
-
this.setData({
|
|
523
|
-
isShowPoint: false,
|
|
524
|
-
backType: 0
|
|
525
|
-
})
|
|
526
|
-
break;
|
|
527
|
-
case 2:
|
|
528
|
-
this.triggerEvent("changeSheetInfo", {
|
|
529
|
-
title: "确认订单",
|
|
530
|
-
showClose: true,
|
|
531
|
-
showBack: false,
|
|
532
|
-
})
|
|
533
|
-
this.setData({
|
|
534
|
-
isShowSelectShipper: false,
|
|
535
|
-
backType: 0
|
|
536
|
-
})
|
|
537
|
-
break;
|
|
538
|
-
case 3:
|
|
539
|
-
if (this.data.backPage === 1) {
|
|
540
|
-
this.triggerEvent("changeSheetInfo", {
|
|
541
|
-
title: "确认订单",
|
|
542
|
-
showBack: false,
|
|
543
|
-
});
|
|
544
|
-
} else {
|
|
545
|
-
this.setData({
|
|
546
|
-
isShowSelectShipper: true,
|
|
547
|
-
})
|
|
548
|
-
this.triggerEvent("changeSheetInfo", {
|
|
549
|
-
title: "选择提货人",
|
|
550
|
-
showBack: true,
|
|
551
|
-
});
|
|
552
|
-
}
|
|
553
|
-
this.triggerEvent("changeSheetInfo", {
|
|
554
|
-
showClose: true,
|
|
555
|
-
});
|
|
556
|
-
this.setData({
|
|
557
|
-
isShowCreateShipper: false,
|
|
558
|
-
backType: 0
|
|
559
|
-
})
|
|
560
|
-
break;
|
|
561
|
-
case 4:
|
|
562
|
-
this.setData({
|
|
563
|
-
isShowAddressManage: false,
|
|
564
|
-
backType: 0
|
|
565
|
-
})
|
|
566
|
-
this.triggerEvent("changeSheetInfo", {
|
|
567
|
-
title: "确认订单",
|
|
568
|
-
showClose: true,
|
|
569
|
-
showBack: false,
|
|
570
|
-
})
|
|
571
|
-
break;
|
|
572
|
-
case 5:
|
|
573
|
-
this.setData({
|
|
574
|
-
isShowEditAddress: false,
|
|
575
|
-
backType: 0
|
|
576
|
-
})
|
|
577
|
-
this.triggerEvent("changeSheetInfo", {
|
|
578
|
-
title: "确认订单",
|
|
579
|
-
showClose: true,
|
|
580
|
-
showBack: false,
|
|
581
|
-
})
|
|
582
|
-
break;
|
|
583
|
-
}
|
|
584
|
-
},
|
|
585
|
-
// 供子组件修改父组件值
|
|
586
|
-
updataData(e) {
|
|
587
|
-
this.setData({
|
|
588
|
-
...e.detail
|
|
589
|
-
})
|
|
590
|
-
},
|
|
591
|
-
async handleInfo() {
|
|
592
|
-
let result = await this.initConfirmOrderInfo();
|
|
593
|
-
this.handleOrderInfo(result);
|
|
594
|
-
wx.hideLoading()
|
|
595
|
-
},
|
|
596
|
-
// 初始化数据,请求相应接口
|
|
597
|
-
async initData() {
|
|
598
|
-
if (!this.data.shopConf || isEmptyObject(this.data.shopConf)) {
|
|
599
|
-
// 页面刷新重新初始化店铺设置信息
|
|
600
|
-
this.initShopConf();
|
|
601
|
-
}
|
|
602
|
-
let result = await this.initConfirmOrderInfo();
|
|
603
|
-
this.handleOrderInfo(result);
|
|
604
|
-
this.initDeliveryState();
|
|
605
|
-
this.initPickerInfo();
|
|
606
|
-
this.initGoodsPackage();
|
|
607
|
-
this.initSuperVipInfo();
|
|
608
|
-
this.initBusinessFeatureConf();
|
|
609
|
-
if (!this.data.isCart) {
|
|
610
|
-
this.initMarketingData();
|
|
611
|
-
}
|
|
612
|
-
},
|
|
613
|
-
// 获取营销活动信息
|
|
614
|
-
initMarketingData() {
|
|
615
|
-
wx.showLoading({
|
|
616
|
-
mask: true,
|
|
617
|
-
title: '加载中'
|
|
618
|
-
})
|
|
619
|
-
let params = {
|
|
620
|
-
spu_id: this.data.baseInfoQuery.id,
|
|
621
|
-
spu_type: this.data.baseInfoQuery.spu_type,
|
|
622
|
-
resource_type: this.data.baseInfoQuery.resource_type,
|
|
623
|
-
}
|
|
624
|
-
getMarketingInfo(params).then(val => {
|
|
625
|
-
let res = val.data;
|
|
626
|
-
if (res.code === 0) {
|
|
627
|
-
let marketing_info = res.data.marketing_info;
|
|
628
|
-
if (
|
|
629
|
-
marketing_info?.activity_type === 3 &&
|
|
630
|
-
!(
|
|
631
|
-
(marketing_info?.all_stock > 0 &&
|
|
632
|
-
marketing_info?.now_stock > 0) ||
|
|
633
|
-
marketing_info?.all_stock == 0
|
|
634
|
-
) &&
|
|
635
|
-
![21, 29, 41, 42].includes(marketing_info.resource_type)
|
|
636
|
-
) {
|
|
637
|
-
// 这里的逻辑要注意,如果接口返回了营销信息但工程拿不到的话,问题就在这里。
|
|
638
|
-
// 如果是限时折扣,且达到了限量后,就应该不显示限时折扣的信息了,我选择在源头就断了这个数据,但保留了推广员的信息
|
|
639
|
-
// 且这里不能是多规格的商品,因为多规格的商品没有限量的设置,如果你看到的时候已经准备有了,麻烦跟产品说这需求咱不接,咱不受这鸟气
|
|
640
|
-
res.data.marketing_info = null;
|
|
641
|
-
}
|
|
642
|
-
this.setData({
|
|
643
|
-
marketingData: res.data
|
|
644
|
-
})
|
|
645
|
-
} else {
|
|
646
|
-
this.setData({
|
|
647
|
-
marketingDataLoaded: true
|
|
648
|
-
})
|
|
649
|
-
}
|
|
650
|
-
}).catch((err) => console.log(err))
|
|
651
|
-
.finally(() => {
|
|
652
|
-
// // wx.hideLoading()
|
|
653
|
-
})
|
|
654
|
-
},
|
|
655
|
-
// 业务特性信息
|
|
656
|
-
initBusinessFeatureConf() {
|
|
657
|
-
wx.showLoading({
|
|
658
|
-
mask: true,
|
|
659
|
-
title: '加载中'
|
|
660
|
-
})
|
|
661
|
-
let params = {
|
|
662
|
-
spu_id: this.data.baseInfoQuery.id
|
|
663
|
-
}
|
|
664
|
-
getBusinessFeature(params).then(res => {
|
|
665
|
-
if (res.data.code === 0) {
|
|
666
|
-
this.setData({
|
|
667
|
-
businessConf: res.data.data
|
|
668
|
-
})
|
|
669
|
-
}
|
|
670
|
-
}).catch((err) => console.log(err))
|
|
671
|
-
.finally(() => {
|
|
672
|
-
// wx.hideLoading()
|
|
673
|
-
})
|
|
674
|
-
},
|
|
675
|
-
// 获取超级会员相关信息
|
|
676
|
-
initSuperVipInfo() {
|
|
677
|
-
wx.showLoading({
|
|
678
|
-
mask: true,
|
|
679
|
-
title: '加载中'
|
|
680
|
-
})
|
|
681
|
-
let params = {
|
|
682
|
-
resource_id: this.data.baseInfoQuery.resource_id || this.data.resource_id,
|
|
683
|
-
resource_type: this.data.baseInfoQuery.resource_type,
|
|
684
|
-
};
|
|
685
|
-
getSuperVipInfo(params).then(res => {
|
|
686
|
-
if (res.data.code === 0) {
|
|
687
|
-
this.setData({
|
|
688
|
-
superVipInfo: res.data.data
|
|
689
|
-
})
|
|
690
|
-
}
|
|
691
|
-
}).catch((err) => console.log(err))
|
|
692
|
-
.finally(() => {
|
|
693
|
-
// wx.hideLoading()
|
|
694
|
-
})
|
|
695
|
-
},
|
|
696
|
-
// 商品的套餐信息
|
|
697
|
-
initGoodsPackage() {
|
|
698
|
-
wx.showLoading({
|
|
699
|
-
mask: true,
|
|
700
|
-
title: '加载中'
|
|
701
|
-
})
|
|
702
|
-
let params = {
|
|
703
|
-
spu_id: this.data.baseInfoQuery.spu_id,
|
|
704
|
-
}
|
|
705
|
-
getGoodsPackage(params).then(res => {
|
|
706
|
-
let {
|
|
707
|
-
code,
|
|
708
|
-
data: goodsPackage
|
|
709
|
-
} = res.data
|
|
710
|
-
if (code === 0) {
|
|
711
|
-
this.setData({
|
|
712
|
-
hasEntityGoods: goodsPackage.entity_goods_num > 0 ? true : false
|
|
713
|
-
})
|
|
714
|
-
if (this.data.baseInfoQuery.spu_type != "ENT" && goodsPackage.has_package) {
|
|
715
|
-
this.setData({
|
|
716
|
-
distributionMode: goodsPackage.package_delivery
|
|
717
|
-
})
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
}).catch((err) => console.log(err))
|
|
721
|
-
.finally(() => {
|
|
722
|
-
// wx.hideLoading()
|
|
723
|
-
})
|
|
724
|
-
},
|
|
725
|
-
// 进入页面 初始化自提人信息
|
|
726
|
-
initPickerInfo() {
|
|
727
|
-
wx.showLoading({
|
|
728
|
-
mask: true,
|
|
729
|
-
title: '加载中'
|
|
730
|
-
})
|
|
731
|
-
getPickerInfo().then(res => {
|
|
732
|
-
if (res.data.code === 0) {
|
|
733
|
-
this.setData({
|
|
734
|
-
pickerUserInfo: res.data.data || {}
|
|
735
|
-
})
|
|
736
|
-
}
|
|
737
|
-
}).catch((err) => console.log(err))
|
|
738
|
-
.finally(() => {
|
|
739
|
-
// wx.hideLoading()
|
|
740
|
-
})
|
|
741
|
-
},
|
|
742
|
-
// 初始化订单页基本信息
|
|
743
|
-
initConfirmOrderInfo() {
|
|
744
|
-
let {
|
|
745
|
-
id,
|
|
746
|
-
resource_type,
|
|
747
|
-
spu_type,
|
|
748
|
-
sku
|
|
749
|
-
} = this.data.baseInfoQuery
|
|
750
|
-
let params = {
|
|
751
|
-
spu_id: id,
|
|
752
|
-
resource_type,
|
|
753
|
-
spu_type,
|
|
754
|
-
address_id: this.data.addressInfo.id || "",
|
|
755
|
-
sku_id: sku || "",
|
|
756
|
-
}
|
|
757
|
-
wx.showLoading({
|
|
758
|
-
mask: true,
|
|
759
|
-
title: '加载中'
|
|
760
|
-
})
|
|
761
|
-
return getConfirmOrderDetail(params)
|
|
762
|
-
},
|
|
763
|
-
// 处理初始化订单页基本信息
|
|
764
|
-
handleOrderInfo(val) {
|
|
765
|
-
let res = val.data
|
|
766
|
-
if (res.code === 0) {
|
|
767
|
-
this.setData({
|
|
768
|
-
confirmOrderInfo: res.data,
|
|
769
|
-
resource_id: res.data.goods_info.resource_id,
|
|
770
|
-
})
|
|
771
|
-
if (this.data.baseInfoQuery.spu_type === "ENT") {
|
|
772
|
-
this.setData({
|
|
773
|
-
distributionMode: res.data.goods_info.distribution_pattern
|
|
774
|
-
})
|
|
775
|
-
}
|
|
776
|
-
if (!this.data.isCart) {
|
|
777
|
-
let addressInfo = res.data.address_info;
|
|
778
|
-
this.setData({
|
|
779
|
-
addressInfo: Array.isArray(addressInfo) || !addressInfo ? {} : addressInfo
|
|
780
|
-
})
|
|
781
|
-
}
|
|
782
|
-
if (JSON.stringify(this.data.addressInfo) != "{}") {
|
|
783
|
-
this.payInfoChange({
|
|
784
|
-
name: 'address',
|
|
785
|
-
prePayParams: {
|
|
786
|
-
address_id: this.data.addressInfo && this.data.addressInfo.id,
|
|
787
|
-
}
|
|
788
|
-
});
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
},
|
|
792
|
-
// 获取商家自提状态
|
|
793
|
-
initDeliveryState() {
|
|
794
|
-
wx.showLoading({
|
|
795
|
-
mask: true,
|
|
796
|
-
title: '加载中'
|
|
797
|
-
})
|
|
798
|
-
getExpressSwitch().then(res => {
|
|
799
|
-
if (res.data.code === 0) {
|
|
800
|
-
this.setData({
|
|
801
|
-
userCanPick: res.data.data.self_service_switch
|
|
802
|
-
})
|
|
803
|
-
}
|
|
804
|
-
})
|
|
805
|
-
.catch((err) => console.log(err))
|
|
806
|
-
.finally(() => {
|
|
807
|
-
// wx.hideLoading()
|
|
808
|
-
})
|
|
809
|
-
},
|
|
810
|
-
// 切换配送模式
|
|
811
|
-
changeMode(e) {
|
|
812
|
-
let val = e.detail;
|
|
813
|
-
let num = 0;
|
|
814
|
-
val ? num = 2 : num = 1;
|
|
815
|
-
this.setData({
|
|
816
|
-
activeMode: val,
|
|
817
|
-
express_type: num
|
|
818
|
-
})
|
|
819
|
-
},
|
|
820
|
-
// 支付成功
|
|
821
|
-
successCallback(payResult) {
|
|
822
|
-
console.log("支付成功2");
|
|
823
|
-
this.triggerEvent("successCallback", payResult.detail);
|
|
824
|
-
},
|
|
825
|
-
// 支付失败
|
|
826
|
-
failCallback() {
|
|
827
|
-
console.log("支付失败2");
|
|
828
|
-
this.triggerEvent("failCallback");
|
|
829
|
-
},
|
|
830
|
-
}
|
|
831
|
-
})
|