How to refresh and pull up and down without breaking in WeChat Mini Programs
This article mainly introduces the relevant knowledge of "how to refresh the pull-up and pull-down in WeChat Mini Programs". The editor shows you the operation process through an actual case, and the operation method is simple, fast and practical. I hope this article "how to refresh the pull-up and pull-down in WeChat Mini Programs will not break" can help you solve the problem.
WeChat Mini Programs will not break the details of the pull-up and pull-down.
At first see the effect, yes, the first thought is to do, add a floating layer, and then set the height of the floating layer. In fact, Daniel is "enablePullDownRefresh": after "true", add a mask layer on the page and slide along the bottom. (I feel like it's time to recharge my IQ.)
Upper code
News.wxml
Drop-down refresh
News.wcss
Top {width: 100%; height: 600rpx; position: fixed; top: 0; background-color: red; z-index:-1000000;} this is the end of the content about "how to refresh and pull up and down in WeChat Mini Programs". Thank you for your reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.