Commit 1591b44e by txy

'弹出框'

parent cd2d14c4
...@@ -267,12 +267,14 @@ function getPlayerList(playerListData) { ...@@ -267,12 +267,14 @@ function getPlayerList(playerListData) {
var params = { var params = {
userId: id userId: id
} }
isAttention(function(){
// 投票 // 投票
voteClickFn(params,function(data){ voteClickFn(params,function(data){
// success // success
_this.parent('.item-title').prev().find('.vote-num').text(data.result.voteNum + '票') _this.parent('.item-title').prev().find('.vote-num').text(data.result.voteNum + '票')
}); });
}); });
});
// 参数选手点击事件 // 参数选手点击事件
cloneItem.find('.item-photo').attr('id',playerListData.records[i].id).on('click',playPageFn); cloneItem.find('.item-photo').attr('id',playerListData.records[i].id).on('click',playPageFn);
......
...@@ -113,10 +113,12 @@ function btnBindClick() { ...@@ -113,10 +113,12 @@ function btnBindClick() {
var params = { var params = {
userId: _userId userId: _userId
} }
isAttention(function(){
voteClickFn(params, function(data){ voteClickFn(params, function(data){
$('#act3932189955 .userVoteNum span').text(data.result.voteNum); $('#act3932189955 .userVoteNum span').text(data.result.voteNum);
}); });
}); });
});
} }
// 倒计时 // 倒计时
function userCountDown(times,ids){ function userCountDown(times,ids){
......
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