我尝试向我的应用程序添加离子刷新器,但是当我拉动刷新时,离子注脚变为透明。
代码:
<ion-content padding color="primary">
<ion-refresher slot="fixed" (ionRefresh)="doRefresh($event)">
<ion-refresher-content color="primary" pullingIcon="arrow-dropdown" pullingText="Pull to refresh" refreshingSpinner="circles" refreshingText="Refreshing...">
</ion-refresher-content>
</ion-refresher>
<div *ngFor="let weather of weather_data">
.......
</ion-content>
<ion-footer>
<ion-toolbar color="white">
<div class="tabs">
<div class="tab">
<ion-icon name="keypad"></ion-icon>
<div class="label">Input</div>
</div>
<div class="tab">
<ion-icon name="person"></ion-icon>
<div class="label">Account</div>
</div>
<div class="tab">
<ion-icon name="log-out"></ion-icon>
<div class="label">Log Out</div>
</div>
</div>
</ion-toolbar>
</ion-footer>
答案 0 :(得分:0)
修复它,我只是删除了页脚中的color属性。还是谢谢你