var __SINA_SURVEY_DATA={"survey":{"id":"3265","creator":"wangxiang8","title":"\u817e\u8baf\u6d89\u5acc\u5784\u65ad\u88ab\u4e3e\u62a5","description":"\u636e\u5a92\u4f53\u62a5\u9053\uff0c\u535a\u6cf0\u8f66\u8054\u7f51\u548c\u4e0a\u6c7d\u901a\u7528\u4e94\u83f1\u4e8e\u8fd1\u65e5\u5171\u540c\u5411\u56fd\u5bb6\u5e02\u573a\u76d1\u7ba1\u603b\u5c40\u53cd\u5784\u65ad\u5c40\u63d0\u4ea4\u4e86\u53cd\u5784\u65ad\u4e3e\u62a5\u4e66\uff0c\u4e3e\u62a5\u817e\u8baf\u6d89\u5acc\u5784\u65ad\u3002","keyword":"\u817e\u8baf,\u5784\u65ad,\u4e0a\u6c7d\u901a\u7528\u4e94\u83f1","start_time":"1612852200","end_time":"1615219200","type":"1","channel":"8","status":"2","anti_cheat_strategy":"0","qr_code":"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKIAAACiAQMAAAD4PIRYAAAABlBMVEX\/\/\/8AAABVwtN+AAAA\/0lEQVRIic2W0Q3DMAhET\/IAGYnVPZIHsES5I22Tqt8QlEj288\/JHGDgATGcgWNyvYybVU7jhw2f7nPDkKSami\/D4YFiHUK7qJS5JLbRvKA+qgzpgnSMBiqnMjf6bv6topew\/a94CyiVSRDNekx+9XQhriMrdrBo0UEtNcVih1HieFXT6Jusk3fXoMpyyhuRIDbxw\/OgnLoMaszQwtc7lVQZyt7N0r3mrY7SqWmOfdqlnlJT7KnPzwZaTM9OJXOodL2efhIDFe249fUqqklGp3KKsHhGA829pqlio4tCFcu1ryaak4wjxEYDhV42HGDnPKun75cNmzjw+94poQ+IFwX1\/xSoyjoNAAAAAElFTkSuQmCC","others":{"result_show":"1","user_result_show":"0","result_save":"1","result_order":"0","result_order_q":"0","true_result":"1","vote_show":"1","vote_submit":1,"vote_login":"0","voter_source":"0","share_img":"https:\/\/n.sinaimg.cn\/default\/46b60762\/20171013\/sinavotepic.png","comment":"1","survey_summary":"\u6295\u7968\u6210\u529f\uff0c\u611f\u8c22\u60a8\u7684\u53c2\u4e0e\uff01","redirect_url":"","display_type":"2","text_detail":"","text_detail_url":"","repetition_attr":"0","count_per_type":"1","repetition_user_cookie_device":"2","repetition_interval":"60m","repetition_freq":"","repetition_interval_did":"60m","repetition_freq_did":"","repetition_end_msg":"\u5df2\u7ecf\u6295\u8fc7\u7968\uff0c\u611f\u8c22\u60a8\u7684\u53c2\u4e0e","repetition_end_msg_did":"\u5df2\u7ecf\u6295\u8fc7\u7968\uff0c\u611f\u8c22\u60a8\u7684\u53c2\u4e0e","repetition_end_msg_cid":"\u5df2\u7ecf\u6295\u8fc7\u7968\uff0c\u611f\u8c22\u60a8\u7684\u53c2\u4e0e","button_status_uid":"0","button_status_did":"0","button_status_did_online":"0","button_status_cid":0,"result_interval_show":0,"result_address":"1","group":"2","vote_list_order":"1","vote_end_msg":"","survey_comment_type":"1","max_votes_per_cast":"1","ranking_list":"0","sub_channel_id":"","max_voter":0,"resize_pic":0,"final_result_show":1},"created_time":"1612851891","modified_time":"1615219202"},"content":{"question":[{"id":"63659","survey_id":"3265","type":"1","parent_id":"3265","sort_id":"1","status":"1","description":"\u535a\u6cf0\u8f66\u8054\u7f51\u79f0\uff0c\u817e\u8baf\u9650\u5b9a\u5176\u4ea7\u54c1\u4e0d\u80fd\u4e0e\u6c7d\u8f66\u5382\u5546\u4ea4\u6613\uff0c\u4f60\u8ba4\u4e3a\u8fd9\u6784\u6210\u5784\u65ad\u884c\u4e3a\u5417\uff1f","others":{"question_selection":"1","question_type":"1","group_id":"","answer_order":"0","button_des":"","button_status_des":"","question_img":"","question_img_url":"","checkbox_num_least":0,"checkbox_num_most":0,"score_display_type":0,"score_num_least":0,"score_num_most":0,"standard_point":0},"created_time":"1612852545","modified_time":"1612852548","r_aids":[],"answers":[63660,63661,63662],"number":"1933"},{"id":"63663","survey_id":"3265","type":"1","parent_id":"3265","sort_id":"2","status":"1","description":"\u817e\u8baf\u5df2\u591a\u6b21\u5377\u5165\u201c\u53cd\u5784\u65ad\u201d\u6f29\u6da1\uff0c\u4f1a\u5f71\u54cd\u4f60\u4f7f\u7528\u5b83\u7684\u4ea7\u54c1\u5417\uff1f","others":{"question_selection":"1","question_type":"1","group_id":"","answer_order":"0","button_des":"","button_status_des":"","question_img":"","question_img_url":"","checkbox_num_least":0,"checkbox_num_most":0,"score_display_type":0,"score_num_least":0,"score_num_most":0,"standard_point":0},"created_time":"1612852545","modified_time":"1612852548","r_aids":[],"answers":[63664,63665],"number":"1933"}],"answer":{"63659":[{"id":"63660","survey_id":"3265","type":"2","parent_id":"63659","sort_id":"1","status":"1","description":"\u6784\u6210\uff0c\u6ee5\u7528\u5e02\u573a\u652f\u914d\u5730\u4f4d\u884c\u4e3a\u3002","others":{"next_question":0,"answer_img":"","answer_img_url":"","answer_img_width":"","answer_img_height":"","answer_type_blank":0,"standard_point":0,"video_id":"","route_id":"","answer_note":"","right_answer":"0","next_question_id":63663},"created_time":"1612852545","modified_time":"1612852548","number":"1594"},{"id":"63661","survey_id":"3265","type":"2","parent_id":"63659","sort_id":"2","status":"1","description":"\u4e0d\u6784\u6210\uff0c\u5f88\u6b63\u5e38\u3002","others":{"next_question":0,"answer_img":"","answer_img_url":"","answer_img_width":"undefined","answer_img_height":"undefined","answer_type_blank":0,"standard_point":0,"video_id":"","route_id":"","answer_note":"","right_answer":"0","next_question_id":63663},"created_time":"1612852545","modified_time":"1612852548","number":"218"},{"id":"63662","survey_id":"3265","type":"2","parent_id":"63659","sort_id":"3","status":"1","description":"\u4e0d\u6e05\u695a\uff0c\u770b\u8c03\u67e5\u7ed3\u679c\u3002","others":{"next_question":0,"answer_img":"","answer_img_url":"","answer_img_width":"undefined","answer_img_height":"undefined","answer_type_blank":0,"standard_point":0,"video_id":"","route_id":"","answer_note":"","right_answer":"0","next_question_id":63663},"created_time":"1612852545","modified_time":"1612852548","number":"121"}],"63663":[{"id":"63664","survey_id":"3265","type":"2","parent_id":"63663","sort_id":"1","status":"1","description":"\u6709\u5f71\u54cd\uff0c\u4e0d\u592a\u60f3\u7528\u4e86\u3002","others":{"next_question":0,"answer_img":"","answer_img_url":"","answer_img_width":"","answer_img_height":"","answer_type_blank":0,"standard_point":0,"video_id":"","route_id":"","answer_note":"","right_answer":"0","next_question_id":null},"created_time":"1612852545","modified_time":"1612852548","number":"1146"},{"id":"63665","survey_id":"3265","type":"2","parent_id":"63663","sort_id":"2","status":"1","description":"\u6ca1\u5f71\u54cd\uff0c\u662f\u5426\u5784\u65ad\u8ddf\u6211\u6ca1\u5173\u7cfb\u3002","others":{"next_question":0,"answer_img":"","answer_img_url":"","answer_img_width":"undefined","answer_img_height":"undefined","answer_type_blank":0,"standard_point":0,"video_id":"","route_id":"","answer_note":"","right_answer":"0","next_question_id":null},"created_time":"1612852545","modified_time":"1612852548","number":"787"}]},"point":[],"group":[],"a_q":{"63660":63659,"63661":63659,"63662":63659,"63664":63663,"63665":63663},"question_obj":{"63659":{"id":"63659","survey_id":"3265","type":"1","parent_id":"3265","sort_id":"1","status":"1","description":"\u535a\u6cf0\u8f66\u8054\u7f51\u79f0\uff0c\u817e\u8baf\u9650\u5b9a\u5176\u4ea7\u54c1\u4e0d\u80fd\u4e0e\u6c7d\u8f66\u5382\u5546\u4ea4\u6613\uff0c\u4f60\u8ba4\u4e3a\u8fd9\u6784\u6210\u5784\u65ad\u884c\u4e3a\u5417\uff1f","others":{"question_selection":"1","question_type":"1","group_id":"","answer_order":"0","button_des":"","button_status_des":"","question_img":"","question_img_url":"","checkbox_num_least":0,"checkbox_num_most":0,"score_display_type":0,"score_num_least":0,"score_num_most":0,"standard_point":0},"created_time":"1612852545","modified_time":"1612852548","r_aids":[],"answers":[63660,63661,63662],"number":"1933","rank_id":1},"63663":{"id":"63663","survey_id":"3265","type":"1","parent_id":"3265","sort_id":"2","status":"1","description":"\u817e\u8baf\u5df2\u591a\u6b21\u5377\u5165\u201c\u53cd\u5784\u65ad\u201d\u6f29\u6da1\uff0c\u4f1a\u5f71\u54cd\u4f60\u4f7f\u7528\u5b83\u7684\u4ea7\u54c1\u5417\uff1f","others":{"question_selection":"1","question_type":"1","group_id":"","answer_order":"0","button_des":"","button_status_des":"","question_img":"","question_img_url":"","checkbox_num_least":0,"checkbox_num_most":0,"score_display_type":0,"score_num_least":0,"score_num_most":0,"standard_point":0},"created_time":"1612852545","modified_time":"1612852548","r_aids":[],"answers":[63664,63665],"number":"1933","rank_id":2}},"question_rank":{"63659":1,"63663":2},"answer_rank":{"63660":1,"63661":2,"63662":3,"63664":1,"63665":2}},"total":{"true":{"survey":"1933","modified_time":"1614929778","question":{"63659":"1933","63663":"1933"},"answer":{"63660":{"number":"1594","score":0,"percent":82.46},"63661":{"number":"218","score":0,"percent":11.28},"63662":{"number":"121","score":0,"percent":6.26},"63664":{"number":"1146","score":0,"percent":59.29},"63665":{"number":"787","score":0,"percent":40.71}}},"fake":{"survey":"1933","modified_time":"1614929778","question":{"63659":"1933","63663":"1933"},"answer":{"63660":{"number":"1594","score":0,"percent":82.46},"63661":{"number":"218","score":0,"percent":11.28},"63662":{"number":"121","score":0,"percent":6.26},"63664":{"number":"1146","score":0,"percent":59.29},"63665":{"number":"787","score":0,"percent":40.71}}}},"records":null}; (function(){var g=__SINA_SURVEY_DATA,k=g&&g.survey.id,y=g&&g.survey.others.display_type,z=[],p={},r=document.getElementById("sina_survey_js_"+k),q="",t="";window.sina_survey_records?(z=window.sina_survey_records[k].answer_ids,p=window.sina_survey_records[k].score):g&&g.records&&(z=g.records.answer_ids,p=g.records.score);var h={addEvent:function(a,b,c){a.attachEvent?a.attachEvent("on"+b,c):a.addEventListener(b,c,!1)},getByClass:function(a,b){a=a.getElementsByTagName("*");b=new RegExp("\\b"+b+"\\b", "i");for(var c=[],d=0;d=c?Math.round(.45*(c-25)):320=c?Math.round(.3*(c-25)):Math.round(.23*(c-25)),d=Math.round(b/a*c)):"sina"==e&&(r?g=r.parentNode:t&&(g=t),c=Math.round(h.getWidth(g)),d=h.getStyle(document.getElementsByTagName("html")[0],"fontSize").split("px")[0],c=Math.round((c-.8*d-.6*d-.1*d)/2),d=Math.round(b/a*c)));return{width:c,height:d}},getPos:function(a){for(var b= a.offsetTop,c=a.offsetLeft;a.offsetParent;)a=a.offsetParent,b+=a.offsetTop+a.clientTop,c+=a.offsetLeft+a.clientLeft;return{left:c,top:b}},getDom:function(a){var b=null;-1!=a.indexOf(".")&&(b=h.getByClass(document,a.split(".")[1])[0]);-1!=a.indexOf("#")&&(b=document.getElementById(a.split("#")[1]));return b},animate:function(a,b){function c(){d==b?clearTimeout(a.timer):(d=b-5>=d?d+5:b,a.timer=setTimeout(function(){a.style.width=d+"%";clearTimeout(a.timer);c()},25))}var d=a.offsetWidth;c()},tranNumber:function(a){a= a.toString();var b;1E4\u8fdb\u884c\u4e2d': '\u5df2\u7ed3\u675f';2!=y&&(e.innerHTML+=''+h.survey+"\u4eba\u53c2\u4e0e");f.className="clearfix";if(1==a.type)for(h=0;h\u5df2\u9009',k="line_active");1==y?w='
'+h.tranNumber(f.number)+"\u7968
":(2==y?r="line_wrap_on": w='
'+h.tranNumber(f.number)+"\u7968
",p='
'+f.percent+"%
");if(""!=b[e].others.answer_img){var t=b[e].others.answer_img_width,A=b[e].others.answer_img_height,x=a.imgInfo||h.getImgWidthHeight(t,A);a.imgInfo=x;var x=a.imgInfo.width,B=a.imgInfo.height,u=b[e].others.answer_img;"pc"==v?320>=this.parentWidth?(q="opt_img_box_max",0==e%2?(n='
',m=""):1==e%2&&(n="",m="
")):320=this.parentWidth?(q="opt_img_box_min", 0==e%3?(n='
',m=""):2==e%3&&(n="",m="
")):0==e%4?(n='
',m=""):3==e%4&&(n="",m="
"):0==e%2?(n='
',m=""):1==e%2&&(n="",m="
");e==b.length-1&&(m="");-1==u.indexOf("http")&&(u=l+u);f='
'+p+"
";c+=n+'
  • '+b[e].description+"

    "+f+w+g+"
  • "+m}else f='
    '+p,c+='
  • '+b[e].description+"

    "+f+w+g+"
  • "}return'

    '+ a.sort_id+"\u3001"+a.description+'

      '+c+"
    "},score:function(a,b){var c="",d=this.getData(),e=d.answer[b[0].id].score.average_score,d=d.answer[b[0].id].score.value,f;for(f in d){var g="",h="";p[b[0].id]&&p[b[0].id]==d[f].val&&(g='
    \u5df2\u9009
    ',h="line_active");c+='
  • '+d[f].val+'\u5206

    '+d[f].percent+"%
    "+g;"
  • "}return'

    '+a.sort_id+"\u3001"+a.description+'

    \u5e73\u5747\u5206\uff1a'+e+'\u5206
      '+c+"
    "},percentEvent:function(){function a(){for(var a=h.getByClass(document,"survey_result_body_"+k)[0],a=h.getByClass(a,"line_box"),c=document.documentElement.clientHeight||document.body.clientHeight, d=document.documentElement.scrollTop||document.body.scrollTop,e=0;e=Number(b[d].others.min_point)&&a<=Number(e)){c=b[d].description;break}}return'

    '+ c.replace(/\[score\]/gim,''+a+"").replace(/<br>/gim,"
    ")+"

    "}}).init()})();