Authored by 张文文

ui fix

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