Skip to content

Instantly share code, notes, and snippets.

@swainet
Last active December 19, 2015 04:38
Show Gist options
  • Save swainet/5898269 to your computer and use it in GitHub Desktop.
Save swainet/5898269 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="GBK"/>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0;" name="viewport" />
<meta content="telephone=no" name="format-detection" />
<meta content="email=no" name="format-detection" />
<title></title>
</head>
<body>
<!-- 结构A 常用于Transition场景 begin -->
<header></header>
<section class="content">
<div class="page page-active" data-role="page">
</div>
<div class="page" data-role="page">
</div>
</section>
<footer></footer>
<!-- 结构A end -->
<!-- 结构B 常用于单页面场景 begin -->
<div class="page" data-role="page">
<div data-role="header">
</div>
<div data-role="content">
</div>
<div data-role="footer">
</div>
</div>
<!-- 结构B end -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment