Authored by ityuany

个人中心 新增回到首页

... ... @@ -60,6 +60,8 @@
</div>
</cube-scroll>
<ReplaceToHome :scrolling="scrolling"></ReplaceToHome>
<a v-if="isOwner" class="publish hover-opacity" :class="{'scroll-hide': scrolling}" :href="publishUrl || 'javascript:;'" @click="toDownloadPage">
<span class="publish-icon"></span>
发布
... ... @@ -77,6 +79,7 @@ import WaterFall from './scroll-reveal';
import YAS from 'utils/yas-constants';
import {createNamespacedHelpers, mapState} from 'vuex';
import ReplaceToHome from '../../../components/replace-to-home/replace-to-home';
const {mapState: articleMapState, mapMutations: articleMapMutations} = createNamespacedHelpers('article');
const {mapActions: userMapActions} = createNamespacedHelpers('user');
... ... @@ -486,6 +489,7 @@ export default {
}
},
components: {
ReplaceToHome,
CubeScroll: Scroll,
Loading,
FavTabBlock,
... ...