微信小程序/js 日期加减一天
var dateday = this.data.dateselect; dateday=dateday.setDate(dateday.getDate()+1); dateday=new Date(dateday);
var dateday = this.data.dateselect; dateday=dateday.setDate(dateday.getDate()+1); dateday=new Date(dateday);
ios端不支持2020-12-12 只支持2020/12/12 var date1 = date1+""; date1 = date1.replace(/-/g, '/');
利用属性 placeholder-class 指定class然后编辑样式 <input placeholder-class="input-gray" type="text" placeholder="请输入航班号&quo…
官方文档地址 app.json中引入 "usingComponents": { "mp-loading": "weui-miniprogram/loading/loading" } app.wxss中添加,此处…
var pages = getCurrentPages(); var prevPage = pages[pages.length - 2]; //上一个页面 //直接调用上一个页面的setData()方法,把数据存到上一个页面中去 var passengerBackList = []…
利用微信的movable-area/movable-view组件 wxml <movable-area wx:for="{{contactList}}" > <movable-view direction="…
js data: { barheight:"", textheight:"", textTop:"", checkAll:fal…