Get the App
SLTechnology News&Howtos  ›  Development  › 

How to refresh and pull up and down without breaking in WeChat Mini Programs

Shulou Source: shulou.com Published: 2022-05-31 23:03:41 09月29日 Update

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.

Tags: Drop-down programs knowledge industry floating different good practical previous generation but not so content practicality reality bottom feel effects effect drawings articles methods more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi NVidia macOS vpn MySQL