Authored by shuaiguo

Merge remote-tracking branch 'refs/remotes/origin/feature/share'

... ... @@ -34,14 +34,16 @@
<ReplaceToHome :scrolling="scrolling" class="back-to-home"></ReplaceToHome>
<a v-if="!share && shelfStatus" class="publish-btn hover-opacity" :class="{'scroll-opacity': scrolling}" :href="publishUrl || 'javascript:;'" @click="toDownloadPage">
<span class="avatar-block">
<WidgetAvatar class="avatar" :src="yoho.context.userHeadIco" :width="70" :height="70"></WidgetAvatar>
</span>
立即参与
</a>
<template v-if="!share">
<a v-if="shelfStatus" class="publish-btn hover-opacity" :class="{'scroll-opacity': scrolling}" :href="publishUrl || 'javascript:;'" @click="toDownloadPage">
<span class="avatar-block">
<WidgetAvatar class="avatar" :src="yoho.context.userHeadIco" :width="70" :height="70"></WidgetAvatar>
</span>
立即参与
</a>
</template>
<DownloadBottom v-else :class="{'scroll-opacity': scrolling}"></DownloadBottom>
</Layout>
</div>
</template>
... ...
... ... @@ -101,7 +101,7 @@ const getDetailShareData = (article, app_version = '6.9.11') => {
authorName = filterEmoji(article.authorName || '');
return {
title: `@${authorName} 在有货社区上发了一篇内容,快点开看看!`,
title: `${desc}`,
imgUrl: handleProtocol(
get(shareImage.split('?'), '[0]') || DEFAULT_SHARE_IMAGE,
),
... ... @@ -110,7 +110,7 @@ const getDetailShareData = (article, app_version = '6.9.11') => {
article.articleId
}?share=true&t=${Date.now()}`,
),
desc: `${desc}`,
desc: `@${authorName} 在有货App上发了一篇内容,快点开看看!`,
hideType,
shareType: 'grassDetail',
userName: authorName,
... ...
{
"name": "yoho-community-web",
"version": "6.9.21",
"version": "6.9.22-3",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...