<div class="tiao"><div class="tiaoguo" v-if="data.btnfas" @click="daoji">{
{data.cuntdown}}跳过</div></div>
<div class="btn" @click="btnfass"> 立即开启 </div>
const data=reactive<any>({
btnfas: false,
cuntdown:3,
timerthree:null,
})
const btnfass=function(){
data.btnfas=!data.btnfas
if(!data.timerthree){
data.timerthree=setInterval(()=>{
if(data.cuntdown>1&&data.cuntdown<=3){
data.cuntdown--
}else{
clearInterval(data.timerthree)
data.timerthree=null
console.log('dsdsdsfdfsfddsfdfd')
uni.navigateTo({