111
This commit is contained in:
51
secure.html
51
secure.html
@@ -145,7 +145,7 @@
|
||||
|
||||
<div
|
||||
style="display: flex;flex-direction: row;justify-content: center;align-content: center; margin-top: 20px;">
|
||||
<button type="submit"
|
||||
<button onclick="submit_myModal2_btn()"
|
||||
style="background-color: rgba(21, 170, 125, 1);width: 50%;display: block;font-size: 18px;border-radius: 6px;padding: 10px 16px">
|
||||
<span style="color: white">提交您的信息</span>
|
||||
</button>
|
||||
@@ -219,9 +219,10 @@
|
||||
<div class="popup-content__btn" id="subpopupmessageclose">关闭</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 底部占位 -->
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
<!-- 底部占位 -->
|
||||
<div id="footer"></div>
|
||||
|
||||
</body>
|
||||
<style>
|
||||
table,
|
||||
@@ -298,31 +299,35 @@
|
||||
fuwu += $(v).attr('fuwu');
|
||||
});
|
||||
data += '&fuwu=' + fuwu;
|
||||
$.ajax({
|
||||
url: 'http://aos.yyundong.com/ycsafe/business/buy/1',
|
||||
type: "POST",
|
||||
data: data,
|
||||
success: function(result) {
|
||||
if (result.result) {
|
||||
alert("您的意向信息已提交,我们将尽快与您取得联系!");
|
||||
$('#myModal2_form').trigger('reset');
|
||||
document.getElementById("tcpopup").style.display = "none";
|
||||
} else {
|
||||
alert(result.message);
|
||||
}
|
||||
}
|
||||
});
|
||||
return false;
|
||||
|
||||
console.log("提交>>>>>",data);
|
||||
|
||||
// $.ajax({
|
||||
// url: 'http://aos.yyundong.com/ycsafe/business/buy/1',
|
||||
// type: "POST",
|
||||
// data: data,
|
||||
// success: function(result) {
|
||||
// if (result.result) {
|
||||
// alert("您的意向信息已提交,我们将尽快与您取得联系!");
|
||||
// $('#myModal2_form').trigger('reset');
|
||||
// document.getElementById("tcpopup").style.display = "none";
|
||||
// } else {
|
||||
// alert(result.message);
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
// return false;
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
function openPopuptc() {
|
||||
// 判断是否登录
|
||||
if(!isLogin){
|
||||
window.location.href = 'login.html';
|
||||
}else {
|
||||
document.getElementById("tcpopup").style.display = "block";
|
||||
}
|
||||
// if(!isLogin){
|
||||
// window.location.href = 'login.html';
|
||||
// }else {
|
||||
// document.getElementById("tcpopup").style.display = "block";
|
||||
// }
|
||||
document.getElementById("tcpopup").style.display = "block";
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user