css、js工具集:

230 阅读1分钟

1.css动画可视化工具:

https://jeremyckahn.github.io/stylie/

2.制作精灵图标:

https://www.toptal.com/developers/css/sprite-generator/

3.uni-app组件库:

http://uviewui.com/components/countTo.html

4.用于解决 IE9 以下版本浏览器对 HTML5 新增标签不识别,并导致 CSS 不起作用的问题:

html5shiv.js

5.用于为 IE6-8 以及其他不支持 CSS3 媒体查询功能的浏览器提供媒体查询的 min-width 和 max-width 特性,实现响应式网页设计:

Respond.js

6.开源文档中文镜像

https://icopy.site/#_1

7.解决js精度问题插件

https://github.com/dcodeIO/long.js
https://github.com/MikeMcl/bignumber.js

8.#当某一情况需要重置data中的数据为原始数据时,可用: Object.assign(this.data,this.data, this.options.data()), 将data对象重置为页面初始时的值;

 #初始化 data 中的 footData 数据 Object.assign(this.data.footData,this.data.footData, this.options.data().footData);

9.vuex持久化保存

vuex-persistedstate插件