规则弹窗优化
This commit is contained in:
parent
575caba06d
commit
2058c4af58
|
|
@ -93,7 +93,7 @@
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { reactive, nextTick, ref } from 'vue';
|
import { reactive, nextTick, ref } from 'vue';
|
||||||
import { onReady,onLoad,onShow,onPullDownRefresh, onReachBottom } from '@dcloudio/uni-app'
|
import { onReady,onLoad,onShow,onLaunch,onPullDownRefresh, onReachBottom } from '@dcloudio/uni-app'
|
||||||
import { selectUserMoney, selectPayDetails, canCash, state, withdraw } from '@/api/me/withdraw.js';
|
import { selectUserMoney, selectPayDetails, canCash, state, withdraw } from '@/api/me/withdraw.js';
|
||||||
import { selectUserById } from '@/api/user/user.js';
|
import { selectUserById } from '@/api/user/user.js';
|
||||||
import { announcement } from '@/api/index/index.js';
|
import { announcement } from '@/api/index/index.js';
|
||||||
|
|
@ -133,23 +133,24 @@
|
||||||
getExtractFei();
|
getExtractFei();
|
||||||
getMoneyDetail();
|
getMoneyDetail();
|
||||||
getCanCash()
|
getCanCash()
|
||||||
|
announcement({type: 1}).then(res=>{
|
||||||
|
data.ruleList = res
|
||||||
|
ruleInit()
|
||||||
|
|
||||||
|
})
|
||||||
})
|
})
|
||||||
onShow(() => {
|
onShow(() => {
|
||||||
getcashMoney()
|
getcashMoney()
|
||||||
getUserInfo();
|
getUserInfo();
|
||||||
announcement({type: 1}).then(res=>{
|
|
||||||
data.ruleList = res
|
|
||||||
ruleInit()
|
|
||||||
data.ruleShow = true
|
|
||||||
})
|
|
||||||
})
|
})
|
||||||
onReady(() => {
|
onReady(() => {
|
||||||
nextTick(()=>{
|
nextTick(()=>{
|
||||||
data.adRewardedVideoloadNum = 0
|
data.adRewardedVideoloadNum = 0
|
||||||
adRewardedw.value.load();
|
adRewardedw.value.load();
|
||||||
|
data.ruleShow = true
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
onReachBottom(() => {
|
onReachBottom(() => {
|
||||||
if (data.page * data.limit < data.totalCount) {
|
if (data.page * data.limit < data.totalCount) {
|
||||||
data.page = data.page + 1;
|
data.page = data.page + 1;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue