[{ "_id": "058dfefe62937285062addb921e4fdf3", "price": "99", "title": " 乐物纳米光固化防护膜", "_openid": "**********", "id": "175461", "imagePath": "**********/newstatic/18657/0429cba1f8304d2e.jpg", "link": "**********/product/175461.html" }, { "_id": "058dfefe62937285062addba66701e6f", "_openid": "**********", "id": "96280", "imagePath": "**********/0345689bed29a619.jpg", "link": "**********/product/96280.html", "price": "149", "title": "苹果 20W 充电器" }]
我导入的json文件第二排{显示错误 End of file expected .json?{ "_id": "058dfefe62937285062addb921e4fdf3", "price": "99", "title": " 乐物纳米光固化防护膜", "_openid": "**********", "id": "175461", "imagePath": "**********/newstatic/18657/0429cba1f8304d2e.jpg", "link": "**********/product/175461.html" } { "_id": "058dfefe62937285062addba66701e6f", "_openid": "**********", "id": "96280", "imagePath": "**********/0345689bed29a619.jpg", "link": "**********/product/96280.html", "price": "149", "title": "苹果 20W 充电器" } 在第三个括号那里底下总是有红线,底部报错End of file expected .json
2022-05-30[图片]
movable-view 超出移动范围后能否不回弹?movable-view 超出移动范围后能不能不回弹 保持超出范围的样子?[图片]
2022-05-29就这?
openapi.security.imgSecCheck?这图片也可以过?[图片]
2022-05-29自查后端接口。
微信昵称带特殊符号 登录不了?没反应微信昵称带特殊符号 登录不了?没反应
2022-05-29[图片] 官方提供的不行,自己修改源代码呗。
<mp-slideview> 能用weUI 的 <mp-icon>吗?我看到官方给的例子 mp-slideview src 引用的是svg 文件,不能他自己的mp-icon ? 很奇怪这块。
2022-05-28console.log(this.data.flag1)
纯小白,不知道为什么setdata方法报错? QAQ.else{ console.log("yes") this.setData({ flag1:0 }); [图片] ReferenceError: flag1 is not defined [图片]
2022-05-28为什么不行?
wx.showToast title 不支持自定义吗?wx.showToast({ title: messg, icon: 'none', duration: 2000 }) 怎么能显示自定义的 messg
2022-05-28weui gallery画廊组件 https://github.com/Tencent/weui-wxss
wx.previewMedia预览图片时,图片上面有1/1数字,能否让数字编号取消呢?wx.previewMedia预览图片时,图片上方有1/2等数字编号,能否让它消失。
2022-05-27// ① <view>chat{{myId}}to{{item.unionId}}Time</view> // ② <view>{{'chat' + myId + 'to' + item.unionId + 'Time'}}</view> // ③ wxs处理
如何在wxml中将变量的结果拼接字符串成为一个变量呢?[图片] 我想要的就是,先获得myId和unionid这两个变量的值,根据外面的字符串拼接成为 例如:chat2to1Time 这个变量名,再去获取相对应的值。 有没有实现这样效果的方法呢?
2022-05-23js or wxs ?
使用constructor 判断数据类型时出错?[图片] value参数是一个对象。 1、这一段代码在开发者工具中、在真机调试1.0中,都没有问题, 2、在我的手机上运行体验版、在真机调试2.0中,都会出错。明明输出相等,判断是否相等时输出就是false。 图片为真机调试2.0的截图。
2022-05-23