摘要:
getBoundingClientRect() 这个方法返回一个矩形对象,包含四个属性:left、top、right和bottom。分别表示元素各边与页面上边和左边的距离。 var box=document.getElementById('box'); // 获取元素 alert(box.getBo 阅读全文
posted @ 2019-10-10 11:25
小白咚
阅读(534)
评论(0)
推荐(0)
摘要:
// 注意: 在 this 这个组件身上,有 this.$route 和 this.$router // this.$route 是专门用来获取路由中参数的; // this.$router 是专门来实现编程式导航的; // 注意:this.$route和this.$router这两个对象 // t 阅读全文
posted @ 2019-10-10 08:57
小白咚
阅读(1747)
评论(0)
推荐(0)

浙公网安备 33010602011771号