...
|
...
|
@@ -10,7 +10,7 @@ |
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import {get} from 'lodash';
|
|
|
import {get, first} from 'lodash';
|
|
|
import ArticleItemHeader from './article-item-header';
|
|
|
import ArticleItemSlide from './article-item-slide';
|
|
|
import ArticleItemIntro from './article-item-intro';
|
...
|
...
|
@@ -52,7 +52,8 @@ export default { |
|
|
commentCount: this.data.commentCount,
|
|
|
praiseCount: this.data.praiseCount,
|
|
|
favoriteCount: this.data.favoriteCount,
|
|
|
articleId: this.data.articleId
|
|
|
articleId: this.data.articleId,
|
|
|
imageUrl: get(first(this.slideData.blockList), 'contentData', '').replace('{mode}', 2).replace('{width}', 200).replace('{height}', 200)
|
|
|
};
|
|
|
},
|
|
|
commentData() {
|
...
|
...
|
|