个人案例
- 阳光投票
一款简单便捷的投票工具
阳光投票小程序扫码体验
期待官方修复
点击input输入框,然后再点击picker组件;会出现重叠显示的情况具体机型: iphone 6、iphone 7 系统版本:IOS 12.0 -bug描述 点击input输入框,然后再点击picker组件;操作需要稍微快速一些;然后会出现如下图所示的重叠显示的情况 [图片]
2020-04-24同样遇到这个问题;小程序还在开发阶段,就频繁提示这个;搞得大家人心惶惶;拼命优化性能也一如既往,希望官网能更加友好一点,给出解决方案或者更改下提示
该小程序可能导致微信响应变慢被终止从搜索列表中点击小程序提示“该小程序可能导致微信响应变慢被终止”,想知道是什么原因造成这样的提示,有没有解决方案 小程序名称:安吉旅游攻略
2019-04-16[代码]<view class=[代码][代码]"record-data"[代码][代码]>[代码][代码] [代码][代码]<swiper current=[代码][代码]"{{swiperIndex}}"[代码] [代码]bindchange=[代码][代码]"swiperChange"[代码] [代码]style=[代码][代码]"height:{{swiperHeight}}"[代码][代码]>[代码][代码] [代码][代码]<swiper-item>[代码][代码] [代码][代码]<scroll-view style=[代码][代码]"height: {{swiperHeight}}"[代码] [代码]scroll-y bindscrolltolower=[代码][代码]"loadMoreData"[代码][代码]>[代码][代码] [代码][代码]<view class=[代码][代码]"record-list"[代码][代码]>[代码][代码] [代码][代码]<view class=[代码][代码]"record-item"[代码] [代码]wx:[代码][代码]for[代码][代码]=[代码][代码]"{{orders}}"[代码] [代码]wx:key=[代码][代码]"{{index}}"[代码][代码]>[代码][代码] 这是循环的内容[代码][代码] [代码][代码]</view>[代码][代码] [代码][代码]</view>[代码][代码] [代码][代码]</scroll-view>[代码][代码] [代码][代码]</swiper-item>[代码][代码] [代码][代码]</swiper>[代码][代码]</view> [代码] [代码]loadMoreData: [代码][代码]function[代码][代码]() {[代码][代码] [代码][代码]let pageNo = [代码][代码]this[代码][代码].data.curPage;[代码][代码] [代码][代码]let pullDownRefreshState = [代码][代码]this[代码][代码].data.pullDownRefreshState;[代码][代码] [代码][代码]if[代码] [代码](pullDownRefreshState) {[代码][代码] [代码][代码]if[代码] [代码](pageNo < [代码][代码]this[代码][代码].data.totalPage) {[代码][代码] [代码][代码]pageNo++;[代码][代码] [代码][代码]this[代码][代码].setData({[代码][代码] [代码][代码]curPage: pageNo[代码][代码] [代码][代码]})[代码][代码] [代码][代码]this[代码][代码].getOrderList(pageNo);[代码][代码] [代码][代码]} [代码][代码]else[代码] [代码]{[代码][代码] [代码][代码]wx.showToast({[代码][代码] [代码][代码]title: [代码][代码]'全部数据已加载完毕'[代码][代码],[代码][代码] [代码][代码]icon: [代码][代码]'none'[代码][代码],[代码][代码] [代码][代码]duration: 1500,[代码][代码] [代码][代码]mask: [代码][代码]true[代码][代码] [代码][代码]})[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码][代码]}[代码] 这是我的解决方案,这里的关键是:利用scroll-view 的bindscrolltolower方法,注意:一定要给scroll-view 的高度赋值!
swiper-item,如何解决onReachBottom只会触发一次的问题swiper,swiper-item开发tab滑动效果。为什么onReachBottom只能执行一次,再往下滑动就执行不了。 贴代码: [代码]<[代码][代码]swiper[代码] [代码]class[代码][代码]=[代码][代码]"swiper-box"[代码] [代码]current[代码][代码]=[代码][代码]"{{currentTab}}"[代码] [代码]duration[代码][代码]=[代码][代码]"300"[代码] [代码]bindchange[代码][代码]=[代码][代码]"swichTab"[代码] [代码]style[代码][代码]=[代码][代码]"height:{{clientHeight?clientHeight+'px':'auto'}}"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]swiper-item[代码] [代码]class[代码][代码]=[代码][代码]"swiper-item"[代码][代码]>[代码][代码] [代码] [代码] [代码][代码]<[代码][代码]block[代码] [代码]wx:for[代码][代码]=[代码][代码]"{{projectList}}"[代码] [代码]wx:key[代码][代码]=[代码][代码]"*this"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]data-pid[代码][代码]=[代码][代码]"{{item.id}}"[代码] [代码]class[代码][代码]=[代码][代码]"project-list"[代码] [代码]bindtap[代码][代码]=[代码][代码]'newsClick'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'project-info'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'name'[代码][代码]>{{item.name}}</[代码][代码]view[代码][代码]>[代码] [代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'info'[代码][代码]>发布单位:{{item.pname}} </[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'info'[代码][代码]>发布时间:{{item.publishtime}} </[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'project-img'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]image[代码] [代码]class[代码][代码]=[代码][代码]'img'[代码] [代码]src[代码][代码]=[代码][代码]'{{item.url}}'[代码] [代码]mode[代码][代码]=[代码][代码]"scaleToFill"[代码] [代码]lazy-load[代码][代码]=[代码][代码]"true"[代码][代码]></[代码][代码]image[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]block[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"weui-loadmore"[代码] [代码]hidden[代码][代码]=[代码][代码]"{{isHideLoadMore}}"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"weui-loading"[代码][代码]></[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"weui-loadmore__tips"[代码][代码]>正在加载</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码] [代码] [代码][代码]</[代码][代码]swiper-item[代码][代码]>[代码][代码]</[代码][代码]swiper[代码][代码]>[代码]
2019-01-21