我已经在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