Commit 3f589afa14ee6eb8a71ea108435654fe2d3bb2bd
1 parent
c6ae1afa
增加‘准备抽奖中’
Showing
1 changed file
with
4 additions
and
2 deletions
packageB/pages/luckactivity/luckinfo/luckinfo.js
... | ... | @@ -847,7 +847,9 @@ Page({ |
847 | 847 | }); |
848 | 848 | return; |
849 | 849 | }; |
850 | - | |
850 | + wx.showLoading({ | |
851 | + title: '准备抽奖中' | |
852 | + }); | |
851 | 853 | // 获取积分 |
852 | 854 | app.request.promisePost('/api/weshop/marketing/marketingLuckForm/startLuckIntegral', { |
853 | 855 | isShowLoading: false, |
... | ... | @@ -882,7 +884,7 @@ Page({ |
882 | 884 | const $lucky = self.selectComponent('#myLucky'); |
883 | 885 | // 调用play方法开始旋转 |
884 | 886 | $lucky.play(); |
885 | - | |
887 | + wx.hideLoading(); | |
886 | 888 | // 获取抽奖结果 |
887 | 889 | app.request.post('/api/weshop/marketing/marketingLuckForm/startLuck', { |
888 | 890 | isShowLoading: false, | ... | ... |