摘要:
bindtouchmove='moveFn' bindtouchstart='startFn' bindtouchend='endFn' startFn: function (e) { let bianChange = this.data.bianChange; let btmChange = th 阅读全文
摘要:
let outer = this.data.outer; // let arrChe = [{ dss: '哈哈哈哈' }]; // console.log(JSON.stringify(arrChe)) return { title: '小程序自定义转发标题', path: '/pages/cla 阅读全文
摘要:
var str = ''; var timestamp = Date.parse(new Date()); for (var i = 0; i < 3; i++) { str += Math.floor(Math.random() * 10) } var a = timestamp + str+'c 阅读全文
摘要:
setTimeout(function () { let query = wx.createSelectorQuery(); query.select('#haha').boundingClientRect() query.exec(function (res) { console.log(res[ 阅读全文
摘要:
let query = wx.createSelectorQuery(); query.select('#a0').boundingClientRect() query.exec(function (res) { console.log(res[0]); }) let query = wx.crea 阅读全文
摘要:
wx.setNavigationBarTitle({ title: this.data.banner[dateIndex].shopping.name, }) wx.setNavigationBarTitle({ title: this.data.banner[dateIndex].shopping 阅读全文
摘要:
this.addMinutes(new Date(Date.parse("2018-03-29 11:55")),5) //计算后n分钟的时间 addMinutes:function (date, minutes){ minutes=parseInt(minutes); var interTimes 阅读全文