Merge branch 'zhengjie' of pplokijuhyg/falvpingtai into master
This commit is contained in:
commit
c12c9cfe30
133
src/IndexArticleDetail.vue
Normal file
133
src/IndexArticleDetail.vue
Normal file
@ -0,0 +1,133 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="line"></div>
|
||||
<p class="question">有哪些击中你内心阴暗处的句子?</p>
|
||||
<div class="line"></div>
|
||||
<p class="title">相关推荐</p>
|
||||
<div class="recommend">
|
||||
<div>
|
||||
<p class="articlename">丧后即燃:李松蔚认知升级 16 讲</p>
|
||||
<p class="articlecontent">在信息唾手可得的时代,拉开人与人差距的,不是知识含</p>
|
||||
<div class="author">李松蔚的私家课 · 共18</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="recommend">
|
||||
<div>
|
||||
<p class="articlename">阅读时间有限,还要把精力花在摘抄上吗?</p>
|
||||
<!-- <p class="articlecontent">在信息唾手可得的时代,拉开人与人差距的,不是知识含</p> -->
|
||||
<div class="author">汉王的文章 · 556 赞同</div>
|
||||
</div>
|
||||
<img src="./assets/tuijian.png" alt="" class="pic">
|
||||
</div>
|
||||
<div class="recommend">
|
||||
<div>
|
||||
<p class="articlename">阅读时间有限,还要把精力花在摘抄上吗?</p>
|
||||
<!-- <p class="articlecontent">在信息唾手可得的时代,拉开人与人差距的,不是知识含</p> -->
|
||||
<div class="author">汉王的文章 · 556 赞同</div>
|
||||
</div>
|
||||
<img src="./assets/tuijian.png" alt="" class="pic">
|
||||
</div>
|
||||
|
||||
|
||||
<p class="title">热门推荐</p>
|
||||
<div class="recommend">
|
||||
<div>
|
||||
<p class="articlename">丧后即燃:李松蔚认知升级 16 讲</p>
|
||||
<div class="author">李松蔚的私家课 · 共18</div>
|
||||
<div class="pics">
|
||||
<img src="./assets/tuijian.png" alt="" class="picture">
|
||||
<img src="./assets/tuijian.png" alt="" class="picture">
|
||||
<img src="./assets/tuijian.png" alt="" class="picture">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="recommend">
|
||||
<div>
|
||||
<p class="articlename">阅读时间有限,还要把精力花在摘抄上吗?</p>
|
||||
<!-- <p class="articlecontent">在信息唾手可得的时代,拉开人与人差距的,不是知识含</p> -->
|
||||
<div class="author">汉王的文章 · 556 赞同</div>
|
||||
</div>
|
||||
<img src="./assets/tuijian.png" alt="" class="pic">
|
||||
</div>
|
||||
<div class="recommend">
|
||||
<div>
|
||||
<p class="articlename">阅读时间有限,还要把精力花在摘抄上吗?</p>
|
||||
<!-- <p class="articlecontent">在信息唾手可得的时代,拉开人与人差距的,不是知识含</p> -->
|
||||
<div class="author">汉王的文章 · 556 赞同</div>
|
||||
</div>
|
||||
<img src="./assets/tuijian.png" alt="" class="pic">
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {};
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.line {
|
||||
height: 0.2rem;
|
||||
width: 100%;
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
.question {
|
||||
height: 1rem;
|
||||
width: 100%;
|
||||
color: #333333;
|
||||
font-size: 0.36rem;
|
||||
text-indent: 0.3rem;
|
||||
line-height: 1rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
.title {
|
||||
color: #333333;
|
||||
font-size: 0.34rem;
|
||||
margin-top: 0.48rem;
|
||||
text-indent: 0.31rem;
|
||||
}
|
||||
.recommend {
|
||||
width: 6.9rem;
|
||||
margin-top: 0.13rem;
|
||||
margin: 0 auto;
|
||||
border-bottom: 0.01rem solid #95998f;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.articlename {
|
||||
color: #333333;
|
||||
font-size: 0.3rem;
|
||||
line-height: 0.4rem;
|
||||
width: 4.65rem;
|
||||
margin-top: 0.4rem;
|
||||
}
|
||||
.articlecontent {
|
||||
color: #333333;
|
||||
font-size: 0.26rem;
|
||||
margin-top: 0.15rem;
|
||||
margin-bottom: 0.14rem;
|
||||
width: 6.74rem;
|
||||
}
|
||||
.author {
|
||||
color: #999999;
|
||||
font-size: 0.22rem;
|
||||
margin: 0 auto;
|
||||
margin-top: 0.14rem;
|
||||
margin-bottom: 0.35rem;
|
||||
}
|
||||
.pic{
|
||||
width: 1.82rem;
|
||||
height: 1.2rem;
|
||||
margin: auto 0;
|
||||
}
|
||||
.pics{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-bottom: 0.31rem;
|
||||
>img{
|
||||
width: 2.23rem;
|
||||
height: 1.47rem;
|
||||
margin-right: 0.1rem
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
BIN
src/assets/tuijian.png
Normal file
BIN
src/assets/tuijian.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
@ -7,12 +7,17 @@ import PersonalHomepage from "./PersonalHomepage"
|
||||
import index from "./index"
|
||||
// import PersonalHomepage from "./PersonalHomepage"
|
||||
import ManualAppeal from "./ManualAppeal"
|
||||
import IndexArticleDetail from "./IndexArticleDetail"
|
||||
const router=new Router({
|
||||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
component: index
|
||||
},
|
||||
{
|
||||
path: '/ IndexArticleDetaill',
|
||||
component: IndexArticleDetail
|
||||
},
|
||||
{
|
||||
path: '/ManualAppeal',
|
||||
component: ManualAppeal
|
||||
|
Loading…
Reference in New Issue
Block a user