Commit 5cdc0c1e authored by Mac's avatar Mac

投过票的处理

parent 8f5821e0
......@@ -22,7 +22,7 @@ p{
.content{
width:90% ;
height: 50%;
margin-top: 1.8rem;
margin-top: 2rem;
display: flex;
flex-direction: column;
align-items: center;
......
......@@ -116,9 +116,16 @@
}else {
proxy.invoke("UserVoteProgarm",activity.EmployeeId).done(data => {
console.log(data)
$('.popup').css('display','block')
$('.popup_bg img').attr('src','../../images/aM/toupiao.png')
$('.popup_bg span').html('恭喜你!投票成功')
if(data == 2){
layer.msg('您已对本节目投过票了');
$('.vote_s').css('display','none')
}else {
$('.popup').css('display','block')
$('.popup_bg img').attr('src','../../images/aM/toupiao.png')
$('.popup_bg span').html('恭喜你!投票成功')
}
})
......
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