This commit is contained in:
pplokijuhyg 2019-11-26 14:37:13 +08:00
parent 51ade2a3a7
commit 583f5de483
4 changed files with 213 additions and 51 deletions

View File

@ -8,70 +8,34 @@
<follow :indexs="1"></follow>
<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>
<privates></privates>
<articles></articles>
<articles></articles>
<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>
<privatets></privatets>
<articles></articles>
<articles></articles>
</div>
</template>
<script>
import follow from "./components/indexFollow";
import privates from "./components/indexprivate";
import articles from "./components/indexarticle";
import privatets from "./components/indexprivatet"
export default {
name: "IndexArticleDetail",
data() {
return {};
},
components: {
follow
follow,
privates,
articles,
privatets
}
};
</script>

View File

@ -0,0 +1,64 @@
<template>
<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>
</template>
<style lang="scss" scoped>
.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>
<script>
export default {
name: "indexarticel",
data() {
return {};
}
};
</script>

View File

@ -0,0 +1,65 @@
<template>
<div class="recommend">
<div>
<p class="articlename">丧后即燃李松蔚认知升级 16 </p>
<p class="articlecontent">在信息唾手可得的时代拉开人与人差距的不是知识含</p>
<div class="author">李松蔚的私家课 · 共18</div>
</div>
</div>
</template>
<style lang="scss" scoped>
.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>
<script>
export default {
name: "indexprivate",
data(){
return {
}
}
};
</script>

View File

@ -0,0 +1,69 @@
<template>
<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>
</template>
<style lang="scss" scoped>
.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>
<script>
export default {
name: "indexprivatet",
data(){
return {
}
}
};
</script>