Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-community-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
张文文
6 years ago
Commit
7c6a24d6c4f9753fe2e85b684553d25a8982c519
1 parent
58e73874
ui fix
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
6 deletions
apps/pages/userpage/author-fans.vue
apps/pages/userpage/author-follow.vue
apps/pages/userpage/components/author.vue
package.json
apps/pages/userpage/author-fans.vue
View file @
7c6a24d
<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;
}
...
...
apps/pages/userpage/author-follow.vue
View file @
7c6a24d
<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;
}
...
...
apps/pages/userpage/components/author.vue
View file @
7c6a24d
...
...
@@ -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还没有收藏内容';
...
...
package.json
View file @
7c6a24d
{
"name"
:
"yoho-community-web"
,
"version"
:
"6.9.11-beta
19
"
,
"version"
:
"6.9.11-beta
20
"
,
"private"
:
true
,
"description"
:
"A New Yohobuy Project With Express"
,
"repository"
:
{
...
...
Please
register
or
login
to post a comment