xiaoe_mp_npm 1.1.21 → 1.1.22-test02
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/.babelrc +10 -10
- package/.eslintrc.js +102 -102
- package/.gitlab-ci.yml +44 -44
- package/.prettierrc.js +34 -34
- package/.vscode/extensions.json +4 -4
- package/.vscode/settings.json +9 -9
- package/LICENSE +21 -21
- package/README.md +134 -134
- package/gulpfile.js +26 -26
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/friends/friends.js +181 -181
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/components/friends/friends.wxml +25 -25
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/index.js +253 -253
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/index.less +255 -255
- package/miniprogram_dist/AliveInvite/LiveRoomVertical/index.wxml +122 -122
- package/miniprogram_dist/CollectionAddress/index.js +288 -288
- package/miniprogram_dist/CollectionAddress/index.json +13 -13
- package/miniprogram_dist/CollectionAddress/index.less +4 -4
- package/miniprogram_dist/CollectionAddress/index.wxml +93 -93
- package/miniprogram_dist/ConfirmOrder/components/AddressEdit/index.json +10 -10
- package/miniprogram_dist/ConfirmOrder/components/AddressEdit/index.less +123 -123
- package/miniprogram_dist/ConfirmOrder/components/AddressEdit/index.wxml +51 -51
- package/miniprogram_dist/ConfirmOrder/components/AddressManage/index.js +168 -168
- package/miniprogram_dist/ConfirmOrder/components/AddressManage/index.json +7 -7
- package/miniprogram_dist/ConfirmOrder/components/AddressManage/index.less +95 -95
- package/miniprogram_dist/ConfirmOrder/components/AddressManage/index.wxml +36 -36
- package/miniprogram_dist/ConfirmOrder/components/AddressSelect/index.js +160 -160
- package/miniprogram_dist/ConfirmOrder/components/AddressSelect/index.json +4 -4
- package/miniprogram_dist/ConfirmOrder/components/AddressSelect/index.less +79 -79
- package/miniprogram_dist/ConfirmOrder/components/AddressSelect/index.wxml +33 -33
- package/miniprogram_dist/ConfirmOrder/components/ChoosePicker/index.js +115 -115
- package/miniprogram_dist/ConfirmOrder/components/ChoosePicker/index.json +5 -5
- package/miniprogram_dist/ConfirmOrder/components/ChoosePicker/index.less +20 -20
- package/miniprogram_dist/ConfirmOrder/components/ChoosePicker/index.wxml +9 -9
- package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.js +1819 -1819
- package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.json +27 -27
- package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.scss +44 -44
- package/miniprogram_dist/ConfirmOrder/components/ConfirmOrderContent/index.wxml +225 -225
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/CopGoodsList/index.js +129 -129
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/CopGoodsList/index.json +8 -8
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/CopGoodsList/index.scss +58 -58
- package/miniprogram_dist/ConfirmOrder/components/GoodsInfo/components/CopGoodsList/index.wxml +25 -25
- package/miniprogram_dist/GoodsItem/index.js +180 -21
- package/miniprogram_dist/GoodsItem/index.scss +822 -627
- package/miniprogram_dist/GoodsItem/index.wxml +145 -108
- package/miniprogram_dist/GoodsItem/index.wxs +40 -40
- package/miniprogram_dist/GoodsItem/index.wxss +1149 -461
- package/miniprogram_dist/LiveGoodsList/Header/index.js +65 -65
- package/miniprogram_dist/LiveGoodsList/Header/index.json +6 -6
- package/miniprogram_dist/LiveGoodsList/Header/index.less +45 -45
- package/miniprogram_dist/LiveGoodsList/Header/index.scss +157 -137
- package/miniprogram_dist/LiveGoodsList/Header/index.wxml +39 -36
- package/miniprogram_dist/LiveGoodsList/Header/index.wxss +88 -12
- package/miniprogram_dist/LiveGoodsList/README.md +9 -9
- package/miniprogram_dist/LiveGoodsList/index.js +29 -10
- package/miniprogram_dist/LiveGoodsList/index.less +53 -53
- package/miniprogram_dist/LiveGoodsList/index.scss +173 -173
- package/miniprogram_dist/LiveGoodsList/index.wxml +9 -1
- package/miniprogram_dist/MatchList/index.js +445 -441
- package/miniprogram_dist/MatchList/index.json +5 -5
- package/miniprogram_dist/MatchList/index.scss +175 -175
- package/miniprogram_dist/MatchList/index.wxml +98 -97
- package/miniprogram_dist/MemberIntegralMultiplierBar/index.js +196 -196
- package/miniprogram_dist/MemberIntegralMultiplierBar/index.json +7 -7
- package/miniprogram_dist/MemberIntegralMultiplierBar/index.scss +67 -67
- package/miniprogram_dist/MemberIntegralMultiplierBar/index.wxml +8 -8
- package/miniprogram_dist/MemberIntegralMultiplierPopup/index.js +54 -54
- package/miniprogram_dist/MemberIntegralMultiplierPopup/index.json +7 -7
- package/miniprogram_dist/MemberIntegralMultiplierPopup/index.scss +86 -86
- package/miniprogram_dist/MemberIntegralMultiplierPopup/index.wxml +48 -48
- package/miniprogram_dist/MemberIntegralMultiplierPopup/popup-service.js +18 -18
- package/miniprogram_dist/MsgBubble/index.js +312 -0
- package/miniprogram_dist/MsgBubble/index.json +7 -0
- package/miniprogram_dist/MsgBubble/index.scss +81 -0
- package/miniprogram_dist/MsgBubble/index.wxml +19 -0
- package/miniprogram_dist/MsgBubble/index.wxss +202 -0
- package/miniprogram_dist/ShoppingCartBubble/index.js +336 -156
- package/miniprogram_dist/ShoppingCartBubble/index.scss +94 -55
- package/miniprogram_dist/ShoppingCartBubble/index.wxml +14 -11
- package/miniprogram_dist/ShoppingCartBubble/index.wxss +196 -40
- package/miniprogram_dist/Task/TaskBubble/index.json +3 -3
- package/miniprogram_dist/Task/TaskBubble/index.scss +125 -125
- package/miniprogram_dist/Task/TaskBubble/index.wxml +22 -22
- package/miniprogram_dist/Task/TaskIcon/index.js +29 -29
- package/miniprogram_dist/Task/TaskIcon/index.json +4 -4
- package/miniprogram_dist/Task/TaskIcon/index.scss +70 -70
- package/miniprogram_dist/Task/TaskIcon/index.wxml +5 -5
- package/miniprogram_dist/Task/TaskPopup/component/RewardList/index.js +52 -52
- package/miniprogram_dist/Task/TaskPopup/component/RewardList/index.json +6 -6
- package/miniprogram_dist/Task/TaskPopup/component/RewardList/index.scss +39 -39
- package/miniprogram_dist/Task/TaskPopup/component/RewardList/index.wxml +23 -23
- package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.js +578 -578
- package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.json +10 -10
- package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.scss +245 -245
- package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.wxml +145 -145
- package/miniprogram_dist/Task/TaskPopup/component/TaskItem/index.wxs +7 -7
- package/miniprogram_dist/Task/TaskPopup/component/TaskList/index.js +298 -298
- package/miniprogram_dist/Task/TaskPopup/component/TaskList/index.json +7 -7
- package/miniprogram_dist/Task/TaskPopup/component/TaskList/index.scss +66 -66
- package/miniprogram_dist/Task/TaskPopup/component/TaskList/index.wxml +41 -41
- package/miniprogram_dist/Task/TaskPopup/component/TaskType/index.js +129 -129
- package/miniprogram_dist/Task/TaskPopup/component/TaskType/index.json +13 -13
- package/miniprogram_dist/Task/TaskPopup/component/TaskType/index.scss +90 -90
- package/miniprogram_dist/Task/TaskPopup/component/TaskType/index.wxml +69 -69
- package/miniprogram_dist/Task/TaskPopup/index.js +174 -174
- package/miniprogram_dist/Task/TaskPopup/index.json +7 -7
- package/miniprogram_dist/Task/TaskPopup/index.scss +166 -166
- package/miniprogram_dist/Task/TaskPopup/index.wxml +87 -87
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizContent/index.js +131 -131
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizContent/index.json +5 -5
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizContent/index.scss +191 -191
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizContent/index.wxml +64 -64
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizContent/index.wxs +78 -78
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizRichText/index.js +40 -40
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizRichText/index.json +5 -5
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizRichText/index.scss +6 -6
- package/miniprogram_dist/Task/TaskQuizPopup/components/quizRichText/index.wxml +1 -1
- package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/base.wxml +50 -50
- package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/html2json.js +623 -623
- package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/htmlparser.js +183 -183
- package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/iframeParse.js +216 -216
- package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/loop.wxml +3563 -3563
- package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/showdown.js +2364 -2364
- package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/wxDiscode.js +209 -209
- package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/wxParse.js +269 -269
- package/miniprogram_dist/Task/TaskQuizPopup/components/wxParse/wxParse.wxml +1276 -1276
- package/miniprogram_dist/Task/TaskQuizPopup/index.js +246 -246
- package/miniprogram_dist/Task/TaskQuizPopup/index.json +7 -7
- package/miniprogram_dist/Task/TaskQuizPopup/index.scss +158 -158
- package/miniprogram_dist/Task/TaskQuizPopup/index.wxml +99 -99
- package/miniprogram_dist/Task/common/task.js +55 -55
- package/miniprogram_dist/Task/taskQuizRemindPopup/index.js +74 -74
- package/miniprogram_dist/Task/taskQuizRemindPopup/index.json +5 -5
- package/miniprogram_dist/Task/taskQuizRemindPopup/index.scss +107 -107
- package/miniprogram_dist/Task/taskQuizRemindPopup/index.wxml +27 -27
- package/miniprogram_dist/Task/taskReceivePopup/coupon/index.js +68 -68
- package/miniprogram_dist/Task/taskReceivePopup/coupon/index.json +6 -6
- package/miniprogram_dist/Task/taskReceivePopup/coupon/index.scss +123 -123
- package/miniprogram_dist/Task/taskReceivePopup/coupon/index.wxml +81 -81
- package/miniprogram_dist/Task/taskReceivePopup/coupon/index.wxs +48 -48
- package/miniprogram_dist/Task/taskReceivePopup/customPrizes/index.js +44 -44
- package/miniprogram_dist/Task/taskReceivePopup/customPrizes/index.json +6 -6
- package/miniprogram_dist/Task/taskReceivePopup/customPrizes/index.scss +106 -106
- package/miniprogram_dist/Task/taskReceivePopup/customPrizes/index.wxml +38 -38
- package/miniprogram_dist/Task/taskReceivePopup/customPrizes/index.wxs +48 -48
- package/miniprogram_dist/Task/taskReceivePopup/index.js +47 -47
- package/miniprogram_dist/Task/taskReceivePopup/index.json +13 -13
- package/miniprogram_dist/Task/taskReceivePopup/index.wxml +32 -32
- package/miniprogram_dist/Task/taskReceivePopup/integral/index.js +106 -106
- package/miniprogram_dist/Task/taskReceivePopup/integral/index.json +7 -7
- package/miniprogram_dist/Task/taskReceivePopup/integral/index.scss +60 -60
- package/miniprogram_dist/Task/taskReceivePopup/integral/index.wxml +23 -23
- package/miniprogram_dist/TeacherGoodsList/index.js +997 -983
- package/miniprogram_dist/TeacherGoodsList/index.json +10 -10
- package/miniprogram_dist/TeacherGoodsList/index.scss +178 -178
- package/miniprogram_dist/TeacherGoodsList/index.wxml +146 -144
- package/miniprogram_dist/common/api/liveGoodsList.js +181 -167
- package/miniprogram_dist/common/assets/images/coupon/emptypage.svg +49 -49
- package/miniprogram_dist/common/assets/images/coupon/failed.svg +5 -5
- package/miniprogram_dist/common/assets/images/coupon/up.svg +21 -21
- package/miniprogram_dist/common/assets/images/pay/loading.svg +3 -3
- package/miniprogram_dist/common/assets/images/recommend.svg +6 -6
- package/miniprogram_dist/common/assets/images/refresh.svg +10 -10
- package/miniprogram_dist/common/assets/images/refresh_white.svg +3 -3
- package/miniprogram_dist/common/assets/images/wechat.svg +4 -4
- package/miniprogram_dist/common/css/index.less +2 -2
- package/miniprogram_dist/common/css/theme.less +19 -19
- package/miniprogram_dist/common/libs/dataUp/sensorUp.js +91 -91
- package/miniprogram_dist/common/libs/playerHttp.js +58 -58
- package/miniprogram_dist/common/libs/playerRequestUrl.js +39 -39
- package/miniprogram_dist/common/transaction/parameter/channel-info.js +36 -36
- package/miniprogram_dist/common/transaction/parameter/delivery-info.js +26 -26
- package/miniprogram_dist/common/transaction/parameter/misc-parameter.js +21 -21
- package/miniprogram_dist/common/utils/currency.js +52 -52
- package/miniprogram_dist/common/utils/getInfoCollectionData.js +59 -59
- package/miniprogram_dist/common/utils/image-cdn-slim/constant.js +8 -8
- package/miniprogram_dist/common/utils/image-cdn-slim/index.js +7 -7
- package/miniprogram_dist/common/utils/image-cdn-slim/utils.js +156 -156
- package/miniprogram_dist/common/utils/index.js +86 -86
- package/miniprogram_dist/common/utils/liveGoods.js +217 -217
- package/miniprogram_dist/common/utils/specialList.js +5 -5
- package/miniprogram_dist/common/utils/tool.js +72 -72
- package/miniprogram_dist/common/wxs/filter.wxs +29 -29
- package/miniprogram_dist/index.js +6 -6
- package/miniprogram_dist/index.js.map +1 -1
- package/miniprogram_dist/lib.js.map +1 -1
- package/package.json +78 -78
- package/project.config.json +79 -79
- package/src/AliveInvite/LiveRoomVertical/components/friends/friends.js +181 -181
- package/src/AliveInvite/LiveRoomVertical/components/friends/friends.wxml +25 -25
- package/src/AliveInvite/LiveRoomVertical/components/friends/friends.wxss +97 -97
- package/src/AliveInvite/LiveRoomVertical/index.js +253 -253
- package/src/AliveInvite/LiveRoomVertical/index.less +255 -255
- package/src/AliveInvite/LiveRoomVertical/index.wxml +122 -122
- package/src/AliveInvite/LiveRoomVertical/index.wxss +252 -252
- package/src/CollectionAddress/index.js +288 -288
- package/src/CollectionAddress/index.json +13 -13
- package/src/CollectionAddress/index.less +4 -4
- package/src/CollectionAddress/index.wxml +93 -93
- package/src/CollectionAddress/index.wxss +5 -5
- package/src/ConfirmOrder/components/AddressEdit/index.json +10 -10
- package/src/ConfirmOrder/components/AddressEdit/index.less +123 -123
- package/src/ConfirmOrder/components/AddressEdit/index.wxml +51 -51
- package/src/ConfirmOrder/components/AddressEdit/index.wxss +120 -120
- package/src/ConfirmOrder/components/AddressManage/index.js +168 -168
- package/src/ConfirmOrder/components/AddressManage/index.json +7 -7
- package/src/ConfirmOrder/components/AddressManage/index.less +95 -95
- package/src/ConfirmOrder/components/AddressManage/index.wxml +36 -36
- package/src/ConfirmOrder/components/AddressManage/index.wxss +98 -98
- package/src/ConfirmOrder/components/AddressSelect/index.js +160 -160
- package/src/ConfirmOrder/components/AddressSelect/index.json +4 -4
- package/src/ConfirmOrder/components/AddressSelect/index.less +79 -79
- package/src/ConfirmOrder/components/AddressSelect/index.wxml +33 -33
- package/src/ConfirmOrder/components/AddressSelect/index.wxss +67 -67
- package/src/ConfirmOrder/components/ChoosePicker/index.js +115 -115
- package/src/ConfirmOrder/components/ChoosePicker/index.json +5 -5
- package/src/ConfirmOrder/components/ChoosePicker/index.less +20 -20
- package/src/ConfirmOrder/components/ChoosePicker/index.wxml +9 -9
- package/src/ConfirmOrder/components/ChoosePicker/index.wxss +18 -18
- package/src/ConfirmOrder/components/ConfirmOrderContent/index.js +1819 -1819
- package/src/ConfirmOrder/components/ConfirmOrderContent/index.json +27 -27
- package/src/ConfirmOrder/components/ConfirmOrderContent/index.scss +44 -44
- package/src/ConfirmOrder/components/ConfirmOrderContent/index.wxml +225 -225
- package/src/ConfirmOrder/components/ConfirmOrderContent/index.wxss +37 -37
- package/src/ConfirmOrder/components/GoodsInfo/components/CopGoodsList/index.js +129 -129
- package/src/ConfirmOrder/components/GoodsInfo/components/CopGoodsList/index.json +8 -8
- package/src/ConfirmOrder/components/GoodsInfo/components/CopGoodsList/index.scss +58 -58
- package/src/ConfirmOrder/components/GoodsInfo/components/CopGoodsList/index.wxml +25 -25
- package/src/ConfirmOrder/components/GoodsInfo/components/CopGoodsList/index.wxss +1 -1
- package/src/ConfirmOrder/components/GoodsInfo/index.wxss +1 -1
- package/src/ConfirmOrder/components/IntegralSelect/index.wxss +218 -218
- package/src/ConfirmOrder/components/Invoice/index.wxss +93 -93
- package/src/ConfirmOrder/components/LeaveWord/index.wxss +1 -1
- package/src/ConfirmOrder/components/OrderBubble/index.wxss +1 -1
- package/src/ConfirmOrder/components/PayBar/index.wxss +1 -1
- package/src/ConfirmOrder/components/PayDetail/index.wxss +78 -78
- package/src/ConfirmOrder/components/SvipSelect/SvipSelect.wxss +266 -266
- package/src/CopGoodsCard/index.wxss +1 -1
- package/src/CouponList/components/CouponItem/index.wxss +1 -1
- package/src/CouponList/components/couponIcon/index.wxss +1 -1
- package/src/CouponList/stuCouponPopup/index.wxss +1 -1
- package/src/CouponReceivePopup/index.wxss +1 -1
- package/src/CustomPopup/index.wxss +37 -37
- package/src/GoodsBubble/index.wxss +1 -1
- package/src/GoodsItem/index.js +180 -21
- package/src/GoodsItem/index.scss +822 -627
- package/src/GoodsItem/index.wxml +145 -108
- package/src/GoodsItem/index.wxs +40 -40
- package/src/GoodsItem/index.wxss +1 -1
- package/src/GoodsRecommend/index.wxss +537 -537
- package/src/LevelMemberBar/index.wxss +1 -1
- package/src/LiveGoodsList/Header/index.js +65 -65
- package/src/LiveGoodsList/Header/index.json +6 -6
- package/src/LiveGoodsList/Header/index.less +45 -45
- package/src/LiveGoodsList/Header/index.scss +157 -137
- package/src/LiveGoodsList/Header/index.wxml +39 -36
- package/src/LiveGoodsList/Header/index.wxss +1 -1
- package/src/LiveGoodsList/README.md +9 -9
- package/src/LiveGoodsList/index.js +29 -10
- package/src/LiveGoodsList/index.less +53 -53
- package/src/LiveGoodsList/index.scss +173 -173
- package/src/LiveGoodsList/index.wxml +9 -1
- package/src/LiveGoodsList/index.wxss +1 -1
- package/src/MatchList/index.js +445 -441
- package/src/MatchList/index.json +5 -5
- package/src/MatchList/index.scss +175 -175
- package/src/MatchList/index.wxml +98 -97
- package/src/MatchList/index.wxss +1 -1
- package/src/MemberIntegralMultiplierBar/index.js +196 -196
- package/src/MemberIntegralMultiplierBar/index.json +7 -7
- package/src/MemberIntegralMultiplierBar/index.scss +67 -67
- package/src/MemberIntegralMultiplierBar/index.wxml +8 -8
- package/src/MemberIntegralMultiplierBar/index.wxss +1 -1
- package/src/MemberIntegralMultiplierPopup/index.js +54 -54
- package/src/MemberIntegralMultiplierPopup/index.json +7 -7
- package/src/MemberIntegralMultiplierPopup/index.scss +86 -86
- package/src/MemberIntegralMultiplierPopup/index.wxml +48 -48
- package/src/MemberIntegralMultiplierPopup/index.wxss +1 -1
- package/src/MemberIntegralMultiplierPopup/popup-service.js +18 -18
- package/src/MsgBubble/index.js +312 -0
- package/src/MsgBubble/index.json +7 -0
- package/src/MsgBubble/index.scss +81 -0
- package/src/MsgBubble/index.wxml +19 -0
- package/src/MsgBubble/index.wxss +1 -0
- package/src/PayModule/button/index.wxss +58 -58
- package/src/ShoppingCartBubble/index.js +336 -156
- package/src/ShoppingCartBubble/index.scss +94 -55
- package/src/ShoppingCartBubble/index.wxml +14 -11
- package/src/ShoppingCartBubble/index.wxss +1 -1
- package/src/Task/TaskBubble/index.json +3 -3
- package/src/Task/TaskBubble/index.scss +125 -125
- package/src/Task/TaskBubble/index.wxml +22 -22
- package/src/Task/TaskBubble/index.wxss +289 -289
- package/src/Task/TaskIcon/index.js +29 -29
- package/src/Task/TaskIcon/index.json +4 -4
- package/src/Task/TaskIcon/index.scss +70 -70
- package/src/Task/TaskIcon/index.wxml +5 -5
- package/src/Task/TaskIcon/index.wxss +130 -130
- package/src/Task/TaskPopup/component/RewardList/index.js +52 -52
- package/src/Task/TaskPopup/component/RewardList/index.json +6 -6
- package/src/Task/TaskPopup/component/RewardList/index.scss +39 -39
- package/src/Task/TaskPopup/component/RewardList/index.wxml +23 -23
- package/src/Task/TaskPopup/component/RewardList/index.wxss +18 -18
- package/src/Task/TaskPopup/component/TaskItem/index.js +578 -578
- package/src/Task/TaskPopup/component/TaskItem/index.json +10 -10
- package/src/Task/TaskPopup/component/TaskItem/index.scss +245 -245
- package/src/Task/TaskPopup/component/TaskItem/index.wxml +145 -145
- package/src/Task/TaskPopup/component/TaskItem/index.wxs +7 -7
- package/src/Task/TaskPopup/component/TaskItem/index.wxss +1 -1
- package/src/Task/TaskPopup/component/TaskList/index.js +298 -298
- package/src/Task/TaskPopup/component/TaskList/index.json +7 -7
- package/src/Task/TaskPopup/component/TaskList/index.scss +66 -66
- package/src/Task/TaskPopup/component/TaskList/index.wxml +41 -41
- package/src/Task/TaskPopup/component/TaskList/index.wxss +118 -118
- package/src/Task/TaskPopup/component/TaskType/index.js +129 -129
- package/src/Task/TaskPopup/component/TaskType/index.json +13 -13
- package/src/Task/TaskPopup/component/TaskType/index.scss +90 -90
- package/src/Task/TaskPopup/component/TaskType/index.wxml +69 -69
- package/src/Task/TaskPopup/component/TaskType/index.wxss +1 -1
- package/src/Task/TaskPopup/index.js +174 -174
- package/src/Task/TaskPopup/index.json +7 -7
- package/src/Task/TaskPopup/index.scss +166 -166
- package/src/Task/TaskPopup/index.wxml +87 -87
- package/src/Task/TaskPopup/index.wxss +490 -490
- package/src/Task/TaskQuizPopup/components/quizContent/index.js +131 -131
- package/src/Task/TaskQuizPopup/components/quizContent/index.json +5 -5
- package/src/Task/TaskQuizPopup/components/quizContent/index.scss +191 -191
- package/src/Task/TaskQuizPopup/components/quizContent/index.wxml +64 -64
- package/src/Task/TaskQuizPopup/components/quizContent/index.wxs +78 -78
- package/src/Task/TaskQuizPopup/components/quizContent/index.wxss +521 -521
- package/src/Task/TaskQuizPopup/components/quizRichText/index.js +40 -40
- package/src/Task/TaskQuizPopup/components/quizRichText/index.json +5 -5
- package/src/Task/TaskQuizPopup/components/quizRichText/index.scss +6 -6
- package/src/Task/TaskQuizPopup/components/quizRichText/index.wxml +1 -1
- package/src/Task/TaskQuizPopup/components/quizRichText/index.wxss +298 -298
- package/src/Task/TaskQuizPopup/components/wxParse/base.wxml +50 -50
- package/src/Task/TaskQuizPopup/components/wxParse/html2json.js +623 -623
- package/src/Task/TaskQuizPopup/components/wxParse/htmlparser.js +183 -183
- package/src/Task/TaskQuizPopup/components/wxParse/iframeParse.js +216 -216
- package/src/Task/TaskQuizPopup/components/wxParse/loop.wxml +3563 -3563
- package/src/Task/TaskQuizPopup/components/wxParse/showdown.js +2364 -2364
- package/src/Task/TaskQuizPopup/components/wxParse/wxDiscode.js +209 -209
- package/src/Task/TaskQuizPopup/components/wxParse/wxParse.js +269 -269
- package/src/Task/TaskQuizPopup/components/wxParse/wxParse.wxml +1276 -1276
- package/src/Task/TaskQuizPopup/components/wxParse/wxParse.wxss +316 -316
- package/src/Task/TaskQuizPopup/index.js +246 -246
- package/src/Task/TaskQuizPopup/index.json +7 -7
- package/src/Task/TaskQuizPopup/index.scss +158 -158
- package/src/Task/TaskQuizPopup/index.wxml +99 -99
- package/src/Task/TaskQuizPopup/index.wxss +478 -478
- package/src/Task/common/task.js +55 -55
- package/src/Task/taskQuizRemindPopup/index.js +74 -74
- package/src/Task/taskQuizRemindPopup/index.json +5 -5
- package/src/Task/taskQuizRemindPopup/index.scss +107 -107
- package/src/Task/taskQuizRemindPopup/index.wxml +27 -27
- package/src/Task/taskQuizRemindPopup/index.wxss +286 -286
- package/src/Task/taskReceivePopup/coupon/index.js +68 -68
- package/src/Task/taskReceivePopup/coupon/index.json +6 -6
- package/src/Task/taskReceivePopup/coupon/index.scss +123 -123
- package/src/Task/taskReceivePopup/coupon/index.wxml +81 -81
- package/src/Task/taskReceivePopup/coupon/index.wxs +48 -48
- package/src/Task/taskReceivePopup/coupon/index.wxss +274 -274
- package/src/Task/taskReceivePopup/customPrizes/index.js +44 -44
- package/src/Task/taskReceivePopup/customPrizes/index.json +6 -6
- package/src/Task/taskReceivePopup/customPrizes/index.scss +106 -106
- package/src/Task/taskReceivePopup/customPrizes/index.wxml +38 -38
- package/src/Task/taskReceivePopup/customPrizes/index.wxs +48 -48
- package/src/Task/taskReceivePopup/customPrizes/index.wxss +220 -220
- package/src/Task/taskReceivePopup/index.js +47 -47
- package/src/Task/taskReceivePopup/index.json +13 -13
- package/src/Task/taskReceivePopup/index.wxml +32 -32
- package/src/Task/taskReceivePopup/index.wxss +1 -1
- package/src/Task/taskReceivePopup/integral/index.js +106 -106
- package/src/Task/taskReceivePopup/integral/index.json +7 -7
- package/src/Task/taskReceivePopup/integral/index.scss +60 -60
- package/src/Task/taskReceivePopup/integral/index.wxml +23 -23
- package/src/Task/taskReceivePopup/integral/index.wxss +94 -94
- package/src/TeacherGoodsList/index.js +997 -983
- package/src/TeacherGoodsList/index.json +10 -10
- package/src/TeacherGoodsList/index.scss +178 -178
- package/src/TeacherGoodsList/index.wxml +146 -144
- package/src/TeacherGoodsList/index.wxss +1 -1
- package/src/common/api/liveGoodsList.js +181 -167
- package/src/common/assets/copy.wxss +3 -3
- package/src/common/assets/images/coupon/emptypage.svg +49 -49
- package/src/common/assets/images/coupon/failed.svg +5 -5
- package/src/common/assets/images/coupon/up.svg +21 -21
- package/src/common/assets/images/pay/loading.svg +3 -3
- package/src/common/assets/images/recommend.svg +6 -6
- package/src/common/assets/images/refresh.svg +10 -10
- package/src/common/assets/images/refresh_white.svg +3 -3
- package/src/common/assets/images/wechat.svg +4 -4
- package/src/common/css/index.less +2 -2
- package/src/common/css/theme.less +19 -19
- package/src/common/css/theme.wxss +16 -16
- package/src/common/libs/dataUp/sensorUp.js +91 -91
- package/src/common/libs/playerHttp.js +58 -58
- package/src/common/libs/playerRequestUrl.js +39 -39
- package/src/common/transaction/parameter/channel-info.js +36 -36
- package/src/common/transaction/parameter/delivery-info.js +26 -26
- package/src/common/transaction/parameter/misc-parameter.js +21 -21
- package/src/common/utils/currency.js +52 -52
- package/src/common/utils/getInfoCollectionData.js +59 -59
- package/src/common/utils/image-cdn-slim/constant.js +8 -8
- package/src/common/utils/image-cdn-slim/index.js +7 -7
- package/src/common/utils/image-cdn-slim/utils.js +156 -156
- package/src/common/utils/index.js +86 -86
- package/src/common/utils/liveGoods.js +217 -217
- package/src/common/utils/specialList.js +5 -5
- package/src/common/utils/tool.js +72 -72
- package/src/common/wxs/filter.wxs +29 -29
- package/src/coupon/components/CouponItem/index.wxss +821 -821
- package/src/coupon/components/CouponSelect/index.wxss +1132 -1132
- package/src/coupon/index.wxss +216 -216
- package/src/index.js +23 -23
- package/src/lib.ts +5 -5
- package/src/project.config.json +68 -68
- package/src/utils.js +5 -5
- package/tsconfig.json +25 -25
|
@@ -1,90 +1,246 @@
|
|
|
1
1
|
.shopping-cart-bubble {
|
|
2
2
|
position: absolute;
|
|
3
|
-
left:
|
|
3
|
+
left: 3.46667vmin;
|
|
4
|
+
top: -3.46667vmin;
|
|
4
5
|
width: auto;
|
|
5
6
|
opacity: 1;
|
|
6
7
|
transform: translateY(-7.46667vmin);
|
|
8
|
+
height: 8.53333vmin;
|
|
9
|
+
color: #fff;
|
|
10
|
+
border-radius: 2.13333vmin;
|
|
11
|
+
font-size: 3.46667vmin;
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
7
15
|
}
|
|
8
16
|
.shopping-cart-bubble .shopping-cart-bubble-info {
|
|
17
|
+
box-sizing: border-box;
|
|
9
18
|
display: flex;
|
|
10
19
|
align-items: center;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
20
|
+
height: 100%;
|
|
21
|
+
padding: 0.53333vmin 0.53333vmin;
|
|
22
|
+
background: rgba(0, 0, 0, 0.4);
|
|
23
|
+
border-radius: 2.13333vmin;
|
|
24
|
+
line-height: 4.53333vmin;
|
|
25
|
+
}
|
|
26
|
+
.shopping-cart-bubble .shopping-cart-bubble-info image {
|
|
27
|
+
width: 7.46667vmin;
|
|
28
|
+
height: 7.46667vmin;
|
|
29
|
+
}
|
|
30
|
+
.shopping-cart-bubble .shopping-cart-bubble-info view {
|
|
31
|
+
max-width: 26.66667vmin;
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
text-overflow: ellipsis;
|
|
34
|
+
white-space: nowrap;
|
|
35
|
+
}
|
|
36
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .nickname {
|
|
37
|
+
margin-left: 1.06667vmin;
|
|
38
|
+
}
|
|
39
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .desc {
|
|
40
|
+
white-space: nowrap;
|
|
41
|
+
margin: 0 1.06667vmin;
|
|
42
|
+
}
|
|
43
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .color-orange {
|
|
44
|
+
white-space: nowrap;
|
|
45
|
+
color: #FFD500;
|
|
46
|
+
}
|
|
47
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .color-white {
|
|
48
|
+
color: #FFFFFF;
|
|
49
|
+
}
|
|
50
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .arrow-img {
|
|
51
|
+
width: 4.26667vmin;
|
|
52
|
+
height: 4.26667vmin;
|
|
18
53
|
}
|
|
19
|
-
.shopping-cart-bubble .
|
|
20
|
-
color:
|
|
54
|
+
.shopping-cart-bubble .special-background {
|
|
55
|
+
background-color: transparent;
|
|
56
|
+
background: linear-gradient(270deg, #ff740266 0%, #ff410266 100%);
|
|
57
|
+
background-size: 100% auto;
|
|
58
|
+
background-repeat: no-repeat;
|
|
59
|
+
background-position: left center;
|
|
21
60
|
}
|
|
22
61
|
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
23
62
|
.shopping-cart-bubble {
|
|
24
63
|
position: absolute;
|
|
25
|
-
left: 1.
|
|
64
|
+
left: 1.69271vmin;
|
|
65
|
+
top: -1.69271vmin;
|
|
26
66
|
width: auto;
|
|
27
67
|
opacity: 1;
|
|
28
68
|
transform: translateY(-3.64583vmin);
|
|
69
|
+
height: 4.16667vmin;
|
|
70
|
+
color: #fff;
|
|
71
|
+
border-radius: 1.04167vmin;
|
|
72
|
+
font-size: 1.69271vmin;
|
|
73
|
+
white-space: nowrap;
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
29
76
|
}
|
|
30
77
|
.shopping-cart-bubble .shopping-cart-bubble-info {
|
|
78
|
+
box-sizing: border-box;
|
|
31
79
|
display: flex;
|
|
32
80
|
align-items: center;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
81
|
+
height: 100%;
|
|
82
|
+
padding: 0.26042vmin 0.26042vmin;
|
|
83
|
+
background: rgba(0, 0, 0, 0.4);
|
|
84
|
+
border-radius: 1.04167vmin;
|
|
85
|
+
line-height: 2.21354vmin;
|
|
86
|
+
}
|
|
87
|
+
.shopping-cart-bubble .shopping-cart-bubble-info image {
|
|
88
|
+
width: 3.64583vmin;
|
|
89
|
+
height: 3.64583vmin;
|
|
90
|
+
}
|
|
91
|
+
.shopping-cart-bubble .shopping-cart-bubble-info view {
|
|
92
|
+
max-width: 13.02083vmin;
|
|
93
|
+
overflow: hidden;
|
|
94
|
+
text-overflow: ellipsis;
|
|
95
|
+
white-space: nowrap;
|
|
96
|
+
}
|
|
97
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .nickname {
|
|
98
|
+
margin-left: 0.52083vmin;
|
|
99
|
+
}
|
|
100
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .desc {
|
|
101
|
+
white-space: nowrap;
|
|
102
|
+
margin: 0 0.52083vmin;
|
|
103
|
+
}
|
|
104
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .color-orange {
|
|
105
|
+
white-space: nowrap;
|
|
106
|
+
color: #FFD500;
|
|
107
|
+
}
|
|
108
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .color-white {
|
|
109
|
+
color: #FFFFFF;
|
|
110
|
+
}
|
|
111
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .arrow-img {
|
|
112
|
+
width: 2.08333vmin;
|
|
113
|
+
height: 2.08333vmin;
|
|
40
114
|
}
|
|
41
|
-
.shopping-cart-bubble .
|
|
42
|
-
color:
|
|
115
|
+
.shopping-cart-bubble .special-background {
|
|
116
|
+
background-color: transparent;
|
|
117
|
+
background: linear-gradient(270deg, #ff740266 0%, #ff410266 100%);
|
|
118
|
+
background-size: 100% auto;
|
|
119
|
+
background-repeat: no-repeat;
|
|
120
|
+
background-position: left center;
|
|
43
121
|
}
|
|
44
122
|
}
|
|
45
123
|
@media screen and (min-height: 630px) and (orientation: landscape) {
|
|
46
124
|
.shopping-cart-bubble {
|
|
47
125
|
position: absolute;
|
|
48
|
-
left:
|
|
126
|
+
left: 2.06349vmin;
|
|
127
|
+
top: -2.06349vmin;
|
|
49
128
|
width: auto;
|
|
50
129
|
opacity: 1;
|
|
51
130
|
transform: translateY(-4.44444vmin);
|
|
131
|
+
height: 5.07937vmin;
|
|
132
|
+
color: #fff;
|
|
133
|
+
border-radius: 1.26984vmin;
|
|
134
|
+
font-size: 2.06349vmin;
|
|
135
|
+
white-space: nowrap;
|
|
136
|
+
display: flex;
|
|
137
|
+
align-items: center;
|
|
52
138
|
}
|
|
53
139
|
.shopping-cart-bubble .shopping-cart-bubble-info {
|
|
140
|
+
box-sizing: border-box;
|
|
54
141
|
display: flex;
|
|
55
142
|
align-items: center;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
143
|
+
height: 100%;
|
|
144
|
+
padding: 0.31746vmin 0.31746vmin;
|
|
145
|
+
background: rgba(0, 0, 0, 0.4);
|
|
146
|
+
border-radius: 1.26984vmin;
|
|
147
|
+
line-height: 2.69841vmin;
|
|
148
|
+
}
|
|
149
|
+
.shopping-cart-bubble .shopping-cart-bubble-info image {
|
|
150
|
+
width: 4.44444vmin;
|
|
151
|
+
height: 4.44444vmin;
|
|
152
|
+
}
|
|
153
|
+
.shopping-cart-bubble .shopping-cart-bubble-info view {
|
|
154
|
+
max-width: 15.87302vmin;
|
|
155
|
+
overflow: hidden;
|
|
156
|
+
text-overflow: ellipsis;
|
|
157
|
+
white-space: nowrap;
|
|
158
|
+
}
|
|
159
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .nickname {
|
|
160
|
+
margin-left: 0.63492vmin;
|
|
161
|
+
}
|
|
162
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .desc {
|
|
163
|
+
white-space: nowrap;
|
|
164
|
+
margin: 0 0.63492vmin;
|
|
165
|
+
}
|
|
166
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .color-orange {
|
|
167
|
+
white-space: nowrap;
|
|
168
|
+
color: #FFD500;
|
|
169
|
+
}
|
|
170
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .color-white {
|
|
171
|
+
color: #FFFFFF;
|
|
172
|
+
}
|
|
173
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .arrow-img {
|
|
174
|
+
width: 2.53968vmin;
|
|
175
|
+
height: 2.53968vmin;
|
|
63
176
|
}
|
|
64
|
-
.shopping-cart-bubble .
|
|
65
|
-
color:
|
|
177
|
+
.shopping-cart-bubble .special-background {
|
|
178
|
+
background-color: transparent;
|
|
179
|
+
background: linear-gradient(270deg, #ff740266 0%, #ff410266 100%);
|
|
180
|
+
background-size: 100% auto;
|
|
181
|
+
background-repeat: no-repeat;
|
|
182
|
+
background-position: left center;
|
|
66
183
|
}
|
|
67
184
|
}
|
|
68
185
|
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
69
186
|
.shopping-cart-bubble {
|
|
70
187
|
position: absolute;
|
|
71
|
-
left: 1.
|
|
188
|
+
left: 1.69271vmin;
|
|
189
|
+
top: -1.69271vmin;
|
|
72
190
|
width: auto;
|
|
73
191
|
opacity: 1;
|
|
74
192
|
transform: translateY(-3.64583vmin);
|
|
193
|
+
height: 4.16667vmin;
|
|
194
|
+
color: #fff;
|
|
195
|
+
border-radius: 1.04167vmin;
|
|
196
|
+
font-size: 1.69271vmin;
|
|
197
|
+
white-space: nowrap;
|
|
198
|
+
display: flex;
|
|
199
|
+
align-items: center;
|
|
75
200
|
}
|
|
76
201
|
.shopping-cart-bubble .shopping-cart-bubble-info {
|
|
202
|
+
box-sizing: border-box;
|
|
77
203
|
display: flex;
|
|
78
204
|
align-items: center;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
205
|
+
height: 100%;
|
|
206
|
+
padding: 0.26042vmin 0.26042vmin;
|
|
207
|
+
background: rgba(0, 0, 0, 0.4);
|
|
208
|
+
border-radius: 1.04167vmin;
|
|
209
|
+
line-height: 2.21354vmin;
|
|
210
|
+
}
|
|
211
|
+
.shopping-cart-bubble .shopping-cart-bubble-info image {
|
|
212
|
+
width: 3.64583vmin;
|
|
213
|
+
height: 3.64583vmin;
|
|
214
|
+
}
|
|
215
|
+
.shopping-cart-bubble .shopping-cart-bubble-info view {
|
|
216
|
+
max-width: 13.02083vmin;
|
|
217
|
+
overflow: hidden;
|
|
218
|
+
text-overflow: ellipsis;
|
|
219
|
+
white-space: nowrap;
|
|
220
|
+
}
|
|
221
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .nickname {
|
|
222
|
+
margin-left: 0.52083vmin;
|
|
223
|
+
}
|
|
224
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .desc {
|
|
225
|
+
white-space: nowrap;
|
|
226
|
+
margin: 0 0.52083vmin;
|
|
227
|
+
}
|
|
228
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .color-orange {
|
|
229
|
+
white-space: nowrap;
|
|
230
|
+
color: #FFD500;
|
|
231
|
+
}
|
|
232
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .color-white {
|
|
233
|
+
color: #FFFFFF;
|
|
234
|
+
}
|
|
235
|
+
.shopping-cart-bubble .shopping-cart-bubble-info .arrow-img {
|
|
236
|
+
width: 2.08333vmin;
|
|
237
|
+
height: 2.08333vmin;
|
|
86
238
|
}
|
|
87
|
-
.shopping-cart-bubble .
|
|
88
|
-
color:
|
|
239
|
+
.shopping-cart-bubble .special-background {
|
|
240
|
+
background-color: transparent;
|
|
241
|
+
background: linear-gradient(270deg, #ff740266 0%, #ff410266 100%);
|
|
242
|
+
background-size: 100% auto;
|
|
243
|
+
background-repeat: no-repeat;
|
|
244
|
+
background-position: left center;
|
|
89
245
|
}
|
|
90
246
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {}
|
|
4
4
|
}
|
|
@@ -1,125 +1,125 @@
|
|
|
1
|
-
@function vmin($rpx) {
|
|
2
|
-
@return #{$rpx * 100 / $deviceWidth}vmin;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
$deviceWidth: 750;
|
|
6
|
-
|
|
7
|
-
@mixin barrage-container {
|
|
8
|
-
color: #fff;
|
|
9
|
-
font-size: vmin(20);
|
|
10
|
-
.barrage-wrap {
|
|
11
|
-
display: flex;
|
|
12
|
-
.barrage-item {
|
|
13
|
-
position: relative;
|
|
14
|
-
background: linear-gradient(270deg, #ff552b00 0%, #ff552bc7 21.42%, #ff8b25eb 46.71%, #FC0 100%);
|
|
15
|
-
height: vmin(64);
|
|
16
|
-
font-size: vmin(24);
|
|
17
|
-
line-height: vmin(64);
|
|
18
|
-
border-radius: vmin(92);
|
|
19
|
-
transition: 0.3s;
|
|
20
|
-
transform: translateX(vmin(-500));
|
|
21
|
-
|
|
22
|
-
.barrage-content {
|
|
23
|
-
display: flex;
|
|
24
|
-
align-items: center;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.task-completion-icon {
|
|
28
|
-
width: vmin(48);
|
|
29
|
-
height: vmin(48);
|
|
30
|
-
border-radius: 50%;
|
|
31
|
-
margin-left: vmin(10);
|
|
32
|
-
margin-right: vmin(8);
|
|
33
|
-
flex-shrink: 0;
|
|
34
|
-
}
|
|
35
|
-
.task-type {
|
|
36
|
-
display: flex;
|
|
37
|
-
flex-direction: column;
|
|
38
|
-
margin-right: vmin(8);
|
|
39
|
-
overflow: hidden;
|
|
40
|
-
text-overflow: ellipsis;
|
|
41
|
-
white-space: nowrap;
|
|
42
|
-
view {
|
|
43
|
-
width: 100%;
|
|
44
|
-
overflow: hidden;
|
|
45
|
-
text-overflow: ellipsis;
|
|
46
|
-
white-space: nowrap;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
.prize-icon {
|
|
50
|
-
width: vmin(56);
|
|
51
|
-
height: vmin(56);
|
|
52
|
-
display: flex;
|
|
53
|
-
justify-content: center;
|
|
54
|
-
align-items: center;
|
|
55
|
-
margin: 0 vmin(8);
|
|
56
|
-
}
|
|
57
|
-
.prize-num {
|
|
58
|
-
color: #FFF5CC;
|
|
59
|
-
font-weight: 500;
|
|
60
|
-
margin-right: vmin(8);
|
|
61
|
-
}
|
|
62
|
-
.right-arrow-icon{
|
|
63
|
-
height: vmin(40);
|
|
64
|
-
width: vmin(40);
|
|
65
|
-
margin-right: vmin(52);
|
|
66
|
-
}
|
|
67
|
-
&.barrage-item-show {
|
|
68
|
-
animation: taskFadeInLeft 1.5s both;
|
|
69
|
-
}
|
|
70
|
-
&.barrage-item-hide {
|
|
71
|
-
animation: taskFadeOut 1.5s both;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
@keyframes taskFadeInLeft {
|
|
75
|
-
0% {
|
|
76
|
-
transform: translateX(vmin(-500));
|
|
77
|
-
opacity: 1;
|
|
78
|
-
}
|
|
79
|
-
100% {
|
|
80
|
-
transform: translateX(0);
|
|
81
|
-
opacity: 1;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
@keyframes taskFadeOut {
|
|
85
|
-
0% {
|
|
86
|
-
transform: translateX(0);
|
|
87
|
-
opacity: 1;
|
|
88
|
-
}
|
|
89
|
-
100% {
|
|
90
|
-
transform: translateX(0);
|
|
91
|
-
opacity: 0;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
@keyframes moveRight {
|
|
95
|
-
from {
|
|
96
|
-
transform: translateX(-100%);
|
|
97
|
-
}
|
|
98
|
-
to {
|
|
99
|
-
transform: translateX(0);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.barrage-container {
|
|
106
|
-
@include barrage-container;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
// 竖屏pad
|
|
110
|
-
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
111
|
-
$deviceWidth: 1536 !global;
|
|
112
|
-
|
|
113
|
-
.barrage-container {
|
|
114
|
-
@include barrage-container;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
// 横屏pad
|
|
119
|
-
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
120
|
-
$deviceWidth: 1536 !global;
|
|
121
|
-
|
|
122
|
-
.barrage-container {
|
|
123
|
-
@include barrage-container;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
1
|
+
@function vmin($rpx) {
|
|
2
|
+
@return #{$rpx * 100 / $deviceWidth}vmin;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
$deviceWidth: 750;
|
|
6
|
+
|
|
7
|
+
@mixin barrage-container {
|
|
8
|
+
color: #fff;
|
|
9
|
+
font-size: vmin(20);
|
|
10
|
+
.barrage-wrap {
|
|
11
|
+
display: flex;
|
|
12
|
+
.barrage-item {
|
|
13
|
+
position: relative;
|
|
14
|
+
background: linear-gradient(270deg, #ff552b00 0%, #ff552bc7 21.42%, #ff8b25eb 46.71%, #FC0 100%);
|
|
15
|
+
height: vmin(64);
|
|
16
|
+
font-size: vmin(24);
|
|
17
|
+
line-height: vmin(64);
|
|
18
|
+
border-radius: vmin(92);
|
|
19
|
+
transition: 0.3s;
|
|
20
|
+
transform: translateX(vmin(-500));
|
|
21
|
+
|
|
22
|
+
.barrage-content {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.task-completion-icon {
|
|
28
|
+
width: vmin(48);
|
|
29
|
+
height: vmin(48);
|
|
30
|
+
border-radius: 50%;
|
|
31
|
+
margin-left: vmin(10);
|
|
32
|
+
margin-right: vmin(8);
|
|
33
|
+
flex-shrink: 0;
|
|
34
|
+
}
|
|
35
|
+
.task-type {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
margin-right: vmin(8);
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
text-overflow: ellipsis;
|
|
41
|
+
white-space: nowrap;
|
|
42
|
+
view {
|
|
43
|
+
width: 100%;
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
text-overflow: ellipsis;
|
|
46
|
+
white-space: nowrap;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
.prize-icon {
|
|
50
|
+
width: vmin(56);
|
|
51
|
+
height: vmin(56);
|
|
52
|
+
display: flex;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
align-items: center;
|
|
55
|
+
margin: 0 vmin(8);
|
|
56
|
+
}
|
|
57
|
+
.prize-num {
|
|
58
|
+
color: #FFF5CC;
|
|
59
|
+
font-weight: 500;
|
|
60
|
+
margin-right: vmin(8);
|
|
61
|
+
}
|
|
62
|
+
.right-arrow-icon{
|
|
63
|
+
height: vmin(40);
|
|
64
|
+
width: vmin(40);
|
|
65
|
+
margin-right: vmin(52);
|
|
66
|
+
}
|
|
67
|
+
&.barrage-item-show {
|
|
68
|
+
animation: taskFadeInLeft 1.5s both;
|
|
69
|
+
}
|
|
70
|
+
&.barrage-item-hide {
|
|
71
|
+
animation: taskFadeOut 1.5s both;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
@keyframes taskFadeInLeft {
|
|
75
|
+
0% {
|
|
76
|
+
transform: translateX(vmin(-500));
|
|
77
|
+
opacity: 1;
|
|
78
|
+
}
|
|
79
|
+
100% {
|
|
80
|
+
transform: translateX(0);
|
|
81
|
+
opacity: 1;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
@keyframes taskFadeOut {
|
|
85
|
+
0% {
|
|
86
|
+
transform: translateX(0);
|
|
87
|
+
opacity: 1;
|
|
88
|
+
}
|
|
89
|
+
100% {
|
|
90
|
+
transform: translateX(0);
|
|
91
|
+
opacity: 0;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
@keyframes moveRight {
|
|
95
|
+
from {
|
|
96
|
+
transform: translateX(-100%);
|
|
97
|
+
}
|
|
98
|
+
to {
|
|
99
|
+
transform: translateX(0);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.barrage-container {
|
|
106
|
+
@include barrage-container;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// 竖屏pad
|
|
110
|
+
@media screen and (min-width: 768px) and (orientation: portrait) {
|
|
111
|
+
$deviceWidth: 1536 !global;
|
|
112
|
+
|
|
113
|
+
.barrage-container {
|
|
114
|
+
@include barrage-container;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// 横屏pad
|
|
119
|
+
@media screen and (min-height: 768px) and (orientation: landscape) {
|
|
120
|
+
$deviceWidth: 1536 !global;
|
|
121
|
+
|
|
122
|
+
.barrage-container {
|
|
123
|
+
@include barrage-container;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
<view class="barrage-container" catch:tap="bubbleClick" style="{{zIndex?'z-index:'+zIndex:''}}">
|
|
2
|
-
<view class="barrage-wrap">
|
|
3
|
-
<view class="barrage-item" animation="{{animationData}}">
|
|
4
|
-
<view class="barrage-content">
|
|
5
|
-
<image
|
|
6
|
-
class="task-completion-icon"
|
|
7
|
-
src="https://commonresource-1252524126.cdn.xiaoeknow.com/image/lopitz1y0c73.png"
|
|
8
|
-
alt
|
|
9
|
-
/>
|
|
10
|
-
<view wx:if="{{taskMsg.live_task.task_type === 1}}" class="task-type">观看时长</view>
|
|
11
|
-
<view>{{ rewardValue }}</view>
|
|
12
|
-
<image class="prize-icon" src="{{taskIconImg}}" alt="奖励" />
|
|
13
|
-
<view class="prize-num">+{{ prizeNum }}</view>
|
|
14
|
-
<image
|
|
15
|
-
class="right-arrow-icon"
|
|
16
|
-
src="https://commonresource-1252524126.cdn.xiaoeknow.com/image/lopitz1k0dzj.png"
|
|
17
|
-
alt
|
|
18
|
-
/>
|
|
19
|
-
</view>
|
|
20
|
-
</view>
|
|
21
|
-
</view>
|
|
22
|
-
</view>
|
|
1
|
+
<view class="barrage-container" catch:tap="bubbleClick" style="{{zIndex?'z-index:'+zIndex:''}}">
|
|
2
|
+
<view class="barrage-wrap">
|
|
3
|
+
<view class="barrage-item" animation="{{animationData}}">
|
|
4
|
+
<view class="barrage-content">
|
|
5
|
+
<image
|
|
6
|
+
class="task-completion-icon"
|
|
7
|
+
src="https://commonresource-1252524126.cdn.xiaoeknow.com/image/lopitz1y0c73.png"
|
|
8
|
+
alt
|
|
9
|
+
/>
|
|
10
|
+
<view wx:if="{{taskMsg.live_task.task_type === 1}}" class="task-type">观看时长</view>
|
|
11
|
+
<view>{{ rewardValue }}</view>
|
|
12
|
+
<image class="prize-icon" src="{{taskIconImg}}" alt="奖励" />
|
|
13
|
+
<view class="prize-num">+{{ prizeNum }}</view>
|
|
14
|
+
<image
|
|
15
|
+
class="right-arrow-icon"
|
|
16
|
+
src="https://commonresource-1252524126.cdn.xiaoeknow.com/image/lopitz1k0dzj.png"
|
|
17
|
+
alt
|
|
18
|
+
/>
|
|
19
|
+
</view>
|
|
20
|
+
</view>
|
|
21
|
+
</view>
|
|
22
|
+
</view>
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
Component({
|
|
2
|
-
/**
|
|
3
|
-
* 组件的属性列表
|
|
4
|
-
*/
|
|
5
|
-
properties: {
|
|
6
|
-
aliveMode:{
|
|
7
|
-
type: Number,
|
|
8
|
-
value: 1
|
|
9
|
-
},
|
|
10
|
-
iconText:{
|
|
11
|
-
type: String,
|
|
12
|
-
value: '得奖励'
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* 组件的初始数据
|
|
18
|
-
*/
|
|
19
|
-
data: {},
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* 组件的方法列表
|
|
23
|
-
*/
|
|
24
|
-
methods: {
|
|
25
|
-
iconClick(){
|
|
26
|
-
this.triggerEvent("iconClick")
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
})
|
|
1
|
+
Component({
|
|
2
|
+
/**
|
|
3
|
+
* 组件的属性列表
|
|
4
|
+
*/
|
|
5
|
+
properties: {
|
|
6
|
+
aliveMode:{
|
|
7
|
+
type: Number,
|
|
8
|
+
value: 1
|
|
9
|
+
},
|
|
10
|
+
iconText:{
|
|
11
|
+
type: String,
|
|
12
|
+
value: '得奖励'
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* 组件的初始数据
|
|
18
|
+
*/
|
|
19
|
+
data: {},
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* 组件的方法列表
|
|
23
|
+
*/
|
|
24
|
+
methods: {
|
|
25
|
+
iconClick(){
|
|
26
|
+
this.triggerEvent("iconClick")
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
"component": true,
|
|
3
|
-
"usingComponents": {}
|
|
4
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"component": true,
|
|
3
|
+
"usingComponents": {}
|
|
4
|
+
}
|