-
How does WeChat Mini Programs keep the status of child pages?
I just got in touch with Mini Program developer and recently encountered this problem when I wrote the demo, of a music player. After I returned to the list page from the playback page (or to the home page), I entered the playback page from the entrance...
-
How does the front end implement the file folder system through interface data?
json
{
code:200,
list:[
{
type:1,
path: www.file.xxxxx ,
name: xx ,
suffix: ,
parentid:123
...
},
{
type:2,
path: www.file.xxxxx ,
name: zzz ,
suffix: ".xlsx",
parentid: null
...
-
WeChat Mini Programs's problem of passing parameters when obtaining background data
everyone, I am a novice, just started Mini Program development, I want to dynamic binding, so that the background can be changed URL to change the page rotation pictures at any time. I encountered a problem when writing. The following is Mini Program s...
-
About WeChat Mini Programs's recording function
there is a recording function in WeChat Mini Programs. Call the api, of WeChat Mini Programs recorderManager to make an animation effect in the above image according to the size of the recorded audio, but the api, about the recorded audio in api can ...
-
About the problem of asynchronous login in WeChat Mini Programs? The problem of File execution order and promise problem
at present, I have written the login operation in app.js. After obtaining Wechat s code, I obtain the authentication access-token from my own server. the code is as follows
app.js
onLaunch: function () {
wx.login({
success: ...
-
WeChat Mini Programs, with regard to absolute positioning and animation movement, I hope someone can give us some advice. thank you.
first of all, the absolute positioning of the small box in wxml binds the values of left and top, both of which are 10, used to initialize the positioning
the page structure is gray with a view relative positioning, wrapped with internal red view, re...
-
There is no picture on WeChat Mini Programs's sharing card when he shares it with others on iOS.
when WeChat Mini Programs shares with others on iOS, there are no pictures on the card , but pictures can be displayed on Android
onShareAppMessage: function (res) {
var that = this;
return {
title: that.data.title,
path: pages detail detail?id...
-
How does WeChat Mini Programs get the index of adjacent elements
when the item function is selected in the check box in WeChat Mini Programs s shopping cart, you need to get the index of the adjacent element and the parent element now the console.log is undefined
how can I get the index of adjacent elements and p...
-
Mini Program, how can I write tabbar without being affected by the drop-down refresh?
because of some requirements, I wrote tabbar by myself. But there is a problem: the drop-down refresh will cause the tabbar to scroll down with the page (there is no such problem on iphone, both development tools and Android) ask for a solution ~ ...
-
WeChat Mini Programs failed to assign a value after obtaining the height of the element.
Why can t you assign a value? I ve tried a lot of ways, but it doesn t work .
...
-
How does WeChat Mini Programs bring up the authorized pop-up window?
1. Is this window provided by Wechat or made by the developers themselves? 2. If it is provided by Wechat, then how is it transferred?
...
-
About Mini Program getting the cell phone number.
The authorization box does not appear when clicked on the real machine of getphonenumber, used by . The print result is as follows
mpvue
---------------------------------------------
is the button used to trigger
...
-
Why can't Mini Program connect to the server at the real machine preview? In development tools.
Why can t Mini Program connect to the server at the real machine preview? In development tools.
...
-
WeChat Mini Programs why there is no data on the phone when previewing. In the development tool simulator
Why is there no data on WeChat Mini Programs s phone when previewing? There is in the development tool simulator.
what s the reason
...
-
WeChat Mini Programs uses the wx.playBackgroundAudio (OBJECT) method to cut the background music after playing.
1 use the wx.playBackgroundAudio (OBJECT) method on the page (switching to background) onhide () to play background music can report an error in the real machine in the development tool? Code both methods are the same onHide: function () {
cons...
-
Tab switch calls the data interface too frequently, how to optimize it so as not to waste the interface?
for example, in the tab switching page like the following, the method I use now is to click the current option to call the API, for example, click all to call, click to withdraw and call once, but this will waste the interface. What I want to do now is ...
-
RSA encryption and decryption in Mini Program because the source code can be obtained by a third party, that is, the key will also be leaked, how to solve this problem.
how to securely implement RSA encryption and decryption in Mini Program?
forget where to see an article, through the simulator and root permissions to get WeChat Mini Programs s source file. If you want to complete the RSA encryption and decryption i...
-
WeChat Mini Programs's pull-up loading problem
The question is how to trigger onreachBottom? My own result is that can only trigger onReachBottom, in the case of a scroll bar, so I can only set the height of this page to 110vh so that I can have a scroll bar. Obviously there is a flaw in this place...
-
WeChat Mini Programs loads more questions
pull-down refresh and pull-up load are more official, because the project interaction is special, using a card design, so the pull-up load more into the left slide load more, but the official does not have ready-made, their own is not ideal, ask the god ...
-
Can't Mini Program decrypt the encryptedData obtained by calling wx.getUserInfo in the js module?
the following example is my test. The first one cannot be decrypted, and the second can be decrypted. In order to simplify the code, the use of wx.getSetting is removed. There are actually some .
unable to decrypt:
app.js
const test = require(&q...