1js获取当前域名、Url、相对路径和参数以及指定参数
https://www.cnblogs.com/wangdahai/p/6221399.html
2
window.scroll(0, 0);
3vue项目class三元
<tr :class="[grade==='实习经理'?'active':'']">
4:before /:after伪元素默认是一个行内元素,所以这个元素设置width/height是无效的
就像你对a元素设置width/height一样
设置position: absolute;后这个元素的display属性计算为block值;
但是设置的width/height针对的是:before/:after生成的匿名替换元素,而不是其中的content
所以图片的大小是没有效果的
你可以把图片设为背景图片,通过bakckground-size来设置大小
#center_box:before{
content:'';
background-image:url(http://localhost/quding/photos/u14.png);
background-size:1000px 200px;
position: absolute;
width:1000px;
height:200px;
z-index: 100;
top: -110px;
}
5设置table中的td宽度不同
https://blog.csdn.net/u012385190/article/details/54138620
6关于before和after以及content的用法
https://blog.csdn.net/qq_30486009/article/details/51500390
7router-link传递参数并获取
https://blog.csdn.net/nongweiyilady/article/details/79583834