Commit 5826b4a5 authored by Mac's avatar Mac

1

parent 238318d3
...@@ -109,9 +109,13 @@ ...@@ -109,9 +109,13 @@
function vote(type) { function vote(type) {
if(type==1){ // 1位放弃投票 2 为确定投票 if(type==1){ // 1位放弃投票 2 为确定投票
giveUp=true; giveUp=true;
$('.vote_s').css('display','none')
$('.popup').css('display','block') $('.popup').css('display','block')
$('.popup_bg img').attr('src','../../images/aM/fangqi.png') $('.popup_bg img').attr('src','../../images/aM/fangqi.png')
$('.popup_bg span').html('放弃投票成功') $('.popup_bg span').html('放弃投票成功')
setTimeout(function () {
$('.popup').css('display','none')
},5000)
}else { }else {
proxy.invoke("UserVoteProgarm",activity.EmployeeId).done(data => { proxy.invoke("UserVoteProgarm",activity.EmployeeId).done(data => {
...@@ -121,9 +125,13 @@ ...@@ -121,9 +125,13 @@
$('.vote_s').css('display','none') $('.vote_s').css('display','none')
}else { }else {
$('.vote_s').css('display','none')
$('.popup').css('display','block') $('.popup').css('display','block')
$('.popup_bg img').attr('src','../../images/aM/toupiao.png') $('.popup_bg img').attr('src','../../images/aM/toupiao.png')
$('.popup_bg span').html('恭喜你!投票成功') $('.popup_bg span').html('恭喜你!投票成功')
setTimeout(function () {
$('.popup').css('display','none')
},5000)
} }
}) })
...@@ -137,7 +145,6 @@ ...@@ -137,7 +145,6 @@
$('.close').click(function () { $('.close').click(function () {
$('.popup').css('display','none') $('.popup').css('display','none')
$('.vote_s').css('display','none')
}) })
$('.return').click(function () { $('.return').click(function () {
//返回首页 //返回首页
......
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