我已經在Ionic框架上取得了一些成功,但我在標籤視圖中遇到了頁眉/頁腳格式化的問題。具體來說,我需要在頁眉或頁腳中呈現多於一行的內容 - 我真的需要在其中放置幻燈片和一些文本。我發現,根據包含的內容,而不是頁眉/頁腳是一個動態大小,我發現分配給每個空間似乎是固定的。使用此摘錄的標籤看,我看到兩個被截斷頁眉和頁腳內容:我如何獲得離子動態大小的頁眉/頁腳?
<ion-view title="Bug tab">
<ion-header-bar align-title="left" class="bar-positive">
<h1 class="title">Header!</h1>
<h2>more header</h2>
<h2>more header</h2>
</ion-header-bar>
<ion-content has-header="true">
<h2>Content<h2>
</ion-content>
<ion-footer-bar class="bar-subfooter" class="bar-assertive">
<h1 class="title">Subfooter</h1>
<h2>more subfooter</h2>
<h2>more subfooter</h2>
</ion-footer-bar>
<ion-footer-bar align-title="left" class="bar-assertive">
<h1 class="title">Footer</h1>
<h2>more footer</h2>
<h2>more footer</h2>
</ion-footer-bar>
</ion-view>
有沒有解決這個問題的方法嗎?有沒有辦法獲得一個固定但動態大小的頁眉/頁腳區域,並讓中間的其他內容滾動?
(我問的離子框架,但該網站拒絕我與「未知錯誤」一致。登錄
謝謝你,是真棒...... – IonicBurger 2016-10-19 19:11:59