Browse Source

完善

master
yunuo970428 1 month ago
parent
commit
6f1da285f0
  1. 23
      secure.html

23
secure.html

@ -133,8 +133,8 @@
</tr> </tr>
</table> </table>
</div> </div>
<div style="display: flex;flex-direction: column;justify-content: center;align-content: center;margin-left: 10px"> <div style="display: flex;flex-direction: column;justify-content: center;align-content: center;margin-left: 10px;width: 39%">
<div class="modal-body" style="width: 90%"> <div class="modal-body" style="text-align: center">
<span class="control-label" style="text-align: center;width: 80%;float: left">您选择了标准套餐,<span class="gongji">0</span>元/月</span> <span class="control-label" style="text-align: center;width: 80%;float: left">您选择了标准套餐,<span class="gongji">0</span>元/月</span>
<span class="control-label" style="text-align: center;width: 80%;float: left">请留下您的联系方式,我们会尽快与您联系</span> <span class="control-label" style="text-align: center;width: 80%;float: left">请留下您的联系方式,我们会尽快与您联系</span>
<form id="myModal2_form" class="form-horizontal" role="form" onsubmit="return submit_myModal2_btn();"> <form id="myModal2_form" class="form-horizontal" role="form" onsubmit="return submit_myModal2_btn();">
@ -147,9 +147,11 @@
<div style="margin-top: 10px; margin-bottom: 10px;width: 100%"> <div style="margin-top: 10px; margin-bottom: 10px;width: 100%">
<input type="text" class="form-control big" name="companyName" placeholder="公司名称" style="height: 45px;width: 80%"> <input type="text" class="form-control big" name="companyName" placeholder="公司名称" style="height: 45px;width: 80%">
</div> </div>
<button type="submit" style="background-color: rgba(21, 170, 125, 1);margin-left: 15px; width: 75%;display: block;font-size: 18px;border-radius: 6px;padding: 10px 16px"> <div style="display: flex;flex-direction: row;justify-content: center;align-content: center">
<span style="color: white">提交您的信息</span> <button type="submit" style="background-color: rgba(21, 170, 125, 1);margin-left: 15px; width: 50%;display: block;font-size: 18px;border-radius: 6px;padding: 10px 16px">
</button> <span style="color: white">提交您的信息</span>
</button>
</div>
</form> </form>
</div> </div>
</div> </div>
@ -264,9 +266,8 @@
success: function (result) { success: function (result) {
if (result.result){ if (result.result){
alert("您的意向信息已提交,我们将尽快与您取得联系!"); alert("您的意向信息已提交,我们将尽快与您取得联系!");
$('#myModal2').modal('hide');
$('#myModal2_form').trigger('reset'); $('#myModal2_form').trigger('reset');
document.getElementById("tcpopup").style.display = "none";
} else { } else {
alert(result.message); alert(result.message);
} }
@ -350,10 +351,16 @@
'captcha': captcha, 'captcha': captcha,
'timestamp': time, 'timestamp': time,
}, function (resp) { }, function (resp) {
if (!!resp && !!resp.result) { if (!!resp && !!resp.result) {
alert('您的意向信息已提交,我们将尽快与您取得联系!'); alert('您的意向信息已提交,我们将尽快与您取得联系!');
document.getElementById("popup").style.display = "none";
document.getElementById("mask").style.display = "none";
document.getElementById("inputName").value = ''
document.getElementById("inputPhone").value = ''
document.getElementById("inputCompany").value = ''
document.getElementById("inputCode").value = ''
} else { } else {
document.getElementById("inputName").value = ''
alert(resp.message); alert(resp.message);
} }
}); });

Loading…
Cancel
Save