Commit 357e5c90 authored by jyx's avatar jyx

代码优化

parent c7f6719f
...@@ -54,10 +54,10 @@ ...@@ -54,10 +54,10 @@
this.onClose() this.onClose()
} }
}, },
onClose() { onClose() {
this.$refs.rpopup.close(); this.$refs.rpopup.close();
this.$emit('close'); this.$emit('rewardClose');
} }
} }
}; };
......
...@@ -72,8 +72,8 @@ ...@@ -72,8 +72,8 @@
</block> </block>
</view> </view>
<reward-popup v-if="taskList.length>0" :show="showRewardPopup" <reward-popup v-if="taskList.length>0" :show="showRewardPopup" :dot="currentDot"
:dot="signData.list[signData.todayMsgIndexInWeek].reward" @rewardClose="rewardClose"></reward-popup> @rewardClose="rewardClose"></reward-popup>
<signsuc-popup v-if="signList.length>0" :show="showSignPopup" <signsuc-popup v-if="signList.length>0" :show="showSignPopup"
:moreDot="signData.list[signData.todayMsgIndexInWeek].rewardMore" :moreDot="signData.list[signData.todayMsgIndexInWeek].rewardMore"
:stype="signData.list[signData.todayMsgIndexInWeek].rewardMoreType" :stype="signData.list[signData.todayMsgIndexInWeek].rewardMoreType"
...@@ -184,7 +184,7 @@ ...@@ -184,7 +184,7 @@
this.ad.load(); this.ad.load();
}, },
showAd(item, isSign) { showAd(item, isSign) {
let that = this let that = this
this.ad.onClose((res) => { this.ad.onClose((res) => {
tt.hideLoading(); tt.hideLoading();
if (res.isEnded) { if (res.isEnded) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment