This commit is contained in:
GaoHao
2025-01-15 09:24:26 +08:00

View File

@@ -67,7 +67,8 @@
<script setup>
import {
reactive
reactive,
nextTick
} from 'vue';
import {
announcement,
@@ -117,16 +118,19 @@
versionUpdate()
getMsg()
getrecomVideo()
datas.isExamine = $common.isExamine || 0
})
onReady(() => {
announcement({
type: 0
}).then(res => {
datas.ruleList = res
ruleInit()
if(!uni.getStorageSync('ruleShow')){
datas.ruleShow = true
})
announcement({
type: 0
}).then(res => {
datas.ruleList = res
ruleInit()
})
}
})
onReachBottom(() => {
++datas.page
@@ -220,6 +224,7 @@
datas.ruleIndex++
if (datas.ruleIndex >= datas.ruleList.length) {
datas.ruleIndex = 0
uni.setStorageSync('ruleShow', true)
return
}
setTimeout(res => {