Commit 55cdb48c authored by jyx's avatar jyx

优化充值时调用问题

parent b2781ac7
......@@ -33,7 +33,7 @@
data() {
return {
adUnitId: EXPRESS_ID,
countDown: 0,
countDown: 3,
};
},
methods: {
......
......@@ -20,7 +20,7 @@
<view style="display: flex;flex-direction: column;align-items: flex-end;">
<view style="display: flex;flex-direction: row;">
<view @click="handleAgree" style="margin-top: 12rpx;margin-right: 10rpx;">付费须知></view>
<image @click="handleClose"
<image @click="handleClickClose"
style="width: 30rpx;height: 30rpx;display: flex;align-items: right;margin-top: 20rpx;margin-right: 20rpx;margin-bottom: 10rpx;"
src="@/static/index/ic_quit_white.png"></image>
</view>
......@@ -175,6 +175,10 @@
},
handleAgree() {
this.agreeFlag = true
},
handleClickClose() {
this.$refs.coinPop.close('bottom');
this.$emit('clickClose');
},
handleClose() {
this.$refs.coinPop.close('bottom');
......
......@@ -66,8 +66,8 @@
<episodePopup ref="episodePopup" @selectVideo="selectThisVideo" :windowWidth="windowWidth"
:windowHeight="windowHeight" :tabIndex="tabIndex" :tabs="tabs" :subList="subList" :originList="originList"
:originIndex="originIndex" />
<coin-popup :show="showCoinPop" :point="data.point" :vedioId="data.vedioId" @close="coinPopupClose"
@paySuccess="paySuccess" />
<coin-popup :show="showCoinPop" :point="data.point" :vedioId="data.vedioId" @close="showCoinPop = false"
@clickClose="coinPopupClose" @paySuccess="paySuccess" />
<ad-popup :show="showAdPop" @close="adPopupClose" />
</view>
</template>
......@@ -536,7 +536,9 @@
},
coinPopupClose() {
this.showCoinPop = false
this.showAdPop = true
this.showAdPop = true
},
adPopupClose() {
this.showAdPop = false
......
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