一言不合就动手系列篇一-仿电商平台前端搜索插件(filterMore)
2016-09-30 08:07
393 查看
话说某年某月某日,后台系统需要重构,当时公司还没有专业前端,由我负责前台页面框架搭建,做过后台系统的都知道,传统的管理系统大部分都是列表界面和编辑界面。列表界面又由表格和搜索框组成,
View Code
演示地址:https://crazyjson.github.io/filterMore/demo/index.html#expandEvent
默认值
演示地址:https://crazyjson.github.io/filterMore/demo/index.html#defaultValue
数据源格式自定义
演示地址:https://crazyjson.github.io/filterMore/demo/index.html#customData
方法调用
演示地址:https://crazyjson.github.io/filterMore/demo/index.html#functionCall
回到顶部
GitHub地址 : https://github.com/CrazyJson/filterMore
在线演示地址: https://crazyjson.github.io/filterMore/demo/index.html
如果,您认为阅读这篇博客让您有些收获,不妨点击一下右下角的【推荐】按钮。
如果,您希望更容易地发现我的新博客,不妨点击一下绿。色通道的【关注我】。
如果,想给予我更多的鼓励,求打
因为,我的写作热情也离不开您的肯定支持。
感谢您的阅读,如果您对我的博客所讲述的内容有兴趣,请继续关注我的后续博客,我是焰尾迭 。
var options = { //查询事件 "search": function (paramList) { }, //默认展开条件数 "expandRow": 1, //展开更多条件触发事件 "expandEvent": function (state) { //展开更多条件触发事件 参数:state true表示展开 false 收缩 $("#expandEvent_searchbox_param").html("是否展开条件:"+state); }, //查询条件 "searchBoxs": [ { "id": "Status_ExpandEvent", "title": "任务状态", "isMultiple":true, "data": [ { "value": "0", "text": "运行" }, { "value": "1", "text": "停止" } ] }, { "id": "Createor_ExpandEvent", "title": "创建人", "data": [ { "value": "admin", "text": "系统管理员" }, { "value": "zhangsan", "text": "张三" } ] } ] }; $("#expandEvent_searchbox").fiterMore(options);
View Code
演示地址:https://crazyjson.github.io/filterMore/demo/index.html#expandEvent
默认值
演示地址:https://crazyjson.github.io/filterMore/demo/index.html#defaultValue
数据源格式自定义
演示地址:https://crazyjson.github.io/filterMore/demo/index.html#customData
方法调用
演示地址:https://crazyjson.github.io/filterMore/demo/index.html#functionCall
回到顶部
总结
开源插件filterMore介绍完成,插件BUG或者建议的可以联系我。GitHub地址 : https://github.com/CrazyJson/filterMore
在线演示地址: https://crazyjson.github.io/filterMore/demo/index.html
如果,您认为阅读这篇博客让您有些收获,不妨点击一下右下角的【推荐】按钮。
如果,您希望更容易地发现我的新博客,不妨点击一下绿。色通道的【关注我】。
如果,想给予我更多的鼓励,求打
因为,我的写作热情也离不开您的肯定支持。
感谢您的阅读,如果您对我的博客所讲述的内容有兴趣,请继续关注我的后续博客,我是焰尾迭 。
相关文章推荐
- 一言不合就动手系列篇一-仿电商平台前端搜索插件(filterMore)
- 介绍几个搜索前端开发插件的好地方
- Bootstrap插件系列——Bootstrap-table初始化、分页、客户端搜索、服务端搜索
- 电商用户行为分析大数据平台相关系列7-spark安装
- Vim常用插件——前端开发工具系列
- 腾讯前端面试题:一言不合就写个五子棋
- Windows平台WebKit的Plugin机制(一)——搜索插件
- JS组件系列——Gojs组件,前端图形化插件之利器
- 电商用户行为分析大数据平台相关系列5-KAFKA安装
- 电商用户行为分析大数据平台相关系列4-ZOOKEEPER安装
- mybatis分页插件的使用(电商项目前端动态查询排序)
- 用Elasticsearch构建电商搜索平台,一个极有代表性的基础技术架构和算法实践案例
- 电商用户行为分析大数据平台相关系列6-flume安装
- 电商用户行为分析大数据平台相关系列1-环境介绍
- [自动化平台系列] - 初次使用 Macaca-前端自动化测试(3)
- 自己动手写一个前端路由插件
- 用Elasticsearch构建电商搜索平台,一个极有代表性的基础技术架构和算法实践案例[转]
- 电商用户行为分析大数据平台相关系列9-用户访问session的模块介绍
- JS组件系列之Gojs组件 前端图形化插件之利器