代码:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<title></title>
<script src="js/mui.min.js"></script>
<link href="css/mui.min.css" rel="stylesheet"/>
<script type="text/javascript" charset="utf-8">
mui.init();
</script>
</head>
<body>
<!-- 主界面菜单同时移动 -->
<!-- 侧滑导航根容器 -->
<div class="mui-off-canvas-wrap mui-draggable">
<!-- 主页面容器 -->
<div class="mui-inner-wrap">
<!-- 菜单容器 -->
<aside class="mui-off-canvas-left" id="offCanvasSide">
<div class="mui-scroll-wrapper">
<div class="mui-scroll">
<!-- 菜单具体展示内容 -->
</div>
</div>
</aside>
<!-- 主页面标题 -->
<header class="mui-bar mui-bar-nav">
<a class="mui-icon mui-action-menu mui-icon-bars mui-pull-left" href="#offCanvasSide"></a>
<h1 class="mui-title">标题</h1>
</header>
<nav class="mui-bar mui-bar-tab">
<a class="mui-tab-item mui-active">
<span class="mui-icon mui-icon-home"></span>
<span class="mui-tab-label">首页</span>
</a>
<a class="mui-tab-item">
<span class="mui-icon mui-icon-phone"></span>
<span class="mui-tab-label">电话</span>
</a>
<a class="mui-tab-item">
<span class="mui-icon mui-icon-email"></span>
<span class="mui-tab-label">邮件</span>
</a>
<a class="mui-tab-item">
<span class="mui-icon mui-icon-gear"></span>
<span class="mui-tab-label">设置</span>
</a>
</nav>
<!-- 主页面内容容器 -->
<div class="mui-content mui-scroll-wrapper">
<div class="mui-scroll">
<!-- 列表无箭头 -->
<ul class="mui-table-view">
<li class="mui-table-view-cell">item1</li>
<li class="mui-table-view-cell">item2</li>
</ul>
<!-- 列表带箭头 -->
<ul class="mui-table-view">
<li class="mui-table-view-cell"><a href="#" class="mui-navigate-right">item1</a> </li>
<li class="mui-table-view-cell"><a href="#" class="mui-navigate-right">item2</a> </li>
</ul>
<!-- 右侧添加数字角标等控件 -->
<ul class="mui-table-view">
<li class="mui-table-view-cell">item1<span class="mui-badge mui-badge-danger">2</span> </li>
<li class="mui-table-view-cell">item1<span class="mui-badge mui-badge-purple">2</span> </li>
</ul>
<!-- 图文列表 -->
<ul class="mui-table-view">
<li class="mui-table-view-cell mui-media">
<a href="javascript:;">
<img class="mui-media-object mui-pull-left" src="imags/211612257340_03.gif">
<div class="mui-media-body">
烧肉
<p class="mui-ellipsis">今天的肉是多么嫩,来一口,尝尝吧!美味呀!多少钱?</p>
</div>
</a>
</li>
<li class="mui-table-view-cell mui-media">
<a href="javascript:;">
<img class="mui-media-object mui-pull-left" src="imags/detail-ban01.png">
<div class="mui-media-body">
外套
<p class="mui-ellipsis">便宜了.便宜了.便宜了.便宜了.便宜了.便宜了.便宜了.便宜了.</p>
</div>
</a>
</li>
<li class="mui-table-view-cell mui-media">
<a href="javascript:;">
<img class="mui-media-object mui-pull-left" src="imags/detail-ban04.png">
<div class="mui-media-body">
大衣
<p class="mui-ellipsis">暖和.暖和.暖和.暖和.暖和.暖和.暖和.暖和.暖和.暖和.暖和.暖和.暖和.暖和.</p>
</div>
</a>
</li>
</ul>
</div>
</div>
<div class="mui-off-canvas-backdrop"></div>
</div>
</div>
<script type="text/javascript">
</script>
</body>
</html>