...
|
...
|
@@ -18,13 +18,14 @@ |
|
|
<ProductGroup :article-id="data.articleId" :pos-id="0" :index="0" :thumb="thumb" v-if="productListData.length" :share="share" :data="productListData" :lazy="lazy"></ProductGroup>
|
|
|
|
|
|
<ArticleDetailIntro :data="introData"></ArticleDetailIntro>
|
|
|
<div v-if="data.articleId" class="topics-wrap">
|
|
|
<ArticleItemTopics :data="topicsData" :share="share"></ArticleItemTopics>
|
|
|
|
|
|
<div class="publish-time">
|
|
|
<span>{{publishTime}}</span>
|
|
|
<div class="more-wrap">
|
|
|
<i class="iconfont icon-more1" @click="onMore"></i>
|
|
|
</div>
|
|
|
</div>
|
|
|
<p class="publish-time">{{publishTime}}</p>
|
|
|
<ArticleDetailCommentList ref="commentList" v-if="data.articleId && !thumb" :article-id="data.articleId" :comment-count="articleState.commentCount"></ArticleDetailCommentList>
|
|
|
</div>
|
|
|
|
...
|
...
|
@@ -41,7 +42,7 @@ |
|
|
:dest-id="data.articleId"
|
|
|
:add-type="0"
|
|
|
:article-id="data.articleId"
|
|
|
:pos-id="0"
|
|
|
:pos-id="posId"
|
|
|
:column-type="1001"
|
|
|
:autoUpdate="false"
|
|
|
@on-comment="onComment">
|
...
|
...
|
@@ -81,7 +82,7 @@ export default { |
|
|
listTitle: String,
|
|
|
scrollTop: Number,
|
|
|
share: Boolean,
|
|
|
scrollTo: Function
|
|
|
posId: Number,
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
...
|
...
|
@@ -119,6 +120,7 @@ export default { |
|
|
authorUid: this.data.authorUid,
|
|
|
authorType: this.data.authorType,
|
|
|
authorHeadIco: this.data.authorHeadIco,
|
|
|
authGroupId: this.data.authGroupId,
|
|
|
hasAttention: this.articleState.hasAttention,
|
|
|
isAuthor: this.data.isAuthor
|
|
|
};
|
...
|
...
|
@@ -244,30 +246,23 @@ export default { |
|
|
align-items: center;
|
|
|
}
|
|
|
|
|
|
.topics-wrap {
|
|
|
.publish-time {
|
|
|
font-size: 24px;
|
|
|
color: #b0b0b0;
|
|
|
padding: 20px 30px;
|
|
|
display: flex;
|
|
|
margin-top: 40px;
|
|
|
|
|
|
> * {
|
|
|
margin-top: 0;
|
|
|
}
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
|
|
|
.more-wrap {
|
|
|
padding-right: 30px;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
}
|
|
|
color: #444;
|
|
|
|
|
|
.iconfont {
|
|
|
font-size: 44px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.publish-time {
|
|
|
display: block;
|
|
|
font-size: 24px;
|
|
|
color: #b0b0b0;
|
|
|
padding: 20px 30px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.rec-article-title {
|
...
|
...
|
|