12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
ADADADADAD
建站问答 时间:2024-12-01 19:16:18
作者:文/会员上传
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
1.使用定时器延迟跳转,实现页面延时加载wx.showToast({title:"成功修改",icon:'success',duration:2000,})setTimeout(function(){wx.reLaunch({url:'../index/i
以下为本文的正文内容,内容仅供参考!本站为公益性网站,复制本文以及下载DOC文档全部免费。
1.使用定时器延迟跳转,实现页面延时加载
wx.showToast({title:"成功修改",
icon:'success',
duration:2000,
})
setTimeout(function(){
wx.reLaunch({
url:'../index/index',
})
},2000)
2.在页面添加js代码,实现页面延时加载
<bodyonload="hide()"><divid="bbb">
<p>内容</p>
</div>
</body>
<script>
functionhide(){
$("#bbb").hide();
}
setTimeout("show()",2000);
functionshow(){
$("#bbb").show();
}
</script>
11-20
11-19
11-20
11-20
11-20
11-19
11-20
11-20
11-19
11-20
11-19
11-19
11-19
11-19
11-19
11-19