个人案例
奇缘宇昊
自己用的一个
宇昊文档扫码体验
这是写vue写串了啊,
为什么在js中我写了gotoSuccess的函数以后,绑定tap事件,点击还是无法触发?为什么在js中我写了gotoSuccess的函数以后,绑定tap事件,点击还是无法触发tap事件,好生气啊。[图片][图片][图片]
2022-04-08这种情况看看是否是有冲突,导致没有赋值成功
如图,写的倒计时组件里this.setData无法正常赋值?setCountDown: function () { var thisPage = this let Pause = thisPage.data.isPause if (Pause == false) { //刷新时间以及递减时间范围 let time = 1000; let wPause = thisPage.data.wasPause let test = thisPage.data.pingData[0].time var Text = thisPage.data.showText let { listData } = thisPage.data; // map里 v为当前数组操作的元素,i为当前元素在数组的坐标 let list = listData.map((v, i) => { if (v.time < 0) { v.time = 0; } let formatTime = thisPage.getFormat(v.time); v.time -= time; if (test <= 0) { thisPage.setData({ test: 0, Text : "交换攻防", Pause : true, }) console.log(Text) thisPage.showPopup() } v.countDown = `${formatTime.mm}:${formatTime.ss}`; console.log("经过暂停前" + wPause) if (wPause == true) { v.time = v.time + 1000; thisPage.setData({ wasPause: false }) console.log("first time to regoing!") console.log("经过暂停后" + wPause) } console.log(test) console.log(thisPage.data.pingData[0]) return v; }) thisPage.setData({ listData: list }); //setTimeout里 在第二个函数指定毫秒时后触发第一个函数的方法 //现在语句意思为 =》在time=1000毫秒时,执行setCountDown方法,实则为循环 setTimeout(thisPage.setCountDown, time); } if (Pause == true) { return } 写的自定义倒计时组件里,this.setData一直不能给页面data数据赋值。源代码在片段中调试可行,移植后出现问题
2022-04-08不一定都是都是同城的,这个谁都可以进去直播间
小程序直播间里都是同城的顾客吗?小程序直播间里都是同城的顾客吗?
2022-04-08这是要你调用后端的接口,微信只是给个接口调用的示例,不是让你调用的,让后端给你提供登录接口就好啦
文档给的接口不对?[图片]
2022-04-08找到了,是的,被其他人给关闭了,谢谢
审核系统故障之前审核通过了,今天查看时显示系统故障,开发者正在修复,小程序已无法正常访问,是什么问题导致的? [图片]
2018-11-12请问怎么解决的,
通过变换image的src,在真机上显示闪烁,开发工具上不会现在的需求是,接收后台通过websocket传过来的base64编码的图片,需要在小程序上展示,现在的做法是接收到图片就去替换image的src,现在的问题是开发工具上不会闪烁,真机上闪烁厉害。之前用canvas的drawimag,开发工具上没问题,真机上无显示
2018-07-02