var spGiftList = [
{name: '爱奇艺月卡', url: 'https://site.cc.cmbimg.com/CampaignWeb/index.shtml#/gainUser/home?cn=WB_TONGAQY0510&channelName=CHUNQIU_AQY&channelId=EShB%2B%2BfvuKnljMD5djF1UA%3D%3D%0D%0A'},
{name: '优酷月卡', url: 'https://site.cc.cmbimg.com/CampaignWeb/index.shtml#/gainUser/home?cn=WB_TONGAQY0510&channelName=CHUNQIU_AQY&channelId=EShB%2B%2BfvuKnljMD5djF1UA%3D%3D%0D%0A'},
{name: '200M流量', url: 'https://site.cc.cmbimg.com/CampaignWeb/index.shtml#/gainUser/home?cn=WB_TONGYK0522&channelName=CHUNQIU_YK&channelId=SRwHPMfSlpzgVSgbNUpdnA%3D%3D%0D%0A'},
{name: '掌上商城9.9元抵用券', url: 'https://site.cc.cmbimg.com/CampaignWeb/index.shtml#/gainUser/home?cn=WB_TONGSCQ0531&channelName=CHUNQIU_SCQ&channelId=EhWjrBjbsWo%2FYF3IptQ8Dg%3D%3D%0D%0A'},
{name: '招行信用卡9积分', url: 'https://site.cc.cmbimg.com/CampaignWeb/index.shtml#/gainUser/home?cn=WB_TONGJF0704&channelName=CHUNQIU_JF&channelId=1f2wXTLwQYkpUdFp7Z6E%2Bg%3D%3D%0D%0A'},
{name: '腾讯视频18天小月卡', url: 'https://site.cc.cmbimg.com/CampaignWeb/index.shtml#/gainUser/home?cn=WB_TONGJF0704&channelName=CHUNQIU_JF&channelId=1f2wXTLwQYkpUdFp7Z6E%2Bg%3D%3D%0D%0A'}
];
?>
序号 |
中奖时间 |
中奖奖品 |
备注 |
if(obj.length > 0){
_.each(obj, function(item, num){
num = num + 1;
var _i = num > 9 ? num : '0' + num;
var d = item.receiveTime.split(' ');
var date = d[0].split('-');
var dn = date[0] + '年' + date[1] + '月' + date[2] + '日' + d[1].substr(0,5);
var f = false;
var ad = null
if(item.awardType != null || item.awardType != 0 || item.awardType != 1 || item.awardType != 2 || item.awardType != 3){
for(var i=0;i
= _i?> |
= dn?> |
if(item.awardType == 1){if(f){?>= item.awardName?>}else{?>您的中奖券码是= item.awardCode?>}}else{?>= item.awardName?>}?> |
if(item.awardType == 0 || item.awardType == 1){
if(item.awardType == 1){
if(f){?>
点击领取:= ad.url?> |
}else{?>
具体如何兑换请查看活动规则 |
}
}else{?>
具体如何兑换请查看活动规则 |
}?>
}else if(item.awardType == 2 || item.awardType == 3){?>
请至优惠券中心查看 |
}else if(item.awardType == 5){
if(/积分/.test(item.awardName)){?>
|
}else{
if(f){?>
点击领取:= ad.url?> |
}else{?>
点击领取:= item.awardCode?> |
}
}
}else{
if(f){?>
点击领取:= ad.url?> |
}else{?>
|
}
}?>
}) }else{?>
您未中奖 |
}?>