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.
DS7/DSWeb/Areas/Mobile/Views/OpStatus/Index.aspx

71 lines
2.8 KiB
Plaintext

3 years ago
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="DSWeb.Areas.Mobile.Views.OpStatus.Index" %>
<!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 id="Head1" 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 type="text/javascript" src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script type="text/javascript">
var billnos = '';
$(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 += '?mblno=' + $(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 += '?mblno=' + mblno;
window.location.href = currurl;
});
var single = $("#hdSingle").val();
if (single == '1') {
$("#dvSearch").hide();
}
});
</script>
</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>
<%=model.header %>
<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">
<%=model.footer %>
</ul>
</div>
</div>
</div>
<input id="hduid" type="hidden" runat="server"/>
<input id="hdkeyword" type="hidden" runat="server"/>
<input id="hdSingle" type="hidden" runat="server"/>
</body>
</html>