wx-list-index
wx-list-index copied to clipboard
wx小程序索引列表组件
这是什么错误
前面我按照你说的一步步完成 当引入 Js时出现如下错误: 
1.无法触发scroll事件 因为没有给scroll-view 高度; 在组件的生命周期中添加 attached: function() { var _this = this; wx.getSystemInfo({ success: function(res) { _this.setData({ height: res.windowHeight }) }, }) }, xml中 给scroll-view添加高度height:{{height}}px 2.list-right-wrapper设定position:fixed; 否则一起滚到上边去; 3.右侧滚动拦截下,catchtouchmove='true' 4.多次搜索空串时候 判断有没有添加过我的定位数据 this.data.myCity...