jQuery Mobile 按钮
<a>标签使用data-role="button"变为按钮ui-btn-active表示是活动的
<div data-role="page"> <div data-role="header"><h1>头部栏</h1></div> <div class="ui-grid-a"> <div class="ui-block-a"> <a href="#" data-role="button" class="ui-btn-active">确定</a> </div> <div class="ui-block-b"> <input type="submit" value="取消" /> </div> </div> <div data-role="footer"><h4>©2012 rttop.cn studio</h4></div> </div>
使用按钮组controlgroup进行水平和垂直的排列
<div data-role="page"> <div data-role="header"><h1>头部栏</h1></div> <div data-role="controlgroup"> <a href="#" data-role="button" data-icon="check" class="ui-btn-active">确定</a> <a href="#" data-role="button" data-icon="delete">取消</a> </div> <div data-role="controlgroup" data-type="horizontal"> <a href="#" data-role="button" data-icon="check" class="ui-btn-active">确定</a> <a href="#" data-role="button" data-icon="delete">取消</a> </div> <div data-role="footer"><h4>©2012 rttop.cn studio</h4></div> </div>
相关推荐
VitaLemon 2020-10-17
北京老苏 2020-08-17
一像素 2020-08-16
yfisaboy 2020-07-28
preserve log:勾选,页面发生跳转,接口不丢失;;Disable cache:不使用缓存,勾选,拿服务器的缓存;不勾选,用本地缓存;;All那列,表示浏览器的请求类型,对应下面的列type;
baynkbtg 2020-07-05
dingqinghu 2020-06-16
deadgrape 2020-06-09
liujia 2020-06-02
牵手白首 2020-06-02
kikaylee 2020-05-31
MaureenChen 2020-05-25
delmarks 2020-05-17
王磊的程序员之路 2020-05-15
STPace 2020-05-07
singer 2020-05-07
e度空间 2020-04-30
furongwei 2020-04-25