diff --git a/src/components/Share.vue b/src/components/Share.vue index d0bb825..115efc8 100644 --- a/src/components/Share.vue +++ b/src/components/Share.vue @@ -380,6 +380,7 @@ export default { } .create-chat { + font-size: 1.1rem; margin: 1rem 0; display: flex; align-items: center; diff --git a/src/pages/home/Index2.vue b/src/pages/home/Index2.vue index f1e6c3a..0e6aaf7 100644 --- a/src/pages/home/Index2.vue +++ b/src/pages/home/Index2.vue @@ -107,6 +107,7 @@ diff --git a/src/pages/me/Uploader.vue b/src/pages/me/Uploader.vue index 599b95e..1f971ce 100644 --- a/src/pages/me/Uploader.vue +++ b/src/pages/me/Uploader.vue @@ -176,13 +176,15 @@ -
+
- 只有你能看到自己的喜欢列表 + 喜欢内容不可见
- - - +
@@ -233,7 +235,10 @@ export default { onClick={e => this.changeIndicatorIndex(1)} style="width:50%"> 喜欢 - + { + this.localAuthor.is_private === 1 && + + } ) @@ -377,13 +382,16 @@ export default { bus.on('baseSlide-end', () => this.canScroll = true) }, methods: { + cancelFollow(){ + this.localAuthor.is_follow = false + }, changeIndicatorIndex(index) { this.$refs.Indicator.changeIndex(index) }, async getAuthor() { this.changeIndex(0, null) - // let res = await this.$api.user.author({id: this.author.id}) - let res = await this.$api.user.author({id: '54884802577'}) + let res = await this.$api.user.author({id: this.author.id}) + // let res = await this.$api.user.author({id: '54884802577'}) if (res.code === this.SUCCESS) { this.localAuthor = {...this.localAuthor, ...res.data} this.refreshDescHeight() @@ -451,7 +459,7 @@ export default { scrollAreaHeight += 60 break case 1: - scrollAreaHeight += 60 + 40 + scrollAreaHeight += 60 + this.localAuthor.is_private === 1 ? 0 : 40 break case 2: scrollAreaHeight += 60 + 40