|
@@ -10,11 +10,25 @@
|
|
</ion-header>
|
|
</ion-header>
|
|
|
|
|
|
<ion-content>
|
|
<ion-content>
|
|
|
|
+ <ion-card>
|
|
|
|
+ <ion-card-header>
|
|
|
|
+ <ion-card-title>最新推荐</ion-card-title>
|
|
|
|
+ </ion-card-header>
|
|
|
|
+ <ion-card-content>
|
|
|
|
+ <ion-avatar slot="start">
|
|
|
|
+ <ion-img src="Assets/avatar.jpg"></ion-img>
|
|
|
|
+ </ion-avatar>
|
|
|
|
+ <ion-label>用户名</ion-label>
|
|
|
|
+ <ion-label>标签</ion-label>
|
|
|
|
+ <ion-label>聊天内容</ion-label>
|
|
|
|
+ <ion-button expand="block">免费提问</ion-button>
|
|
|
|
+ </ion-card-content>
|
|
|
|
+ </ion-card>
|
|
<ion-searchbar placeholder="输入关键字搜索"></ion-searchbar>
|
|
<ion-searchbar placeholder="输入关键字搜索"></ion-searchbar>
|
|
- <ion-toolbar>
|
|
|
|
- <ion-segment value="explore">
|
|
|
|
|
|
+ <div style="display: flex; flex-direction: column;">
|
|
|
|
+ <ion-segment [ngModelOptions]="{standalone:true}" [(ngModel)]="activeTab" (ionChange)="changeTab($event)">
|
|
<ion-segment-button value="explore">
|
|
<ion-segment-button value="explore">
|
|
- <ion-icon (click)="navigateToPage('comment-reply')" name="chatbubble-ellipses"></ion-icon>
|
|
|
|
|
|
+ <ion-icon name="chatbubble-ellipses"></ion-icon>
|
|
评论和回复
|
|
评论和回复
|
|
</ion-segment-button>
|
|
</ion-segment-button>
|
|
<ion-segment-button value="video">
|
|
<ion-segment-button value="video">
|
|
@@ -22,27 +36,26 @@
|
|
赞与收藏
|
|
赞与收藏
|
|
</ion-segment-button>
|
|
</ion-segment-button>
|
|
<ion-segment-button value="search">
|
|
<ion-segment-button value="search">
|
|
- <ion-icon (click)="navigateToPage('follow')" name="person-add"></ion-icon>
|
|
|
|
|
|
+ <ion-icon name="person-add"></ion-icon>
|
|
新增关注
|
|
新增关注
|
|
</ion-segment-button>
|
|
</ion-segment-button>
|
|
<ion-segment-button value="system">
|
|
<ion-segment-button value="system">
|
|
- <ion-icon (click)="navigateToPage('system-message')" name="notifications"></ion-icon>
|
|
|
|
|
|
+ <ion-icon name="notifications"></ion-icon>
|
|
系统消息
|
|
系统消息
|
|
</ion-segment-button>
|
|
</ion-segment-button>
|
|
</ion-segment>
|
|
</ion-segment>
|
|
- </ion-toolbar>
|
|
|
|
- <ion-card>
|
|
|
|
- <ion-card-header>
|
|
|
|
- <ion-card-title>最新推荐</ion-card-title>
|
|
|
|
- </ion-card-header>
|
|
|
|
- <ion-card-content>
|
|
|
|
- <ion-avatar slot="start">
|
|
|
|
- <ion-img src="Assets/avatar.jpg"></ion-img>
|
|
|
|
- </ion-avatar>
|
|
|
|
- <ion-label>用户名</ion-label>
|
|
|
|
- <ion-label>标签</ion-label>
|
|
|
|
- <ion-label>聊天内容</ion-label>
|
|
|
|
- <ion-button expand="block">免费提问</ion-button>
|
|
|
|
- </ion-card-content>
|
|
|
|
- </ion-card>
|
|
|
|
|
|
+ <div *ngIf="activeTab === 'explore'" >
|
|
|
|
+ 1
|
|
|
|
+ </div>
|
|
|
|
+ <div *ngIf="activeTab === 'video'">
|
|
|
|
+ 2
|
|
|
|
+ </div>
|
|
|
|
+ <div *ngIf="activeTab === 'search'">
|
|
|
|
+ 3
|
|
|
|
+ </div>
|
|
|
|
+ <div *ngIf="activeTab === 'system'">
|
|
|
|
+ 4
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
</ion-content>
|
|
</ion-content>
|