|
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width"/>
<meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
<title>Hello APP</title>
<link rel="stylesheet" type="text/css" href="../css/api.css" />
<style>
header{
position: relative;
width: 100%;
height:50px;
background-color: #f0f;
}
header h1 {
position: relative;
height: 50px;
line-height: 50px;
font-size: 20px;
color: #fff;
text-align: center;
}
header .right{
position: absolute;
bottom: 0;
right: 0;
width: 100px;
height: 50px;
line-height: 50px;
font-size:16px;
color:#fff;
text-align: center;
}
</style>
</head>
<body>
<header>
<h1>每日优鲜</h1>
<div class="right" tapmode>个人中心</div> 这里是40行
</header>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript">
apiready = function fnOpenPersonCenterWin(){
api.openWin({
name: 'login',
url: './login.html',
pageParam: {
name: 'value'
}
});
};
</script>
</html>
点下个人中心出现的错误
是:Uncaught ReferenceError:
fnOpenPersonCenteWin is not definde at
main.html:40
|
|