I set margin-top or 50px where onReachBottomDistance is greater than 50page. Can I change this value
I set margin-top or 50px where onReachBottomDistance is greater than 50page. Can I change this value
you are listening for the user pull-up bottoming event. OnReachBottomDistance can be modified in the page configuration. OnReachBottomDistance is the distance from the bottom of the page when the page pull-up event is triggered, in px.
Previous: The problem of message push on Wechat official account template
Next: Which animation scheme is suitable for use in vue projects?
do you want to know whether Mini Program and Mini Program, whose users enter from a specific channel, have such a function or method ...
some time ago, in the login state, only openid, needs to use the key now. Can you take out the sessionkey? in the current login state ...
<view class= a > <text> Hello {{name}}!< text> <block wx:for= {{datas}} wx:key= u > <button data-index= {{index}} class= {{index==id?classname:""}} data-m= {{t==index}} bindtap="changeName...
Program api wx.getBackgroundAudioManager () problem my code js code is as follows < button> <view> {{time}} < view> The code above has no problem with the development tool, but I update ip6p and ip6sp time with iphone real m...
app.js file < hr > onLaunch: function () { console.log( app-onLaunch ) this.getUserInfo(); }, onShow:function(){ console.log( app-onShow ) }, getUserInfo: function (callBack) { let that = this; if (this.glo...
after the wx.getUserInfo of Mini Program api is successfully obtained, the official encryptedData, document is returned to show that the decrypted data of encryptedData is . { "openId": "OPENID", "nickName": "N...
now, if you upload 9 photos, you have to send them to the server nine times, and the server has to wait for all of them to be uploaded before it can be processed. Is there a way for Mini Program to upload more than one picture at a time? ...
for the business needs of the company, the details section of a page of Mini Program is the html tag edited by the rich text editor returned from the API, and the image matches the text. I originally thought that Mini Program did not recognize the html t...
< H2 > 1. Problem description < H2 > when the page is initially opened, the input box is automatically focused, and the event is automatically triggered for business processing after entering n digits. The result is displayed in the form of a pop-up b...
can WeChat Mini Programs store a large amount of data locally, about 2W pieces of content? Can be stored in sqlite? ...
for example, how can Mini Program search nearby ibeacon? ibeacon uuid wx.startBeaconDiscovery({ uuids: [], success: (res) => { wx.onBeaconUpdate((beacons) => {}) } }) can I search for a nearby device through Bluetooth api ...
Component({ properties: {} methods: { onTap: function(){ var myEventDetail = {} detail var myEventOption = {} this.triggerEvent( myevent , myEventDetail, myEventOption) } } }) this is a custom event given in the ...
Mini Program is not allowed to write customer service buttons in the map component, but there are requirements for the project, ask for help! ...
because it is a form, I need to click to add a form, so I may have multiple values for each form, so I created a nickname_1,nickname_2 and the like to render multiple forms through keys, so I need to write it this way ...
as shown in the figure, the whole list is looped out by wx:for. You want to click on the small picture on the right (the small picture is also looped out by wx:for) to add a border color to the picture, and the big image on the left is changed to the...
The code is simple, as follows: wx.request({ url: https: ...... , method: GET , header: { content-type : application x-www-form-urlencoded }, success: function (res) { wx.showToast({ title: "success" ...
as shown in the figure above, a string is sent back in the background. How to highlight the number? ...
for example, the original local directory of Mini Program is: E: mp aaa then I changed aaa to bbb when I opened the developer tool of Wechat and prompted "the entry app.json file was not found, or the file failed to read, please check and r...
it is in the middle on the Android, but it is crooked with the Apple 6 test. It doesn t work with either of the following. display: flex; justify-content: center; align-items: center; text-align: center; ...
wx.login can get openid and session_key wx.getUserInfo can get basic userInfo and encrypted signature data Wechat s official login process is to first obtain the openid from wx.login and store it in the database, and then wx.getUserInfo to obtain th...