摘要: ``` .linear { width: 630px; height: 120px; line-height: 150px; text-align: center; font-size: 26px; position: absolute; bottom: 0; color: #fff; background: -webkit-linear-gradient( top, rgba(0, 0, 0, 阅读全文
posted @ 2019-08-29 17:22 那狗子真肥 阅读(5722) 评论(0) 推荐(0) 编辑
摘要: ``` .active { animation: chuiziza 0.5s ease 1 forwards; } .feijindan { display: block; animation: fei 2s ease 1 forwards; } ... 阅读全文
posted @ 2019-08-29 14:34 那狗子真肥 阅读(274) 评论(0) 推荐(0) 编辑
摘要: jquery的offset().top和js的offsetTop的区别,以及jquery的offset().top的实现方法 offset().top是JQ的方法,需要引入JQ才能使用,它获取的是你绑定元素上边框相对于html上边界的偏移量。 offsetTop是原生JS的方法,它获取的是你绑定元素 阅读全文
posted @ 2019-08-29 14:08 那狗子真肥 阅读(3307) 评论(0) 推荐(0) 编辑
摘要: ``` //或者 //或者 ``` 阅读全文
posted @ 2019-08-29 11:56 那狗子真肥 阅读(1334) 评论(0) 推荐(0) 编辑
摘要: 1、写在html里 2、写在js里 this.$router.push({ path: '/goldShop/allGoods' }) this.$router.push({ path: , query:{id:this.id,num:this.num}//带参 }) console.log(thi 阅读全文
posted @ 2019-08-29 11:51 那狗子真肥 阅读(3112) 评论(0) 推荐(0) 编辑
摘要: ``` ``` 阅读全文
posted @ 2019-08-29 11:44 那狗子真肥 阅读(3190) 评论(0) 推荐(0) 编辑
摘要: 举个例子,过滤后台转过来的时间格式2019 08 29T02:15:08.000+0000转换为2019 08 29T02:15:08 html部分 js部分 data() { return { dataList: "" } }, filters:{//与data和methods同级 timeFor 阅读全文
posted @ 2019-08-29 11:35 那狗子真肥 阅读(256) 评论(0) 推荐(0) 编辑
Live2D