父元素不定宽,利用line-height实现
1 | <style> |
记录生活的点点滴滴
1 | <style> |
1 | window.location.reload() |
==但是这种方法,有的小米手机不会刷新。==
1 | this.$router.go(0) |
相对于当前页面向前或向后跳转多少个页面,类似 window.history.go(n)。n可为正数可为负数。正数返回上一个页面
1 | function reser(str){ |
1 | function Mosl(str){ |
1 | npm install postcss-pxtorem --save |
1 | const baseSize = 32 |