45 lines
1.0 KiB
HTML
45 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
||
<html>
|
||
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<title>Hello MUI</title>
|
||
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
|
||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||
|
||
<link rel="stylesheet" href="../css/mui.min.css">
|
||
<style>
|
||
html,
|
||
body {
|
||
background-color: #efeff4;
|
||
}
|
||
|
||
.mui-bar .mui-pull-left .mui-icon {
|
||
padding-right: 5px;
|
||
font-size: 28px;
|
||
}
|
||
|
||
.mui-bar .mui-btn {
|
||
font-weight: normal;
|
||
font-size: 17px;
|
||
}
|
||
|
||
.mui-bar .mui-btn-link {
|
||
top: 1px;
|
||
}
|
||
</style>
|
||
</head>
|
||
|
||
<body>
|
||
<div class="mui-content">
|
||
<p style="margin: 35px 15px;">这个页面的标题栏是使用nativeObj绘制的,开发者可以使用nativeObj绘制图片、文字、背景色、线条等。</p>
|
||
</div>
|
||
<script src="../js/mui.min.js"></script>
|
||
<script type="text/javascript">
|
||
mui.init({
|
||
swipeBack: true //启用右滑关闭功能
|
||
});
|
||
</script>
|
||
</body>
|
||
</html> |