<!DOCTYPE html><html><head lang="en"> ? ?<meta charset="UTF-8"> ? ?<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1.0"> ? ?<link type="text/css" rel="stylesheet" href="jqm/jquery.mobile-1.4.5.css"> ? ?<script src="js/jquery-2.1.1.min.js"></script> ? ?<script src="jqm/jquery.mobile-1.4.5.js"></script> ? ?<title></title></head><body> ? ?<div data-role="page"> ? ? ? ?<div data-role="header" data-position="fixed"> ? ? ? ? ? ?<h1>header</h1> ? ? ? ?</div> ? ? ? ?<div data-role="content"> ? ? ? ? ? ?<form> ? ? ? ? ? ? ? ?<input type="button" name="" id="" value="input按鈕" data-inline="true"> ? ? ? ? ? ? ? ?<button data-inline="true">button按鈕</button> ? ? ? ? ? ? ? ?<a href="javascript:;" data-role="button">超鏈接按鈕</a> ? ? ? ? ? ?</form> ? ? ? ? ? ?<a href="javascript:void (0);" data-role="button" data-theme="a" data-inline="true">超鏈接按鈕1</a> ? ? ? ? ? ?<a href="javascript:void (0);" data-role="button" data-theme="b" data-inline="true">超鏈接按鈕2</a> ? ? ? ? ? ?<a href="javascript:void (0);" data-role="button" data-theme="c" data-inline="true">超鏈接按鈕3</a> ? ? ? ? ? ?<a href="javascript:void (0);" data-role="button" data-theme="d" data-inline="true">超鏈接按鈕4</a> ? ? ? ? ? ?<a href="javascript:void (0);" data-role="button" data-theme="z" data-inline="true">超鏈接按鈕5</a> ? ? ? ?</div> ? ? ? ?<div data-role="footer" data-position="fixed"> ? ? ? ? ? ?<h1>footer</h1> ? ? ? ?</div> ? ?</div></body></html>
1 回答

太搞笑了
TA貢獻3條經驗 獲得超3個贊
看不出什么問題。只能給你分析一下。
不出現效果第一是jquery 引用(下面路徑我就省去了)
<script?type="text/javascript"?src="jquery.js"></script>
第二種 :css路徑不對 href="jqm/jquery.mobile-1.4.5.css" 當前頁面是否和jqm在同一個目錄下如果沒有加href="~/jqm/jquery.mobile-1.4.5.css" ?
第三種:看jquery.mobile-1.4.5.css 內部是否有背景圖片路徑或者url路徑 是否正確。
- 1 回答
- 0 關注
- 2908 瀏覽
添加回答
舉報
0/150
提交
取消