139 lines
3.4 KiB
HTML
139 lines
3.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>评论列表</title>
|
|
<style>
|
|
/* 清除浏览器默认的css样式 */
|
|
body,
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6,
|
|
ul,
|
|
li,
|
|
p {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
li {
|
|
list-style: none;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
input,
|
|
button,
|
|
textarea {
|
|
outline: none;
|
|
border: none;
|
|
}
|
|
|
|
.comment_title {
|
|
height: 51px;
|
|
font-size: 16px;
|
|
display: flex;
|
|
color: #333333;
|
|
align-items: center;
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.comment ul {
|
|
padding: 14px 12px;
|
|
}
|
|
|
|
.comment ul li {
|
|
display: flex;
|
|
margin-bottom: 35px;
|
|
}
|
|
|
|
.comment li .avter {
|
|
width: 35px;
|
|
height: 36px;
|
|
margin-right: 10px;
|
|
border-radius: 100%;
|
|
}
|
|
|
|
.comment li .comment_info {}
|
|
|
|
.comment_info .comment_text {}
|
|
|
|
.comment_text .comment_name {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.comment_text .comment_name .name {
|
|
font-size: 14px;
|
|
color: #333333;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.comment_text .comment_name .zan {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.comment_text .comment_name .zan img {
|
|
width: 13px;
|
|
height: 14px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.comment_text .comment_name .zan span {
|
|
font-size: 12px;
|
|
color: #999999;
|
|
}
|
|
|
|
.comment_info .comment_text .comment_time {
|
|
font-size: 10px;
|
|
color: #999999;
|
|
margin-bottom: 19px;
|
|
}
|
|
|
|
.comment_info .comment_des {
|
|
font-size: 14px;
|
|
color: #333333;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="comment">
|
|
<div class="comment_title">全部评论</div>
|
|
<ul>
|
|
<li>
|
|
<img class="avter"
|
|
src="https://upload.jianshu.io/users/upload_avatars/301940/189d69dd-af7c-4290-9e2c-89e98acf3603.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/96/h/96/format/webp"
|
|
alt="">
|
|
<div class="comment_info">
|
|
<div class="comment_text">
|
|
<div class="comment_name">
|
|
<div class="name">呆小瓜</div>
|
|
<div class="zan">
|
|
<img class="zan_img" src="./zan.png" alt="">
|
|
<span>15</span>
|
|
</div>
|
|
</div>
|
|
<div class="comment_time">刚刚</div>
|
|
</div>
|
|
<div class="comment_des">这里是评论的文字这里是评论的文字这里是评论
|
|
的文字这里是评论的文字这里是评论的文字这里
|
|
是评论的文字这里是评论的文字</div>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |