Commit 87c9d65c authored by zhengke's avatar zhengke

no message

parent ee080bbd
...@@ -129,6 +129,7 @@ ...@@ -129,6 +129,7 @@
}) })
} }
function saveGuestSurvey() { function saveGuestSurvey() {
document.getElementById("submitB").classList.add("active")
getTextarea() getTextarea()
var postMsg = []; var postMsg = [];
if (dataList && dataList.length > 0) { if (dataList && dataList.length > 0) {
...@@ -159,7 +160,7 @@ ...@@ -159,7 +160,7 @@
busDetailsList: postMsg busDetailsList: postMsg
} }
console.log(newMsg,'-------') console.log(newMsg,'-------')
// $('#submitB').attr('disabled', true) $('#submitB').attr('disabled', true)
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: `${getApiUrl().urlPost}`, url: `${getApiUrl().urlPost}`,
...@@ -466,6 +467,9 @@ ...@@ -466,6 +467,9 @@
background-color: #EE4554; background-color: #EE4554;
color: #fff; color: #fff;
} }
.submitB.active{
background-color: rgba(238,69,84,.5);
}
.pinfen img { .pinfen img {
width: 20px; width: 20px;
height: 20px; height: 20px;
......
...@@ -130,6 +130,7 @@ ...@@ -130,6 +130,7 @@
}) })
} }
function saveGuestSurvey() { function saveGuestSurvey() {
document.getElementById("submitB").classList.add("active")
getTextarea() getTextarea()
var postMsg = []; var postMsg = [];
if (dataList && dataList.length > 0) { if (dataList && dataList.length > 0) {
...@@ -159,7 +160,7 @@ ...@@ -159,7 +160,7 @@
}) })
} }
console.log(postMsg,'-------') console.log(postMsg,'-------')
// $('#submitB').attr('disabled', true) $('#submitB').attr('disabled', true)
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: `${getApiUrl().urlPost}`, url: `${getApiUrl().urlPost}`,
...@@ -465,6 +466,9 @@ ...@@ -465,6 +466,9 @@
background-color: #EE4554; background-color: #EE4554;
color: #fff; color: #fff;
} }
.submitB.active{
background-color: rgba(238,69,84,.5);
}
.pinfen img { .pinfen img {
width: 20px; width: 20px;
height: 20px; height: 20px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment