now all kinds of mobile phones are being designed by Jialiuhai. If you often change the code by judging the phone model, I wonder if there is any way to judge by testing the screen.
now all kinds of mobile phones are being designed by Jialiuhai. If you often change the code by judging the phone model, I wonder if there is any way to judge by testing the screen.
refer to this method to see wx.getSystemInfo
remarks:
Previous: Using python3.6 to connect to oracle database and report error bug under pycharm
Next: What is the purpose of the center filter in the Jinja2 template?
:; ****...
WeChat Mini Programs does form form submission. I call each input-bound out-of-focus event in the submit function of the form component, and verify each input data before submitting the form, but find that calling the out-of-focus event directly will re...
after calling this interface to the place where the phone calls, how to return to Mini Program? You can t go back to Android s back button. Ask for advice ...
set the click event for a button to call wx.authorize,. If the user clicks the rejection of the authorization pop-up box for the first time, won t the authorization pop-up box be adjusted the next time the button is clicked? ...
according to the title, my Mini Program mainly has a form submission to get the user unionid to get through Mini Program and the official account. Do I need to maintain my login status? When it comes to the login state, it makes me feel dizzy. ...
every input originally has a blur event to validate user input. Do you want to revalidate these input boxes when you click the final submit button? In the past, when I wrote in jquery, I asked for ajax when I set a flag, point submit button for each inpu...
when Mini Program sends template messages to obtain access_token, appsecret, needs to be passed in the API parameters, but what we are doing is a third-party platform for saas service. How can we get the merchant s appsecret? Can merchants get appsecret...
I bound the same click event to the button tags of some child pages, such as getFormID, so I put getFormID in app.js. Sub-page button binding click event when the direct bindtap= "getFormID " can not be executed, prompting that there is no getFormID met...
because I want to collect formid (multiple pushes of template messages), I put layers button and form around each navigator ...
the official document says: "in order to facilitate developers of third-party platforms to introduce extAppid development and debugging work, it is necessary to introduce the concept of ext.json. Ext.json is a configuration file that is placed in the r...
I found that when I wrote Mini Program, I tested it on my ios mobile phone. The map on the first page can not be opened by writing wx.openLocation directly, while the map in the other sub-page can be opened by writing wx.openLocation directly. Why? (neit...
does Mini Program, a template developed by a third-party platform, need to be checked and launched like a normal Mini Program? Or only third-party platforms can only replace merchants to audit their Mini Program online? ...
my wx.showLoading is placed in the onload lifecycle function, and the wx.hideLoading is written in the request callback function, but it will be displayed when the simulator first enters the page. Why does it not appear on the phone? ...
I set the width of the picture, and then set the mode= "widthfix ", but I found that on some phones, the moment when I first enter the page to load the image, the picture will be pulled very long, and then return to normal. Then if I set the height of t...
I see that the official document only says that web-view requires a basic library of at least 1.6.4, so how much is the basic library needed for web-view to open official account articles? Do you need to be compatible? ...
I have heard an elder say that request should be put in onReady and then request after rendering dom. I don t know what advantage this will bring. Won t it be slower than putting it in onload? Ask for answers from seniors ...
switch has the condition to judge, when not satisfied, can not slide, how to break! ...
look at the official document that hover-class can set the style that button presses, but button-hover only mentioned the default value, did not say what effect, Baidu the difference between the two can not be found, which seniors can guide? ...
it is not clear how to click to change the style when this cycle comes out. If a single person can click to change the variable and change the class name, what about this cycle? Ask the boss for advice ...
setting hover-class for navigator and button does not work, but setting for view does. My navigator and button both have background colors. Does that have anything to do with this? ...