- 用户昵称是表情时,无法正常显示
目前为止还没发现能正常显示的。。
2017-12-12 - 通过后台服务器配置的公众号菜单,点击没有正确跳转小程序
今天12月12号10点55-11点10分,出现了bug,用户扫码后点菜单进入了公众平台的官网,而不是预期的小程序首页;此前也出现过,大概5人,具体数量不能确定; 公众号appid wxac38085e0247fb0f 小程序appid wx8b36d72edc6b105a 用户对应小程序的openid oBxYS0bYx4QqIGVOlsuqlWsLiNwI
2017-12-12 - 网络图片本地开发时正常显示,部分图片真机ios和andriod显示空白
网络图片本地开发时正常显示,部分图片image标签[图片]真机ios和andriod显示空白,但是进详情的swiper-itemscroll-view>image标签[图片]又可以显示,/scroll-view>链接是同一个https://gogo.sparkmvc.com/group1/M00/00/0B/rBBU3Voqb6WAGCNXAAiL7b-NvWc006.png [图片] [图片]
2017-12-08 - ios10.3.3 公众号菜单跳转小程序失败,但到了微信公众号首页,麻烦官方看看
ios10.3.3 微信版本6.5.5 公众号菜单跳转小程序失败,但到了微信公众号首页
2017-12-04 - 部分朋友想要的飞入购物车效果
//index.js Page({ data: { animationData: {}, animating: '', }, onLoad: function () { }, /* * t: current time(当前时间); * b: beginning value(初始值); * c: change in value(变化量); * d: duration(持续时间)。 */ bounceEaseOut: function (t, b, c, d) {//弹性线 if ((t /= d) < (1 / 2.75)) { return c * (7.5625 * t * t) + b; } else if (t < (2 / 2.75)) { return c * (7.5625 * (t -= (1.5 / 2.75)) * t + .75) + b; } else if (t < (2.5 / 2.75)) { return c * (7.5625 * (t -= (2.25 / 2.75)) * t + .9375) + b; } else { return c * (7.5625 * (t -= (2.625 / 2.75)) * t + .984375) + b; } }, easeOutBack: function (t, b, c, d, s) {//抛物线 if (s == undefined) s = 1.70158; return c * ((t = t / d - 1) * t * ((s + 1) * t + s) + 1) + b; }, startAm: function (that, e) { var atime = 0.6//动画持续时间 var etime = 100//动画结束时间 that.setData({ animating: e.target.dataset.goodsid }) setTimeout(() => { that.setData({ animating: '' }) }, etime) var animation = wx.createAnimation({ duration: 100, timingFunction: 'ease', }) that.animation = animation //变化量坐标 var offx = 320 / 2 - e.touches[0].clientX//购物车所在位置x - 加入购物车按钮的位置x var offy = 405- 50 - e.touches[0].clientY//购物车所在位置Y - 加入购物车按钮的位置Y //console.log("变化量坐标", offx, offy, that.bounceEaseOut(1 / 10, 0, offy, 1)) //每1/10秒变化量坐标: //console.log("每1/10秒变化量坐标", offx / 10, that.bounceEaseOut(1 / 10, 0, offy, 1)) animation .translate(1 * offx / 20, that.bounceEaseOut(1 / 20, 0, offy, atime)).step() .translate(2 * offx / 20, that.bounceEaseOut(2 / 20, 0, offy, atime)).step() .translate(3 * offx / 20, that.bounceEaseOut(3 / 20, 0, offy, atime)).step() .translate(4 * offx / 20, that.bounceEaseOut(4 / 20, 0, offy, atime)).step() .translate(5 * offx / 20, that.bounceEaseOut(5 / 20, 0, offy, atime)).step() .translate(6 * offx / 20, that.bounceEaseOut(6 / 20, 0, offy, atime)).step() .translate(7 * offx / 20, that.bounceEaseOut(7 / 20, 0, offy, atime)).step() .translate(8 * offx / 20, that.bounceEaseOut(8 / 20, 0, offy, atime)).step() .translate(9 * offx / 20, that.bounceEaseOut(9 / 20, 0, offy, atime)).step() .translate(10 * offx / 20, that.bounceEaseOut(10 / 20, 0, offy, atime)).step() .translate(11 * offx / 20, that.bounceEaseOut(11 / 20, 0, offy, atime)).step() .translate(12 * offx / 20, that.bounceEaseOut(12 / 20, 0, offy, atime)).step() .translate(13 * offx / 20, that.bounceEaseOut(13 / 20, 0, offy, atime)).step() .translate(14 * offx / 20, that.bounceEaseOut(14 / 20, 0, offy, atime)).step() .translate(15 * offx / 20, that.bounceEaseOut(15 / 20, 0, offy, atime)).step() .translate(16 * offx / 20, that.bounceEaseOut(16 / 20, 0, offy, atime)).step() .translate(17 * offx / 20, that.bounceEaseOut(17 / 20, 0, offy, atime)).step() .translate(18 * offx / 20, that.bounceEaseOut(18 / 20, 0, offy, atime)).step() .translate(19 * offx / 20, that.bounceEaseOut(19 / 20, 0, offy, atime)).step() .translate(20 * offx / 20, that.bounceEaseOut(20 / 20, 0, offy, atime)).step() .opacity(0).step().translate(0, 0).step().opacity(1).step() that.setData({ animationData: animation.export() }) setTimeout(function () { animation.translate(0, 0).step() that.setData({ animationData: animation.export() }) }.bind(this), etime) }, cartPlus: function (e) { var that = this //加入购物车动画 that.startAm(that,e) }, }) <view data-goodsId='' bindtap="cartPlus" animation='{{animating==im.goodsIdStr?animationData:""}}'>加入购物车</view >
2017-11-01 - setData()时数据无法局部刷新
同一个页面下,进行视图切换或者点击事件,视图层数据加载出错 如下: [图片] 点击提交后: [图片] 源码: //.js [图片] //.wxml <form class="form" bindsubmit="formSubmit" bindreset="formReset"> <view class="ch-box"> <text class="">请选择标签</text> </view> <checkbox-group bindchange="checkboxChange" class="check-box" name="checkbox"> <label class="checkbox" wx:for="{{items}}" wx:key="*this"> <checkbox value="{{item.name}}" checked="{{item.checked}}"/>{{item.value}} </label> </checkbox-group> <view class="advice-box"> <textarea class="advice" bindblur="bindTextAreaBlur" auto-height placeholder="写下您的宝贵意见,我们将尽快改进,投诉问题将尽快解决" name="textarea" /> </view> <view class="submit-btn"> <button class="btn" formType="submit" type="default" size="{{defaultSize}}" loading="{{loading}}" plain="{{plain}}" disabled="{{disabled}}" hover-class="other-button-hover"> 提交 </button> </view> </form> 诚心求教!
2017-01-12