var __SINA_SURVEY_DATA={"survey":{"id":"582","creator":"xuewen","title":"2018\u5e746\u6708\u5973\u661f\u7f8e\u5986\u699c","description":"\u672c\u6708\u699c\u5355\u4e2d\u6709\u83b7\u5f97\u4e86\u4e13\u4e1a\u5956\u9879\u8ba4\u53ef\u7684\u9a6c\u4f0a\u740d\u3001\u5468\u51ac\u96e8\uff0c\u6709\u9738\u5c4f\u7684\u6768\u5e42\u3001\u5b8b\u831c\u3001\u5510\u5ae3\u3001\u70ed\u5df4\uff0c\u6709\u73b0\u8c61\u7ea7\u201c\u706b\u7bad\u5c11\u5973\u201d\u5b5f\u7f8e\u5c90\u3001\u5434\u5ba3\u4eea\uff0c\u8fd8\u6709\u8d70\u8fdb\u8003\u573a\u7684\u5b8b\u7956\u513f\u548c\u91cd\u8fd4\u6821\u56ed\u7684\u6b27\u9633\u5a1c\u5a1c\u3002\u672c\u6708\u4f60\u6700\u559c\u6b22\u8c01\u7684\u5986\u53d1\u9020\u578b\u5462\uff1f","keyword":"\u5973\u661f\u7ea2\u9ed1\u699c,\u5468\u51ac\u96e8,\u5b8b\u831c,\u6768\u5e42,\u5510\u5ae3,\u5b5f\u7f8e\u5c90,\u5434\u5ba3\u4eea,\u6b27\u9633\u5a1c\u5a1c,\u521b\u9020101,","start_time":"1530157320","end_time":"1530583200","type":"1","channel":"1","status":"2","anti_cheat_strategy":"0","qr_code":"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKIAAACiAQMAAAD4PIRYAAAABlBMVEX\/\/\/8AAABVwtN+AAABBElEQVRIic2W0Q2EMAxDLXWAjtTVO1IHQMrFSXoHx7+hAkTfl5W4ToEXrGZc6LOtcWBws+TUXwz\/mk1bA0nUdPiG+kKZ\/zxF0c0RHqVZo5teGY0O2TyAW99UNJzaKI7Pxb8quk\/ojDL9n1sNjbp8ezPCr3K6cFRk0DG\/vmkp1XRziX5mQK\/IaUSnb0LfKcGF1I+KC6KaXlGeXtFSFqj0eX51a3JaA4xTxGKcDD1FSqEmhhfyq6UtBWV65nSX0\/JrHBiLVp1cLKKV4HSJ5UgzPY1JBtRMvUxTHd23CoYXC5QJrqfZq5xneIhGgcq4p+rIKDIstldmKpPSfbOx3Z7LfUdCX7A+2q1tHJ3kdsEAAAAASUVORK5CYII=","others":{"result_show":"1","result_save":"0","result_order":"2","true_result":"0","vote_show":"1","vote_login":"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":"http:\/\/www.sina.com.cn","display_type":"3","text_detail":"","text_detail_url":"","repetition_attr":"1","repetition_user_cookie_device":"2","repetition_interval":"1","result_interval_show":"0","repetition_interval_did":"0","repetition_freq_did":"0","final_result_show":1},"created_time":"1530157383","modified_time":"1530598182"},"content":{"question":[{"id":"9252","survey_id":"582","type":"1","parent_id":"582","sort_id":"1","status":"1","description":"2018\u5e746\u6708\u5973\u661f\u7f8e\u5986\u699c","others":{"question_selection":"1","question_type":"2","question_img":"","checkbox_num_least":1,"checkbox_num_most":3,"score_display_type":0,"score_num_least":0,"score_num_most":0,"standard_point":0},"created_time":"1530157598","modified_time":"1530157598","r_aids":[],"answers":[9253,9254,9255,9256,9257,9258,9259,9260,9261,9262],"number":"1052484"}],"answer":{"9252":[{"id":"9259","survey_id":"582","type":"2","parent_id":"9252","sort_id":"7","status":"1","description":"\u5b5f\u7f8e\u5c90","others":{"next_question":0,"answer_img":"https:\/\/n.sinaimg.cn\/vote\/600\/w600h800\/20180628\/71ad-heqpwqy0304379.jpg","answer_img_width":"600","answer_img_height":"800","answer_type_blank":0,"standard_point":0,"next_question_id":null},"created_time":"1530157598","modified_time":"1530157598","number":"628636"},{"id":"9260","survey_id":"582","type":"2","parent_id":"9252","sort_id":"8","status":"1","description":"\u5434\u5ba3\u4eea","others":{"next_question":0,"answer_img":"https:\/\/n.sinaimg.cn\/vote\/600\/w600h800\/20180628\/a071-heqpwqy0305572.jpg","answer_img_width":"600","answer_img_height":"800","answer_type_blank":0,"standard_point":0,"next_question_id":null},"created_time":"1530157598","modified_time":"1530157598","number":"419082"},{"id":"9253","survey_id":"582","type":"2","parent_id":"9252","sort_id":"1","status":"1","description":"\u5b8b\u831c","others":{"next_question":0,"answer_img":"https:\/\/n.sinaimg.cn\/vote\/600\/w600h800\/20180628\/da83-heqpwqy0298940.jpg","answer_img_width":"600","answer_img_height":"800","answer_type_blank":0,"standard_point":0,"next_question_id":null},"created_time":"1530157598","modified_time":"1530157598","number":"5757"},{"id":"9255","survey_id":"582","type":"2","parent_id":"9252","sort_id":"3","status":"1","description":"\u8fea\u4e3d\u70ed\u5df4","others":{"next_question":0,"answer_img":"https:\/\/n.sinaimg.cn\/vote\/600\/w600h800\/20180628\/1de6-heqpwqy0301431.jpg","answer_img_width":"600","answer_img_height":"800","answer_type_blank":0,"standard_point":0,"next_question_id":null},"created_time":"1530157598","modified_time":"1530157598","number":"3561"},{"id":"9254","survey_id":"582","type":"2","parent_id":"9252","sort_id":"2","status":"1","description":"\u6768\u5e42","others":{"next_question":0,"answer_img":"https:\/\/n.sinaimg.cn\/vote\/600\/w600h800\/20180628\/00a0-heqpwqy0300479.jpg","answer_img_width":"600","answer_img_height":"800","answer_type_blank":0,"standard_point":0,"next_question_id":null},"created_time":"1530157598","modified_time":"1530157598","number":"2660"},{"id":"9256","survey_id":"582","type":"2","parent_id":"9252","sort_id":"4","status":"1","description":"\u5510\u5ae3","others":{"next_question":0,"answer_img":"https:\/\/n.sinaimg.cn\/vote\/600\/w600h800\/20180628\/9d00-heqpwqy0310891.jpg","answer_img_width":"600","answer_img_height":"800","answer_type_blank":0,"standard_point":0,"next_question_id":null},"created_time":"1530157598","modified_time":"1530157598","number":"1179"},{"id":"9262","survey_id":"582","type":"2","parent_id":"9252","sort_id":"10","status":"1","description":"\u5b8b\u7956\u513f","others":{"next_question":0,"answer_img":"https:\/\/n.sinaimg.cn\/vote\/600\/w600h800\/20180628\/5a1c-heqpwqy0315770.jpg","answer_img_width":"600","answer_img_height":"800","answer_type_blank":0,"standard_point":0,"next_question_id":null},"created_time":"1530157598","modified_time":"1530157598","number":"997"},{"id":"9261","survey_id":"582","type":"2","parent_id":"9252","sort_id":"9","status":"1","description":"\u6b27\u9633\u5a1c\u5a1c","others":{"next_question":0,"answer_img":"https:\/\/n.sinaimg.cn\/vote\/600\/w600h800\/20180628\/4a16-heqpwqy0307519.jpg","answer_img_width":"600","answer_img_height":"800","answer_type_blank":0,"standard_point":0,"next_question_id":null},"created_time":"1530157598","modified_time":"1530157598","number":"548"},{"id":"9258","survey_id":"582","type":"2","parent_id":"9252","sort_id":"6","status":"1","description":"\u5468\u51ac\u96e8","others":{"next_question":0,"answer_img":"https:\/\/n.sinaimg.cn\/vote\/600\/w600h800\/20180628\/d5c8-heqpwqy0303538.jpg","answer_img_width":"600","answer_img_height":"800","answer_type_blank":0,"standard_point":0,"next_question_id":null},"created_time":"1530157598","modified_time":"1530157598","number":"430"},{"id":"9257","survey_id":"582","type":"2","parent_id":"9252","sort_id":"5","status":"1","description":"\u9a6c\u4f0a\u740d","others":{"next_question":0,"answer_img":"https:\/\/n.sinaimg.cn\/vote\/600\/w600h800\/20180628\/c2b9-heqpwqy0302359.jpg","answer_img_width":"600","answer_img_height":"800","answer_type_blank":0,"standard_point":0,"next_question_id":null},"created_time":"1530157598","modified_time":"1530157598","number":"124"}]},"point":[],"group":[],"a_q":{"9253":9252,"9254":9252,"9255":9252,"9256":9252,"9257":9252,"9258":9252,"9259":9252,"9260":9252,"9261":9252,"9262":9252},"question_obj":{"9252":{"id":"9252","survey_id":"582","type":"1","parent_id":"582","sort_id":"1","status":"1","description":"2018\u5e746\u6708\u5973\u661f\u7f8e\u5986\u699c","others":{"question_selection":"1","question_type":"2","question_img":"","checkbox_num_least":1,"checkbox_num_most":3,"score_display_type":0,"score_num_least":0,"score_num_most":0,"standard_point":0},"created_time":"1530157598","modified_time":"1530157598","r_aids":[],"answers":[9253,9254,9255,9256,9257,9258,9259,9260,9261,9262],"number":"1052484","rank_id":1}},"question_rank":{"9252":1},"answer_rank":{"9259":1,"9260":2,"9253":3,"9255":4,"9254":5,"9256":6,"9262":7,"9261":8,"9258":9,"9257":10}},"total":{"true":{"survey":"1052484","modified_time":"1530583456","question":{"9252":"1052484"},"answer":{"9253":{"number":"5757","score":0,"percent":0.54},"9254":{"number":"2660","score":0,"percent":0.25},"9255":{"number":"3561","score":0,"percent":0.34},"9256":{"number":"1179","score":0,"percent":0.11},"9257":{"number":"124","score":0,"percent":0.01},"9258":{"number":"430","score":0,"percent":0.04},"9259":{"number":"628636","score":0,"percent":59.14},"9260":{"number":"419082","score":0,"percent":39.43},"9261":{"number":"548","score":0,"percent":0.05},"9262":{"number":"997","score":0,"percent":0.09}}},"fake":{"survey":"1052484","modified_time":"1530583456","question":{"9252":"1052484"},"answer":{"9253":{"number":"5757","score":0,"percent":0.54},"9254":{"number":"2660","score":0,"percent":0.25},"9255":{"number":"3561","score":0,"percent":0.34},"9256":{"number":"1179","score":0,"percent":0.11},"9257":{"number":"124","score":0,"percent":0.01},"9258":{"number":"430","score":0,"percent":0.04},"9259":{"number":"628636","score":0,"percent":59.14},"9260":{"number":"419082","score":0,"percent":39.43},"9261":{"number":"548","score":0,"percent":0.05},"9262":{"number":"997","score":0,"percent":0.09}}}},"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()})();