the HTML code is as follows: <view v-show="!showLoading" v-for="(item, index) in cards" :key="index" class="body-swiper" @touchstart="touchstart" @touchend="touchend($e...
is the target array of v-for as follows: let arr = [{id: "0 ", name: "a "}, {id: "2 ", name: "c "}, {id: "1 ", name: "b "} traverse the above array in html using the following words: VFF for = "item in arr ": key= "item.id " the correct r...
Mobile UI library: mint-ui of ele.me. Mini Program UI component Library: Mogujie s minui. now I want to use mobile mint-ui directly on Mini Program. Why not? Isn t it all just a UI component library? ...
introduce Tencent Map plug-in into mpvue, no error reported and no map displayed. app.json "plugins": { "mapPlugin": { "version": "1.0.6", "provider": "wx5bc2ac602...
app.json compiled by mpvue runtime is not in the correct format failed figure: : app.json... ...
No detailed information was found. As far as I understand it, src app.vue is a global configuration, because I wrote an onLaunch method in app.vue, which jumps to authorization without authorization, but then I write an onUnload method, which has no eff...
build Mini Program application with mpvue framework, and study the content of routing. check the official website and say that the maximum number of page stacks is 5, but I can jump 10 times. What is the situation? Jump idea: it is convenient to jump...
for example, I define an empty object in the initialization data of a page data () { return { community: {}, } }, and my tag is written <img class="uploadImageDiv" mode="aspectFill" :src="communi...
iview weapp ui component style does not display, only text have scanned the websites of mpvue and weapp several times and haven t found any missing steps for the time being the environmental background of the problems and what methods you ...
computed: { islogin() { return this.$store.state.islogin; } }, watch: { islogin(a,b) { console.log( ) } } after you log in to the api, forwarding page in app.vue, the user clicks this.islogin to false,. When this.islogin changes the watch of ...
the local picture Mini Program used at the beginning. later, in order to reduce the size of the package, you have to put the picture on cdn. Mini Program is packaged with webpack. If you want to change the path of webpack output publicPath directly, ...
how to set the default location of drag and drop to avoid entering the page, resulting in the movement process as shown in the following figure ...
there are many forms of additions, deletions, changes and queries in Mini Program s project, and the following problems are encountered: form validation, required items, format requirements, etc. are now manually written functions for verification....
1. Development environment mpvue + WeChat Mini Programs . There is a flicker problem when the track in 2. markers is drawn by timer . 3. Specific code <map id="map" :longitude="longitude" :latitude="latitud...
using mpvue framework to write Mini Program introduces iview weapp many other components can be used. Only action-sheet prompts does not exists? , but in fact, action-sheet also exists . ...
post the initial code of mpvue-quickstart project creation: src app.json: { "pages": [ "pages index main", "pages logs main", "pages counter main" ], "window": { ...
I hope that after Mini Program s A page is loaded, the data of page B will be loaded automatically to speed up the response does anyone have any ideas to give us some advice? ...
has installed: npm install flyio-- save. according to Npm as stated on the official website. var Fly=require("flyio dist npm wx") npm console.log(Fly) var fly=new Fly(); fly error message ask for help from all the great god...
use wx.request to send requests ...
< H2 > question < H2 > run in the browser in mpvue? mpvue browser visit: Cannot GET appears in http: localhost:8080? what is the relationship between routing in H5 and page redirection of Mini Program? < H2 > Experimental process < H2 > 5...
what I saw on the Internet: const randomStr = "hdjrwqpei"; console.log([...randomStr]); Why is it possible to convert a string to an array after this processing? output: [ hints, dudes, jacks, rashes, winters, Qstocks, packs, ...
there is a string {{text}}sdkfje{{text}}321sd how to match the following two results with regular expressions. There can be anything inside the parentheses {{text}} {{text}} only one result can be matched with this, embarrassing ~ {{. +}} g ...
when grouping in the first step, I want to take only the top 10 of each group for mean and sun operations ...
internationalization uses i18n so that static fonts can be switched in multiple languages after configuration. I made i18n compatible according to element-ui s official website. the question is, how can I switch the words in element-ui components...
first make sure that lazy loading is written in this way. Home: resolve = > {require ([ .. .. views Home home.vue ], resolve)}, lazy loading ) then declare the component: components: { WxcTabBar, Home: resolve => {require([ ...