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? ...
I use axios to send the request in js. The code is as follows: handelOne = () = > { const url = "http: one.json"; axios.get(url,{dataType: json }) .then((res) => { let dataStr = JSON.stringify(res.data); ...
suppose that two modules an and b are defined in vuex, and how can action in SET_USER,a be called if there is a mutations method in b? I try to directly store.commit( SET_USER , user); but the prompt cannot find this mutations,. It seems that the c...
this is text3 stationList [1] .text3 in the first one. Select text3 stationList [2] .text3 in the second one. how can I write text3, if I want to select all the contents of the array at once? ...
use this.clearCachedAuthenticationInfo () to pass in tokens, and also execute this.clearCachedAuthorizationInfo () operation to empty the authorization information. The above two operations are the same principals . In Debug, it is found that the r...
cannot be rendered using echarts in vue <template> <div id="app" class="login_area"> <div id="myChart" class="echarts">< div> < div> < template> <script> expor...