看了下论坛,open-type="getUserInfo" 部分手机点击无响应; 官方给的答复是:升级微信版本; 所以,我推测是审核人员的手机上微信不是最新版本;导致了改现象的出现; https://developers.weixin.qq.com/community/develop/doc/00044c14b8c300b2c509ba61251800?highLine=getUserInfo%25E6%2597%25A0%25E5%258F%258D%25E5%25BA%2594 https://developers.weixin.qq.com/community/develop/doc/000666217a89f0ff9b89c36c256000?highLine=getUserInfo%25E6%2597%25A0%25E5%258F%258D%25E5%25BA%2594
审核失败具体原因咨询?2019.12.21日提交小程序审核失败; 审核失败的现象描述,我们暂时没有重现; 能多给些信息提示吗? 1)在邀请码界面,提供的测试邀请码(4903758)能正常输入吗? 2)在邀请码界面,点击“提交”按钮是无反应还是有报错提示? 3)其它不正常现象描述
2019-12-23https://developers.weixin.qq.com/community/develop/doc/00008850dfc788ac9a774294b5b400?highLine=The%2520%2522path%2522%2520argument%2520must%2520be%2520of%2520type%2520string.%2520Received%2520type%2520boolean
更新之后怎么变成这样了呢?he "path" argument must be of type string. Received type boolean TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type boolean [图片]
2019-08-10收到反馈,我们将对其进行下架处理;
请指出具体保健品,我们好下架相关保健品- 需求的场景描述(希望解决的问题) 你的小程序"美柠家",提审时间2019-02-22 18:28:50,代码发布审核未通过,原因如下: 1:服务类目"生活服务-丽人_美容"与你提交代码审核时设置的功能页面内容不一致: (1):你好,贵方小程序涉及保健品的在线交易及配送,请补充选择商家自营-保健品类目,并在基础信息处申请该类目,通过资质审核并在配置功能页添加符合该类目的功能页面。 请根据上述原因对小程序进行修改,并重新提交代码审核。 若对上述原因无法理解,可前往反馈页面进行反馈。 - 希望提供的能力 希望能指出我们小程序里销售的那些产品属于保健品;我们好下架相关保健品;
2019-02-25弹窗后用户授权行为应该也是个异步操作;导致在真机上立刻调用getLocation会触发fail回调(模拟器没有这个现象); 我采取方式和楼主一样;只不过我设置的是1000毫秒; setTimeout(()=>{ wx.getLocation({ .......... }); }, 1000);
wx.getLocation的小问题- 当前 Bug 的表现(可附上截图) 第一次弹窗让用户授权并被用户拒绝后,用户点击<button open-type="openSetting" bindopensetting="openSetting">授权登录</button>去授权,用户授权后返回再调用wx.getLocation时,第一次会走fail(这时使用wx.getSetting打印出来的结果为{scope.userLocation: true}),打印出来的err为{errMsg: "getLocation:fail auth deny"},第二次再调用wx.getLocation正常走success,在模拟器上没问题,真机和线上有这问题。
2018-12-12楼上看看这个倒计时组件能否满足你需求。 https://github.com/boiledwater/count-down
自定义组件内部的值怎么反馈到外部功能需要,写了一个自定义的倒计时组件,但是组件内部的值外部怎么获知(外面怎么知道倒计时到0了) 首先是自定义组件代码: html [代码]<view [代码][代码]class[代码][代码]=[代码][代码]"inner"[代码][代码]>[代码][代码] [代码][代码]{{cuttonTime}}[代码][代码]</view>[代码]css [代码].inner {[代码][代码] [代码][代码]color: #fff;[代码][代码] [代码][代码]font-size: 28rpx;[代码][代码] [代码][代码]line-height: 54rpx;[代码][代码]}[代码]js [代码]Component({[代码][代码] [代码][代码]properties: {[代码][代码] [代码][代码]innerText: {[代码][代码] [代码][代码]type: [代码][代码]null[代码][代码],[代码][代码] [代码][代码]value: [代码][代码]''[代码][代码] [代码][代码]},[代码][代码] [代码][代码]timeText: {[代码][代码] [代码][代码]type: [代码][代码]null[代码][代码],[代码][代码] [代码][代码]value: [代码][代码]''[代码][代码] [代码][代码]}[代码][代码] [代码][代码]},[代码][代码] [代码][代码]data: {[代码][代码] [代码][代码]cuttonTime: [代码][代码]''[代码][代码],[代码][代码] [代码][代码]durTime: [代码][代码]''[代码][代码],[代码][代码] [代码][代码]cuttonTimeOr:[代码][代码]''[代码][代码] [代码][代码]},[代码][代码] [代码][代码]attached: [代码][代码]function[代码] [代码]() {[代码][代码] [代码][代码]var[代码] [代码]that = [代码][代码]this[代码][代码] [代码][代码]that.properties.timeText = that.data.durTime[代码][代码] [代码][代码]that.setData({[代码][代码] [代码][代码]durTime: [代码][代码]parseInt[代码][代码](that.properties.innerText / [代码][代码]1000[代码][代码])[代码][代码] [代码][代码]})[代码][代码] [代码][代码]if[代码] [代码](that.data.durTime <= [代码][代码]0[代码][代码]) {[代码][代码] [代码][代码]that.setData({[代码][代码] [代码][代码]cuttonTime: [代码][代码]'超时'[代码][代码],[代码][代码] [代码][代码]})[代码][代码] [代码][代码]} [代码][代码]else[代码] [代码]{[代码][代码] [代码][代码]that.sktime()[代码][代码] [代码][代码]that.data.cuttonTimeOr = setInterval([代码][代码]function[代码] [代码]() { that.sktime() }, [代码][代码]1000[代码][代码]);[代码][代码] [代码][代码]}[代码][代码] [代码][代码]},[代码][代码] [代码][代码]detached:[代码][代码]function[代码][代码](){[代码][代码] [代码][代码]clearInterval([代码][代码]this[代码][代码].data.cuttonTimeOr)[代码][代码] [代码][代码]},[代码][代码] [代码][代码]methods: {[代码][代码] [代码][代码]sktime: [代码][代码]function[代码] [代码]() {[代码][代码] [代码][代码]var[代码] [代码]that = [代码][代码]this[代码][代码] [代码][代码]var[代码] [代码]sdurTime = that.data.durTime[代码][代码] [代码][代码]if[代码] [代码](!sdurTime) {[代码][代码] [代码][代码]return[代码] [代码]false[代码][代码] [代码][代码]} [代码][代码]else[代码] [代码]{[代码][代码] [代码][代码]that.data.durTime--[代码][代码] [代码][代码]var[代码] [代码]h = [代码][代码]parseInt[代码][代码](sdurTime / [代码][代码]3600[代码][代码]);[代码][代码] [代码][代码]sdurTime %= [代码][代码]3600[代码][代码];[代码][代码] [代码][代码]var[代码] [代码]min = [代码][代码]parseInt[代码][代码](sdurTime / [代码][代码]60[代码][代码]);[代码][代码] [代码][代码]var[代码] [代码]sec = sdurTime % [代码][代码]60[代码][代码];[代码][代码] [代码][代码]min = min < [代码][代码]10[代码] [代码]? [代码][代码]"0"[代码] [代码]+ min : min;[代码][代码] [代码][代码]sec = sec < [代码][代码]10[代码] [代码]? [代码][代码]"0"[代码] [代码]+ sec : sec;[代码][代码] [代码][代码]that.setData({[代码][代码] [代码][代码]cuttonTime: min + [代码][代码]":"[代码] [代码]+ sec[代码][代码] [代码][代码]})[代码][代码] [代码][代码]if[代码] [代码](that.data.durTime <= [代码][代码]0[代码][代码]) {[代码][代码] [代码][代码]that.setData({[代码][代码] [代码][代码]cuttonTime: [代码][代码]'超时'[代码][代码],[代码][代码] [代码][代码]})[代码][代码] [代码][代码]clearInterval(that.data.cuttonTimeOr)[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码][代码]})[代码]引入页html [代码]<view [代码][代码]class[代码][代码]=[代码][代码]"paying"[代码] [代码]bindtap=[代码][代码]'goplay'[代码] [代码]data-index=[代码][代码]"{{index}}"[代码][代码]>[代码][代码] [代码][代码]<span>付款</span>[代码][代码] [代码][代码]<time-compent inner-text=[代码][代码]"{{itemName.order.leftTime}}"[代码][代码]></time-compent>[代码][代码]</view>[代码]外部js怎么能获取到内部的这个不断变化的inner-text,谢谢
2018-11-04列表批量显示倒计时,可以使用如下控件看看。 [图片] https://github.com/boiledwater/count-down
列表渲染中怎么显示倒计时小程序有没有filter方法,在列表渲染中,怎么显示倒计时,用wxs封装了倒计时方法一直提示setInterval is not defind
2018-11-04使用这个倒计时控件看看? https://github.com/boiledwater/count-down
小程序获取时间制作倒计时无法实现,怎么解?在线等,求大神帮忙业务要求要做一个倒计时,我根据当前时间获取一个当前时间,换算成毫秒,后台返给我一个将来的时间,转换成毫秒,两个相减计算出时间,可是将来的时间在开发者工具上可以转换成毫秒,手机上不行,求解,求解
2018-11-04批量显示倒计时,可以使用如下倒计时控件; [图片] https://github.com/boiledwater/count-down
批量倒计时怎么处理?[图片] 如图所示,这样的批量倒计时,有没有人做过? 想的是用 wxs 去处理数据,但是wxs中不支持 settimeout setinterval, 如果频繁的去调用setData 渲染,性能上会不会吃不消? 有么有人有思路的? 谢谢各位, 祝各位工作顺利~
2018-11-04