let data = await this.getAccessToken() var access_token = data.access_token if (data.access_token) { let data = await this.getShareQRcode({ "access_token": access_token, "scene": 123456 , ...
how to realize the circular progress bar with gradual change of color? now we can not achieve the effect by using canvas,createLinearGradient,. I don t know if there is any good way to achieve it, in Mini Program. ...
1: Mini Program of ele.me, when browsing, many pages are embedded with H5 who has done such a case, ah, how to experience ...
1. After issuing the order, the group purchase should jump to the invite friends page, but he is now on the group purchase list page 2. And after joining the group, and after joining the group successfully, go back to the group purchase details page. T...
use the for loop block block, roughly as follows: <block wx:for="{{list}}" wx:key="{{index}}"> <view id="goods-{{item.gid}}">< view> <view class="container-body-box-item">< view...
for example, Mini Program, an intelligent train ticket, he should have located a blue layer on top of the page to cover the gray and white of the backgroundColor. But I definitely positioned a view at the top of the page and highlighted the section, and ...
the requirement is to determine whether you have entered the range of a certain location by locating the user s location, and then carry out subsequent operations; it is somewhat similar to nailing and punching in (allowing you to clock in when you en...
recently, when reading other people s Mini Program code, I found that the function methods in page in js were not declared with function, but there was no suggestion in the es6 specification that function could be omitted. What s going on? ...
wx.pageScrollTo({ scrollTop: 0, duration: 300 }) at present, it is found that there are animation effects on ios, but not on Android ...
The effect that needs to achieve is similar to this demo https: www.cnblogs.com chenl.. I tried to rewrite him in Mini Program, but I could not change the style for many times. I am a rookie, the front end is not good, I urgently ask for advice-wor...
wepy-redux triggers action, in methods but does not trigger reducer ...
scroll-view is used in Mini Program to achieve the left and right sliding effect. The code is roughly as follows wxml: <scroll-view scroll-x="true" class= container-body > <view class="container-body-box"> ...
I mainly want to store the returned information in data when post returns, and find that it is not possible for setData to be written in wx.request. Finally, I can only use wx.setStorageSync storage. I just contacted Mini Program and soon wanted to ask ...
I saw a tutorial about data binding in Mini Program s development. He wrote: this.setData is not needed to implement data binding in areas that are not asynchronous in the onload method. You can use this.data, but I tried it. This.data doesn t seem to...
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...
Common web pages are typesetting from top to bottom, vertical typesetting, pull-up loading more now the project needs to change typesetting into left-to-right typesetting, card typesetting, and load more when sliding left . is somewhat similar to the ...
generate a project with vue-cli, you can realize the front-end requirements, including node server, webpack, etc., and then add axios. What kind of project should koa2 be used in? the current technology stack is vue,. Is there any recommended technology ...
modify the value in globalData in app.wepy, how to monitor the change of this value in globalData in real time through watch in index.wepy? ...
var postsData = require ( ".. .. data posts-data.js "); Page ({ data: {) autoplay: true, circular: true }, onLoad: function (options) { this.data.post_key = postsData.postList , this.setData({post_key: postsData.postList}) } }) <block wx:f...
1.v-for loop different icons; 2. 3. 4.v-for: 5. How can I make the icons looped out by v-for display normally? ...
topic description ask the god to help me analyze it. I feel a little dizzy related codes (fn => (f => f(f) )(f => fn(n => f(f)(n) ) ) )(g => n => [1, 2].indexOf(n) > -1 ? 1 : ...
in the ts file, it is supposed to intercept the error, and then pop up a message, but calling this here will report an error. axiosTokenInstance.interceptors.response.use((response: any) => { if (response.data.statusCode !== 0) { this.$Mes...
I now have three such links: goods.html goods.html?id=123 goods.html?id=123&cat=123 the existing pseudo-static rules: RewriteRule ^ (). Html (. ) $index .php ? mod=$1 that is, goods.html = index.php?mod=goods how do I write rules so that g...
iOS11 before webview loading url, occurred redirect deadlock {ErrorDomain = kCFErrorDomainCFNetwork Code=-1007 "too many HTTP redirects " , this problem will not occur after iOS11. Why? ...
use login to get Wechat code, and use Wechat code to get token, because token will fail, so you need to intercept whether the token is valid for each API call. If it is valid, if you do not make any changes, you will jump to the login page. How to encaps...