for example, if you click an icon on the page, do you want to get the position of the current icon from the screen? in Mini Program s event object, there are currentTarget.offsetLeft and currentTarget.offsetTop , but this is the offset of the curr...
I d like to ask Mini Program a question. The navigateTo, used for link redirection just started to jump normally, but it won t jump after a few more times, and you need to exit and re-enter. ...
A new subpackage is configured in the subPackages field of app.json, but an error is reported, and the directory of the new subpackage is not automatically generated. As shown in the figure: ...
to do H5 development, you need to adapt bangs. There is no bottom occlusion problem in Wechat development tool. Now Android also has a lot of bangs. How does Mini Program adapt to different bangs? ...
as mentioned above, the company s project needs to open Wechat s collection and payment function in Mini Program. I don t know how to achieve it. Ask for a professional solution ...
index.wxml <!-- --> <dialog id="dialog" bind:cancelEvent="cancelEvent" bind:okEvent="okEvent">< dialog> index.js Code onReady: function () { dialog this.dialog = this.selectComponent( ...
now Mini Program has a page A that is transferred to the problem scenario. After the other pages jump to A, the A page does some business processing, and then jumps to the target page. The problem is that there is a return button in the upper left corne...
The effect of UI is similar to the image above. To ensure that the picture is scaled proportionally, you must use the mode= "aspectFit " mode, but then the picture will be centered. can t find a solution, call for help here, gods ...
how does WeChat Mini Programs add the current page to the desktop? Instead of the home page? ...
everything is normal to request and display on android, but when previewing on ios, the request in onload fail: function (err) { console.log( : + err.errCode); console.log( : + err.errMsg); ...
I am making a Mini Program who gives the corresponding result according to the name entered by the user. He has changed the user s name into a number. How can I display the corresponding data in wxml? Does need wx:for and wx:if to be used together? ...
< H2 > how to realize the function of Mini Program plus WeChat group on the same trip? < H2 > after buying a ticket in Mini Program on the same trip, can jump to Mini Program on the same ride. Mini Program joins the WeChat group through customer serv...
how does WeChat Mini Programs integrate redux? so that the state layer does not rely on WeChat Mini Programs, then web app and WeChat Mini Programs can almost use the same set of state layer programs? ...
what is the reason, please? Wed Sep 19 2018 11:01:21 GMT+0800 () VM693:2 Expect FLOW_CREATE_NODE but get another (anonymous) @ VM693:2 VM695:1 Wed Sep 19 2018 11:01:21 GMT+0800 () VM695:2 webviewScriptError Expect FLOW_CREATE_NODE but get another Err...
the background image under the iphonex in WeChat Mini Programs has been lengthened, and the button overlaps with it. How to solve it? Normal under iphone6. ] [1] Code <view class="container"> <button class="btn">...
just a month after learning Mini Program, I want to do a test of Mini Program, 1, let the user enter the name; 2, and then convert the name to a numerical value; 3, set several arrays and find the corresponding array according to the converted values...
problem description the URL must be https when debugging Mini Program web-view. How to agent https locally. Web development my usual http web page development is to modify the hosts file and proxy the domain name xx.xxx.com to the local 127.0.0.1 ...
I want to make a data length limit, for example, if the length of a collection in a database exceeds 1000, sort by time, delete the old data, and then add new data. now is the length limit and sorting I am more clear, but after sorting why remove did no...
I want to implement the need to enter a name to get a random answer, but enter the same name to get the same answer. read the post and said I wanted to hash the number, and now I have transcoded the name entered by the user into five digits. Next, how ...
: html yscroll-viewxscroll-viewtop : problems: because the top value of the green part (header) is changed using setData when sliding up and down, it will always trigger setData , causing the sliding stutter to be not smooth. would li...
after you have climbed with scrapy-redis spiders, you will not be able to climb again. If you change the name of the spider, you can crawl again, and if you change back to the original name, you will start the deduplication mechanism again. Although you...
there is no problem using python reportlab to create a single-page pdf file. How to create multiple pages? -sharp! usr bin python from reportlab.pdfgen import canvas def hello(): c = canvas.Canvas("helloworld.pdf") c.drawString(100,10...
it takes too long to calculate online 200-dimensional vectors using cosine similarity is there any fast calculation method Thank you for java ...
as the title: how to customize the menu as shown below? ...
problem description at present, the demand received from the product is to encapsulate the online APP into a third-party library for use by third-party companies the biggest problem is not to generate packages, but how to change the existing busines...