<!DOCTYPE html>
<html>
<style>
body{font-family:Helvetica Neue,Roboto,microsoft yahei,Arial !important;}
input,textarea,select{ font-family:Helvetica Neue,Roboto,microsoft yahei,Arial !important;}
.mui-newBar {background-color: #00C3F2!important;box-shadow: none;}
.mui-newBar .mui-btn-link{color:#fff;}
.mui-newBar a{color:#FFFFFF}
.mui-newBar .mui-title{color:#fff; font-size: 22px;left: 60px;right: 60px;}
</style>
<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" />
</head>
<body>
<header class="mui-bar mui-bar-nav mui-newBar">
<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
<h1 class="mui-title">基础数据</h1>
</header>
<div class="mui-content">
<div class="mui-content-padded" style="margin: 10px;">
<ul class="mui-table-view">
<li class="mui-table-view-cell">
<a class="mui-navigate-right" id="Building">楼栋</a>
</li>
<li class="mui-table-view-cell">
<a class="mui-navigate-right" id="Unit">单元</a>
</li>
<li class="mui-table-view-cell">
<a class="mui-navigate-right" id="House">房间</a>
</li>
</ul>
</div>
</div>
</body>
</html>
<script src="js/openWindowsWithTitle.js"></script>
<script type="text/javascript">
mui.plusReady(function() {
// var self = plus.webview.currentWebview(),
// codeEventType = self.parameter1,
// codeEventSize = self.parameter2;
document.getElementById("Building").addEventListener('tap', function() {
var RegUrl = "/Buildings/Building.html",
RegTitle = "楼栋查询",
RegId = "Building";
OpenWindowWithTitle(RegUrl, RegId, codeEventType, codeEventSize,null, false, RegTitle)
})
document.getElementById("Unit").addEventListener('tap', function() {
var RegUrl = "/Buildings/Unit.html",
RegTitle = "单元查询",
RegId = "Unit";
OpenWindowWithTitle(RegUrl, RegId, codeEventType, codeEventSize,null, false, RegTitle)
})
document.getElementById("House").addEventListener('tap', function() {
var RegUrl = "/Buildings/House.html",
RegTitle = "房间查询",
RegId = "House";
OpenWindowWithTitle(RegUrl, RegId, codeEventType, codeEventSize,null, false, RegTitle)
})
})
</script>
4 个回复
空 (作者)
n***@gmail.com
看看你manifest.json中设置的应用入口页是否存在,会出现这个页面一般是你打开页面的url不正确导致的
谋生
楼主解决没有
2***@qq.com
url的问题,检查一下你的url哪里写错了