<!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" />
<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>
<header class="mui-bar mui-bar-nav"style="height: 60px;">
<a class="mui-icon mui-icon-bars mui-pull-left menua"></a>
<a class="mui-icon mui-icon-plus mui-pull-right adda"></a>
<div style="">
<div class="mui-content" style="width: 150px; height: 50px;margin: 0 auto;">
<div class="mui-segmented-control" >
<a class="mui-control-item " href="Map.html">
地图
</a>
<a class="mui-control-item mui-active" href="/list.html">
列表
</a>
</div>
</div>
</div>
<!--<button class="mui-btn mui-btn-primary">图</button>
<button class="mui-btn mui-btn-primary">表</button>-->
</header>
<script>
mui.init({
subpages:[{
url:'list.html',
id:'list.html',
styles:{
top:'60px'
}
}]
})
</script>
</body>
</html>
1***@qq.com
具体怎么操作可以贴一下代码吗?
2016-08-15 11:56