...
|
...
|
@@ -60,7 +60,7 @@ |
|
|
</div>
|
|
|
</cube-scroll>
|
|
|
|
|
|
<a v-if="isOwner" class="publish hover-opacity" :class="{'scroll-hide': scrolling}" :href="publishUrl">
|
|
|
<a v-if="isOwner" class="publish hover-opacity" :class="{'scroll-hide': scrolling}" :href="publishUrl || 'javascript:;'" @click="toDownloadPage">
|
|
|
<span class="publish-icon"></span>
|
|
|
发布
|
|
|
</a>
|
...
|
...
|
@@ -84,7 +84,6 @@ export default { |
|
|
scrollY: 0,
|
|
|
scrolling: false,
|
|
|
mineInfoUrl: '//m.yohobuy.com/home/mydetails?openby:yohobuy={"action":"go.mineinfo"}',
|
|
|
publishUrl: '?openby:yohobuy={"action":"go.grasspublish"}',
|
|
|
authorInfo: {},
|
|
|
fansList: [
|
|
|
{name: '关注', key: 'attCount', type: 'follow'},
|
...
|
...
|
@@ -137,6 +136,13 @@ export default { |
|
|
noHeader() {
|
|
|
return this.yoho.context.env.isChat;
|
|
|
},
|
|
|
publishUrl() {
|
|
|
if (this.$yoho && !this.$yoho.isYohoBuy) {
|
|
|
return '';
|
|
|
}
|
|
|
|
|
|
return '?openby:yohobuy={"action":"go.grasspublish"}';
|
|
|
},
|
|
|
authorState() {
|
|
|
return this.authorStates[`${this.authorInfo.authorUid}-${this.authorInfo.authorType}`] || this.authorBaseData;
|
|
|
},
|
...
|
...
|
@@ -415,6 +421,9 @@ export default { |
|
|
});
|
|
|
}
|
|
|
},
|
|
|
toDownloadPage() {
|
|
|
!this.publishUrl && this.$links.toDownloadApp();
|
|
|
},
|
|
|
reportArticleShow(items, baseIndex) {
|
|
|
if (!items || !items.length) {
|
|
|
return;
|
...
|
...
|
|