|
@@ -10,10 +10,11 @@
|
|
<ion-label>动态</ion-label>
|
|
<ion-label>动态</ion-label>
|
|
</ion-tab-button>
|
|
</ion-tab-button>
|
|
|
|
|
|
- <ion-tab-button class="placeholder-tab-button"></ion-tab-button>
|
|
|
|
|
|
+ <!-- 占位符,用于保持加号按钮的位置居中 -->
|
|
|
|
+ <ion-tab-button disabled class="placeholder-tab-button"></ion-tab-button>
|
|
|
|
|
|
- <ion-tab-button tab="tab4" class="custom-tab-button">
|
|
|
|
- <ion-icon name="people"></ion-icon>
|
|
|
|
|
|
+ <ion-tab-button tab="tab4" class="custom-tab-button" href="/tabs/tab4">
|
|
|
|
+ <ion-icon aria-hidden="true" name="people"></ion-icon>
|
|
<ion-label>联系人</ion-label>
|
|
<ion-label>联系人</ion-label>
|
|
</ion-tab-button>
|
|
</ion-tab-button>
|
|
|
|
|
|
@@ -25,13 +26,13 @@
|
|
|
|
|
|
<!-- 加号按钮,点击展开更多选项 -->
|
|
<!-- 加号按钮,点击展开更多选项 -->
|
|
<ion-fab vertical="bottom" horizontal="center" slot="fixed" class="custom-fab">
|
|
<ion-fab vertical="bottom" horizontal="center" slot="fixed" class="custom-fab">
|
|
- <ion-fab-button (click)="toggleOptions()">
|
|
|
|
|
|
+ <ion-fab-button (click)="toggleOptions()">
|
|
<ion-icon name="add"></ion-icon>
|
|
<ion-icon name="add"></ion-icon>
|
|
</ion-fab-button>
|
|
</ion-fab-button>
|
|
<ion-fab-list side="top" *ngIf="optionsVisible">
|
|
<ion-fab-list side="top" *ngIf="optionsVisible">
|
|
- <ion-fab-button (click)="selectOption('option1')">选项1</ion-fab-button>
|
|
|
|
- <ion-fab-button (click)="selectOption('option2')">选项2</ion-fab-button>
|
|
|
|
- <ion-fab-button (click)="selectOption('option3')">选项3</ion-fab-button>
|
|
|
|
|
|
+ <ion-fab-button (click)="selectOption('option1')">发布</ion-fab-button>
|
|
|
|
+ <ion-fab-button (click)="selectOption('option2')">上传</ion-fab-button>
|
|
|
|
+ <ion-fab-button (click)="selectOption('option3')">收藏</ion-fab-button>
|
|
</ion-fab-list>
|
|
</ion-fab-list>
|
|
</ion-fab>
|
|
</ion-fab>
|
|
</ion-tabs>
|
|
</ion-tabs>
|