xiaoe_mp_npm 0.2.2-beta1 → 0.2.2-beta2
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/miniprogram_dist/AliveInvite/LiveRoomVertical/components/friends/friends.js +145 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/friends/friends.json +4 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/friends/friends.wxml +23 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/friends/friends.wxss +90 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/invite-poster/invite-poster.js +227 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/invite-poster/invite-poster.json +4 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/invite-poster/invite-poster.wxml +64 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/invite-poster/invite-poster.wxss +167 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/rewards/rewards.js +117 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/rewards/rewards.json +4 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/rewards/rewards.wxml +36 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/rewards/rewards.wxss +92 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/rules/rules.js +90 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/rules/rules.json +4 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/rules/rules.wxml +16 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/rules/rules.wxss +48 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/index.js +232 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/index.json +10 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/index.less +271 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/index.wxml +122 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/index.wxss +267 -0
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/libs/base64.js +234 -0
- 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 +29 -0
- package/miniprogram_dist/AliveInvite/images/invite_entrance/new_crown_pink_pure.svg +29 -0
- package/miniprogram_dist/AliveInvite/images/invite_entrance/new_crown_yellow_pure.svg +27 -0
- package/miniprogram_dist/AliveInvite/images/liveClose.png +0 -0
- package/miniprogram_dist/AliveInvite/images/new_emptypage.svg +59 -0
- package/miniprogram_dist/AliveInvite/images/new_icon_close.png +0 -0
- package/miniprogram_dist/AliveInvite/images/new_invite_title.svg +23 -0
- package/miniprogram_dist/AliveInvite/images/new_share_icon.png +0 -0
- package/miniprogram_dist/AliveInvite/images/rank_first.svg +11 -0
- package/miniprogram_dist/AliveInvite/images/rank_second.svg +11 -0
- package/miniprogram_dist/AliveInvite/images/rank_third.svg +11 -0
- 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 +285 -0
- package/miniprogram_dist/CollectionAddress/index.json +14 -0
- package/miniprogram_dist/CollectionAddress/index.less +5 -0
- package/miniprogram_dist/CollectionAddress/index.wxml +91 -0
- package/miniprogram_dist/CollectionAddress/index.wxss +5 -0
- package/miniprogram_dist/ConfirmOrder/README.md +12 -0
- package/miniprogram_dist/ConfirmOrder/components/AddressEdit/index.js +343 -0
- package/miniprogram_dist/ConfirmOrder/components/AddressEdit/index.json +11 -0
- package/miniprogram_dist/ConfirmOrder/components/AddressEdit/index.less +98 -0
- package/miniprogram_dist/ConfirmOrder/components/AddressEdit/index.wxml +39 -0
- package/miniprogram_dist/ConfirmOrder/components/AddressEdit/index.wxss +99 -0
- package/miniprogram_dist/ConfirmOrder/components/AddressManage/index.js +160 -0
- package/miniprogram_dist/ConfirmOrder/components/AddressManage/index.json +8 -0
- package/miniprogram_dist/ConfirmOrder/components/AddressManage/index.less +96 -0
- package/miniprogram_dist/ConfirmOrder/components/AddressManage/index.wxml +37 -0
- package/miniprogram_dist/ConfirmOrder/components/AddressManage/index.wxss +98 -0
- package/miniprogram_dist/ConfirmOrder/components/AddressSelect/index.js +160 -0
- package/miniprogram_dist/ConfirmOrder/components/AddressSelect/index.json +4 -0
- package/miniprogram_dist/ConfirmOrder/components/AddressSelect/index.less +80 -0
- package/miniprogram_dist/ConfirmOrder/components/AddressSelect/index.wxml +34 -0
- package/miniprogram_dist/ConfirmOrder/components/AddressSelect/index.wxss +67 -0
- package/miniprogram_dist/ConfirmOrder/components/ChoosePicker/index.js +110 -0
- package/miniprogram_dist/ConfirmOrder/components/ChoosePicker/index.json +6 -0
- package/miniprogram_dist/ConfirmOrder/components/ChoosePicker/index.less +21 -0
- package/miniprogram_dist/ConfirmOrder/components/ChoosePicker/index.wxml +10 -0
- package/miniprogram_dist/ConfirmOrder/components/ChoosePicker/index.wxss +18 -0
- package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.js +831 -0
- package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.json +23 -0
- package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.less +12 -0
- package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.wxml +172 -0
- package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.wxss +10 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityGiftList/index.js +72 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityGiftList/index.json +6 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityGiftList/index.less +45 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityGiftList/index.wxml +18 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityGiftList/index.wxss +39 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityItem/filter.wxs +8 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityItem/index.js +92 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityItem/index.json +4 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityItem/index.less +109 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityItem/index.wxml +29 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityItem/index.wxss +96 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/index.js +78 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/index.json +8 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/index.less +52 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/index.wxml +27 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/index.wxss +45 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/ImageData/index.js +69 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/ImageData/index.json +4 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/ImageData/index.less +14 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/ImageData/index.wxml +4 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/ImageData/index.wxss +13 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/filter.wxs +7 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.js +429 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.json +9 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.less +182 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.wxml +75 -0
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/index.wxss +153 -0
- package/miniprogram_dist/ConfirmOrder/components/Header/index.js +50 -0
- package/miniprogram_dist/ConfirmOrder/components/Header/index.json +6 -0
- package/miniprogram_dist/ConfirmOrder/components/Header/index.less +31 -0
- package/miniprogram_dist/ConfirmOrder/components/Header/index.wxml +10 -0
- package/miniprogram_dist/ConfirmOrder/components/Header/index.wxss +27 -0
- package/miniprogram_dist/ConfirmOrder/components/InfoCollect/index.js +108 -0
- package/miniprogram_dist/ConfirmOrder/components/InfoCollect/index.json +6 -0
- package/miniprogram_dist/ConfirmOrder/components/InfoCollect/index.less +0 -0
- package/miniprogram_dist/ConfirmOrder/components/InfoCollect/index.wxml +13 -0
- package/miniprogram_dist/ConfirmOrder/components/InfoCollect/index.wxss +1 -0
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/componenets/integralTips/index.js +85 -0
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/componenets/integralTips/index.json +4 -0
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/componenets/integralTips/index.less +64 -0
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/componenets/integralTips/index.wxml +31 -0
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/componenets/integralTips/index.wxss +57 -0
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/filter.wxs +7 -0
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.js +83 -0
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.json +8 -0
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.less +55 -0
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.wxml +27 -0
- package/miniprogram_dist/ConfirmOrder/components/IntegralSelect/index.wxss +47 -0
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceSelect/index.js +284 -0
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceSelect/index.json +8 -0
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceSelect/index.less +162 -0
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceSelect/index.wxml +89 -0
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceSelect/index.wxss +152 -0
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceTip/index.js +33 -0
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceTip/index.json +6 -0
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceTip/index.less +49 -0
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceTip/index.wxml +17 -0
- package/miniprogram_dist/ConfirmOrder/components/Invoice/components/InvoiceTip/index.wxss +58 -0
- package/miniprogram_dist/ConfirmOrder/components/Invoice/index.js +155 -0
- package/miniprogram_dist/ConfirmOrder/components/Invoice/index.json +7 -0
- package/miniprogram_dist/ConfirmOrder/components/Invoice/index.less +29 -0
- package/miniprogram_dist/ConfirmOrder/components/Invoice/index.wxml +24 -0
- package/miniprogram_dist/ConfirmOrder/components/Invoice/index.wxss +23 -0
- package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.js +61 -0
- package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.json +6 -0
- package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.less +6 -0
- package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.wxml +11 -0
- package/miniprogram_dist/ConfirmOrder/components/LeaveWord/index.wxss +6 -0
- package/miniprogram_dist/ConfirmOrder/components/LimitDiscount/index.js +50 -0
- package/miniprogram_dist/ConfirmOrder/components/LimitDiscount/index.json +4 -0
- package/miniprogram_dist/ConfirmOrder/components/LimitDiscount/index.wxml +1 -0
- package/miniprogram_dist/ConfirmOrder/components/LimitDiscount/index.wxss +1 -0
- package/miniprogram_dist/ConfirmOrder/components/ModeSelect/index.js +42 -0
- package/miniprogram_dist/ConfirmOrder/components/ModeSelect/index.json +7 -0
- package/miniprogram_dist/ConfirmOrder/components/ModeSelect/index.less +35 -0
- package/miniprogram_dist/ConfirmOrder/components/ModeSelect/index.wxml +7 -0
- package/miniprogram_dist/ConfirmOrder/components/ModeSelect/index.wxss +44 -0
- package/miniprogram_dist/ConfirmOrder/components/PayBar/index.js +233 -0
- package/miniprogram_dist/ConfirmOrder/components/PayBar/index.json +6 -0
- package/miniprogram_dist/ConfirmOrder/components/PayBar/index.less +32 -0
- package/miniprogram_dist/ConfirmOrder/components/PayBar/index.wxml +26 -0
- package/miniprogram_dist/ConfirmOrder/components/PayBar/index.wxss +27 -0
- package/miniprogram_dist/ConfirmOrder/components/PayDetail/filter.wxs +16 -0
- package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.js +68 -0
- package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.json +4 -0
- package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.less +16 -0
- package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.wxml +18 -0
- package/miniprogram_dist/ConfirmOrder/components/PayDetail/index.wxss +14 -0
- package/miniprogram_dist/ConfirmOrder/components/PayGifts/index.js +23 -0
- package/miniprogram_dist/ConfirmOrder/components/PayGifts/index.json +4 -0
- package/miniprogram_dist/ConfirmOrder/components/PayGifts/index.wxml +2 -0
- package/miniprogram_dist/ConfirmOrder/components/PayGifts/index.wxss +1 -0
- package/miniprogram_dist/ConfirmOrder/components/PickupSelect/index.js +80 -0
- package/miniprogram_dist/ConfirmOrder/components/PickupSelect/index.json +8 -0
- package/miniprogram_dist/ConfirmOrder/components/PickupSelect/index.less +24 -0
- package/miniprogram_dist/ConfirmOrder/components/PickupSelect/index.wxml +14 -0
- package/miniprogram_dist/ConfirmOrder/components/PickupSelect/index.wxss +22 -0
- package/miniprogram_dist/ConfirmOrder/components/SelectSite/index.js +147 -0
- package/miniprogram_dist/ConfirmOrder/components/SelectSite/index.json +7 -0
- package/miniprogram_dist/ConfirmOrder/components/SelectSite/index.less +96 -0
- package/miniprogram_dist/ConfirmOrder/components/SelectSite/index.wxml +46 -0
- package/miniprogram_dist/ConfirmOrder/components/SelectSite/index.wxss +82 -0
- package/miniprogram_dist/ConfirmOrder/components/Shipper/index.js +100 -0
- package/miniprogram_dist/ConfirmOrder/components/Shipper/index.json +6 -0
- package/miniprogram_dist/ConfirmOrder/components/Shipper/index.less +70 -0
- package/miniprogram_dist/ConfirmOrder/components/Shipper/index.wxml +16 -0
- package/miniprogram_dist/ConfirmOrder/components/Shipper/index.wxss +76 -0
- package/miniprogram_dist/ConfirmOrder/components/ShipperEdit/index.js +218 -0
- package/miniprogram_dist/ConfirmOrder/components/ShipperEdit/index.json +8 -0
- package/miniprogram_dist/ConfirmOrder/components/ShipperEdit/index.less +77 -0
- package/miniprogram_dist/ConfirmOrder/components/ShipperEdit/index.wxml +20 -0
- package/miniprogram_dist/ConfirmOrder/components/ShipperEdit/index.wxss +78 -0
- package/miniprogram_dist/ConfirmOrder/components/WechatAddress/index.js +78 -0
- package/miniprogram_dist/ConfirmOrder/components/WechatAddress/index.json +4 -0
- package/miniprogram_dist/ConfirmOrder/components/WechatAddress/index.less +25 -0
- package/miniprogram_dist/ConfirmOrder/components/WechatAddress/index.wxml +9 -0
- package/miniprogram_dist/ConfirmOrder/components/WechatAddress/index.wxss +22 -0
- package/miniprogram_dist/ConfirmOrder/index.js +72 -0
- package/miniprogram_dist/ConfirmOrder/index.json +9 -0
- package/miniprogram_dist/ConfirmOrder/index.less +5 -0
- package/miniprogram_dist/ConfirmOrder/index.wxml +25 -0
- package/miniprogram_dist/ConfirmOrder/index.wxss +5 -0
- package/miniprogram_dist/CouponList/README.md +6 -0
- package/miniprogram_dist/CouponList/components/CouponItem/index.js +239 -0
- package/miniprogram_dist/CouponList/components/CouponItem/index.json +5 -0
- package/miniprogram_dist/CouponList/components/CouponItem/index.less +288 -0
- package/miniprogram_dist/CouponList/components/CouponItem/index.wxml +191 -0
- package/miniprogram_dist/CouponList/components/CouponItem/index.wxss +276 -0
- package/miniprogram_dist/CouponList/couponColumn/index.js +65 -0
- package/miniprogram_dist/CouponList/couponColumn/index.json +6 -0
- package/miniprogram_dist/CouponList/couponColumn/index.less +32 -0
- package/miniprogram_dist/CouponList/couponColumn/index.wxml +23 -0
- package/miniprogram_dist/CouponList/couponColumn/index.wxss +31 -0
- package/miniprogram_dist/CouponList/couponMsg/index.js +27 -0
- package/miniprogram_dist/CouponList/couponMsg/index.json +6 -0
- package/miniprogram_dist/CouponList/couponMsg/index.less +3 -0
- package/miniprogram_dist/CouponList/couponMsg/index.wxml +10 -0
- package/miniprogram_dist/CouponList/couponMsg/index.wxss +3 -0
- package/miniprogram_dist/CurrentPay/index.js +56 -0
- package/miniprogram_dist/CurrentPay/index.json +9 -0
- package/miniprogram_dist/CurrentPay/index.wxml +11 -0
- package/miniprogram_dist/CurrentPay/index.wxss +1 -0
- package/miniprogram_dist/CurrentPayModule/index.js +256 -0
- package/miniprogram_dist/CurrentPayModule/index.json +9 -0
- package/miniprogram_dist/CurrentPayModule/index.less +13 -0
- package/miniprogram_dist/CurrentPayModule/index.wxml +4 -0
- package/miniprogram_dist/CurrentPayModule/index.wxss +13 -0
- package/miniprogram_dist/CustomPopup/index.js +56 -0
- package/miniprogram_dist/CustomPopup/index.json +6 -0
- package/miniprogram_dist/CustomPopup/index.less +15 -0
- package/miniprogram_dist/CustomPopup/index.wxml +18 -0
- package/miniprogram_dist/CustomPopup/index.wxss +15 -0
- package/miniprogram_dist/GoodsItem/index.js +538 -0
- package/miniprogram_dist/GoodsItem/index.json +6 -0
- package/miniprogram_dist/GoodsItem/index.less +249 -0
- package/miniprogram_dist/GoodsItem/index.wxml +90 -0
- package/miniprogram_dist/GoodsItem/index.wxss +261 -0
- package/miniprogram_dist/LiveGoodsList/Header/index.js +36 -0
- package/miniprogram_dist/LiveGoodsList/Header/index.json +6 -0
- package/miniprogram_dist/LiveGoodsList/Header/index.less +45 -0
- package/miniprogram_dist/LiveGoodsList/Header/index.wxml +28 -0
- package/miniprogram_dist/LiveGoodsList/Header/index.wxss +44 -0
- package/miniprogram_dist/LiveGoodsList/README.md +10 -0
- package/miniprogram_dist/LiveGoodsList/index.js +423 -0
- package/miniprogram_dist/LiveGoodsList/index.json +10 -0
- package/miniprogram_dist/LiveGoodsList/index.less +53 -0
- package/miniprogram_dist/LiveGoodsList/index.wxml +74 -0
- package/miniprogram_dist/LiveGoodsList/index.wxss +50 -0
- package/miniprogram_dist/Lottery/components/AddressCollection/index.js +73 -0
- package/miniprogram_dist/Lottery/components/AddressCollection/index.json +7 -0
- package/miniprogram_dist/Lottery/components/AddressCollection/index.less +39 -0
- package/miniprogram_dist/Lottery/components/AddressCollection/index.wxml +16 -0
- package/miniprogram_dist/Lottery/components/AddressCollection/index.wxss +39 -0
- package/miniprogram_dist/Lottery/components/CommonPopup/index.js +57 -0
- package/miniprogram_dist/Lottery/components/CommonPopup/index.json +6 -0
- package/miniprogram_dist/Lottery/components/CommonPopup/index.less +66 -0
- package/miniprogram_dist/Lottery/components/CommonPopup/index.wxml +23 -0
- package/miniprogram_dist/Lottery/components/CommonPopup/index.wxss +61 -0
- package/miniprogram_dist/Lottery/components/JoinRecords/RecordItem/index.js +34 -0
- package/miniprogram_dist/Lottery/components/JoinRecords/RecordItem/index.json +6 -0
- package/miniprogram_dist/Lottery/components/JoinRecords/RecordItem/index.less +36 -0
- package/miniprogram_dist/Lottery/components/JoinRecords/RecordItem/index.wxml +8 -0
- package/miniprogram_dist/Lottery/components/JoinRecords/RecordItem/index.wxss +36 -0
- package/miniprogram_dist/Lottery/components/JoinRecords/index.js +59 -0
- package/miniprogram_dist/Lottery/components/JoinRecords/index.json +7 -0
- package/miniprogram_dist/Lottery/components/JoinRecords/index.less +40 -0
- package/miniprogram_dist/Lottery/components/JoinRecords/index.wxml +15 -0
- package/miniprogram_dist/Lottery/components/JoinRecords/index.wxss +40 -0
- package/miniprogram_dist/Lottery/components/LotteryAnimation/animation.js +1 -0
- package/miniprogram_dist/Lottery/components/LotteryAnimation/index.js +64 -0
- package/miniprogram_dist/Lottery/components/LotteryAnimation/index.json +4 -0
- package/miniprogram_dist/Lottery/components/LotteryAnimation/index.less +14 -0
- package/miniprogram_dist/Lottery/components/LotteryAnimation/index.wxml +4 -0
- package/miniprogram_dist/Lottery/components/LotteryAnimation/index.wxss +12 -0
- package/miniprogram_dist/Lottery/components/LotteryAnimation/lottie-miniprogram-sdk.js +9 -0
- package/miniprogram_dist/Lottery/components/LotteryFAB/index.js +99 -0
- package/miniprogram_dist/Lottery/components/LotteryFAB/index.json +6 -0
- package/miniprogram_dist/Lottery/components/LotteryFAB/index.less +36 -0
- package/miniprogram_dist/Lottery/components/LotteryFAB/index.wxml +17 -0
- package/miniprogram_dist/Lottery/components/LotteryFAB/index.wxss +36 -0
- package/miniprogram_dist/Lottery/components/LotteryInfo/Indicator/index.js +34 -0
- package/miniprogram_dist/Lottery/components/LotteryInfo/Indicator/index.json +5 -0
- package/miniprogram_dist/Lottery/components/LotteryInfo/Indicator/index.less +17 -0
- package/miniprogram_dist/Lottery/components/LotteryInfo/Indicator/index.wxml +3 -0
- package/miniprogram_dist/Lottery/components/LotteryInfo/Indicator/index.wxss +17 -0
- package/miniprogram_dist/Lottery/components/LotteryInfo/LotteryCountdown/index.js +37 -0
- package/miniprogram_dist/Lottery/components/LotteryInfo/LotteryCountdown/index.json +5 -0
- package/miniprogram_dist/Lottery/components/LotteryInfo/LotteryCountdown/index.less +17 -0
- package/miniprogram_dist/Lottery/components/LotteryInfo/LotteryCountdown/index.wxml +9 -0
- package/miniprogram_dist/Lottery/components/LotteryInfo/LotteryCountdown/index.wxss +17 -0
- package/miniprogram_dist/Lottery/components/LotteryInfo/index.js +159 -0
- package/miniprogram_dist/Lottery/components/LotteryInfo/index.json +10 -0
- package/miniprogram_dist/Lottery/components/LotteryInfo/index.less +99 -0
- package/miniprogram_dist/Lottery/components/LotteryInfo/index.wxml +50 -0
- package/miniprogram_dist/Lottery/components/LotteryInfo/index.wxss +104 -0
- package/miniprogram_dist/Lottery/components/LotteryMsg/index.js +42 -0
- package/miniprogram_dist/Lottery/components/LotteryMsg/index.json +5 -0
- package/miniprogram_dist/Lottery/components/LotteryMsg/index.less +22 -0
- package/miniprogram_dist/Lottery/components/LotteryMsg/index.wxml +11 -0
- package/miniprogram_dist/Lottery/components/LotteryMsg/index.wxss +20 -0
- package/miniprogram_dist/Lottery/components/LotteryPopups/index.js +178 -0
- package/miniprogram_dist/Lottery/components/LotteryPopups/index.json +13 -0
- package/miniprogram_dist/Lottery/components/LotteryPopups/index.wxml +7 -0
- package/miniprogram_dist/Lottery/components/LotteryResult/LosingLottery/index.js +35 -0
- package/miniprogram_dist/Lottery/components/LotteryResult/LosingLottery/index.json +7 -0
- package/miniprogram_dist/Lottery/components/LotteryResult/LosingLottery/index.less +48 -0
- package/miniprogram_dist/Lottery/components/LotteryResult/LosingLottery/index.wxml +16 -0
- package/miniprogram_dist/Lottery/components/LotteryResult/LosingLottery/index.wxss +48 -0
- package/miniprogram_dist/Lottery/components/LotteryResult/WinLottery/index.js +144 -0
- package/miniprogram_dist/Lottery/components/LotteryResult/WinLottery/index.json +7 -0
- package/miniprogram_dist/Lottery/components/LotteryResult/WinLottery/index.less +68 -0
- package/miniprogram_dist/Lottery/components/LotteryResult/WinLottery/index.wxml +23 -0
- package/miniprogram_dist/Lottery/components/LotteryResult/WinLottery/index.wxss +73 -0
- package/miniprogram_dist/Lottery/components/LotteryResult/index.js +56 -0
- package/miniprogram_dist/Lottery/components/LotteryResult/index.json +9 -0
- package/miniprogram_dist/Lottery/components/LotteryResult/index.less +0 -0
- package/miniprogram_dist/Lottery/components/LotteryResult/index.wxml +10 -0
- package/miniprogram_dist/Lottery/components/LotteryResult/index.wxss +0 -0
- package/miniprogram_dist/Lottery/components/MerchantContactInfo/index.js +40 -0
- package/miniprogram_dist/Lottery/components/MerchantContactInfo/index.json +7 -0
- package/miniprogram_dist/Lottery/components/MerchantContactInfo/index.less +61 -0
- package/miniprogram_dist/Lottery/components/MerchantContactInfo/index.wxml +19 -0
- package/miniprogram_dist/Lottery/components/MerchantContactInfo/index.wxss +61 -0
- package/miniprogram_dist/Lottery/components/MyLottery/index.js +52 -0
- package/miniprogram_dist/Lottery/components/MyLottery/index.json +11 -0
- package/miniprogram_dist/Lottery/components/MyLottery/index.wxml +12 -0
- package/miniprogram_dist/Lottery/components/MyLottery/index.wxss +0 -0
- package/miniprogram_dist/Lottery/components/NobodyAttend/index.js +33 -0
- package/miniprogram_dist/Lottery/components/NobodyAttend/index.json +6 -0
- package/miniprogram_dist/Lottery/components/NobodyAttend/index.less +33 -0
- package/miniprogram_dist/Lottery/components/NobodyAttend/index.wxml +11 -0
- package/miniprogram_dist/Lottery/components/NobodyAttend/index.wxss +33 -0
- package/miniprogram_dist/Lottery/components/PrizeCard/index.js +19 -0
- package/miniprogram_dist/Lottery/components/PrizeCard/index.json +5 -0
- package/miniprogram_dist/Lottery/components/PrizeCard/index.less +42 -0
- package/miniprogram_dist/Lottery/components/PrizeCard/index.wxml +8 -0
- package/miniprogram_dist/Lottery/components/PrizeCard/index.wxss +42 -0
- package/miniprogram_dist/Lottery/components/RewardList/RewardItem/index.js +137 -0
- package/miniprogram_dist/Lottery/components/RewardList/RewardItem/index.json +6 -0
- package/miniprogram_dist/Lottery/components/RewardList/RewardItem/index.less +77 -0
- package/miniprogram_dist/Lottery/components/RewardList/RewardItem/index.wxml +14 -0
- package/miniprogram_dist/Lottery/components/RewardList/RewardItem/index.wxss +77 -0
- package/miniprogram_dist/Lottery/components/RewardList/index.js +70 -0
- package/miniprogram_dist/Lottery/components/RewardList/index.json +7 -0
- package/miniprogram_dist/Lottery/components/RewardList/index.less +62 -0
- package/miniprogram_dist/Lottery/components/RewardList/index.wxml +28 -0
- package/miniprogram_dist/Lottery/components/RewardList/index.wxss +62 -0
- package/miniprogram_dist/Lottery/components/Winners/WinnerItem/index.js +14 -0
- package/miniprogram_dist/Lottery/components/Winners/WinnerItem/index.json +6 -0
- package/miniprogram_dist/Lottery/components/Winners/WinnerItem/index.less +41 -0
- package/miniprogram_dist/Lottery/components/Winners/WinnerItem/index.wxml +8 -0
- package/miniprogram_dist/Lottery/components/Winners/WinnerItem/index.wxss +50 -0
- package/miniprogram_dist/Lottery/components/Winners/index.js +80 -0
- package/miniprogram_dist/Lottery/components/Winners/index.json +7 -0
- package/miniprogram_dist/Lottery/components/Winners/index.less +49 -0
- package/miniprogram_dist/Lottery/components/Winners/index.wxml +31 -0
- package/miniprogram_dist/Lottery/components/Winners/index.wxss +49 -0
- package/miniprogram_dist/Lottery/constants.js +119 -0
- package/miniprogram_dist/Lottery/countdown.js +88 -0
- package/miniprogram_dist/Lottery/eventBus.js +29 -0
- package/miniprogram_dist/Lottery/remotePic.js +52 -0
- package/miniprogram_dist/Lottery/store/effect.js +204 -0
- package/miniprogram_dist/Lottery/store/index.js +35 -0
- package/miniprogram_dist/Lottery/store/reducer.js +194 -0
- package/miniprogram_dist/Lottery/store/util.js +116 -0
- package/miniprogram_dist/Lottery/utils.js +68 -0
- package/miniprogram_dist/PayComplete/Components/CouponItem/index.js +51 -0
- package/miniprogram_dist/PayComplete/Components/CouponItem/index.json +4 -0
- package/miniprogram_dist/PayComplete/Components/CouponItem/index.less +143 -0
- package/miniprogram_dist/PayComplete/Components/CouponItem/index.wxml +47 -0
- package/miniprogram_dist/PayComplete/Components/CouponItem/index.wxss +122 -0
- package/miniprogram_dist/PayComplete/Components/CouponItem/sub.wxs +73 -0
- package/miniprogram_dist/PayComplete/Components/LeadGroup/index.js +95 -0
- package/miniprogram_dist/PayComplete/Components/LeadGroup/index.json +7 -0
- package/miniprogram_dist/PayComplete/Components/LeadGroup/index.less +38 -0
- package/miniprogram_dist/PayComplete/Components/LeadGroup/index.wxml +6 -0
- package/miniprogram_dist/PayComplete/Components/LeadGroup/index.wxss +33 -0
- package/miniprogram_dist/PayComplete/Components/PayGifts/index.js +130 -0
- package/miniprogram_dist/PayComplete/Components/PayGifts/index.json +6 -0
- package/miniprogram_dist/PayComplete/Components/PayGifts/index.less +178 -0
- package/miniprogram_dist/PayComplete/Components/PayGifts/index.wxml +58 -0
- package/miniprogram_dist/PayComplete/Components/PayGifts/index.wxss +157 -0
- package/miniprogram_dist/PayComplete/Components/PayState/earnIntegral/index.js +62 -0
- package/miniprogram_dist/PayComplete/Components/PayState/earnIntegral/index.json +6 -0
- package/miniprogram_dist/PayComplete/Components/PayState/earnIntegral/index.less +26 -0
- package/miniprogram_dist/PayComplete/Components/PayState/earnIntegral/index.wxml +4 -0
- package/miniprogram_dist/PayComplete/Components/PayState/earnIntegral/index.wxss +23 -0
- package/miniprogram_dist/PayComplete/Components/PayState/index.js +38 -0
- package/miniprogram_dist/PayComplete/Components/PayState/index.json +7 -0
- package/miniprogram_dist/PayComplete/Components/PayState/index.less +23 -0
- package/miniprogram_dist/PayComplete/Components/PayState/index.wxml +11 -0
- package/miniprogram_dist/PayComplete/Components/PayState/index.wxss +20 -0
- package/miniprogram_dist/PayComplete/index.js +143 -0
- package/miniprogram_dist/PayComplete/index.json +11 -0
- package/miniprogram_dist/PayComplete/index.less +16 -0
- package/miniprogram_dist/PayComplete/index.wxml +31 -0
- package/miniprogram_dist/PayComplete/index.wxss +16 -0
- package/miniprogram_dist/PayModule/README.md +0 -0
- package/miniprogram_dist/PayModule/button/index.js +44 -0
- package/miniprogram_dist/PayModule/button/index.json +6 -0
- package/miniprogram_dist/PayModule/button/index.less +16 -0
- package/miniprogram_dist/PayModule/button/index.wxml +8 -0
- package/miniprogram_dist/PayModule/button/index.wxss +28 -0
- package/miniprogram_dist/PayModule/index/index.js +254 -0
- package/miniprogram_dist/PayModule/index/index.json +7 -0
- package/miniprogram_dist/PayModule/index/index.less +0 -0
- package/miniprogram_dist/PayModule/index/index.wxml +12 -0
- package/miniprogram_dist/PayModule/index/index.wxss +1 -0
- package/miniprogram_dist/PayModule/wechatLoading/index.js +43 -0
- package/miniprogram_dist/PayModule/wechatLoading/index.json +4 -0
- package/miniprogram_dist/PayModule/wechatLoading/index.less +66 -0
- package/miniprogram_dist/PayModule/wechatLoading/index.wxml +12 -0
- package/miniprogram_dist/PayModule/wechatLoading/index.wxss +57 -0
- package/miniprogram_dist/Recommend/index.js +58 -0
- package/miniprogram_dist/Recommend/index.json +4 -0
- package/miniprogram_dist/Recommend/index.less +116 -0
- package/miniprogram_dist/Recommend/index.wxml +29 -0
- package/miniprogram_dist/Recommend/index.wxss +110 -0
- package/miniprogram_dist/SharePoster/PosterDom/index.js +1898 -0
- package/miniprogram_dist/SharePoster/PosterDom/index.json +5 -0
- package/miniprogram_dist/SharePoster/PosterDom/index.less +57 -0
- package/miniprogram_dist/SharePoster/PosterDom/index.wxml +13 -0
- package/miniprogram_dist/SharePoster/PosterDom/index.wxss +57 -0
- package/miniprogram_dist/SharePoster/README.md +10 -0
- package/miniprogram_dist/SharePoster/ShareTextPopup/index.js +66 -0
- package/miniprogram_dist/SharePoster/ShareTextPopup/index.json +7 -0
- package/miniprogram_dist/SharePoster/ShareTextPopup/index.less +75 -0
- package/miniprogram_dist/SharePoster/ShareTextPopup/index.wxml +29 -0
- package/miniprogram_dist/SharePoster/ShareTextPopup/index.wxss +75 -0
- package/miniprogram_dist/SharePoster/components/saveTip/index.js +40 -0
- package/miniprogram_dist/SharePoster/components/saveTip/index.json +5 -0
- package/miniprogram_dist/SharePoster/components/saveTip/index.less +0 -0
- package/miniprogram_dist/SharePoster/components/saveTip/index.wxml +6 -0
- package/miniprogram_dist/SharePoster/components/saveTip/index.wxss +21 -0
- package/miniprogram_dist/SharePoster/components/settingModal/index.js +38 -0
- package/miniprogram_dist/SharePoster/components/settingModal/index.json +5 -0
- package/miniprogram_dist/SharePoster/components/settingModal/index.less +0 -0
- package/miniprogram_dist/SharePoster/components/settingModal/index.wxml +9 -0
- package/miniprogram_dist/SharePoster/components/settingModal/index.wxss +45 -0
- package/miniprogram_dist/SharePoster/components/shareCircleTip/index.js +35 -0
- package/miniprogram_dist/SharePoster/components/shareCircleTip/index.json +5 -0
- package/miniprogram_dist/SharePoster/components/shareCircleTip/index.wxml +5 -0
- package/miniprogram_dist/SharePoster/components/shareCircleTip/index.wxss +35 -0
- package/miniprogram_dist/SharePoster/components/unauthorizedModal/index.js +35 -0
- package/miniprogram_dist/SharePoster/components/unauthorizedModal/index.json +5 -0
- package/miniprogram_dist/SharePoster/components/unauthorizedModal/index.wxml +11 -0
- package/miniprogram_dist/SharePoster/components/unauthorizedModal/index.wxss +51 -0
- package/miniprogram_dist/SharePoster/createPoster/index.js +201 -0
- package/miniprogram_dist/SharePoster/createPoster/utils/drawImage.js +267 -0
- package/miniprogram_dist/SharePoster/createPoster/utils/util.js +40 -0
- package/miniprogram_dist/SharePoster/libs/constant.js +57 -0
- package/miniprogram_dist/SharePoster/libs/positionMap.js +255 -0
- package/miniprogram_dist/SharePoster/mockData/mockData.js +591 -0
- package/miniprogram_dist/SharePoster/sharePopup/index.js +658 -0
- package/miniprogram_dist/SharePoster/sharePopup/index.json +13 -0
- package/miniprogram_dist/SharePoster/sharePopup/index.less +181 -0
- package/miniprogram_dist/SharePoster/sharePopup/index.wxml +94 -0
- package/miniprogram_dist/SharePoster/sharePopup/index.wxss +193 -0
- package/miniprogram_dist/Sku/commSelect/index.js +427 -0
- package/miniprogram_dist/Sku/commSelect/index.json +8 -0
- package/miniprogram_dist/Sku/commSelect/index.less +48 -0
- package/miniprogram_dist/Sku/commSelect/index.wxml +41 -0
- package/miniprogram_dist/Sku/commSelect/index.wxss +45 -0
- package/miniprogram_dist/Sku/goods-info/index.js +52 -0
- package/miniprogram_dist/Sku/goods-info/index.json +4 -0
- package/miniprogram_dist/Sku/goods-info/index.less +48 -0
- package/miniprogram_dist/Sku/goods-info/index.wxml +19 -0
- package/miniprogram_dist/Sku/goods-info/index.wxss +48 -0
- package/miniprogram_dist/Sku/index/index.js +280 -0
- package/miniprogram_dist/Sku/index/index.json +12 -0
- package/miniprogram_dist/Sku/index/index.less +78 -0
- package/miniprogram_dist/Sku/index/index.wxml +58 -0
- package/miniprogram_dist/Sku/index/index.wxss +50 -0
- package/miniprogram_dist/Sku/row-item/index.js +61 -0
- package/miniprogram_dist/Sku/row-item/index.json +4 -0
- package/miniprogram_dist/Sku/row-item/index.less +48 -0
- package/miniprogram_dist/Sku/row-item/index.wxml +10 -0
- package/miniprogram_dist/Sku/row-item/index.wxss +42 -0
- package/miniprogram_dist/Sku/step/index.js +95 -0
- package/miniprogram_dist/Sku/step/index.json +6 -0
- package/miniprogram_dist/Sku/step/index.less +11 -0
- package/miniprogram_dist/Sku/step/index.wxml +11 -0
- package/miniprogram_dist/Sku/step/index.wxss +11 -0
- package/miniprogram_dist/TeacherGoodsList/Header/index.js +36 -0
- package/miniprogram_dist/TeacherGoodsList/Header/index.json +6 -0
- package/miniprogram_dist/TeacherGoodsList/Header/index.less +47 -0
- package/miniprogram_dist/TeacherGoodsList/Header/index.wxml +27 -0
- package/miniprogram_dist/TeacherGoodsList/Header/index.wxss +45 -0
- package/miniprogram_dist/TeacherGoodsList/README.md +10 -0
- package/miniprogram_dist/TeacherGoodsList/index.js +269 -0
- package/miniprogram_dist/TeacherGoodsList/index.json +8 -0
- package/miniprogram_dist/TeacherGoodsList/index.less +53 -0
- package/miniprogram_dist/TeacherGoodsList/index.wxml +49 -0
- package/miniprogram_dist/TeacherGoodsList/index.wxss +50 -0
- package/miniprogram_dist/common/api/confirmOrder.js +218 -0
- package/miniprogram_dist/common/api/coupon.js +19 -0
- package/miniprogram_dist/common/api/couponlist.js +106 -0
- package/miniprogram_dist/common/api/eLiveInvite.js +46 -0
- package/miniprogram_dist/common/api/liveGoodsList.js +52 -0
- package/miniprogram_dist/common/api/lottery.js +57 -0
- package/miniprogram_dist/common/api/pay.js +42 -0
- package/miniprogram_dist/common/api/payComplete.js +22 -0
- package/miniprogram_dist/common/api/sharePoster.js +68 -0
- package/miniprogram_dist/common/api/sku.js +58 -0
- package/miniprogram_dist/common/assets/copy.wxss +3 -0
- 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 +30 -0
- package/miniprogram_dist/common/assets/images/coupon/coupons_style2.svg +30 -0
- package/miniprogram_dist/common/assets/images/coupon/down.svg +22 -0
- package/miniprogram_dist/common/assets/images/coupon/emptypage.svg +50 -0
- 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 +5 -0
- 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 +22 -0
- 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 +19 -0
- package/miniprogram_dist/common/assets/images/lottery/lotteryV2_close.png +0 -0
- package/miniprogram_dist/common/assets/images/lottery/lottery_v1_back.svg +19 -0
- package/miniprogram_dist/common/assets/images/lottery/lottery_v1_close.svg +19 -0
- 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 +19 -0
- 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 +56 -0
- package/miniprogram_dist/common/assets/images/lottery/winner_list_title.svg +19 -0
- package/miniprogram_dist/common/assets/images/package.png +0 -0
- package/miniprogram_dist/common/assets/images/pay/loading.svg +3 -0
- package/miniprogram_dist/common/assets/images/recommend.svg +6 -0
- package/miniprogram_dist/common/assets/images/recommend_with_bg.png +0 -0
- package/miniprogram_dist/common/assets/images/refresh.svg +10 -0
- package/miniprogram_dist/common/assets/images/refresh_white.svg +3 -0
- 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 +4 -0
- 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 +2 -0
- package/miniprogram_dist/common/css/index.wxss +1 -0
- package/miniprogram_dist/common/css/theme.less +20 -0
- package/miniprogram_dist/common/css/theme.wxss +16 -0
- package/miniprogram_dist/common/libs/dataUp/sensorUp.js +92 -0
- package/miniprogram_dist/common/libs/playerHttp.js +58 -0
- package/miniprogram_dist/common/libs/playerRequestUrl.js +40 -0
- package/miniprogram_dist/common/utils/constants.js +256 -0
- package/miniprogram_dist/common/utils/currency.js +52 -0
- package/miniprogram_dist/common/utils/helper.js +160 -0
- package/miniprogram_dist/common/utils/index.js +56 -0
- package/miniprogram_dist/common/utils/postCouponList.js +53 -0
- package/miniprogram_dist/common/utils/tool.js +66 -0
- package/miniprogram_dist/common/wxs/filter.wxs +30 -0
- package/miniprogram_dist/coupon/README.md +12 -0
- package/miniprogram_dist/coupon/components/CouponItem/index.js +176 -0
- package/miniprogram_dist/coupon/components/CouponItem/index.json +6 -0
- package/miniprogram_dist/coupon/components/CouponItem/index.less +208 -0
- package/miniprogram_dist/coupon/components/CouponItem/index.wxml +100 -0
- package/miniprogram_dist/coupon/components/CouponItem/index.wxss +195 -0
- package/miniprogram_dist/coupon/components/CouponSelect/index.js +324 -0
- package/miniprogram_dist/coupon/components/CouponSelect/index.json +9 -0
- package/miniprogram_dist/coupon/components/CouponSelect/index.less +238 -0
- package/miniprogram_dist/coupon/components/CouponSelect/index.wxml +75 -0
- package/miniprogram_dist/coupon/components/CouponSelect/index.wxss +249 -0
- package/miniprogram_dist/coupon/index.css +50 -0
- package/miniprogram_dist/coupon/index.js +205 -0
- package/miniprogram_dist/coupon/index.json +8 -0
- package/miniprogram_dist/coupon/index.less +51 -0
- package/miniprogram_dist/coupon/index.wxml +24 -0
- package/miniprogram_dist/coupon/index.wxss +50 -0
- package/miniprogram_dist/index.js +117 -0
- package/miniprogram_dist/index.js.map +1 -0
- package/miniprogram_dist/index.json +5 -0
- package/miniprogram_dist/index.wxml +2 -0
- package/miniprogram_dist/index.wxss +1 -0
- package/miniprogram_dist/lib.js +105 -0
- package/miniprogram_dist/lib.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {
|
|
4
|
+
"ModeSelect": "../ModeSelect/index",
|
|
5
|
+
"AddressSelect": "../AddressSelect/index",
|
|
6
|
+
"AddressManage": "../AddressManage/index",
|
|
7
|
+
"AddressEdit": "../AddressEdit/index",
|
|
8
|
+
"PickupSelect": "../PickupSelect/index",
|
|
9
|
+
"SelectSite": "../SelectSite/index",
|
|
10
|
+
"Shipper": "../Shipper/index",
|
|
11
|
+
"ChoosePicker": "../ChoosePicker/index",
|
|
12
|
+
"ShipperEdit": "../ShipperEdit/index",
|
|
13
|
+
"GoodsInfo": "../GoodsInfo/index",
|
|
14
|
+
"LeaveWord": "../LeaveWord/index",
|
|
15
|
+
"PayDetail": "../PayDetail/index",
|
|
16
|
+
"PayBar": "../PayBar/index",
|
|
17
|
+
"LimitDiscount": "../LimitDiscount/index",
|
|
18
|
+
"Invoice": "../Invoice/index",
|
|
19
|
+
"CouponSelect": "../../../coupon/index",
|
|
20
|
+
"IntegralSelect": "../IntegralSelect/index",
|
|
21
|
+
"InfoCollect": "../InfoCollect/index"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
<!--src/ConfirmOrder/components/ConfirmOrderContent/index.wxml-->
|
|
2
|
+
<view class="confirm-order-content">
|
|
3
|
+
<!-- 主页面 -->
|
|
4
|
+
<view class="confirm-main" wx:if="{{ isShowMain }}">
|
|
5
|
+
<!-- 配送模式选择 -->
|
|
6
|
+
<ModeSelect
|
|
7
|
+
activeMode="{{ activeMode }}"
|
|
8
|
+
bind:changeMode="changeMode"
|
|
9
|
+
wx:if="{{ showModeSelect }}"
|
|
10
|
+
></ModeSelect>
|
|
11
|
+
<!-- 地址选择(非自提) -->
|
|
12
|
+
<AddressSelect
|
|
13
|
+
wx:if="{{ showAddressSelect }}"
|
|
14
|
+
addressInfo="{{ addressInfo }}"
|
|
15
|
+
isCart="{{ isCart }}"
|
|
16
|
+
baseInfoQuery="{{ baseInfoQuery }}"
|
|
17
|
+
hasEntityGoods="{{ hasEntityGoods }}"
|
|
18
|
+
goodsInfo="{{ goodsInfo }}"
|
|
19
|
+
isShowAddressManage="{{ isShowAddressManage }}"
|
|
20
|
+
isShowEditAddress="{{ isShowEditAddress }}"
|
|
21
|
+
addressQuery="{{ addressQuery }}"
|
|
22
|
+
cartInfoLoaded="{{ cartInfoLoaded }}"
|
|
23
|
+
addressInfoLoaded="{{ addressInfoLoaded }}"
|
|
24
|
+
activeMode="{{ activeMode }}"
|
|
25
|
+
bind:updataData="updataData"
|
|
26
|
+
bind:dataChange="payInfoChange"
|
|
27
|
+
></AddressSelect>
|
|
28
|
+
<!-- 自提点信息 -->
|
|
29
|
+
<PickupSelect
|
|
30
|
+
wx:if="{{ showPickSelf }}"
|
|
31
|
+
isShowPoint="{{ isShowPoint }}"
|
|
32
|
+
picksiteInfo="{{ picksiteInfo }}"
|
|
33
|
+
express_type="{{ express_type }}"
|
|
34
|
+
bind:updataData="updataData"
|
|
35
|
+
bind:dataChange="payInfoChange"
|
|
36
|
+
></PickupSelect>
|
|
37
|
+
<!-- 提货人信息 -->
|
|
38
|
+
<ChoosePicker
|
|
39
|
+
wx:if="{{ showPickSelf }}"
|
|
40
|
+
pickerUserInfo="{{ pickerUserInfo }}"
|
|
41
|
+
express_type="{{ express_type }}"
|
|
42
|
+
isShowSelectShipper="{{ isShowSelectShipper }}"
|
|
43
|
+
isShowCreateShipper="{{ isShowCreateShipper }}"
|
|
44
|
+
backPage="{{ backPage }}"
|
|
45
|
+
shipperType="{{ shipperType }}"
|
|
46
|
+
showPickSelf="{{ showPickSelf }}"
|
|
47
|
+
bind:updataData="updataData"
|
|
48
|
+
bind:dataChange="payInfoChange"
|
|
49
|
+
></ChoosePicker>
|
|
50
|
+
<!-- 商品信息 -->
|
|
51
|
+
<GoodsInfo
|
|
52
|
+
marketingData="{{ marketingData.marketing_info }}"
|
|
53
|
+
goodsInfo="{{ goodsInfo }}"
|
|
54
|
+
confirmOrderInfo="{{ confirmOrderInfo }}"
|
|
55
|
+
baseInfo="{{ baseInfoQuery }}"
|
|
56
|
+
isCart="{{ isCart }}"
|
|
57
|
+
svipInfo="{{ superVipInfo }}"
|
|
58
|
+
businessConf="{{ businessConf }}"
|
|
59
|
+
cartInfoLoaded="{{ cartInfoLoaded }}"
|
|
60
|
+
bind:updataData="updataData"
|
|
61
|
+
bind:dataChange="payInfoChange"
|
|
62
|
+
></GoodsInfo>
|
|
63
|
+
<!-- 【营销】限时折扣 -->
|
|
64
|
+
<LimitDiscount
|
|
65
|
+
marketingData="{{ marketingData }}"
|
|
66
|
+
bind:dataChange="payInfoChange"
|
|
67
|
+
></LimitDiscount>
|
|
68
|
+
<view class="coupon-integral-wrapper">
|
|
69
|
+
<!-- 选择优惠券优惠码 -->
|
|
70
|
+
<CouponSelect
|
|
71
|
+
prePayInfo="{{prePayInfo}}"
|
|
72
|
+
checkCodeParams="{{prePayParams}}"
|
|
73
|
+
bind:dataChange="payInfoChange"
|
|
74
|
+
>
|
|
75
|
+
</CouponSelect>
|
|
76
|
+
<!-- 积分组件 -->
|
|
77
|
+
<IntegralSelect
|
|
78
|
+
prePayInfo="{{ prePayInfo }}"
|
|
79
|
+
baseInfo="{{ baseInfoQuery }}"
|
|
80
|
+
bind:dataChange="payInfoChange"
|
|
81
|
+
></IntegralSelect>
|
|
82
|
+
</view>
|
|
83
|
+
<!-- 信息采集 -->
|
|
84
|
+
<InfoCollect
|
|
85
|
+
wx:if="{{ !isCart }}"
|
|
86
|
+
baseInfo="{{ baseInfoQuery }}"
|
|
87
|
+
goodsInfo="{{ goodsInfo }}"
|
|
88
|
+
bind:dataChange="payInfoChange"
|
|
89
|
+
></InfoCollect>
|
|
90
|
+
<!-- 发票展示 -->
|
|
91
|
+
<Invoice
|
|
92
|
+
payPrams="{{ payParams }}"
|
|
93
|
+
shopConf="{{ shopConf }}"
|
|
94
|
+
bind:dataChange="payInfoChange"
|
|
95
|
+
></Invoice>
|
|
96
|
+
<!-- 留言 -->
|
|
97
|
+
<LeaveWord
|
|
98
|
+
payParams="{{ payParams }}"
|
|
99
|
+
bind:dataChange="payInfoChange"
|
|
100
|
+
></LeaveWord>
|
|
101
|
+
<!-- 支付金额明细 -->
|
|
102
|
+
<PayDetail
|
|
103
|
+
prePayInfo="{{ prePayInfo }}"
|
|
104
|
+
baseInfo="{{ baseInfoQuery }}"
|
|
105
|
+
activeMode="{{ activeMode }}"
|
|
106
|
+
bind:dataChange="payInfoChange"
|
|
107
|
+
></PayDetail>
|
|
108
|
+
<!-- 底部支付栏 -->
|
|
109
|
+
<PayBar
|
|
110
|
+
activeMode="{{ activeMode }}"
|
|
111
|
+
baseInfo="{{ baseInfoQuery }}"
|
|
112
|
+
prePayInfo="{{ prePayInfo }}"
|
|
113
|
+
payParams="{{ payParams }}"
|
|
114
|
+
beforePay="{{ beforePay }}"
|
|
115
|
+
afterPayCallback="{{ afterPayCallback }}"
|
|
116
|
+
afterPay="{{ afterPay }}"
|
|
117
|
+
checkList="{{ checkList }}"
|
|
118
|
+
prePayParamsAsPayParams="{{ prePayParams }}"
|
|
119
|
+
express_type="{{ express_type }}"
|
|
120
|
+
pickerUserInfo="{{ pickerUserInfo }}"
|
|
121
|
+
addressInfo="{{ addressInfo }}"
|
|
122
|
+
picksiteInfo="{{ picksiteInfo }}"
|
|
123
|
+
aliveInfo="{{ aliveInfo }}"
|
|
124
|
+
sensorReportParams="{{ sensorReportParams }}"
|
|
125
|
+
bind:successCallback="successCallback"
|
|
126
|
+
bind:failCallback="failCallback"
|
|
127
|
+
bind:updataData="updataData"
|
|
128
|
+
></PayBar>
|
|
129
|
+
</view>
|
|
130
|
+
|
|
131
|
+
<!-- 地址管理(非自提) -->
|
|
132
|
+
<AddressManage
|
|
133
|
+
wx:if="{{ isShowAddressManage }}"
|
|
134
|
+
isShowAddressManage="{{ isShowAddressManage }}"
|
|
135
|
+
addressInfo="{{ addressInfo }}"
|
|
136
|
+
addressQuery="{{ addressQuery }}"
|
|
137
|
+
isShowEditAddress="{{ isShowEditAddress }}"
|
|
138
|
+
bind:updataData="updataData"
|
|
139
|
+
></AddressManage>
|
|
140
|
+
<!-- 编辑、编辑地址 -->
|
|
141
|
+
<AddressEdit
|
|
142
|
+
wx:if="{{ isShowEditAddress }}"
|
|
143
|
+
addressInfo="{{ addressInfo }}"
|
|
144
|
+
addressList="{{ addressList }}"
|
|
145
|
+
addressQuery="{{ addressQuery }}"
|
|
146
|
+
isShowEditAddress="{{ isShowEditAddress }}"
|
|
147
|
+
bind:updataData="updataData"
|
|
148
|
+
bind:initConfirmOrderInfo="handleInfo"
|
|
149
|
+
></AddressEdit>
|
|
150
|
+
<!-- 选择自提点 -->
|
|
151
|
+
<SelectSite
|
|
152
|
+
wx:if="{{ isShowPoint }}"
|
|
153
|
+
picksiteInfo="{{ picksiteInfo }}"
|
|
154
|
+
bind:updataData="updataData"
|
|
155
|
+
></SelectSite>
|
|
156
|
+
<!-- 选择提货人 -->
|
|
157
|
+
<Shipper
|
|
158
|
+
wx:if="{{ isShowSelectShipper }}"
|
|
159
|
+
pickerUserInfo="{{ pickerUserInfo }}"
|
|
160
|
+
bind:updataData="updataData"
|
|
161
|
+
></Shipper>
|
|
162
|
+
<!-- 新建、编辑提货人 -->
|
|
163
|
+
<ShipperEdit
|
|
164
|
+
wx:if="{{ isShowCreateShipper }}"
|
|
165
|
+
pickerUserInfo="{{ pickerUserInfo }}"
|
|
166
|
+
updateShipperInfo="{{ updateShipperInfo }}"
|
|
167
|
+
shipperType="{{ shipperType }}"
|
|
168
|
+
isShowCreateShipper="{{ isShowCreateShipper }}"
|
|
169
|
+
bind:updataData="updataData"
|
|
170
|
+
bind:initPickerInfo="initPickerInfo"
|
|
171
|
+
></ShipperEdit>
|
|
172
|
+
</view>
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// src/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityGiftList/index.js
|
|
2
|
+
import {
|
|
3
|
+
getGoodsInfo
|
|
4
|
+
} from "../../../../../../../common/api/confirmOrder"
|
|
5
|
+
const computedBehavior = require('miniprogram-computed').behavior
|
|
6
|
+
|
|
7
|
+
Component({
|
|
8
|
+
behaviors: [computedBehavior],
|
|
9
|
+
/**
|
|
10
|
+
* 组件的属性列表
|
|
11
|
+
*/
|
|
12
|
+
properties: {
|
|
13
|
+
// 知识商品数量
|
|
14
|
+
virtualNum: {
|
|
15
|
+
type: Number,
|
|
16
|
+
value: 0
|
|
17
|
+
},
|
|
18
|
+
spuId: {
|
|
19
|
+
type: String,
|
|
20
|
+
value: ''
|
|
21
|
+
},
|
|
22
|
+
resourceId: {
|
|
23
|
+
type: String,
|
|
24
|
+
value: ''
|
|
25
|
+
},
|
|
26
|
+
resourceType: {
|
|
27
|
+
type: String,
|
|
28
|
+
value: ''
|
|
29
|
+
},
|
|
30
|
+
resourceType: {
|
|
31
|
+
type: String,
|
|
32
|
+
value: ''
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* 组件的初始数据
|
|
38
|
+
*/
|
|
39
|
+
data: {
|
|
40
|
+
goodsList: [],
|
|
41
|
+
},
|
|
42
|
+
computed: {
|
|
43
|
+
total(data) {
|
|
44
|
+
return (data.goodsList.reduce((total, good) => {
|
|
45
|
+
return total + Number(good.sku_price);
|
|
46
|
+
}, 0) / 100).toFixed(2)
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
lifetimes: {
|
|
50
|
+
attached: function () {
|
|
51
|
+
this.initGoodsInfo()
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
/**
|
|
55
|
+
* 组件的方法列表
|
|
56
|
+
*/
|
|
57
|
+
methods: {
|
|
58
|
+
initGoodsInfo() {
|
|
59
|
+
let params = {
|
|
60
|
+
resource_id: this.data.resourceId,
|
|
61
|
+
resource_type: this.data.resourceType
|
|
62
|
+
}
|
|
63
|
+
getGoodsInfo(params).then(res => {
|
|
64
|
+
if (res.data.code === 0) {
|
|
65
|
+
this.setData({
|
|
66
|
+
goodsList: res.data.data.goods_list
|
|
67
|
+
})
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
})
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
.entity-list-wrapper {
|
|
2
|
+
flex: 1;
|
|
3
|
+
padding: 32rpx 0;
|
|
4
|
+
margin: 0 auto;
|
|
5
|
+
max-width: 960rpx;
|
|
6
|
+
overflow: auto;
|
|
7
|
+
background: #ffffff;
|
|
8
|
+
border-radius: 32rpx 32rpx 0px 0px;
|
|
9
|
+
|
|
10
|
+
.entity-list-close {
|
|
11
|
+
position: absolute;
|
|
12
|
+
top: 10rpx;
|
|
13
|
+
right: 32rpx;
|
|
14
|
+
width: 24rpx;
|
|
15
|
+
height: 24rpx;
|
|
16
|
+
font-size: 0;
|
|
17
|
+
|
|
18
|
+
.img {
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.entity-list-count {
|
|
25
|
+
padding: 40rpx 32rpx 32rpx;
|
|
26
|
+
display: flex;
|
|
27
|
+
|
|
28
|
+
.entity-list-count-item {
|
|
29
|
+
padding-right: 40rpx;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.entity-list-tips {
|
|
34
|
+
padding: 48rpx 0 140rpx;
|
|
35
|
+
line-height: 36rpx;
|
|
36
|
+
text-align: center;
|
|
37
|
+
font-size: 24rpx;
|
|
38
|
+
color: #999;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.entity-goods-list {
|
|
43
|
+
padding: 0 32rpx;
|
|
44
|
+
overflow: auto;
|
|
45
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!--src/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityGiftList/index.wxml-->
|
|
2
|
+
<view class="entity-list-wrapper">
|
|
3
|
+
<view class="entity-list-count">
|
|
4
|
+
<view class="entity-list-count-item">总价:¥{{ total }}</view>
|
|
5
|
+
<view class="entity-list-count-item">实付:¥0</view>
|
|
6
|
+
</view>
|
|
7
|
+
<view class="entity-goods-list">
|
|
8
|
+
<entityItem
|
|
9
|
+
wx:for="{{ goodsList }}"
|
|
10
|
+
wx:key="key"
|
|
11
|
+
wx:for-item="goods"
|
|
12
|
+
goods="{{ goods }}"
|
|
13
|
+
></entityItem>
|
|
14
|
+
<view class="entity-list-tips" wx:if="{{ virtualNum }}">
|
|
15
|
+
* 知识商品只能领取一次
|
|
16
|
+
</view>
|
|
17
|
+
</view>
|
|
18
|
+
</view>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.entity-list-wrapper {
|
|
2
|
+
flex: 1;
|
|
3
|
+
padding: 32rpx 0;
|
|
4
|
+
margin: 0 auto;
|
|
5
|
+
max-width: 960rpx;
|
|
6
|
+
overflow: auto;
|
|
7
|
+
background: #ffffff;
|
|
8
|
+
border-radius: 32rpx 32rpx 0px 0px;
|
|
9
|
+
}
|
|
10
|
+
.entity-list-wrapper .entity-list-close {
|
|
11
|
+
position: absolute;
|
|
12
|
+
top: 10rpx;
|
|
13
|
+
right: 32rpx;
|
|
14
|
+
width: 24rpx;
|
|
15
|
+
height: 24rpx;
|
|
16
|
+
font-size: 0;
|
|
17
|
+
}
|
|
18
|
+
.entity-list-wrapper .entity-list-close .img {
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
}
|
|
22
|
+
.entity-list-wrapper .entity-list-count {
|
|
23
|
+
padding: 40rpx 32rpx 32rpx;
|
|
24
|
+
display: flex;
|
|
25
|
+
}
|
|
26
|
+
.entity-list-wrapper .entity-list-count .entity-list-count-item {
|
|
27
|
+
padding-right: 40rpx;
|
|
28
|
+
}
|
|
29
|
+
.entity-list-wrapper .entity-list-tips {
|
|
30
|
+
padding: 48rpx 0 140rpx;
|
|
31
|
+
line-height: 36rpx;
|
|
32
|
+
text-align: center;
|
|
33
|
+
font-size: 24rpx;
|
|
34
|
+
color: #999;
|
|
35
|
+
}
|
|
36
|
+
.entity-goods-list {
|
|
37
|
+
padding: 0 32rpx;
|
|
38
|
+
overflow: auto;
|
|
39
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// src/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityItem/index.js
|
|
2
|
+
const computedBehavior = require('miniprogram-computed').behavior
|
|
3
|
+
|
|
4
|
+
Component({
|
|
5
|
+
behaviors: [computedBehavior],
|
|
6
|
+
/**
|
|
7
|
+
* 组件的属性列表
|
|
8
|
+
*/
|
|
9
|
+
properties: {
|
|
10
|
+
goods: {
|
|
11
|
+
type: Object,
|
|
12
|
+
value: () => {}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* 组件的初始数据
|
|
18
|
+
*/
|
|
19
|
+
data: {
|
|
20
|
+
|
|
21
|
+
},
|
|
22
|
+
computed: {
|
|
23
|
+
// 商品描述信息。不同商品类型有不同的描述
|
|
24
|
+
descInfo(data) {
|
|
25
|
+
const type = data.goods.goods_type;
|
|
26
|
+
const specs_info = data.goods.specs_info;
|
|
27
|
+
let desc = '';
|
|
28
|
+
if (type === 21) {
|
|
29
|
+
// 实物商品
|
|
30
|
+
desc = (specs_info && specs_info.reduce((specifications, good) => {
|
|
31
|
+
return !specifications ? good.attr_value : `${specifications};${good.attr_value}`;
|
|
32
|
+
}, '')) || '';
|
|
33
|
+
}
|
|
34
|
+
if (type === 23) {
|
|
35
|
+
// 超级会员
|
|
36
|
+
const sVipInfo = data.goods.goods_specification;
|
|
37
|
+
const standardMap = {
|
|
38
|
+
1: '7天',
|
|
39
|
+
2: '1个月',
|
|
40
|
+
3: '3个月',
|
|
41
|
+
4: '6个月',
|
|
42
|
+
5: '12个月',
|
|
43
|
+
6: sVipInfo.period + '天',
|
|
44
|
+
7: sVipInfo.period + '天',
|
|
45
|
+
8: '永久有效',
|
|
46
|
+
}
|
|
47
|
+
desc = standardMap[sVipInfo.type] || '';
|
|
48
|
+
}
|
|
49
|
+
return desc;
|
|
50
|
+
},
|
|
51
|
+
// 是否是实物商品
|
|
52
|
+
isEntityGoods(data) {
|
|
53
|
+
return data.goods.goods_type === 21;
|
|
54
|
+
},
|
|
55
|
+
// 是否展示商品标签,实物商品可以设置为 展示/不展示
|
|
56
|
+
showGoodsTag(data) {
|
|
57
|
+
return !data.isEntityGoods || data.goods.goods_tag_is_show === 1;
|
|
58
|
+
},
|
|
59
|
+
// 商品标签
|
|
60
|
+
goodsTag(data) {
|
|
61
|
+
const typeMap = {
|
|
62
|
+
0: '全部',
|
|
63
|
+
1: '图文',
|
|
64
|
+
2: '音频',
|
|
65
|
+
3: '视频',
|
|
66
|
+
4: '直播',
|
|
67
|
+
5: '会员',
|
|
68
|
+
6: '专栏',
|
|
69
|
+
7: '社群',
|
|
70
|
+
8: '大专栏',
|
|
71
|
+
9: '活动管理',
|
|
72
|
+
16: '打卡',
|
|
73
|
+
20: '电子书',
|
|
74
|
+
21: data.goods.goods_tag,
|
|
75
|
+
22: '分销商品',
|
|
76
|
+
23: '超级会员',
|
|
77
|
+
25: '训练营',
|
|
78
|
+
29: '面授课',
|
|
79
|
+
31: '小班课',
|
|
80
|
+
34: '练习',
|
|
81
|
+
35: '大班课',
|
|
82
|
+
}
|
|
83
|
+
return typeMap[data.goods.goods_type] || '';
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
/**
|
|
87
|
+
* 组件的方法列表
|
|
88
|
+
*/
|
|
89
|
+
methods: {
|
|
90
|
+
|
|
91
|
+
}
|
|
92
|
+
})
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
.entity-item {
|
|
2
|
+
display: flex;
|
|
3
|
+
|
|
4
|
+
&+.entity-item {
|
|
5
|
+
margin-top: 32rpx;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&__img-wrapper {
|
|
9
|
+
position: relative;
|
|
10
|
+
width: 240rpx;
|
|
11
|
+
min-width: 240rpx;
|
|
12
|
+
height: 180rpx;
|
|
13
|
+
border-radius: 8rpx;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
border: 2rpx solid #eee;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&__img-inner {
|
|
19
|
+
position: relative;
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 100%;
|
|
22
|
+
|
|
23
|
+
.goods-img {
|
|
24
|
+
width: 100% !important;
|
|
25
|
+
height: 100% !important;
|
|
26
|
+
border-radius: 8rpx;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__img-inner.entity-goods {
|
|
31
|
+
margin: 0 auto;
|
|
32
|
+
width: 180rpx;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&__unavailable {
|
|
36
|
+
position: absolute;
|
|
37
|
+
top: 0;
|
|
38
|
+
right: 0;
|
|
39
|
+
bottom: 0;
|
|
40
|
+
left: 0;
|
|
41
|
+
z-index: 2;
|
|
42
|
+
display: flex;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
align-items: center;
|
|
45
|
+
border-radius: 8rpx;
|
|
46
|
+
background: rgba(0, 0, 0, 0.5);
|
|
47
|
+
|
|
48
|
+
.unavailable-img {
|
|
49
|
+
width: 128rpx;
|
|
50
|
+
height: 116rpx;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&__tag {
|
|
55
|
+
position: absolute;
|
|
56
|
+
right: 8rpx;
|
|
57
|
+
bottom: 8rpx;
|
|
58
|
+
padding: 2rpx 6rpx;
|
|
59
|
+
line-height: 24rpx;
|
|
60
|
+
font-size: 24rpx;
|
|
61
|
+
border-radius: 4rpx;
|
|
62
|
+
background: rgba(0, 0, 0, 0.5);
|
|
63
|
+
color: white;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&__content {
|
|
67
|
+
position: relative;
|
|
68
|
+
flex: 1;
|
|
69
|
+
margin-left: 24rpx;
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&__title {
|
|
74
|
+
display: -webkit-box;
|
|
75
|
+
margin: 4rpx 0 8rpx;
|
|
76
|
+
line-height: 40rpx;
|
|
77
|
+
font-weight: 500;
|
|
78
|
+
color: #333;
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
text-overflow: ellipsis;
|
|
81
|
+
-webkit-line-clamp: 2;
|
|
82
|
+
-webkit-box-orient: vertical;
|
|
83
|
+
word-break: break-all;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&__des {
|
|
87
|
+
overflow: hidden;
|
|
88
|
+
text-overflow: ellipsis;
|
|
89
|
+
white-space: nowrap;
|
|
90
|
+
width: 95%;
|
|
91
|
+
line-height: 34rpx;
|
|
92
|
+
color: #999999;
|
|
93
|
+
font-size: 24rpx;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&__amount {
|
|
97
|
+
position: absolute;
|
|
98
|
+
bottom: 4rpx;
|
|
99
|
+
display: flex;
|
|
100
|
+
width: 100%;
|
|
101
|
+
justify-content: space-between;
|
|
102
|
+
color: #999999;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&__price {
|
|
106
|
+
font-size: 24rpx;
|
|
107
|
+
display: flex;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<!--src/ConfirmOrder/components/GoodsInfo/components/GoodsCommerce/components/entityItem/index.wxml-->
|
|
2
|
+
<wxs src="./filter.wxs" module="tools" />
|
|
3
|
+
<view class="entity-item">
|
|
4
|
+
<view class="entity-item__img-wrapper">
|
|
5
|
+
<view class="entity-item__unavailable" wx:if="{{ isEntityGoods && goods.sku_stock === 0 }}">
|
|
6
|
+
<image src="../../../../../../../common/assets/images/replenish.png" class="unavailable-view"></image>
|
|
7
|
+
</view>
|
|
8
|
+
<view class="entity-item__unavailable" wx:if="{{ goods.goods_type === 35 && goods.sku_stock === 0 }}">
|
|
9
|
+
<image src="http://wechatapppro-1252524126.file.myqcloud.com/appAKLWLitn7978/image/kgfyr6j60r0xphcnw1hq.png" class="unavailable-view" />
|
|
10
|
+
</view>
|
|
11
|
+
|
|
12
|
+
<view class="entity-item__img-inner {{ isEntityGoods ? 'entity-goods' : '' }}">
|
|
13
|
+
<image src="{{ goods.goods_img }}" class="goods-img" />
|
|
14
|
+
</view>
|
|
15
|
+
<view class="entity-item__tag" wx:if="{{ showGoodsTag }}">{{goodsTag}}</view>
|
|
16
|
+
</view>
|
|
17
|
+
|
|
18
|
+
<view class="entity-item__content">
|
|
19
|
+
<view class="entity-item__title">{{goods.goods_name}}</view>
|
|
20
|
+
<view class="entity-item__des">{{descInfo}}</view>
|
|
21
|
+
<view class="entity-item__amount">
|
|
22
|
+
<view class="entity-item__price">
|
|
23
|
+
<view class="entity-item__price-currency">¥</view>
|
|
24
|
+
{{ goods.sku_price && tools.priceFilter(goods.sku_price) }}
|
|
25
|
+
</view>
|
|
26
|
+
<view class="entity-item__count" wx:if="{{ isEntityGoods }}">x1</view>
|
|
27
|
+
</view>
|
|
28
|
+
</view>
|
|
29
|
+
</view>
|