document._write_obj = '#c12bc20ecfdf52bc1f65d6dbebdbee94';document._write_start = true; document.write("");document.write("
"); document.write(""); document.write("
"); document.write(""); document.write("
"); document.write("
"); document.write("
"); document.write("
"); document.write("

亲,活动已经结束,请继续关注我们的后续活动哦。

"); document.write("

活动时间: 2015-03-03 至 2015-03-04

"); document.write("
"); document.write("
"); document.write("
"); document.write("
"); document.write("
"); document.write("
"); document.write(""); var getprize = false; var num128205 = 0; var goon128205 = true; $(function() { try{ $("#scratchpad128205").ScratchPad({ scratchMove: function() { $(this.canvas).css('margin-right', $(this.canvas).css('margin-right') == "0px" ? "1px" : "0px"); num128205++; if (num128205==2) { $.getScript("//box6js.nicebox.cn/tools/scratchcard_start_ajax.php?id=112&fid=28324&blockid=128205"); } if (getprize && num128205 > 15 && goon128205) { goon128205 = false; $("#getprize128205").show(500); //scratchcard_reward_detail在scratchcard_start_ajax.php中定义 if(scratchcard_reward_detail['prizetype'] == 2){ $("#the_coupons128205").show(); $("#coupons_submit_128205").attr("onclick","javascript:coupons_submit_128205("+scratchcard_reward_detail['prizeval']+","+scratchcard_output['insert_id']+")"); }else if(scratchcard_reward_detail['prizetype'] == 3){ $("#the_score128205").show(); $("#score_submit_128205").attr("onclick","javascript:score_submit_128205("+scratchcard_reward_detail['prizeval']+","+scratchcard_output['insert_id']+")"); }else{ $("#the_phone128205").show(); } } } }); }catch(err){ } }); $("#Refresh128205").bind("click",function(){ $("#scratchpad128205").ScratchPad('reset'); num128205 = 0; goon128205 = true; }); $("#save-btn128205").click(function(){ var tel = $("#tel128205").val(); var tid = $("#tid").val(); if (tel == '') { alert("请输入手机号"); return } var regu=/^[1][0-9]{10}$/; var re=new RegExp(regu); if(!re.test(tel)){ alert("请输入正确手机号码"); return } $.getScript("//box6js.nicebox.cn/tools/scratchcard_phone_ajax.php?id="+tid+"&fid=28324&blockid=128205&tel="+tel); }); try{ var scroll2 = new ScrollText("breakNewsList128205","pre2","next2",true,40,true); scroll2.LineHeight = 24; }catch(err){ } function mobile_seachScra(blockid){ var sn = $("#snm"+blockid).val(); if(!sn){alert('请输入校验');return false} location.href="//box6js.nicebox.cn/tools/scratchcard_sn_record.php?id=112&fid=28324&blockid=128205&is_mobile=1&sn="+sn; } function pc_seachScra(blockid){ var sn = $("#snm"+blockid).val(); if(!sn){alert('请输入校验');return false} document.getElementById("boxName").innerHTML="查看中奖记录"; if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="×"; document.getElementById("showiframe").src="//box6js.nicebox.cn/tools/scratchcard_sn_record.php?id=112&fid=28324&blockid=128205&sn="+sn; box.Show({width:"580px",height:"250px"}); } function score_submit_128205(pval,lot_record_id){ var score_username = $("#score128205").val(); $.get("//box6.nicebox.cn/tools/get_score_ajax.php",{"username":score_username,"scoreval":pval,"lot_record_id":lot_record_id,"idweb":"28324","isscratchcard":1},function(result){ if(result == 1){ $("#the_score128205").hide(); alert('积分领取成功'); } }) } function coupons_submit_128205(pval,lot_record_id){ var coupon_username = $("#coupons128205").val(); $.getJSON("//box6.nicebox.cn/tools/get_coupons_ajax.php?callback=?",{"username":coupon_username,"coupons_id":pval,"lot_record_id":lot_record_id,"idweb":"28324","isscratchcard":1},function(result){ if(result == 1){ $("#the_coupons128205").hide(); alert('优惠券领取成功'); }else{ alert('优惠劵领取失败'); } }) } if(document._write){ document.write('_write'); document.write('_write_stop'); }