NGToolsCSharp/NGTools/Scripts/MUI/examples/nav-nativeObj.html
2024-09-13 16:44:30 +08:00

45 lines
1.0 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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>