前端常用插件、工具类库汇总(下)

前言

对本文感兴趣可以先加个收藏,也可以转发分享给身边的小伙伴,以后遇到类似的场景就来看看具体的插件及其用法。

上一篇《前端常用插件、工具类库汇总(上)》内容摘要:

  • 动画库
  • 滚动库
  • 轮播图
  • 滚屏
  • 弹出框
  • 消息通知
  • 下拉框
  • 级联选择器
  • 颜色选择器
  • 时间日期处理
  • 表单验证
  • 分页插件

本篇延续上一篇的内容继续给大家带来一系列关于前端插件、工具类的内容。

富文本编辑器

wangEditor
http://www.wangeditor.com/
百度UEditor
https://ueditor.baidu.com/website/
KindEditor
http://kindeditor.net/demo.php
MediumEditor
http://yabwe.github.io/medium-editor/
Simditor
https://simditor.tower.im/
Summernote
https://summernote.org/
Quill
https://quilljs.com/
Slate
https://github.com/ianstormtaylor/slate
Markdown 
复制代码

编辑器

Editor.md
https://pandao.github.io/editor.md/
复制代码

树插件

树插件 www.treejs.cn/v3/main.php…

图片懒加载

lazyload
https://github.com/tuupola/jquery_lazyload
复制代码

瀑布流

Masonry
https://www.cnblogs.com/cjc917/p/7402026.html
Metro风兼瀑布流布局效果
http://www.lanrenzhijia.com/jquery/1985.html
复制代码

相册

(图片滑动切换展示效果)
Viewer.js
https://fengyuanchen.github.io/viewerjs/
复制代码

导航插件

okayNav
http://www.dowebok.com/204.html
复制代码

视频播放器

Chimee:组件化H5播放器框架
http://chimee.org/
https://juejin.im/entry/5a02b480f265da43144020b1
flv.js
Bilibili 开源纯 JavaScript 编写的 FLV 播放器
Flash 视频(FLV)播放器
http://chimee.org/
https://juejin.im/entry/5a02b480f265da43144020b1
jplayer
http://www.jplayer.cn/
html5player
https://juejin.im/post/596f536d51882526337caf15
Video.js:
开源、免费的HTML5和Flash视频播放器
https://dogeek.net/
复制代码

弹幕播放器

DanmuPlayer - Html5弹幕播放器插件
https://github.com/chiruom/DanmuPlayer
jquery.danmu.js - jQuery弹幕插件
https://github.com/chiruom/jquery.danmu.js
scroxt - 字幕字体滚动插件
https://github.com/chenjianfang/scroxt
复制代码

复制粘贴插件

clipboard.js
https://github.com/zenorocha/clipboard.js/
ZeroClipboard
https://github.com/zeroclipboard/zeroclipboard
复制代码

二维码插件

jquery.qrcode.js
https://github.com/jeromeetienne/jquery-qrcode
复制代码

拖拽

Draggabilly
http://www.jq22.com/jquery-info293
dragula
https://www.toutiao.com/a6491847196890104334
复制代码

文件上传

uploader
WebUploader:
HTML5 & FLASH 文件上传
https://github.com/fex-team/webuploader/
复制代码

代码高亮

hightlightokayNav
https://highlightjs.org/
复制代码

前端国际化

i18n
i18next
https://github.com/i18next/i18next
vue-i18n
https://github.com/kazupon/vue-i18n
前端系列——jquery.i18n.properties前端国际化解决方案“填坑日记”:
http://www.cnblogs.com/landeanfen/p/7581609.html
基于jQuery.i18n.properties 实现前端页面的资源国际化
https://blog.csdn.net/aixiaoyang168/article/details/49336709
复制代码

地图

百度地图
http://lbsyun.baidu.com/
谷歌地图
http://www.runoob.com/googleapi/google-maps-api-key.html
高德地图
https://lbs.amap.com/
腾讯地图
https://lbs.qq.com/
复制代码

网页即时通讯

LayIM
http://layim.layui.com/
闲聊么
https://www.xianliao.me/
复制代码

数据可视化

ECharts 
http://echarts.baidu.com/index.html
阿里云 DataV
复制代码

PDF 阅读器

https://github.com/mozilla/pdf.js
复制代码

主题色提取

RGBaster
https://github.com/briangonzalez/rgbaster.js
Color Thief
vibrant.js
复制代码

前端存储

ustbhuangyi/storage:
封装了sessionStorage和localStorage
https://github.com/ustbhuangyi/storage
store.js
本地存储localstorage的封装
https://github.com/jaywcjlove/store.js
localForage
https://github.com/localForage/localForage
复制代码

数据 Mock

Easy Mock
https://github.com/easy-mock/easy-mock
Mockjs
生成任意随机数据,拦截 Ajax 请求
http://mockjs.com/
json-server + fakerjs
https://github.com/typicode/json-server
复制代码

分享

bShare
QQ分享组件
百度分享
复制代码

评论

Gitalk
gitment
畅言
来必力
复制代码

其他

IE浏览器版本过低提示插件IEalert.js
http://www.jqueryfuns.com/resource/455
lyric-parser - QQ音乐歌词解析
https://github.com/ustbhuangyi/lyric-parser
holder.js - 图片占位符插件
https://github.com/imsky/holder
jQuery放大镜插件jqzoom.js
http://www.jq22.com/jquery-info648
Zooming – JavaScript图片缩放库
http://www.dowebok.com/204.html
复制代码

以上是作者在工作中积累的一些常用的前端开源插件,这里只是罗列出来。

往往一个解决方案会有多个插件,需要读者根据自己的实际业务需求进行甄别选用,欢迎在本文留言交流和补充。

订阅号ID:Miaovclass

关注妙味订阅号:“妙味前端”,为您带来优质前端技术干货;

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
/** * ckUI * author:h_yang * version:1.8.1 * beforeVersion:1.7.7 * * API(属性级): * $.ckTrim(str),返回值为去掉前后空格 str: jquery对象||元素ID||字符串 * $.ckIsEmail(str, ifAlert),返回是否为正确邮箱格式 str: jquery对象||元素ID||字符串 ifAlert: 是否弹出错误信息 * $.ckIsUrl(str, ifAlert), 返回是否是正确的URL格式地址 str: jquery对象||元素ID||字符串 ifAlert: 是否弹出错误信息 * $.ckIsMobile(str, ifAlert), 返回是否是正确格式电话号 str: jquery对象||元素ID||字符串 ifAlert: 是否弹出错误信息 * $.ckSetCookie(name, value, path, time),设置cookie name: key value: 值 path: 域 time: 存活时间(s) * $.ckGetCookie(name), 获取cookie, name: key值 * $.ckDelCookie(name), 删除cookie, name: key值 * $.ckObjToJsonStr(obj), obj对象转json字符串,如果出现异常,则返回"" * $.ckObjToJson(obj), obj对象转json对象, 如果出现异常则返回new Object() * $.ckIsEmpty(str, ifAlert), 返回是否为空值, str: jquery对象||元素ID||字符串 ifAlert: 是否弹出错误信息 * $.ckMul(arg1, arg2), 乘法 * $.ckAdd(arg1, arg2), 加法 * $.ckSub(arg1, arg2), 减法 * $.ckDiv(arg1, arg2), 除法 * $.ckMustNumber(e, obj), 只能输入数字, 属性级函数 * $.ckFmtMoney(s, n), s: 金额, n: 保留的小数位数 * $.ckRbkMoney(s), s: 格式化之后的金额 * $.ckGoto(url), 跳转url地址 * $.ckShade(flag, time), 遮罩, flag: boolean类型,true为开启,false关闭,在开启时,重复点击则中断线程, time为持续时间,默认为4秒 * $.ckGetContext(), 返回应用程序上下文全路径 * $.ckGotoView(uri), 跳转带上下文的地址,uri: 请求地址,如果uri第一位不是/ 则自动加/ * $.ckCheckCard(str, ifAlert), 返回是否是正确身份证号, str: jquery对象||元素ID||字符串 ifAlert: 是否弹出错误信息 * $.ckPostToNewView(url, args) post形式跳转页面,避免参数暴露在地址栏中 * * 更新日志: * 2017-01-10更新日志: $.ckShade(true) 遮罩功能,一次调起为开启,在遮罩参数为true的时候再次调起会终止线程, $.ckShade(false) 为关闭遮罩 * 2017-01-16更新日志: 遮罩加入显示图片 * 2017-01-18更新日志: $.ckGetContext() 返回为不带/的根项目路径 * 2017-01-20更新日志: $.ckShade(boolean, time), boolean 是否显示遮罩 time: 显示时间为毫秒, 遮罩默认显示5秒 * 2017-02-08更新日志: $.ckMaxLength(length) 加入最大输入长度限制函数 length: 最大长度数 * 2017-02-10更新日志: $.ckWhatFrameWork() 0: 安卓 1: 苹果 2: winphone 3 other * 2017-02-15更新日志: $.ckAlert(option) 弹出组件 * 2017-02-18更新日志: $.ckSetCookie(), 新增参数time 单位:秒 为cookie过期时间 * 2017-02-25更新日志: $.ckAnchor(), 页面锚点,返回上个页面自动定位到上次浏览的位置 * 2017-03-07更新日志: $.ckIsUrl(), 是否是URL地址 * 2017-03-09更新日志: $.ckGotoView(uri), 带项目根路径的跳转 * 2017-03-09更新日志: $.ckCheckCard(card, ifAlert), 检测身份证号 card: 身份证号||元素ID||jquery对象 ifAlert: 是否打印错误信息 * 2017-03-13更新日志: 修复$.ckIsEmpty对入参的校验规则 * 2017-04-05更新日志: 加入两种限制函数,$.ckMustEnAndNumber(适配 . -) & $.ckMustEnAndCN & $.ckMustEnAndNumberAndCn * 2017-04-07更新日志: 加入自定义过滤,$.ckRegular(expression) expression 为正则表达式 * 2017-04-07更新日志: 改进了must相关函数的触发条件,现在可以兼容移动端了 * */
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值