0
我有一个问题,真不知道如何解决这个..我有一个粘页脚这样的:jQuery Mobile的导航栏底部
<!-- FOOTER ICON TABS -->
<div data-role="footer" data-position="fixed" data-tap-toggle="false">
<div class="footer" data-role="navbar">
<ul>
<li>
<a href="#dashboard" data-icon="dashboard" class="ui-btn-active" id="icon-dashboard">
<span class="navbar-text">Dashboard</span>
</a>
</li>
<li>
<a href="#" data-icon="progress" id="icon-progress">
<span class="navbar-text">Voortgang</span>
</a>
</li>
<li>
<a href="#map" data-icon="security" id="icon-security">
<span class="navbar-text">Plattegrond</span>
</a>
</li>
<li>
<a href="#" data-icon="security" id="icon-security">
<span class="navbar-text">Securitycheck</span>
</a>
</li>
</ul>
</div>
</div>
因此我设置这个造型:
.ui-footer, .footer, .footer li, .footer a, .footer a:after {
background-color: transparent !important;
border-color: transparent !important;
height: 70px;
}
但它很讨厌,因为我的内容是在图标后面,它不是很好。它看起来像这样:
我已经改变了白色块的高度,但块没有一个坚硬的高度。这是因为通知块是动态的,并且内容因长度而异。从而第二个街区有一个写有Boardingpass的可折叠街区。
这里是一个FIDDLE它再现了问题。我希望有人可以帮助我在这:)
我可以问你为什么你还没有使用[jQuery Mobile的可折叠(HTTP://演示.jquerymobile.com/1.4.5 /可折叠/)但您已经重新创建了一个或多或少的类似功能?也许是出于性能原因? – deblocker
@deblocker的性能和造型 – Sreinieren