摘要: 本文章写的是基于require的mock.js的几种常用生成随机数据和ajax模拟前后端的交互信息 <script src="./app/libs/require.js"></script> <script> require(["./main.js"],function(){ require(['m 阅读全文
posted @ 2019-02-25 23:45 嗨,陈强 阅读(336) 评论(0) 推荐(1) 编辑
摘要: body{-moz-user-select: none; /*火狐*/-webkit-user-select: none; /*webkit浏览器*/-ms-user-select: none; /*IE10*/-khtml-user-select: none; /*早期浏览器*/user-sele 阅读全文
posted @ 2019-02-25 19:40 嗨,陈强 阅读(150) 评论(0) 推荐(0) 编辑
摘要: <div onselectstart="return false"> adasdasdasdasdasdasdad</div> 只需要在字体使用的标签上加上这个属性就可以喽 第二种方法在相应盒子的css属性中加上这个 比上面的好用 user-select: none; 阅读全文
posted @ 2019-02-25 19:38 嗨,陈强 阅读(212) 评论(0) 推荐(0) 编辑