|
|
<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;
|
|
|
}
|
...
|
...
|
|