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.

1197 lines
53 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="web.Web.Site.index" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
<title>大简云工作平台</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<!-- CSS -->
<link rel="stylesheet" href="css/owl.carousel.css" />
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/font-awesome.min.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/ionicons.min.css" />
<link rel="stylesheet" href="css/animate.css" />
<link rel="stylesheet" href="css/responsive.css" />
<link href="//cdn.bootcss.com/bootstrap-validator/0.5.3/css/bootstrapValidator.min.css" rel="stylesheet" />
<!-- Js -->
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
<script src="js/vendor/jquery-1.10.2.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.2.min.js"><\/script>')</script>
<script src="js/bootstrap.min.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/min/waypoints.min.js"></script>
<script src="js/jquery.counterup.js"></script>
<script src="//cdn.bootcss.com/bootstrap-validator/0.5.3/js/bootstrapValidator.min.js"></script>
<script src="js/main.js"></script>
<style type="text/css">
.signFormRow {
margin-top: 20px;
}
.col-center-block {
float: none;
display: block;
margin-left: auto;
margin-right: auto;
margin-top: -50px;
}
#tip {
height: 15px;
padding: 5px;
text-align: right;
display: none;
background: #f9f5c7;
border-radius: 3px;
font-size: 8px;
color: #000;
-moz-box-shadow: 0.3px 0.3px 1px 1px rgba(0, 0, 0, 0.4);
-webkit-box-shadow: 0.3px 0.3px 1px 1px rgba(0, 0, 0, 0.4);
box-shadow: 0.3px 0.3px 1px 1px rgba(0, 0, 0, 0.4);
}
.flbl {
margin-top: 5px;
}
</style>
<script type="text/javascript">
$(function () {
var txt = $("#loginpwd");
function show() {
var ele = $("#tip");
//$(ele).css("left", txt.offset().left + 2);
//var top = txt.offset().top + txt.height() + 5;
//$(ele).css("top", top);
$(ele).slideDown(200);
}
var isCapslockOn;
function CapsLock_keyPress(e) {
var e = event || window.event;
var keyCode = e.keyCode || e.which;//按键的keyCode。
var isShift = e.shiftKey || (keyCode == 16) || false;//shift键是否按住。
if (
((keyCode >= 65 && keyCode <= 90) && !isShift) // CapsLock打开且没有按住shift键。
|| ((keyCode >= 97 && keyCode <= 122) && isShift))// CapsLock打开且按住shift键。
isCapslockOn = true;
else
isCapslockOn = false;
}
function CapsLock_keydown(e) {
var keyCode = window.event ? e.keyCode : e.which;
if (keyCode == 20 && isCapslockOn == true)
isCapslockOn = false;
else if (keyCode == 20 && isCapslockOn == false)
isCapslockOn = true;
}
function tip() {
var ele = $("#tip");
if (isCapslockOn && ele.is(":hidden"))
show();
else if (!isCapslockOn && !ele.is(":hidden"))
ele.hide();
}
//keyPress可以判断当前CapsLock状态但不能捕获CapsLock键。
$(document).keypress(CapsLock_keyPress);
//keyDown可以捕获CapsLock键但不能判断CapsLock的状态。
$(document).keydown(CapsLock_keydown);
txt.keyup(tip).focus(function () {
if (isCapslockOn)
show("tip");
}).blur(function () {
$("#tip").hide();
});
})
</script>
<script>
$(function () {
//锚点跳转滑动效果
$('a[href*=#],area[href*=#]').click(function () {
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
var $target = $(this.hash);
$target = $target.length && $target || $('[name=' + this.hash.slice(1) + ']');
if ($target.length) {
var targetOffset = $target.offset().top - 60;
$('html,body').animate({
scrollTop: targetOffset
},
1000);
return false;
}
}
});
$("#btnSign").click(function () {
$('#searchModal').modal('show');
});
$("#btnForgot").click(function () {
$('#forgotModal').modal('show');
});
$('#searchModal').on('show.bs.modal', centerModals);
$(".picfile").change(function () {
$("#txtyyzz").val($(this).val()).change();
});
$('#searchKey').blur(function () {
var username = $("#username").val();
var formData = new FormData();
formData.append('action', 'checkusername');
formData.append('username', username);
$.ajax({
url: 'index.aspx',
type: 'post',
data: formData,
processData: false,
contentType: false,
async: true,
success: function (data) {
alert(data);
},
error: function () {
alert("操作失败!");
}
})
});
$("#btnSuggest").click(function () {
var mail = $("#txtSEmail").val();
var name = $("#txtSName").val();
var msg = $("#txtSMsg").val();
if (!checkEmail()) {
return;
}
var formData = new FormData();
formData.append('action', 'suggest');
formData.append('mail', mail);
formData.append('name', name);
formData.append('msg', msg);
$.ajax({
url: 'index.aspx',
type: 'post',
data: formData,
processData: false,
contentType: false,
async: true,
success: function (data) {
alert(data);
},
error: function () {
alert("操作失败!");
}
})
});
$("#btnSubmit").click(function () {
if (!$("#isAgree").is(':checked')) {
alert("请先阅读并同意MYSHIPING用户协议");
return;
}
$("#form1").bootstrapValidator('validate');//提交验证
if ($("#form1").data('bootstrapValidator').isValid()) {//获取验证结果,如果成功,执行下面代码
var yyzz = null;
if (document.getElementById("yyzzfile") != undefined) {
yyzz = document.getElementById("yyzzfile").files[0];
}
var phone = $("#txtPhone").val();
var pwd = $("#txtPwd").val();
var pwd2 = $("#txtPwd2").val();
var vcode = $("#txtVCode").val();
var email = $("#txtEmail").val();
var comname = $("#comname").val();
var username = $("#username").val();
var realname = $("#realname").val();
var yaoqingma = $("#yaoqingma").val();
var gslx = $("#selGSLX").val();
var COMTYPE = $("#selGSLX").find("option:selected").text();
var formData = new FormData();
formData.append('action', 'sign');
formData.append('phone', phone);
formData.append('pwd', pwd);
formData.append('pwd2', pwd2);
formData.append('vcode', vcode);
formData.append('email', email);
formData.append('comname', comname);
formData.append('yyzz', yyzz);
formData.append('username', username);
formData.append('realname', realname);
formData.append('yaoqingma', yaoqingma);
formData.append('gslx', gslx);
formData.append('COMTYPE', COMTYPE);
formData.append('c', getQueryString("c"));
$.ajax({
url: 'index.aspx',
type: 'post',
data: formData,
processData: false,
contentType: false,
async: true,
success: function (data) {
if (data == 'success') {
$("#loginusername").val(username);
$("#loginpwd").val(pwd);
alert("注册成功!");
$("#txtPhone").val('');
$("#txtPwd").val('');
$("#txtPwd2").val('');
$("#txtVCode").val('');
$("#txtEmail").val('');
$("#comname").val('');
$("#username").val('');
$("#realname").val('');
$("#txtyyzz").val('');
$("#txtVCode").val('');
$("#yaoqingma").val('');
$('#searchModal').modal('hide');
} else {
alert(data);
}
},
error: function () {
alert("操作失败!");
}
})
} else {
}
})
$("#fbtnSubmit").click(function () {
$("#form1").bootstrapValidator('validate');//提交验证
if ($("#form1").data('bootstrapValidator').isValid()) {//获取验证结果,如果成功,执行下面代码
var phone = $("#ftxtPhone").val();
var pwd = $("#ftxtPwd").val();
var pwd2 = $("#ftxtPwd2").val();
var vcode = $("#ftxtVCode").val();
var username = $("#fusername").val();
var formData = new FormData();
formData.append('action', 'forgot');
formData.append('phone', phone);
formData.append('pwd', pwd);
formData.append('pwd2', pwd2);
formData.append('vcode', vcode);
formData.append('username', username);
$.ajax({
url: 'index.aspx',
type: 'post',
data: formData,
processData: false,
contentType: false,
async: true,
success: function (data) {
if (data == '更改成功') {
$("#loginusername").val(username);
$("#loginpwd").val(pwd);
alert("更改成功,请重新登陆!");
$("#ftxtPhone").val('');
$("#ftxtPwd").val('');
$("#ftxtPwd2").val('');
$("#ftxtVCode").val('');
$("#username").val('');
$('#forgotModal').modal('hide');
} else {
alert(data);
}
},
error: function () {
alert("操作失败!");
}
})
} else {
}
})
$("#form1").bootstrapValidator({
message: 'This value is not valid',
// 定义未通过验证的状态图标
feedbackIcons: {/*输入框不同状态,显示图片的样式*/
valid: 'glyphicon glyphicon-ok',
invalid: 'glyphicon glyphicon-remove',
validating: 'glyphicon glyphicon-refresh'
},
// 字段验证
fields: {
// 手机号码
phone: {
validators: {
notEmpty: {
message: '手机号码不能为空'
},
stringlength: {
min: 11,
max: 11,
message: '请输入11位手机号码'
},
regexp: {
regexp: /^1[3|4|5|6|7|8|9]{1}[0-9]{9}$/,
message: '请输入正确的手机号码'
},
remote: {
message: '手机号已注册',
type: "POST",
delay: 2000,
url: 'index.aspx',
data: { action: 'checkphone', phone: $("#txtPhone").val() }
}
}
},
// 密码
pwd: {
message: '密码非法',
validators: {
notEmpty: {
message: '密码不能为空'
},
// 限制字符串长度
stringLength: {
min: 3,
max: 20,
message: '密码长度必须位于3到20之间'
},
// 相同性检测
identical: {
// 需要验证的field
field: 'pwd2',
message: '两次密码输入不一致'
},
// 基于正则表达是的验证
regexp: {
regexp: /^[a-zA-Z0-9_\.]+$/,
message: '密码由数字字母下划线和.组成'
}
}
},
// 确认密码
pwd2: {
message: '密码非法',
validators: {
notEmpty: {
message: '密码不能为空'
},
// 限制字符串长度
stringLength: {
min: 3,
max: 20,
message: '密码长度必须位于3到20之间'
},
// 相同性检测
identical: {
// 需要验证的field
field: 'pwd',
message: '两次密码输入不一致'
},
// 基于正则表达是的验证
regexp: {
regexp: /^[a-zA-Z0-9_\.]+$/,
message: '密码由数字字母下划线和.组成'
}
}
},
// 电子邮箱
email: {
validators: {
notEmpty: {
message: '邮箱地址不能为空'
},
emailAddress: {
message: '请输入正确的邮箱地址'
}
}
},
//公司名
comname: {
validators: {
notEmpty: {
message: '公司名不能为空'
}
}
},
//营业执照
//txtyyzz: {
// trigger: "change",
// validators: {
// notEmpty: {
// message: '请上传营业执照'
// }
// }
//},
//用户名
username: {
validators: {
notEmpty: {
message: '用户名不能为空'
}, stringLength: {
min: 4,
max: 10,
message: '用户名长度请介于4到10位可由字母数字下划线或.组成。'
},
// 基于正则表达是的验证
regexp: {
regexp: /^[a-zA-Z0-9_.]+$/,
message: '用户名长度请介于4到10位可由字母数字下划线或.组成。'
},
remote: {
message: '用户已存在',
type: "POST",
delay: 2000,
url: 'index.aspx',
data: { action: 'checkusername', username: $("#username").val() }
}
}
},
//真实姓名
realname: {
validators: {
notEmpty: {
message: '请填写真实姓名'
},
// 限制字符串长度
stringLength: {
min: 0,
max: 5,
message: '姓名超长,请精简长度。'
},
}
},
//邀请码
yaoqingma: {
validators: {
// 基于正则表达是的验证
regexp: {
regexp: /^[a-zA-Z0-9_.]+$/,
message: '邀请码由数字字母下划线和.组成'
}
}
}
}
})
$("#form2").bootstrapValidator({
message: 'This value is not valid',
// 定义未通过验证的状态图标
feedbackIcons: {/*输入框不同状态,显示图片的样式*/
valid: 'glyphicon glyphicon-ok',
invalid: 'glyphicon glyphicon-remove',
validating: 'glyphicon glyphicon-refresh'
},
// 字段验证
fields: {
// 手机号码
phone: {
validators: {
notEmpty: {
message: '手机号码不能为空'
},
stringlength: {
min: 11,
max: 11,
message: '请输入11位手机号码'
},
regexp: {
regexp: /^1[3|4|5|6|7|8|9]{1}[0-9]{9}$/,
message: '请输入正确的手机号码'
}
}
},
// 密码
pwd: {
message: '密码非法',
validators: {
notEmpty: {
message: '密码不能为空'
},
// 限制字符串长度
stringLength: {
min: 3,
max: 20,
message: '密码长度必须位于3到20之间'
},
// 相同性检测
identical: {
// 需要验证的field
field: 'pwd2',
message: '两次密码输入不一致'
},
// 基于正则表达是的验证
regexp: {
regexp: /^[a-zA-Z0-9_\.]+$/,
message: '密码由数字字母下划线和.组成'
}
}
},
// 确认密码
pwd2: {
message: '密码非法',
validators: {
notEmpty: {
message: '密码不能为空'
},
// 限制字符串长度
stringLength: {
min: 3,
max: 20,
message: '密码长度必须位于3到20之间'
},
// 相同性检测
identical: {
// 需要验证的field
field: 'pwd',
message: '两次密码输入不一致'
},
// 基于正则表达是的验证
regexp: {
regexp: /^[a-zA-Z0-9_\.]+$/,
message: '密码由数字字母下划线和.组成'
}
}
},
//用户名
username: {
validators: {
notEmpty: {
message: '用户名不能为空'
}, stringLength: {
min: 4,
max: 10,
message: '用户名长度必须位于4到10之间'
}
},
// 基于正则表达是的验证
regexp: {
regexp: /^[a-zA-Z0-9]+$/,
message: '用户名由数字字母下划线和.组成'
}
}
}
})
})
function checkEmail() {
var msg = $("#txtSMsg").val();
if (msg.length < 10) {
alert("请输入十字以上的意见或建议!");
return false;
}
return true;
}
function centerModals() {
$('#searchModal').each(function (i) {
var $clone = $(this).clone().css('display', 'block').appendTo('body');
var top = Math.round(($clone.height() - $clone.find('.modal-content').height()) / 2);
top = top > 0 ? top : 0;
$clone.remove();
$(this).find('.modal-content').css("margin-top", top);
$(this).find('.modal-content').css("left", 0);
});
};
//倒计时
var countdown = 60;
function getCode(val) {
$("#form1").bootstrapValidator('validate');//提交验证
if ($("#form1").data('bootstrapValidator').isValid()) {//获取验证结果,如果成功,执行下面代码
var formData = new FormData();
var phone = $("#txtPhone").val();
formData.append('action', 'code');
formData.append('phone', phone);
$.ajax({
url: 'index.aspx',
type: 'post',
data: formData,
processData: false,
contentType: false,
async: true,
success: function (data) {
alert(data);
},
error: function () {
alert("操作失败!");
}
})
settime(val);
} else {
//alert("请填写完整信息");
}
}
function getCodef(val) {
$("#form2").bootstrapValidator('validate');//提交验证
if ($("#form2").data('bootstrapValidator').isValid()) {//获取验证结果,如果成功,执行下面代码
var formData = new FormData();
var phone = $("#ftxtPhone").val();
formData.append('action', 'code');
formData.append('phone', phone);
$.ajax({
url: 'index.aspx',
type: 'post',
data: formData,
processData: false,
contentType: false,
async: true,
success: function (data) {
alert(data);
},
error: function () {
alert("操作失败!");
}
})
settime(val);
} else {
//alert("请填写完整信息");
}
}
function settime(val) {
if (countdown == 0) {
val.removeAttribute("disabled");
val.innerHTML = "获取验证码";
countdown = 60;
return false;
} else {
val.setAttribute("disabled", true);
val.innerHTML = "重新发送(" + countdown + ")";
countdown--;
}
setTimeout(function () {
settime(val);
}, 1000);
}
function open_win(t) {
if (t == '0') {
window.open("http://www.myshipping.net/Web/Site/plugin.html", "_blank", "toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=400, height=400")
} else if (t == '1') {
window.open("http://www.myshipping.net/Web/Site/doc.html", "_blank", "toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=400, height=400")
}
}
///获取QuertString
function getQueryString(name) {
var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
var r = window.location.search.substr(1).match(reg);
if (r != null) {
return unescape(r[2]);
}
return null;
}
</script>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?e661129dbea23e12d6e292c4d7b300bd";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<!-- Header Start -->
<header>
<div class="container">
<div class="row">
<div class="col-md-12">
<!-- header Nav Start -->
<nav class="navbar navbar-default" style="width: 1200px">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<a class="navbar-brand">
<img style="margin-top: -20px;" src="img/logo.png" alt="Logo">
</a>
<a class="navbar-brand">
<img style="margin-top: -20px" src="img/logonear.png" alt="Logo">
</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li><a href="#slider"><%=_PageData.Find(p=>p.OrderIndex==1).PartName %></a></li>
<li><a href="#intro"><%=_PageData.Find(p=>p.OrderIndex==2).PartName %></a></li>
<li><a href="#feature"><%=_PageData.Find(p=>p.OrderIndex==3).PartName %></a></li>
<li><a href="#testimonial"><%=_PageData.Find(p=>p.OrderIndex==6).PartName %></a></li>
<li><a href="#call-to-action"><%=_PageData.Find(p=>p.OrderIndex==5).PartName %></a></li>
<li><a href="#service"><%=_PageData.Find(p=>p.OrderIndex==4).PartName %></a></li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
</div>
</div>
</div>
</header>
<!-- header close -->
<!-- Slider Start -->
<section id="slider" style="padding-bottom: 50px">
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-2">
<div class="block">
<h1 class="animated fadeInUp"><%=_PageData.Find(p=>p.OrderIndex==1).PartTitle %></h1>
<p class="animated fadeInUp"><%=_PageData.Find(p=>p.OrderIndex==1).PartSubTitle %></p>
<div style="text-align: right">
<form id="form" name="form" action="http://www.myshipping.net:8654/Login.aspx" method="post">
<div class="loginLine">
<input type="hidden" name="action" value="login" />
<input type="hidden" name="url" value="http://www.myshipping.net/Web/Site/Index.aspx" />
<div class="loginLineText">
<label style="font-family: '宋体';">用户名</label>
<input style="color: black; width: 160px;" id="loginusername" name="username" type="text" />
</div>
</div>
<div>
<div>
<label style="font-family: '宋体';">密&nbsp;码</label>
<input id="loginpwd" style="color: black; width: 160px;" name="password" type="password" />
</div>
<div>
<span id="tip">大写锁定已打开!</span>
</div>
<div style="text-align: right">
<input id="remember" style="color: white;" type="checkbox" /><a style="color: white">记住密码</a>
<a style="color: white; margin-left: 20px;" href="#" id="btnForgot">忘记密码?</a>
</div>
<button type="submit" style="color: #ffffff; width: 100px; background-color: #177cb0; border: 0px; margin-top: 10px;" class="btn btn-default">登陆</button>
<a href="#" style="color: #ffffff; width: 100px; background-color: #177cb0; border: 0px; margin-top: 10px;" class="btn btn-default" id="btnSign">注册</a>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- P2 Start -->
<section id="intro">
<div class="container">
<div class="row">
<div class="col-md-7 col-sm-12">
<div class="block">
<div class="section-title">
<h2><%=_PageData.Find(p=>p.OrderIndex==2).PartTitle %></h2>
<p><%=_PageData.Find(p=>p.OrderIndex==2).PartSubTitle %></p>
</div>
<p><%=_PageData.Find(p=>p.OrderIndex==2).PartContent %></p>
</div>
</div>
<!-- .col-md-7 close -->
<div class="col-md-5 col-sm-12">
<div class="block">
<%--<img src="img/p2.jpg" alt="Img">--%>
<video style="width: 560px; height: 432px" src="demoemf.mp4" controls="controls">
</video>
</div>
</div>
<!-- .col-md-5 close -->
</div>
</div>
</section>
<!-- P3 Start-->
<section id="feature">
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-6">
<h2><%=_PageData.Find(p=>p.OrderIndex==3).PartTitle %></h2>
<%=_PageData.Find(p=>p.OrderIndex==3).PartContent %>
</div>
</div>
</div>
</section>
<!-- P6 Start -->
<section id="testimonial" style="background-image: url(p1.jpg); padding-top: 0px; padding-bottom: 0px">
<div class="container">
<div class="row">
<div class="col-md-7 col-sm-12">
<div class="block">
<div class="section-title" style="margin-bottom: 0px">
<h2><%=_PageData.Find(p=>p.OrderIndex==6).PartTitle %></h2>
<p style="padding-top: 5px"><%=_PageData.Find(p=>p.OrderIndex==6).PartSubTitle %></p>
</div>
<p style="padding-top: 0px"><%=_PageData.Find(p=>p.OrderIndex==6).PartContent %></p>
</div>
</div>
<!-- .col-md-7 close -->
<div class="col-md-5 col-sm-12">
<div class="block">
<img src="img/p2.jpg" alt="Img">
</div>
</div>
</div>
</div>
</section>
<!-- P5 Start -->
<section id="call-to-action">
<div class="container">
<div class="row">
<div class="col-md-12">
<div style="text-align: left;" class="block">
<h2><%=_PageData.Find(p=>p.OrderIndex==5).PartTitle %></h2>
<%=_PageData.Find(p=>p.OrderIndex==5).PartContent %>
</div>
</div>
</div>
</div>
</section>
<!-- P4 Start -->
<section id="service">
<div class="container">
<div class="row">
<div class="section-title">
<h2><%=_PageData.Find(p=>p.OrderIndex==4).PartTitle %></h2>
<%=_PageData.Find(p=>p.OrderIndex==4).PartSubTitle %>
</div>
</div>
<div class="col-xs-6 col-md-6 col-center-block">
<div class="row signFormRow form-group">
<div class="col-sm-12">
<textarea rows="3" id="txtSMsg" name="txtSMsg" style="width: 95%" class="form-control"
placeholder="意见建议"></textarea>
</div>
</div>
<div class="row signFormRow form-group">
<div class="col-sm-4">
<input type="text" id="txtSName" style="width: 95%" class="form-control" name="txtSMsg"
placeholder="姓名" />
</div>
<div class="col-sm-8">
<input type="text" id="txtSEmail" style="width: 95%; margin-left: -10px" class="form-control" name="txtSMsg"
placeholder="联系方式(电话或邮箱等)" />
</div>
</div>
<div class="modal-footer" style="margin-top: 10px">
<button type="button" id="btnSuggest" name="submit" class="btn btn-primary">提交</button>
</div>
</div>
<%=_PageData.Find(p=>p.OrderIndex==4).PartContent %>
</div>
</section>
<!-- footer Start -->
<footer>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="footer-manu">
<ul>
<li><a href="#slider"><%=_PageData.Find(p=>p.OrderIndex==1).PartName %></a></li>
<li><a href="#intro"><%=_PageData.Find(p=>p.OrderIndex==2).PartName %></a></li>
<li><a href="#feature"><%=_PageData.Find(p=>p.OrderIndex==3).PartName %></a></li>
<li><a href="#service"><%=_PageData.Find(p=>p.OrderIndex==4).PartName %></a></li>
<li><a href="#call-to-action"><%=_PageData.Find(p=>p.OrderIndex==5).PartName %></a></li>
</ul>
</div>
<p><%=_CopyRight%></p>
</div>
</div>
</div>
</footer>
<%--<div class="modal fade" style="width: 400px; margin-left: 100px" id="searchModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">--%>
<div class="modal fade" style="" id="searchModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<form id="form1">
<div class="modal-dialog" style="">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title" id="myModalLabel">用户注册</h4>
</div>
<div class="modal-body gridtable" id="dataTable">
<div class="row signFormRow form-group">
<label for="username" class="col-sm-3 control-label flbl">用户名</label>
<div class="col-sm-8">
<input type="text" id="username" style="width: 95%" class="form-control" name="username"
placeholder="用户名" />
</div>
</div>
<div class="row signFormRow form-group">
<label for="realname" class="col-sm-3 control-label flbl">真实姓名</label>
<div class="col-sm-8">
<input type="text" id="realname" style="width: 95%" class="form-control" name="realname"
placeholder="真实姓名" />
</div>
</div>
<div class="row signFormRow form-group">
<label for="phone" class="col-sm-3 control-label flbl">手机号</label>
<div class="col-sm-8">
<input type="text" id="txtPhone" style="width: 95%" class="form-control" name="phone"
placeholder="手机号" />
</div>
</div>
<div class="row signFormRow form-group">
<label for="email" class="col-sm-3 control-label flbl">邮箱</label>
<div class="col-sm-8">
<input type="text" id="txtEmail" style="width: 95%" class="form-control" name="email"
placeholder="邮箱" />
</div>
</div>
<div class="row signFormRow form-group">
<label for="pwd" class="col-sm-3 control-label flbl">密码</label>
<div class="col-sm-8">
<input type="password" id="txtPwd" name="pwd" style="width: 95%" class="form-control"
placeholder="请输密码" />
</div>
</div>
<div class="row signFormRow form-group">
<label for="pwd2" class="col-sm-3 control-label flbl">确认密码</label>
<div class="col-sm-8">
<input type="password" id="txtPwd2" name="pwd2" style="width: 95%" class="form-control"
placeholder="请输密码" />
</div>
</div>
<div class="row signFormRow form-group">
<label for="comname" class="col-sm-3 control-label flbl">公司名称</label>
<div class="col-sm-8">
<input type="text" id="comname" name="comname" style="width: 95%" class="form-control"
placeholder="公司名称" />
</div>
</div>
<%-- <div class="row signFormRow form-group">
<label for="middle-name" class="control-label col-md-3 col-sm-3 col-xs-12">营业执照</label>
<div class="col-sm-4">
<input id="yyzzfile" class="picfile" name="yyzzfile" type="file" style="display: none" />
<div class="input-append">
<input id="txtyyzz" name="txtyyzz" style="width: 90%" placeholder="营业执照" class="form-control" type="text" />
</div>
</div>
<div class="col-sm-4">
<a class="btn btn-primary" style="margin-bottom: 0px;" onclick="$('input[id=yyzzfile]').click();">选择</a>
</div>
</div>--%>
<div class="row signFormRow form-group">
<label for="vcode" class="col-sm-3 control-label flbl">手机验证码</label>
<div class="col-sm-4">
<input type="text" name="vcode" style="width: 90%" id="txtVCode" class="form-control"
placeholder="验证码" />
</div>
<div class="col-sm-4">
<button type="button" onclick="getCode(this);" class="btn btn-default">获取验证码</button>
</div>
</div>
<div class="row signFormRow form-group">
<label for="yaoqingma" class="col-sm-3 control-label flbl">邀请码</label>
<div class="col-sm-8">
<input type="text" id="yaoqingma" name="yaoqingma" style="width: 95%" class="form-control"
placeholder="邀请码,若没有可不填" />
</div>
</div>
<div class="row signFormRow form-group">
<label for="gslx" class="col-sm-3 control-label flbl">公司类型</label>
<div class="col-sm-8">
<select name="gslx" id="selGSLX">
</select>
</div>
</div>
<div class="row signFormRow form-group" style="text-align: center; margin-top: 20px">
<input type="checkbox" checked="checked" id="isAgree" />
<label>阅读并接受<a target="_blank" href="protocal.html">《MyShipping用户协议》</a></label>
</div>
</div>
<div class="modal-footer" style="margin-top: -10px">
<button type="button" id="btnSubmit" name="submit" class="btn btn-primary">注册</button>
<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
</div>
</div>
<!-- /.modal-content -->
</div>
</form>
<!-- /.modal -->
</div>
<div class="modal fade" style="" id="forgotModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<form id="form2">
<div class="modal-dialog" style="">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title" id="fmyModalLabel">忘记密码?</h4>
</div>
<div class="modal-body gridtable" id="fdataTable">
<div class="row signFormRow form-group">
<label for="username" class="col-sm-3 control-label">用户名</label>
<div class="col-sm-8">
<input type="text" id="fusername" style="width: 95%" class="form-control" name="username"
placeholder="用户名" />
</div>
</div>
<div class="row signFormRow form-group">
<label for="phone" class="col-sm-3 control-label">手机号</label>
<div class="col-sm-8">
<input type="text" id="ftxtPhone" style="width: 95%" class="form-control" name="phone"
placeholder="手机号" />
</div>
</div>
<div class="row signFormRow form-group">
<label for="pwd" class="col-sm-3 control-label">新密码</label>
<div class="col-sm-8">
<input type="password" id="ftxtPwd" name="pwd" style="width: 95%" class="form-control"
placeholder="请输密码" />
</div>
</div>
<div class="row signFormRow form-group">
<label for="pwd2" class="col-sm-3 control-label">确认密码</label>
<div class="col-sm-8">
<input type="password" id="ftxtPwd2" name="pwd2" style="width: 95%" class="form-control"
placeholder="请输密码" />
</div>
</div>
<div class="row signFormRow form-group">
<label for="vcode" class="col-sm-3 control-label">手机验证码</label>
<div class="col-sm-4">
<input type="text" name="vcode" style="width: 90%" id="ftxtVCode" class="form-control"
placeholder="验证码" />
</div>
<div class="col-sm-4">
<button type="button" onclick="getCodef(this);" class="btn btn-default">获取验证码</button>
</div>
</div>
</div>
<div class="modal-footer" style="margin-top: 10px">
<button type="button" id="fbtnSubmit" name="submit" class="btn btn-primary">更换密码</button>
<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
</div>
</div>
<!-- /.modal-content -->
</div>
</form>
<!-- /.modal -->
</div>
<script>
window.onload = function () {
var oForm = document.getElementById('form');
var oUser = document.getElementById('username');
var oPswd = document.getElementById('password');
var oRemember = document.getElementById('remember');
//页面初始化时如果帐号密码cookie存在则填充
if (getCookie('user') && getCookie('pswd')) {
oUser.value = getCookie('user');
oPswd.value = getCookie('pswd');
oRemember.checked = true;
}
//复选框勾选状态发生改变时如果未勾选则清除cookie
oRemember.onchange = function () {
if (!this.checked) {
delCookie('user');
delCookie('pswd');
}
};
//表单提交事件触发时如果复选框是勾选状态则保存cookie
oForm.onsubmit = function () {
if (remember.checked) {
setCookie('user', oUser.value, 7); //保存帐号到cookie有效期7天
setCookie('pswd', oPswd.value, 7); //保存密码到cookie有效期7天
}
};
$("#selGSLX").find("option").remove();
var url = 'http://47.104.73.97:8654/Interface/CustSrv.ashx';
var param = { name:"comauth",ac:"sel"};
$.ajax({
url: url,
type: 'POST',
async: true,
dataType: 'jsonp',
jsonp:"jsoncallback",
data: param,
timeout: 10000,
success: function (t) {
var data = eval(t).Data;
$.each(data, function (index, item) {
var t = item.text;
var v = item.value;
$("#selGSLX").append("<option value=" + v + ">" + t + "</option>");
})
}
})
};
//设置cookie
function setCookie(name, value, day) {
var date = new Date();
date.setDate(date.getDate() + day);
document.cookie = name + '=' + value + ';expires=' + date;
};
//获取cookie
function getCookie(name) {
var reg = RegExp(name + '=([^;]+)');
var arr = document.cookie.match(reg);
if (arr) {
return arr[1];
} else {
return '';
}
};
//删除cookie
function delCookie(name) {
setCookie(name, null, -1);
};
</script>
</body>
</html>