摘要: JavaScript中获取dom元素高度和宽度的方法如下: 网页可见区域宽: document.body.clientWidth 网页可见区域高: document.body.clientHeight 网页可见区域宽: document.body.offsetWidth (包括边线的宽) 网页可见区 阅读全文
posted @ 2021-06-01 18:56 时间观测者 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 之前用vue做了一个动态官网项目,后期客户要求seo,百度上之前搜索不到官网地址,后来在项目的入口文件index.html页面加上了,固定的meta标签,加上name名为keywords、description的meta标签。 例子: <meta charset="utf-8"> //下面这个met 阅读全文
posted @ 2021-06-01 13:45 时间观测者 阅读(671) 评论(0) 推荐(0) 编辑