【发布时间】:2017-11-07 04:37:12
【问题描述】:
我想像图片一样在 ion-footer-bar 中添加两个按钮,但我的代码无法正常工作。
<ion-footer-bar class="bar-positive" padding="false">
<h1 class="title col col-50 no-padding remove-filter">
Button 333333333
</h1>
<h1 class="title col col-50 no-padding remove-filter">
Button 333333333
</h1>
</ion-footer-bar>
【问题讨论】:
-
您是否尝试在 html 标签之前添加 ion-content 和 ion-pane?看起来像这样
<ion-footer-bar class="bar-positive" padding="false"> <ion-pane> <ion-content> <h1 class="title col col-50 no-padding remove-filter"> Button 333333333 </h1> <h1 class="title col col-50 no-padding remove-filter"> Button 333333333 </h1> <ion-content> <ion-pane> </ion-footer-bar> -
是的,我愿意。只有上面的代码是目标
-
你知道怎么做吗?
标签: ionic-framework ionic