苏州创新投资
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
suzhou/form/form.html

233 lines
7.7 KiB

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>苏州创新投资集团有限公司</title>
<meta name="Keywords" content="">
<meta name="Description" content="">
<meta name="applicable-device"content="pc,mobile">
<link href="../css/bootstrap.css" rel="stylesheet">
<link href="../css/bxslider.css" rel="stylesheet">
<link href="../css/style.css" rel="stylesheet">
<link href="../css/about3.css" rel="stylesheet">
<link href="../css/animate.css" rel="stylesheet" >
<link rel="stylesheet" href="../css/footer.css">
<!--导航样式-->
<link rel="stylesheet" href="../css/head.css" />
<script src="../js/jquery.min.js"></script>
<!-- <script src="http://www.jeendo.com/script/wow/wow.min2.js"></script> -->
<script src="../js/subpage.js"></script>
<script src="../js/common.js"></script>
<script src="../js/bootstrap.js"></script>
</head>
<body>
<div id="header"></div>
<!-- part0 -->
<div class="section section1 fp-auto-height fp-section">
<div class="topcontainer">
<img src="../images/投资申请banner@2x.png" alt="">
<div class="selectedContainer">
<div class="title">投资申请</div>
<div class="subtitle">INVESTMENT APPLICATION</div>
</div>
</div>
</div>
<!-- part1 -->
<div class="part apply_box">
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 title">
<img src="../images/line.png">
<h2 class="wow fadeInDown">投资申请</h2>
<h2 class="wow fadeInDown">INVESTMENT APPLICATION</h2>
</div>
<div class="col-xs-12 col-sm-12 col-md-12 wrap">
<!-- form -->
<form id="myform" name="myform" class="form-horizontal wow fadeInDown" method="post" action="#" onSubmit="return checkContent()">
<div class="form-group">
<label for="title"class="col-sm-3 control-label left">融资公司:</label>
<div class="col-sm-6">
<input type="text" name="company" class="form-control right" id="company" placeholder="必填">
</div>
</div>
<div class="form-group">
<label for="username" class="col-sm-3 control-label left">地址:</label>
<div class="col-sm-6">
<input type="text" name="address" class="form-control right" id="address" placeholder="必填">
</div>
</div>
<div class="form-group">
<label for="tel" class="col-sm-3 control-label left">电 话:</label>
<div class="col-sm-6">
<input type="text" name="ContactWay" class="form-control right" id="tel" placeholder="必填">
</div>
</div>
<div class="form-group">
<label for="tel" class="col-sm-3 control-label left">传 真:</label>
<div class="col-sm-6">
<input type="text" name="ContactWay" class="form-control right" id="tel" placeholder="必填">
</div>
</div>
<div class="form-group">
<label for="tel" class="col-sm-3 control-label left">电子邮件:</label>
<div class="col-sm-6">
<input type="text" name="ContactWay" class="form-control right" id="tel" placeholder="必填">
</div>
</div>
<div class="form-group">
<label for="tel" class="col-sm-3 control-label left">联系人:</label>
<div class="col-sm-6">
<input type="text" name="ContactWay" class="form-control right" id="tel" placeholder="必填">
</div>
</div>
<div class="form-group">
<label for="tel" class="col-sm-3 control-label left">行业分类:</label>
<div class="col-sm-6">
<select class="form-select form-select-lg mb-3 apply_select col-sm-6" aria-label="Default select example">
<option selected>请选择</option>
<option value="1">行业一</option>
<option value="2">行业二</option>
<option value="3">行业三</option>
</select>
</div>
</div>
<div class="form-group">
<label for="code" class="col-xs-12 col-sm-3 control-label left">上传商业计划书:</label>
<div class="col-xs-7 col-sm-4 pic-show">
<input type="text" name="code" class="form-control right" id="code" placeholder="">
</div>
<div class="col-xs-4 col-sm-4 col-md-2 pic-pic">
<button class="btn btn-danger page-btn">上传</button>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-4 col-sm-12 sub">
<button type="submit" name="button" value="提交申请" id="submit" class="btn btn-danger page-btn">提交申请</button>
</div>
</div>
<input type="hidden" name="__hash__" value="6e5d808c69f637c3f9c153adb451cd4e_684a5f077a400f78010938d2f396b164" />
</form>
</div>
</div>
</div>
</div>
<div id="footer"></div>
</body>
</html>
<SCRIPT language=javaScript>
function CheckJob()
{
if (document.myform.title.value.length==""){
alert ("融资公司不能为空!");
document.myform.title.focus();
return false;
}
if (document.myform.name.value.length==""){
alert ("内容不能为空!");
document.myform.name.focus();
return false;
}
if (document.myform.tel.value.length==""){
alert ("内容不能为空!");
document.myform.tel.focus();
return false;
}
}
$('body').on('click','#submit',function(){
var company = $('#company').val();
var product = $('#product').val();
var num = $('#number').val();
var name = $('#username').val();
var address = $('#address').val();
var phone = $('#phone').val();
var fax = $('#fax').val();
var email = $('#email').val();
var detail = $('#detail').val();
$.ajax({
type: 'post',
dataType: 'text',
// dataType: 'json',
url: 'https://suzhou.njrenzhou.cn/api.php/apply/apply',
data: {
'product': product,
'num': num,
'name': name,
'company': company,
'address': address,
'phone': phone,
'fax': fax,
'email': email,
'detail': detail
},
beforeSend:function(){
if (!product) {
alert('内容不能为空');
return false;
}
else if (name == '') {
alert('姓名不能为空');
return false;
}
else if (phone == '') {
alert('手机号码不能为空');
return false;
}
else if(!phone.match(/^1(3|4|5|8)\d{1}[-]?\d{4}[-]?\d{4}$/)){
alert('手机号码格式错误');
return false;
}
else return true;
},
success:function(data){
console.log(data);
if (data.msg = 'success') {
alert('提交成功');
window.location.reload();
}else{
alert('提交失败');
}
},
error:function(){
alert('error');
}
})
})
</SCRIPT>