falvpingtai/src/IndexArticleDetail.vue
2019-11-26 14:37:13 +08:00

108 lines
2.0 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div>
<div class="line"></div>
<p class="question">有哪些击中你内心阴暗处的句子</p>
<div class="line"></div>
<follow :indexs="0"></follow>
<div class="line"></div>
<follow :indexs="1"></follow>
<div class="line"></div>
<p class="title">相关推荐</p>
<privates></privates>
<articles></articles>
<articles></articles>
<p class="title">热门推荐</p>
<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,
privates,
articles,
privatets
}
};
</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>