Authored by ityuany

数值修改

... ... @@ -36,6 +36,8 @@ export default {
.thru(n => n === 1 ? 1 : 0)
.value();
// && this.$yoho.isApp;
this.isShow = hasBackToHome === 1 && this.$yoho.isApp;
}
};
... ...
... ... @@ -78,7 +78,7 @@
<div v-else></div>
</template>
</ArticleDetailFooter>
<ReplaceToHome :scrolling="scrolling" :style="{ bottom:'52px',transform: `translate3d(0,${viewMoreArticles ? '100%':'0'},0)` }"></ReplaceToHome>
<ReplaceToHome :scrolling="scrolling" class="back-to-home" :style="{transform: `translate3d(0,${viewMoreArticles ? '100%':'0'},0)` }"></ReplaceToHome>
<MoreActionSheet transfer ref="moreAction" @on-follow="onFollowAuthor" @on-delete="onDelete" @on-edit="onEdit"></MoreActionSheet>
</Layout>
</template>
... ... @@ -517,6 +517,10 @@ export default {
}
}
.back-to-home {
bottom: 110px;
}
.title-main {
height: 100%;
color: #444;
... ...
... ... @@ -16,7 +16,6 @@ import { get } from 'lodash';
import Article from './components/article/article';
import { createNamespacedHelpers, mapState } from 'vuex';
import YAS from 'utils/yas-constants';
import ReplaceToHome from 'components/replace-to-home/replace-to-home';
const { mapState: articleMapState, mapActions } = createNamespacedHelpers(
'article'
);
... ... @@ -95,7 +94,6 @@ export default {
}
},
components: {
ReplaceToHome,
Article
}
};
... ...
... ... @@ -51,7 +51,7 @@
@on-close="onClose"
@on-comment="onActionComment"></Comment>
</YohoActionSheet>
<ReplaceToHome :scrolling="scrolling" :style="{bottom:'20px'}" ></ReplaceToHome>
<ReplaceToHome :scrolling="scrolling" class="back-to-home"></ReplaceToHome>
<MoreActionSheet transfer ref="moreAction" @on-follow="onFollow" @on-delete="onDelete"></MoreActionSheet>
</Layout>
</template>
... ... @@ -64,7 +64,7 @@ import ArticleActionSheet from '../detail/article-action-sheet';
import ArticleResource from './article-resource-item';
import MoreActionSheet from '../detail/more-action-sheet';
import {mapState, mapActions, createNamespacedHelpers} from 'vuex';
import ReplaceToHome from '../../../../components/replace-to-home/replace-to-home';
import ReplaceToHome from 'components/replace-to-home/replace-to-home';
const {mapMutations} = createNamespacedHelpers('article');
export default {
... ... @@ -336,6 +336,10 @@ export default {
background-color: #f0f0f0;
}
.back-to-home {
bottom: 20px;
}
.thumbs {
bottom: 0;
position: absolute;
... ...
... ... @@ -11,7 +11,7 @@
<TopicItem v-for="(item, index) in topicList" :key="index" :data="item"></TopicItem>
</div>
</Scroll>
<ReplaceToHome :scrolling="scrolling" :style="{bottom:'20px'}" ></ReplaceToHome>
<ReplaceToHome :scrolling="scrolling" class="back-to-home" ></ReplaceToHome>
</Layout>
</template>
... ... @@ -86,6 +86,10 @@ export default {
padding: 10px 0;
}
.back-to-home {
bottom: 20px;
}
.loading {
padding-bottom: 20px;
text-align: center;
... ...
... ... @@ -29,7 +29,7 @@
</template>
</RecycleScrollReveal>
<ReplaceToHome :scrolling="scrolling" :style="{ bottom:'52px' }"></ReplaceToHome>
<ReplaceToHome :scrolling="scrolling" class="back-to-home"></ReplaceToHome>
<a v-if="!share" class="publish-btn hover-opacity" :class="{'scroll-opacity': scrolling}" :href="publishUrl || 'javascript:;'" @click="toDownloadPage">
<span class="avatar-block">
... ... @@ -388,6 +388,10 @@ export default {
}
}
.back-to-home {
bottom: 20px;
}
.publish-btn {
width: 260px;
height: 80px;
... ...
... ... @@ -60,7 +60,7 @@
</div>
</cube-scroll>
<ReplaceToHome :scrolling="scrolling" :style="{bottom:'20px'}" ></ReplaceToHome>
<ReplaceToHome :scrolling="scrolling" class="back-to-home" ></ReplaceToHome>
<a v-if="isOwner" class="publish hover-opacity" :class="{'scroll-hide': scrolling}" :href="publishUrl || 'javascript:;'" @click="toDownloadPage">
<span class="publish-icon"></span>
... ... @@ -79,7 +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';
import ReplaceToHome from 'components/replace-to-home/replace-to-home';
const {mapState: articleMapState, mapMutations: articleMapMutations} = createNamespacedHelpers('article');
const {mapActions: userMapActions} = createNamespacedHelpers('user');
... ... @@ -499,6 +499,11 @@ export default {
</script>
<style lang="scss" scoped>
.back-to-home {
bottom: 20px;
}
.author-page {
box-sizing: border-box;
color: #4a4a4a;
... ...
... ... @@ -17,7 +17,7 @@ module.exports = async(req, res, next) => {
return next();
}
const baseParams = {};
req.route = {
path: req.path
};
... ...
{
"name": "yoho-community-web",
"version": "6.9.8-beta16",
"version": "6.9.8-beta18",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...