var __SINA_SURVEY_DATA={"survey":{"id":"743","creator":"linan12","title":"\u56fd\u4ea7\u7ea2\u82af\u6d4f\u89c8\u5668\u88ab\u6307\u5957\u58f3\u8c37\u6b4cChrome\uff0c\u4f60\u600e\u4e48\u770b\uff1f","description":"\u8fd1\u671f\uff0c\u4e00\u6b3e\u201c\u7ea2\u82af\u6d4f\u89c8\u5668\u201d\u5728\u7f51\u7edc\u8d70\u7ea2\u3002\u636e\u5b98\u65b9\u4ecb\u7ecd\uff0c\u5176\u6240\u7528\u5185\u6838\u662f\u4e00\u6b3e\u6253\u7834\u7f8e\u56fd\u5784\u65ad\u3001\u4e2d\u56fd\u9996\u4e2a\u81ea\u4e3b\u521b\u65b0\u7684\u667a\u80fd\u6d4f\u89c8\u5668\u5185\u6838\u2014\u2014\u7ea2\u82af\u5185\u6838\u3002\u4e0d\u8fc7\u636e\u7f51\u53cb\u5206\u6790\uff0c\u8be5\u6d4f\u89c8\u5668\u5b9e\u9645\u662f\u57fa\u4e8eChrome\u5f00\u6e90\u9879\u76ee\u7684\u4e00\u6b3e\u4ea7\u54c1\u3002","keyword":"\u7ea2\u82af\u6d4f\u89c8\u5668,Chrome,\u5f00\u6e90\u9879\u76ee,\u521b\u65b0","start_time":"1534387140","end_time":"1537065540","type":"1","channel":"7","status":"2","anti_cheat_strategy":"0","qr_code":"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKIAAACiAQMAAAD4PIRYAAAABlBMVEX\/\/\/8AAABVwtN+AAAA\/UlEQVRIic2W6w3EIAyDIzEAI7F6R+oASDnHLncVA5hD9MHHHys4CRF\/MFrWaJx5j1rcdoonBhDenCRuOiAI70laEk\/RvGbH+iSlNUrcIcoTugPmaPd2bi4qp\/KQ2u5fE31GvximLXFNFP5gqoQQvCK9Tho9Z79oDoTmKsuGm+KjU0lGJ6nSTSmICTNwTlnlw04zkaiisyK1\/OukzNVvdLCUXieNtywKjRMUTlVQMLVnpuof2mcRW\/41Ug3lTFtF3EzbUlMlg231AH06mWZs3dRFdavIR+UTnQO0oqOfVTUO0C6XlmVn+Gn8LpcxtOGmFMQayv4R433f8dA\/GB87b8tmk0EJvQAAAABJRU5ErkJggg==","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\/600\/w300h300\/20180816\/f2a3-hhvciiv6508695.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":"http:\/\/tech.sina.com.cn\/csj\/2018-08-16\/doc-ihhtfwqs0816611.shtml","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":"1534387207","modified_time":"1537065545"},"content":{"question":[{"id":"11228","survey_id":"743","type":"1","parent_id":"743","sort_id":"1","status":"1","description":"\u56fd\u4ea7\u7ea2\u82af\u6d4f\u89c8\u5668\u88ab\u6307\u5957\u58f3\u8c37\u6b4cChrome\uff0c\u4f60\u600e\u4e48\u770b\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":"1534387337","modified_time":"1534389132","r_aids":[],"answers":[11229,11230,11231],"number":"13825"}],"answer":{"11228":[{"id":"11229","survey_id":"743","type":"2","parent_id":"11228","sort_id":"1","status":"1","description":"\u6709\u95ee\u9898\uff0c\u6284\u88ad\u5c31\u4e0d\u80fd\u81ea\u79f0\u81ea\u4e3b","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":"1534387337","modified_time":"1534389132","number":"12292"},{"id":"11231","survey_id":"743","type":"2","parent_id":"11228","sort_id":"3","status":"1","description":"\u8bf4\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":"1534387337","modified_time":"1534389132","number":"808"},{"id":"11230","survey_id":"743","type":"2","parent_id":"11228","sort_id":"2","status":"1","description":"\u6ca1\u95ee\u9898\uff0c\u9002\u5f53\u7684\u201c\u5f15\u7528\u201d\u800c\u5df2","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":"1534387337","modified_time":"1534389132","number":"725"}]},"point":[],"group":[],"a_q":{"11229":11228,"11230":11228,"11231":11228},"question_obj":{"11228":{"id":"11228","survey_id":"743","type":"1","parent_id":"743","sort_id":"1","status":"1","description":"\u56fd\u4ea7\u7ea2\u82af\u6d4f\u89c8\u5668\u88ab\u6307\u5957\u58f3\u8c37\u6b4cChrome\uff0c\u4f60\u600e\u4e48\u770b\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":"1534387337","modified_time":"1534389132","r_aids":[],"answers":[11229,11230,11231],"number":"13825","rank_id":1}},"question_rank":{"11228":1},"answer_rank":{"11229":1,"11231":2,"11230":3}},"total":{"true":{"survey":"13825","modified_time":"1536856103","question":{"11228":"13825"},"answer":{"11229":{"number":"12292","score":0,"percent":88.91},"11230":{"number":"725","score":0,"percent":5.24},"11231":{"number":"808","score":0,"percent":5.84}}},"fake":{"survey":"13825","modified_time":"1536856103","question":{"11228":"13825"},"answer":{"11229":{"number":"12292","score":0,"percent":88.91},"11230":{"number":"725","score":0,"percent":5.24},"11231":{"number":"808","score":0,"percent":5.84}}}},"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()})();