Authored by 张文文

ui fix

1 <template> 1 <template>
2 <Layout class="author-fans-page"> 2 <Layout class="author-fans-page">
3 - <LayoutHeader slot='header' :hide="noHeader" theme="white" class="author-page-header" :title="(isMine ? '我' : 'TA') + '的粉丝'"></LayoutHeader> 3 + <LayoutHeader slot='header' :hide="noHeader" theme="white" class="author-page-header" :title="titleName"></LayoutHeader>
4 <UserList ref="userList" type="fans" :follow-name="isMine ? '回粉' : '关注'" :on-fetch="onFetch"></UserList> 4 <UserList ref="userList" type="fans" :follow-name="isMine ? '回粉' : '关注'" :on-fetch="onFetch"></UserList>
5 </Layout> 5 </Layout>
6 </template> 6 </template>
@@ -14,7 +14,8 @@ export default { @@ -14,7 +14,8 @@ export default {
14 name: 'authorFans', 14 name: 'authorFans',
15 data() { 15 data() {
16 return { 16 return {
17 - isMine: false 17 + isMine: false,
  18 + titleName: ''
18 }; 19 };
19 }, 20 },
20 created() { 21 created() {
@@ -43,6 +44,8 @@ export default { @@ -43,6 +44,8 @@ export default {
43 init(params) { 44 init(params) {
44 this.isMine = !params.id; 45 this.isMine = !params.id;
45 46
  47 + this.titleName = this.isMine ? '我的粉丝' : 'TA的粉丝';
  48 +
46 if (!this.isMine) { 49 if (!this.isMine) {
47 this._baseParams.authorUid = params.id; 50 this._baseParams.authorUid = params.id;
48 } 51 }
1 <template> 1 <template>
2 <Layout class="author-follow-page"> 2 <Layout class="author-follow-page">
3 - <LayoutHeader slot='header' :hide="noHeader" theme="white" class="author-page-header" :title="(isMine ? '我' : 'TA') + '的关注'"> 3 + <LayoutHeader slot='header' :hide="noHeader" theme="white" class="author-page-header" :title="titleName">
4 <template v-slot:suctionTop> 4 <template v-slot:suctionTop>
5 <TabBlock @on-change-tab="onChangeTab"></TabBlock> 5 <TabBlock @on-change-tab="onChangeTab"></TabBlock>
6 </template> 6 </template>
@@ -32,7 +32,8 @@ export default { @@ -32,7 +32,8 @@ export default {
32 data() { 32 data() {
33 return { 33 return {
34 isMine: false, 34 isMine: false,
35 - activeType: 1 35 + activeType: 1,
  36 + titleName: ''
36 }; 37 };
37 }, 38 },
38 created() { 39 created() {
@@ -61,6 +62,8 @@ export default { @@ -61,6 +62,8 @@ export default {
61 init(params) { 62 init(params) {
62 this.isMine = !params.id; 63 this.isMine = !params.id;
63 64
  65 + this.titleName = this.isMine ? '我的关注' : 'TA的关注';
  66 +
64 if (!this.isMine) { 67 if (!this.isMine) {
65 this._baseParams.authorUid = params.id; 68 this._baseParams.authorUid = params.id;
66 } 69 }
@@ -534,7 +534,7 @@ export default { @@ -534,7 +534,7 @@ export default {
534 if (!list.length && !totalCount) { 534 if (!list.length && !totalCount) {
535 switch (this.activeIndex) { 535 switch (this.activeIndex) {
536 case 0: 536 case 0:
537 - tip = this.isOwner ? '发布你的第一篇笔记,下单可减XX元' : 'TA还没有分享过哦'; 537 + tip = this.isOwner ? '发布你的第一篇内容,可立赚5元' : 'TA还没有分享过哦';
538 break; 538 break;
539 case 1: 539 case 1:
540 tip = this.isOwner ? '快去社区发现潮流好内容吧' : 'TA还没有收藏内容'; 540 tip = this.isOwner ? '快去社区发现潮流好内容吧' : 'TA还没有收藏内容';
1 { 1 {
2 "name": "yoho-community-web", 2 "name": "yoho-community-web",
3 - "version": "6.9.11-beta19", 3 + "version": "6.9.11-beta20",
4 "private": true, 4 "private": true,
5 "description": "A New Yohobuy Project With Express", 5 "description": "A New Yohobuy Project With Express",
6 "repository": { 6 "repository": {