mui搜索列表自定义

林森 27 0 RAR 2019-05-13 05:05:56

1,直接添加引用indexed-list.js和indexed-list.css;2,修改indexed-list.js的self.el.bar.offsetHeight-40为self.el.bar.offsetHeight-self.el.search.offsetHeight此处的作用是防止你将搜索框去掉,导致的右侧导航不协调3,修改group&&group.length==1为group此处是因为你添加的热门等字符串长度大于1而不能触发定位函数4,禁止self.bindSearchEvent();此处是由于我的页面不需要搜索,所以讲搜索的触发事件禁止5,添加你要添加的模块同时在模块的外层di

用户评论
请输入评论内容
评分:
Generic placeholder image 卡了网匿名网友 2019-05-13 05:05:56

如果你的页面需要哪个搜索框,搜索框放哪啊

Generic placeholder image 卡了网匿名网友 2019-05-13 05:05:56

这个可以的 可用不忽悠

Generic placeholder image 卡了网匿名网友 2019-05-13 05:05:56

厉害啊

Generic placeholder image 卡了网匿名网友 2019-05-13 05:05:56

感谢 楼主