This commit is contained in:
myTest383
2025-04-30 17:49:53 +08:00
parent 49d281dcc3
commit 1d353f4af3
9 changed files with 1147 additions and 177 deletions

View File

@@ -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";
}