.downcount {
flex: 1;
font-size: 8px;
font-family: “宋体”;
line-height: 8px;
margin-top: 10px;
}
.text {
font-family: “微软雅黑”;
font-size: 15px;
}
.video {
width: 100%;
margin-top: 10px;
flex: 1;
font-size: 8px;
}
.download {
width: 100%;
background: #efefef;
text-align: center;
height: 25px;
}
用户名:
标题:
video
下载次数
刷新页面
输出查看效果:
二、交互与应用
知识点
2.封装DOM元素为jQuery对象
${变量名}
传递参数
3.
scrollTo(0,0);
滚动到x,y坐标都为0的位置
效果图:
刷新页面