不废话,直接上代码,修改前的代码:
<span style="font-size: small;"><span style="font-size: small;"><span style="font-size: small;"><html>
<head>
<title>密码修改</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../css/jquery.mobile-1.0.1.min.css">
<script src="../js/jquery-1.7.1.min.js"></script>
<script src="../js/jquery.mobile-1.0.1.min.js"></script>
<span style="color: #ff0000;"><link rel="stylesheet" href="../css/jquery.mobile.datebox.min.css">
<script src="../js/jquery.mobile.datebox.min.js"></script> </span>
</head>
<body>
<div data-role="page">
<div data-role="content" class="content">
<label for="mydate">生日:</label>
<input name="mydate" id="mydate" type="date" data-role="datebox" data-options='{"mode": "datebox"}'>
</div>
</div>
</body>
</html></span></span></span>
修改后的代码,手机phonegap打包显示正常:
<span style="font-size: small;"><span style="font-size: small;"><span style="font-size: small;"><!DOCTYPE HTML>
<html>
<head>
<title>密码修改</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../css/jquery.mobile-1.0.1.min.css">
<script src="../js/jquery-1.7.1.min.js"></script>
<script src="../js/jquery.mobile-1.0.1.min.js"></script>
</head>
<body>
<div data-role="page">
<span style="color: #ff0000;"><link rel="stylesheet" href="../css/jquery.mobile.datebox.min.css">
<script src="../js/jquery.mobile.datebox.min.js"></script> </span>
<div data-role="content" class="content">
<label for="mydate">生日:</label>
<input name="mydate" id="mydate" type="date" data-role="datebox" data-options='{"mode": "datebox"}'>
</div>
</div>
</body>
</html></span></span></span>