个人页面

This commit is contained in:
2019-11-25 14:15:14 +08:00
parent 9f87f69b1a
commit 4eb31ea11f
5 changed files with 282 additions and 11 deletions

View File

@@ -0,0 +1,129 @@
<template>
<div class="PersonafFollow">
<div class="title">
<p>收藏了该回答</p>
<p>3天前</p>
</div>
<div class="center">舆论之于司法利大于弊还是弊大于利</div>
<div class="answer">
<div class="user">
<img src="http://q1.qlogo.cn/g?b=qq&nk=1162963624&s=5" alt srcset />
<div>
<p>啦啦啦</p>
<p>律师</p>
</div>
</div>
<div class="agree">1345人赞同了该回答</div>
<div class="content">
<img src alt srcset />
<p>
这取决于司法是否独立舆论能影响司法判决结果的只能说明司法肯定不仅仅收到舆论的影响还会收到同样的来自其他多方面的强力的影响这种情况只能说明这取决于司法是否独立舆论能影响司法判决结果的只能说明司法肯定不仅仅收到舆论的影响还会收到同样的来自其他多方面的强力的影响这种情况只能说明
</p>
</div>
<div class="operation">
<div>
<img src="../assets/share.png" alt="" srcset="">
分享
</div>
<div>
<img src="../assets/share.png" alt="" srcset="">
888评论
</div>
<div>
</div>
</div>
</div>
</div>
</template>
<style lang="scss" scoped>
.PersonafFollow {
padding: 0.49rem 0 0.39rem 0;
border-bottom: 1px solid #dfdfdf;
.title {
display: flex;
justify-content: space-between;
font-size: 0.26rem;
color: #95998f;
margin-bottom: 0.28rem;
}
.center {
font-size: 0.3rem;
color: #000;
line-height: 0.46rem;
}
.answer {
.user {
display: flex;
align-items: center;
margin-top: 0.34rem;
> img {
width: 0.58rem;
height: 0.58rem;
border-radius: 0.04rem;
margin-right: 0.2rem;
}
> div {
display: flex;
flex-direction: column;
> p {
font-size: 0.24rem;
color: #000;
}
> p:last-child {
margin-top: 0.1rem;
font-size: 0.24rem;
color: #999;
}
}
}
.agree {
margin-top: 0.29rem;
font-size: 0.26rem;
color: #95998f;
}
.content {
> img {
width: 6.9rem;
height: 3.74rem;
background-color: #000;
display: block;
margin-top: 0.39rem;
margin-bottom: 0.32rem;
}
> p {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
line-height: 0.4rem;
font-size: 0.26rem;
}
}
.operation{
display: flex;
margin-top: 0.3rem;
>div{
margin-right: 0.6rem;
font-size: 0.22rem;
color: #95998F;
>img{
width: 0.17rem;
height: 0.17rem;
margin-right: 0.11rem;
}
}
}
}
}
</style>
<script>
export default {
name: "PersonafFollow",
data() {
return {};
}
};
</script>

View File

@@ -0,0 +1,38 @@
<template>
<div class="PersonalAnswer">
<div class="title">
<p>关注了该问题</p>
<p>3天前</p>
</div>
<div class="center">
如何看待正当防卫争议丽江醉酒男午夜持刀砸门
90后女子带刀反杀?
</div>
</div>
</template>
<style lang="scss" scoped>
.PersonalAnswer {
padding: 0.49rem 0 0.39rem 0;
border-bottom: 1px solid #dfdfdf;
.title {
display: flex;
justify-content: space-between;
font-size: 0.26rem;
color: #95998f;
margin-bottom: 0.28rem;
}
.center {
font-size: 0.3rem;
color: #000;
line-height: 0.46rem;
}
}
</style>
<script>
export default {
name: "PersonalAnswer",
data() {
return {};
}
};
</script>