Skip to content

Instantly share code, notes, and snippets.

@hehongwei44
Last active August 29, 2015 14:05
Show Gist options
  • Save hehongwei44/20c55a2d62c09464ed38 to your computer and use it in GitHub Desktop.
Save hehongwei44/20c55a2d62c09464ed38 to your computer and use it in GitHub Desktop.
jQuery Mobile模版页面(单个page页面)
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>jQuery Mobile模版页面</title>
<meta name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.3/jquery.mobile-1.4.3.min.css"/>
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.4.3/jquery.mobile-1.4.3.min.js"></script>
<!-- <script type="text/javascript" src="./lib/zepto.js"></script>-->
</head>
<body>
<div data-role="page">
<div data-role="header">
<h1>页面的标题</h1>
</div>
<!-- /header -->
<div role="main" class="ui-content">
<p>页面主体内容</p>
</div>
<!-- /content -->
<div data-role="footer">
<h4>页面脚注</h4>
</div>
<!-- /footer -->
</div>
<!-- /page -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment