I would like to ask mpvue what happened when I configured the page path information in the main.js entry file but was not compiled to app.json? Does require additional configuration? main.jsd Code { "pages": [ "pages index main&...
topic description 1. The recording file silk uses wx.uploadFile to upload the server. 2. Then use wx.playVoice to play the silk file downloaded by wx.downloadFile. problem: only uploaded devices can play during playback. It can t be played by other...
such as configuration items like webpack alias: { @ : resolve( src ) } can gulp automatically change the @ symbol into a relative path to reference? such as import a from @ utils index automatically becomes import a from .. util...
how do you view the data and properties in the components used in Mini Program on the developer s tools? AppData only has page. ...
problem description cocos packaged h5 Mini Game is put into Mini Program nesting webview problem what we use now is cocos packaged h5 Mini Game under h5 direct access efficiency also does not stutter the phenomenon, with Wechat browser environment is...
Business background using mpvue developer Mini Program wants to make the code run on Mini Program and the web page at once I don t know what suitable ui component can be adapted to both ends try weui this is for web pages. wxss does not...
wxmln ...
Mini Program comes with a rich-text component, but what s the difference between seeing that some people introduce wxparse to parse rich text? Isn t it more convenient to bring your own rich-text? Or does rich-text have many shortcomings? ...
the company has a need to monitor the page height of all its Mini Program, so in fact, the View in the page is ever-changing, and there may be tens of thousands of customized by merchants, which leads to the inapplicability of wx.createSelectorQuery ()....
res.data.content.filter((value) => { value.createAt = util.formatTimeDistance(new Date(value.createAt)); let keyword = that.data.params; let re = new RegExp(keyword, "g"); value...
as shown in the figure, how to unify deviceId and iOS under Android? ...
1. For example, in the tab switching page like the following, the method I use now is to click the current option to call the API, such as click all to call, click to withdraw and call once, but this will waste the interface. What I want to do now is to...
! [clipboard. e4Ie) similar to the figure above. Multiple pictures show that I can control the width and height of its display. If it is a picture, I do not set its width and height, it will cover my screen, set the width and height, and because the ...
Mini Program based on wepy cannot clear the input in input when the input control loses focus <input bindblur="addTag" value="{{value}}" > ... data = { value: } ... methods = { addTag() { this.value =...
the following is the Mini Program component code methods: { getList: function () { util.get(`${config.service.host} web news list_with_pub_info?channelId=${config.channelId}&page=${that.data.page}&size=${that.data.size}`, function (re...
I passed a refresh status value to the component on the page. If the page is refreshed, the component receives the refresh status value, but how does the component perform the refresh defined in methods after receiving it? ...
WeChat Mini Programs s web-view page, when a device similar to Huawei mobile phone makes the operation of hiding the virtual navigation bar, the onresize,vh and other operations of the page cannot listen for a height change, resulting in a blank area at...
create a project according to the official document, npm install error npm WARN myvalue@0.0.2 No repository field. I would like to ask why this error occurred. This is not the first time to create a project. There was no problem before. How should I...
how to use onPageScroll, in WeChat Mini Programs Custom component I set the value in properties in the component when I need onPageScroll. ...
the demand is like this. We did both Mini Program: the staff opened our A Mini Program and generated a QR code of a certain page of B Mini Program, and then the user scanned into the page of B Mini Program to achieve some operations. Can this requirement...
topic description there are four select,: building number, unit, floor and room number. The requirements are as follows: A building, regardless of unit is empty, a total of 30 floors, room number to 1-20 B building, divided into 1, 2 units, 33 floor...
$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => http: www.test.com page1 , )); curl_setopt_array($curl, array( CURLOPT_URL => http: www.test.com page2 , )); curl_close($curl); as in the ab...
the data retrieved from the backend want to be displayed directly in the browser. Wrote a div. But each time a lot of data will be returned, often in width beyond the boundary, very ugly. How to set so that the data is only displayed in the set box. Fr...
, npm run dev can be started after I introduced vux components into vue-cli, but the browser reported an error. After Baidu, it may be a problem with cnpm, but I have used npm install to reinstall the dependency. I still can t. Here is my code. ...
Cross-domain is a secure display imposed by browsers, that is, websites of different sources cannot ask the content of other sites. but I have a local vue project, why can I use axios to access Douban s api directly? https: m.douban.com rexxar api v...