|
@@ -34,15 +34,18 @@
|
|
|
<ion-grid>
|
|
|
<ion-row>
|
|
|
<ion-col size="4">
|
|
|
- <p class="count" style="color:black" (click)="openFollowingPage()">{{userCount.following}}</p>
|
|
|
+ <p *ngIf="!user?.id" class="count" style="color:black">--</p>
|
|
|
+ <p *ngIf="user?.id" class="count" style="color:black" (click)="openFollowingPage()">{{userCount.following}}</p>
|
|
|
<p class="label" (click)="openFollowerPage()">关注</p>
|
|
|
</ion-col>
|
|
|
<ion-col size="4">
|
|
|
- <p class="count" style="color:black">{{userCount.followers}}</p>
|
|
|
+ <p *ngIf="!user?.id" class="count" style="color:black">--</p>
|
|
|
+ <p *ngIf="user?.id" class="count" style="color:black" (click)="openFollowerPage()">{{userCount.followers}}</p>
|
|
|
<p class="label">粉丝</p>
|
|
|
</ion-col>
|
|
|
<ion-col size="4">
|
|
|
- <p class="count" style="color:black">{{userCount.likes}}</p>
|
|
|
+ <p *ngIf="!user?.id" class="count" style="color:black">--</p>
|
|
|
+ <p *ngIf="user?.id" class="count" style="color:black">{{userCount.likes}}</p>
|
|
|
<p class="label">获赞</p>
|
|
|
</ion-col>
|
|
|
</ion-row>
|
|
@@ -53,14 +56,6 @@
|
|
|
<ion-icon name="color-palette-outline"></ion-icon>
|
|
|
创作者中心
|
|
|
</ion-segment-button>
|
|
|
- <ion-segment-button value="ai">
|
|
|
- <ion-icon name="color-wand-outline"></ion-icon>
|
|
|
- AI焕新家
|
|
|
- </ion-segment-button>
|
|
|
- <ion-segment-button value="diagnosis">
|
|
|
- <ion-icon name="map-outline"></ion-icon>
|
|
|
- 户型诊断
|
|
|
- </ion-segment-button>
|
|
|
<ion-segment-button value="circles">
|
|
|
<ion-icon name="chatbubbles-outline"></ion-icon>
|
|
|
我的圈子
|
|
@@ -90,7 +85,7 @@
|
|
|
</ion-card-content>
|
|
|
|
|
|
|
|
|
- <ion-row>
|
|
|
+ <ion-row *ngIf="user?.id">
|
|
|
<ion-col size="6" *ngFor="let work of selectedWorks">
|
|
|
<ion-card>
|
|
|
<img src="https://ts1.cn.mm.bing.net/th/id/R-C.7362eff54c56e870c18a2126b26d9c23?rik=9if10ySst3TtbQ&riu=http%3a%2f%2fimg.zx123.cn%2fResources%2fzx123cn%2fuploadfile%2f2015%2f0910%2f20150910100439_21337.jpg&ehk=43EDk7VLby%2bA3dLs%2fPIIxej3Cs60UwiZ7rHB7eJ3zYk%3d&risl=&pid=ImgRaw&r=0" alt="作品图片">
|
|
@@ -101,3 +96,5 @@
|
|
|
</ion-col>
|
|
|
</ion-row>
|
|
|
</ion-content>
|
|
|
+
|
|
|
+
|