Commit 5fde32a4 by tzn

msg

parent c7ac8552
window.onload = function () window.onload = function ()
window.onload = function () window.onload = function ()
{ {
//axios.defaults.baseURL = "http://kkrb4k.natappfree.cc" axios.defaults.baseURL = "http://kkrb4k.natappfree.cc"
axios({
method: 'post',
url: 'javaProject2_war_exploded/PrintApplyServlet',
data: {
click:1
}
}).then(res=>{
for(let i=0;i<res.length;i++) for(let i=0;i<res.length;i++)
{ {
$("<div class='book'></div>").appendTo($('.bookbox')); $("<div class='book'></div>").appendTo($('.bookbox'));
} }
...@@ -32,12 +37,13 @@ window.onload = function () ...@@ -32,12 +37,13 @@ window.onload = function ()
document.getElementsByClassName('alert-see-sure-button')[0].addEventListener('click',()=>{ document.getElementsByClassName('alert-see-sure-button')[0].addEventListener('click',()=>{
$('.alert-see-sure').hide(); $('.alert-see-sure').hide();
document.getElementsByClassName('book')[i].style.display='none'; document.getElementsByClassName('book')[i].style.display='none';
}) })
}) })
} }
}
document.getElementsByClassName('book-introduce-Abutton')[0].addEventListener('click',()=> document.getElementsByClassName('book-introduce-Abutton')[0].addEventListener('click',()=>
{ {
$('.alert-see-add').show() $('.alert-see-add').show()
......
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