Authored by TaoHuang

fix

... ... @@ -3,7 +3,7 @@
<ArticleDetailHeader ref="header" class="article-detail-header" v-show="!share" :data="articleInfo" :step="headerAnimateStep" :title-step="headerTitleAnimateStep">
<div v-if="articleInfo.articleId && !articleInfo.empty" class="title-main">
<div class="title-info" :style="`transform: translate3d(0, ${viewMoreArticles ? '-50%' : '0'}, 0)`">
<ArticleItemHeader class="title-info-author" :share="share" :data="authorData" :more="false" @on-follow="onFollowAuthor"></ArticleItemHeader>
<ArticleItemHeader class="title-info-author" :share="false" :data="authorData" :more="false" @on-follow="onFollowAuthor"></ArticleItemHeader>
<div class="title-info-rec">{{listTitle}}</div>
</div>
</div>
... ... @@ -13,7 +13,7 @@
<ClientOnly>
<Download v-if="share"></Download>
</ClientOnly>
<ArticleDeatilLong
<ArticleDetailLong
v-if="articleInfo.sort == 2"
ref="detailLong"
:data="articleInfo"
... ... @@ -24,8 +24,8 @@
:pos-id="posId"
@on-show-more="onShowMore"
@on-follow="onFollowAuthor">
</ArticleDeatilLong>
<ArticleDeatilNote
</ArticleDetailLong>
<ArticleDetailNote
v-else
ref="detailNote"
:data="articleInfo"
... ... @@ -37,7 +37,7 @@
@on-show-more="onShowMore"
@on-follow="onFollowAuthor"
@on-praise="onPraise">
</ArticleDeatilNote>
</ArticleDetailNote>
</template>
<template class="article-item" #item="{ data }">
<ArticleItem2
... ... @@ -45,7 +45,7 @@
:index="data.index"
:data="data.data"
:width="colWidthForTwo"
:share="share"
:share="false"
:article-id="data.data.articleId"
:pos-id="posId">
<template v-if="data.data.dataType == 2">
... ... @@ -92,8 +92,8 @@ import {getDetailShareData} from 'utils/share-handler';
import YAS from 'utils/yas-constants';
import ArticleDetailHeader from './components/detail/article-header';
import ArticleItemHeader from './components/article/article-item-header';
import ArticleDeatilLong from './components/detail/article-long';
import ArticleDeatilNote from './components/detail/article-note';
import ArticleDetailLong from './components/detail/article-long';
import ArticleDetailNote from './components/detail/article-note';
import ArticleItem2 from './components/article/article-item2';
import ArticleDetailFooter from './components/detail/article-footer';
import Download from './components/download-top';
... ... @@ -469,8 +469,8 @@ export default {
ReplaceToHome,
ArticleDetailHeader,
ArticleItemHeader,
ArticleDeatilLong,
ArticleDeatilNote,
ArticleDetailLong,
ArticleDetailNote,
ArticleItem2,
MoreActionSheet,
ArticleDetailFooter,
... ...
... ... @@ -22,7 +22,7 @@
:index="data.index"
:data="data.data"
:width="colWidthForTwo"
:share="share"
:share="false"
:article-id="data.data.articleId"
:pos-id="posId">
<template v-if="data.data.dataType == 2">
... ...