Commit 55cdb48c authored by jyx's avatar jyx

优化充值时调用问题

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