我需要将可折叠的列表视图放入响应式网格中,但我需要将可折叠的列表视图设置为 inset=false,因此它需要 iphone 尺寸的整个宽度。
但是插入功能似乎与网格不兼容...
这是我的非工作测试:
<!-- Home -->
<div data-role="page" id="page1">
<div data-role="content">
<div class="ui-grid-a ui-responsive">
<div class="ui-block-a">
<div data-role="collapsible-set" data-theme="b" data-content-theme="d" data-inset="false" id="custom-collapsible">
<div data-role="collapsible">
<h2>
Préconisations
<span class="ui-li-count preco-count">0</span>
</h2>
<ul data-role="listview" data-divider-theme="b" data-inset="false" id="custom-listview">
<li data-role="list-divider" role="heading">
Divider
</li>
<li data-theme="c">
<a href="#" data-transition="slide">
Button
</a>
</li>
<li data-theme="c">
<a href="#" data-transition="slide">
Button
</a>
</li>
<li data-theme="c">
<a href="#" data-transition="slide">
Button
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="ui-block-b">
other content, which apear at tje left of the grid on large screens, and at the bottom on small screens
</div>
</div>
</div>
</div>
谢谢