Sai*_*Dee 10 listview jquery-mobile
有谁知道如何在拆分按钮列表上添加多个按钮(2个拆分按钮)?
文档中没有提到任何内容
http://jquerymobile.com/test/docs/lists/lists-split.html
<a>在列表视图中添加另一个标记不会创建多个拆分按钮.它似乎只是将最后一个链接标记解释为拆分,并将以前的链接显示为普通链接/按钮.
有没有办法完成这项任务?
非常感谢.
您可以在源代码中找到.
<ul data-role="listview" data-split-icon="gear" data-split-theme="d">
<li><a href="index.html">
<img src="images/album-bb.jpg" />
<h3>Broken Bells</h3>
<p>Broken Bells</p>
</a>
<a href="lists-split-purchase.html" data-rel="dialog" data-transition="slideup">Purchase album
</a>
</li>
</ul>
Run Code Online (Sandbox Code Playgroud)
或使用组按钮
<div data-role="controlgroup" data-type="horizontal" >
<a href="index.html" data-role="button" data-icon="arrow-u" data-iconpos="notext">Up</a>
<a href="index.html" data-role="button" data-icon="arrow-d" data-iconpos="notext">Down</a>
<a href="index.html" data-role="button" data-icon="delete" data-iconpos="notext">Delete</a>
</div>
Run Code Online (Sandbox Code Playgroud)
参考:http://jquerymobile.com/test/docs/buttons/buttons-grouped.html
| 归档时间: |
|
| 查看次数: |
26911 次 |
| 最近记录: |