摘要: 一,v-bind:class 一个对象,以动态地切换 class: <view class="static" v-bind:class="{ active: isActive, 'text-danger': hasError }"> </view> 结果为:<div class="static ac 阅读全文
posted @ 2021-08-26 14:34 424174余 阅读(212) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/laixiangran/p/8999711.html https://www.cnblogs.com/Anita-meng/p/7867662.htmlcss实现网格背景 .content{ width: 100%; height: 100%; bac 阅读全文
posted @ 2020-10-27 17:25 424174余 阅读(522) 评论(0) 推荐(0) 编辑
摘要: var share_cookie = ''; var arr,reg = new RegExp("(^| )"+cookie_name+"=([^;]*)(;|$)"); if(arr = document.cookie.match(reg)){_cookie = unescape(arr[2]); 阅读全文
posted @ 2020-05-07 14:50 424174余 阅读(118) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/echolun/p/10146197.html 阅读全文
posted @ 2020-04-01 17:50 424174余 阅读(82) 评论(0) 推荐(0) 编辑
摘要: wampserver https://blog.csdn.net/qq_34195507/article/details/94851028 https://blog.csdn.net/weixin_43271060/article/details/98852375 sublime问题 https:/ 阅读全文
posted @ 2020-03-28 19:51 424174余 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 先看vue的版本vue -V vue-cli 3的 https://blog.csdn.net/qq_39725309/article/details/81558332 vue-cli 4的 https://www.cnblogs.com/qinyuanchun/p/11821918.html 加上 阅读全文
posted @ 2020-03-12 14:09 424174余 阅读(78) 评论(0) 推荐(0) 编辑
摘要: Date.parse('2019-3-1') 与 Date.parse('2019-3-1 00:00:00')在两个浏览器下的表现 谷歌浏览器默认使用0点,火狐浏览器默认使用8点 chrome对日期(0-31)都兼容,如果本月没有29,30,31 chrome会将29-31号之间的日期对应到下个月 阅读全文
posted @ 2019-03-04 17:12 424174余 阅读(441) 评论(0) 推荐(0) 编辑
摘要: 1.位置属性(position, top, right, z-index, display, float等) 2.大小(width, height, padding, margin) 3.文字系列(font, line-height, letter-spacing, color- text-alig 阅读全文
posted @ 2019-01-04 10:58 424174余 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 1,导入settings(百度云盘中),字体是source code 2,忽略node_modules目录 https://www.cnblogs.com/chengwb/p/6183440.html 3,将项目上传码云、管理项目 https://blog.csdn.net/weixin_38544 阅读全文
posted @ 2018-09-27 14:51 424174余 阅读(106) 评论(0) 推荐(0) 编辑
摘要: var sdate = '2017-6-8' + " 00:00:00" 比较日期时火狐与谷歌答案不一致 Date.parse(sdate) new Date().toLocaleString默认设置为12小时,会显示上午、下午,如下:可设置为24小时var time=new Date().toLo 阅读全文
posted @ 2018-07-20 15:08 424174余 阅读(115) 评论(0) 推荐(0) 编辑