- app.json是否可以配置变量(求解答)
HexColor 可不可以配置变量[图片]
2021-03-22 - 请问wx小程序每次走onload都会创建一个新的对象吗?
递归倒计时,小程序页面刷新,出现多个倒计时 每刷新一次页面,多一个倒计时 setCountDown: function() { let time = 1000; let endTime = this.data.endTime; let showTime = this.data.showTime; let showTimeHh = this.data.showTimeHh; let showTimeMm = this.data.showTimeMm; let showTimeSs = this.data.showTimeSs; if (endTime <= 0) { endTime = 0; this.setData({ showTime: "订单已结束", editTrue: false, isDisabled:false, titlea:"欢迎下次使用" }); clearInterval(this.setCountDown); this.timeover(); return false } let formatTime = this.getFormat(endTime);//格式化时间方法 console.log("formatTime",this.getFormat(endTime)) endTime -= time; showTime = `${formatTime.hh}:${formatTime.mm}:${formatTime.ss}`; showTimeHh = `${formatTime.hh}`; showTimeMm = `${formatTime.mm}`; showTimeSs = `${formatTime.ss}`; this.setData({ showTime: showTime, endTime: endTime, showTimeHh : showTimeHh, showTimeMm : showTimeMm, showTimeSs : showTimeSs }); console.log("时间",this.data.showTime) setTimeout(this.setCountDown, time); },
2020-09-04 - 安卓动画效果卡顿?
动态添加购物车,苹果顺畅,安卓特别卡,有解决办法吗
2020-07-20 - 小程序扫码传参安卓和苹果不同(「微信7.0.12」)?
[图片]这是安卓的 [图片]这是苹果
2020-03-26