-
Can WeChat Mini Programs identify Mini Program who the user entered from a certain scene or channel?
do you want to know whether Mini Program and Mini Program, whose users enter from a specific channel, have such a function or method ...
-
Can WeChat Mini Programs take out the sessionkey? according to his login status?
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 ...
-
The problem of Mini Program's realization of toggleclass function
<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...
-
WeChat Mini Programs wx. The problem of getBackgroundAudioManager's onTimeUpdate on iphone
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...
-
The initialization values of other pages of Mini Program project are in two states.
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...
-
Is it okay to log in using wx.getUserInfo?
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...
-
How does Mini Program upload multiple pictures at the same time?
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? ...
-
WeChat Mini Programs displays the html tag returned by the rich text editor
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...
-
WeChat Mini Programs input out of focus abnormality
< 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...
-
How does Mini Program store a lot of data?
can WeChat Mini Programs store a large amount of data locally, about 2W pieces of content? Can be stored in sqlite? ...
-
How can WeChat Mini Programs search nearby ibeacon
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 ...
-
Mini Program development encountered a problem: how to pass the value of the child component to the parent component
Component({
properties: {}
methods: {
onTap: function(){
var myEventDetail = {} detail
var myEventOption = {}
this.triggerEvent( myevent , myEventDetail, myEventOption)
}
}
})
this is a custom event given in the ...
-
How to nest customer service buttons in WeChat Mini Programs map components
Mini Program is not allowed to write customer service buttons in the map component, but there are requirements for the project, ask for help! ...
-
WeChat Mini Programs, how to implement such template syntax
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 ...
-
WeChat Mini Programs dynamically loaded picture list, how to click a picture to change the style?
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...
-
WeChat Mini Programs real machine test, must be in the mobile phone Wechat "turn on debugging" in order to send wx.request request?
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"
...
-
What text is highlighted in the Mini Program string?
as shown in the figure above, a string is sent back in the background. How to highlight the number?
...
-
How does WeChat Mini Programs modify the local directory
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...
-
The text in the circle of Mini Program cannot be centered horizontally.
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;
...
-
WeChat Mini Programs's landing problem
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...