You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
2.8 KiB
Plaintext

10 months ago
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ZWCCX.aspx.cs" Inherits="DSWeb.Areas.Mobile.Views.WMS.ZWCCX" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css">
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
<script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#search').val($('#hdkeyword').val());
$('#search').keypress(function (event) {
if (event.keyCode == '13') {
var currurl = window.location.href;
var currsplit = currurl.split('?');
if (currsplit.length > 0) {
currurl = currsplit[0];
}
currurl += '?truckno=' + $(this).val();
window.location.href = currurl;
}
});
$("#btnBack").click(function () {
var mblno = $('#search').val();
var currurl = window.location.href;
var currsplit = currurl.split('?');
if (currsplit.length > 0) {
currurl = currsplit[0];
}
currurl += '?truckno=' + mblno;
window.location.href = currurl;
});
});
</script>
<style type="text/css">
.dvList{
margin:5 auto;
background: #44cef6;
border:2px solid darkslategray;
border-radius:20px;
text-align: center;
line-height: 20px;
}
</style>
</head>
<body>
<div data-role="page" id="pageone">
<div data-role="content">
<div id="dvSearch" data-role="fieldcontain">
<input type="search" name="search" id="search" placeholder="车牌号">
</div>
<ul data-role="listview" style="margin-top: 20px;font-size:11px" >
<%=model.content %>
</ul>
</div>
<div data-role="footer" data-position="fixed">
<div data-role="navbar" id="navbar">
<ul id="ulfoot">
<li><a href="#" data-icon="search" id="btnBack">查询</a></li>
</ul>
</div>
</div>
</div>
<input id="hdkeyword" type="hidden" runat="server"/>
</body>
</html>