hongjunluo 2 years ago
parent 6b124ed1c4
commit 7350d75a73
  1. 2
      css/about3.css
  2. 1
      css/footer.css
  3. 6
      css/style.css
  4. 99
      form/form.html

@ -409,7 +409,7 @@ a:active{
} }
.contentContainer{ .contentContainer{
background: url('../images/qianglian.png'); background: url('../images/qianglian.png');
background-repeat: no-repeat; /* background-repeat: no-repeat; */
padding: 80px 0 90px 0; padding: 80px 0 90px 0;
text-align: center; text-align: center;
} }

@ -24,6 +24,7 @@
} }
.registerContainer .leftContent{ .registerContainer .leftContent{
display:flex; display:flex;
justify-content:center;
} }
.registerContainer .contactUs{ .registerContainer .contactUs{
font-size: 16px; font-size: 16px;

@ -1523,7 +1523,7 @@ footer .wrap .right select{
footer .left{ text-align: center;} footer .left{ text-align: center;}
footer .wrap .right{ align-items: center;} footer .wrap .right{ align-items: center;}
/* 关于我们 */
.about_01 .wrap .left{padding: 0;margin: 0;} .about_01 .wrap .left{padding: 0;margin: 0;}
.about_02 .wrap .right{padding: 50px 15px;} .about_02 .wrap .right{padding: 50px 15px;}
@ -1533,6 +1533,10 @@ footer .wrap .right select{
.about_61 .wrap .left{padding: 0;} .about_61 .wrap .left{padding: 0;}
#map { width: 100%!important;} #map { width: 100%!important;}
.xietongbottom .xietongimg{ width: 80%;left: 10%;}
.xietongContent{ width: 80%;left: 10%;}
/* 业务版图 */
.service_31 .left{ margin: 0;padding: 15px;} .service_31 .left{ margin: 0;padding: 15px;}
.service_31 .right{margin: 0;} .service_31 .right{margin: 0;}

@ -53,7 +53,7 @@
<div class="col-xs-12 col-sm-12 col-md-12 wrap"> <div class="col-xs-12 col-sm-12 col-md-12 wrap">
<!-- form --> <!-- form -->
<form id="myform" name="myform" class="form-horizontal wow fadeInDown" method="post" action="#" onSubmit="return checkContent()"> <form id="myform" name="myform" class="form-horizontal wow fadeInDown">
<div class="form-group"> <div class="form-group">
<label for="title"class="col-sm-3 control-label left">融资公司:</label> <label for="title"class="col-sm-3 control-label left">融资公司:</label>
<div class="col-sm-6"> <div class="col-sm-6">
@ -69,31 +69,31 @@
<div class="form-group"> <div class="form-group">
<label for="tel" class="col-sm-3 control-label left">电 话:</label> <label for="tel" class="col-sm-3 control-label left">电 话:</label>
<div class="col-sm-6"> <div class="col-sm-6">
<input type="text" name="ContactWay" class="form-control right" id="tel" placeholder="必填"> <input type="text" name="phone" class="form-control right" id="phone" placeholder="必填">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="tel" class="col-sm-3 control-label left">传 真:</label> <label for="tel" class="col-sm-3 control-label left">传 真:</label>
<div class="col-sm-6"> <div class="col-sm-6">
<input type="text" name="ContactWay" class="form-control right" id="tel" placeholder="必填"> <input type="text" name="cz" class="form-control right" id="cz" placeholder="必填">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="tel" class="col-sm-3 control-label left">电子邮件:</label> <label for="tel" class="col-sm-3 control-label left">电子邮件:</label>
<div class="col-sm-6"> <div class="col-sm-6">
<input type="text" name="ContactWay" class="form-control right" id="tel" placeholder="必填"> <input type="text" name="email" class="form-control right" id="email" placeholder="必填">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="tel" class="col-sm-3 control-label left">联系人:</label> <label for="tel" class="col-sm-3 control-label left">联系人:</label>
<div class="col-sm-6"> <div class="col-sm-6">
<input type="text" name="ContactWay" class="form-control right" id="tel" placeholder="必填"> <input type="text" name="name" class="form-control right" id="name" placeholder="必填">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="tel" class="col-sm-3 control-label left">行业分类:</label> <label for="tel" class="col-sm-3 control-label left">行业分类:</label>
<div class="col-sm-6"> <div class="col-sm-6">
<select class="form-select form-select-lg mb-3 apply_select col-sm-6" aria-label="Default select example"> <select class="form-select form-select-lg mb-3 apply_select col-sm-6" name="cate" id="cate" aria-label="Default select example">
<option selected>请选择</option> <option selected>请选择</option>
<option value="1">行业一</option> <option value="1">行业一</option>
<option value="2">行业二</option> <option value="2">行业二</option>
@ -106,19 +106,18 @@
<div class="form-group"> <div class="form-group">
<label for="code" class="col-xs-12 col-sm-3 control-label left">上传商业计划书:</label> <label for="code" class="col-xs-12 col-sm-3 control-label left">上传商业计划书:</label>
<div class="col-xs-7 col-sm-4 pic-show"> <div class="col-xs-7 col-sm-4 pic-show">
<input type="text" name="code" class="form-control right" id="code" placeholder=""> <input type="text" name="prospectus" class="form-control right" id="prospectus" placeholder="">
</div> </div>
<div class="col-xs-4 col-sm-4 col-md-2 pic-pic"> <div class="col-xs-4 col-sm-4 col-md-2 pic-pic">
<button class="btn btn-danger page-btn">上传</button> <button class="btn btn-danger page-btn">上传</button>
</div> </div>
</div> </div>
</form>
<div class="form-group"> <div class="form-group">
<div class="col-sm-offset-4 col-sm-12 sub"> <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> <button type="submit" name="button" value="提交申请" id="submit" class="btn btn-danger page-btn">提交申请</button>
</div> </div>
</div> </div>
<input type="hidden" name="__hash__" value="6e5d808c69f637c3f9c153adb451cd4e_684a5f077a400f78010938d2f396b164" />
</form>
</div> </div>
@ -134,75 +133,37 @@
<SCRIPT language=javaScript> <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(){ $('body').on('click','#submit',function(){
var company = $('#company').val(); var company = $('#company').val();
var product = $('#product').val();
var num = $('#number').val();
var name = $('#username').val();
var address = $('#address').val(); var address = $('#address').val();
var phone = $('#phone').val(); var phone = $('#phone').val();
var fax = $('#fax').val(); var cz = $('#cz').val();
var email = $('#email').val(); var email = $('#email').val();
var detail = $('#detail').val(); var name = $('#name').val();
var cate = $('#cate').val();
var prospectus = $('#prospectus').val();
$.ajax({ $.ajax({
type: 'post', type: 'post',
dataType: 'text', dataType: 'text',
// dataType: 'json', // dataType: 'json',
url: 'https://suzhou.njrenzhou.cn/api.php/apply/apply', url: 'https://suzhou.njrenzhou.cn/api.php/apply/apply',
data: { data: {
'product': product,
'num': num,
'name': name,
'company': company, 'company': company,
'address': address, 'address': address,
'phone': phone, 'phone': phone,
'fax': fax, 'cz': cz,
'email': email, 'email': email,
'detail': detail 'name': name,
'cate': cate,
'prospectus': prospectus
}, },
beforeSend:function(){ beforeSend:function(){
if (!product) { if (!company) {
alert('内容不能为空'); alert('融资公司不能为空');
return false; return false;
} }
else if (name == '') { else if (address == '') {
alert('姓名不能为空'); alert('地址不能为空');
return false; return false;
} }
else if (phone == '') { else if (phone == '') {
@ -213,6 +174,26 @@ function CheckJob()
alert('手机号码格式错误'); alert('手机号码格式错误');
return false; return false;
} }
else if (cz == '') {
alert('传真不能为空');
return false;
}
else if (email == '') {
alert('邮箱不能为空');
return false;
}
else if (name == '') {
alert('姓名不能为空');
return false;
}
else if (cate == '') {
alert('行业分类不能为空');
return false;
}
else if (prospectus == '') {
alert('商业计划书不能为空');
return false;
}
else return true; else return true;
}, },
success:function(data){ success:function(data){

Loading…
Cancel
Save