var __SINA_SURVEY_DATA={"survey":{"id":"513","creator":"yongle1","title":"\u4e2a\u7a0e\u8d77\u5f81\u70b9\u8c03\u81f3\u6bcf\u67085000\u5143\uff0c\u4f60\u600e\u4e48\u770b\uff1f","description":"\u4e2a\u7a0e\u6cd5\u8fce\u7b2c\u4e03\u6b21\u5927\u4fee\uff0c\u4e2a\u7a0e\u8d77\u5f81\u70b9\u7531\u6bcf\u67083500\u5143\u63d0\u9ad8\u81f3\u6bcf\u67085000\u5143\uff08\u6bcf\u5e746\u4e07\u5143\uff09","keyword":"\u4e2a\u7a0e,\u8d77\u5f81\u70b9","start_time":"1529379856","end_time":"1624074240","type":"1","channel":"8","status":"2","anti_cheat_strategy":"1","qr_code":"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKIAAACiAQMAAAD4PIRYAAAABlBMVEX\/\/\/8AAABVwtN+AAABBUlEQVRIic2W0Q3DIAxET8oAGcmrMxIDILk+G6ho\/i9FTQWPn5N9tgH+YF3Ohbtd3QaMhy6n8cHi3715NxRRU4sD9aWy2LxFcXsgvEorRg+9MpoZ8jaAR95UNJ16URx\/h39VdFVoyzD91q2GZlx2biz9KqedF2kROuabNyUNQat5Rc2AXlHTvRtsoDtlUhqywH7B69I39QrpVLaiM+7sGloaHwcYo+M5TkxPQxDLI5xam3mUUlYsRwgqRgyTnG5nxp13zCmipbuD06mZHtfTnGTAnKnHNNXRelUwT\/m+QXVwPc0mPucZXqLVO8oux5tLRFEvG89xwv4FOV1O9ZWew78S+gfrA+C9azberzPaAAAAAElFTkSuQmCC","others":{"result_show":"1","result_save":"0","result_order":"0","true_result":"1","vote_show":"1","vote_login":"1","share_img":"\/\/n.sinaimg.cn\/vote\/798\/w473h325\/20180619\/3c38-heauxvz4593296.jpg","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":"0","repetition_user_cookie_device":"1","repetition_interval":"1","result_interval_show":"0","repetition_interval_did":"0","repetition_freq_did":"0","final_result_show":1},"created_time":"1529379986","modified_time":"1624074240"},"content":{"question":[{"id":"8823","survey_id":"513","type":"1","parent_id":"513","sort_id":"1","status":"1","description":"\u4e2a\u7a0e\u8d77\u5f81\u70b9\u62df\u63d0\u5347\u81f3\u6bcf\u67085000\u5143\uff0c\u7b26\u5408\u4f60\u7684\u671f\u5f85\u5417\uff1f","others":{"question_selection":"1","question_type":"1","question_img":"","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":"1529380455","modified_time":"1529380455","r_aids":[],"answers":[8824,8825,8826],"number":"2313"},{"id":"8827","survey_id":"513","type":"1","parent_id":"513","sort_id":"2","status":"1","description":"\u4e2a\u7a0e\u8d77\u5f81\u70b9\u63d0\u9ad8\uff0c\u4f60\u7684\u6536\u5165\u4f1a\u53d7\u5230\u5f71\u54cd\u5417\uff1f","others":{"question_selection":"1","question_type":"1","question_img":"","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":"1529380455","modified_time":"1529380455","r_aids":[],"answers":[8828,8829,8830],"number":"2313"}],"answer":{"8823":[{"id":"8825","survey_id":"513","type":"2","parent_id":"8823","sort_id":"2","status":"1","description":"\u4e0d\u7b26\u5408","others":{"next_question":0,"answer_img":"","answer_img_width":"undefined","answer_img_height":"undefined","answer_type_blank":0,"standard_point":0,"next_question_id":8827},"created_time":"1529380455","modified_time":"1529380455","number":"1953"},{"id":"8824","survey_id":"513","type":"2","parent_id":"8823","sort_id":"1","status":"1","description":"\u7b26\u5408","others":{"next_question":0,"answer_img":"","answer_img_width":"undefined","answer_img_height":"undefined","answer_type_blank":0,"standard_point":0,"next_question_id":8827},"created_time":"1529380455","modified_time":"1529380455","number":"274"},{"id":"8826","survey_id":"513","type":"2","parent_id":"8823","sort_id":"3","status":"1","description":"\u4e0d\u4e88\u7f6e\u8bc4","others":{"next_question":0,"answer_img":"","answer_img_width":"undefined","answer_img_height":"undefined","answer_type_blank":0,"standard_point":0,"next_question_id":8827},"created_time":"1529380455","modified_time":"1529380455","number":"87"}],"8827":[{"id":"8828","survey_id":"513","type":"2","parent_id":"8827","sort_id":"1","status":"1","description":"\u4f1a","others":{"next_question":0,"answer_img":"","answer_img_width":"undefined","answer_img_height":"undefined","answer_type_blank":0,"standard_point":0,"next_question_id":null},"created_time":"1529380455","modified_time":"1529380455","number":"1489"},{"id":"8829","survey_id":"513","type":"2","parent_id":"8827","sort_id":"2","status":"1","description":"\u4e0d\u4f1a","others":{"next_question":0,"answer_img":"","answer_img_width":"undefined","answer_img_height":"undefined","answer_type_blank":0,"standard_point":0,"next_question_id":null},"created_time":"1529380455","modified_time":"1529380455","number":"701"},{"id":"8830","survey_id":"513","type":"2","parent_id":"8827","sort_id":"3","status":"1","description":"\u4e0d\u6e05\u695a","others":{"next_question":0,"answer_img":"","answer_img_width":"undefined","answer_img_height":"undefined","answer_type_blank":0,"standard_point":0,"next_question_id":null},"created_time":"1529380455","modified_time":"1529380455","number":"127"}]},"point":[],"group":[],"a_q":{"8824":8823,"8825":8823,"8826":8823,"8828":8827,"8829":8827,"8830":8827},"question_obj":{"8823":{"id":"8823","survey_id":"513","type":"1","parent_id":"513","sort_id":"1","status":"1","description":"\u4e2a\u7a0e\u8d77\u5f81\u70b9\u62df\u63d0\u5347\u81f3\u6bcf\u67085000\u5143\uff0c\u7b26\u5408\u4f60\u7684\u671f\u5f85\u5417\uff1f","others":{"question_selection":"1","question_type":"1","question_img":"","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":"1529380455","modified_time":"1529380455","r_aids":[],"answers":[8824,8825,8826],"number":"2313","rank_id":1},"8827":{"id":"8827","survey_id":"513","type":"1","parent_id":"513","sort_id":"2","status":"1","description":"\u4e2a\u7a0e\u8d77\u5f81\u70b9\u63d0\u9ad8\uff0c\u4f60\u7684\u6536\u5165\u4f1a\u53d7\u5230\u5f71\u54cd\u5417\uff1f","others":{"question_selection":"1","question_type":"1","question_img":"","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":"1529380455","modified_time":"1529380455","r_aids":[],"answers":[8828,8829,8830],"number":"2313","rank_id":2}},"question_rank":{"8823":1,"8827":2},"answer_rank":{"8825":1,"8824":2,"8826":3,"8828":1,"8829":2,"8830":3}},"total":{"true":{"survey":"2313","modified_time":"1537494283","question":{"8823":"2313","8827":"2313"},"answer":{"8824":{"number":"274","score":0,"percent":11.84},"8825":{"number":"1953","score":0,"percent":84.4},"8826":{"number":"87","score":0,"percent":3.76},"8828":{"number":"1489","score":0,"percent":64.26},"8829":{"number":"701","score":0,"percent":30.25},"8830":{"number":"127","score":0,"percent":5.48}}},"fake":{"survey":"2313","modified_time":"1537494283","question":{"8823":"2313","8827":"2313"},"answer":{"8824":{"number":"274","score":0,"percent":11.84},"8825":{"number":"1953","score":0,"percent":84.4},"8826":{"number":"87","score":0,"percent":3.76},"8828":{"number":"1489","score":0,"percent":64.26},"8829":{"number":"701","score":0,"percent":30.25},"8830":{"number":"127","score":0,"percent":5.48}}}},"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()})();