var __SINA_SURVEY_DATA={"survey":{"id":"652","creator":"yangqun","title":"\u7206\u96f7\u6f6e\u51b2\u51fbP2P\u884c\u4e1a\uff0c\u4f60\u600e\u4e48\u770b\uff1f","description":"\u7206\u96f7\u6f6e\u51b2\u51fbP2P\u884c\u4e1a\uff0c\u4f60\u600e\u4e48\u770b\uff1f","keyword":"\u7f51\u8d37,P2P,\u7206\u96f7,","start_time":"1531807500","end_time":"1533017100","type":"1","channel":"8","status":"2","anti_cheat_strategy":"1","qr_code":"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKIAAACiAQMAAAD4PIRYAAAABlBMVEX\/\/\/8AAABVwtN+AAAA\/klEQVRIic2W3Q0DIQyDIzEAI7F6RroBkGhip7TXvptDtIIvLxbOz5k9YLWVy7q3a0wbebnkNH42Ysdl5gFETeM+Ql8D5eEItb4g6yi1DGyJcgqHusOkH99UFJka+rhv+auiu0Jjz\/+6lVDeV2ryOKBy1BTZmfZMZEw5pKaWDoWsy\/BAY+lpFEkqywNj0+TUbHbkR69WXnqVNObHqnircaKm25hsHH1xnIgppaB1ON7I6ZuSEs2U5YyZnHKlK8iPduueIvrp4OhfKVRPMcnae46yaOV0UBDK5v1gJygmOmWNU7QhgKy9vY6Kboec\/1WxSlqZavymCfSdvxr6gPUCRxZ5xHRo3bIAAAAASUVORK5CYII=","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\/793\/w450h343\/20180717\/8ef0-hfkffam2485698.jpg","comment":"1","survey_summary":"\u6295\u7968\u6210\u529f\uff0c\u611f\u8c22\u60a8\u7684\u53c2\u4e0e\uff01","redirect_url":"http:\/\/finance.sina.com.cn\/zt_d\/blkc\/","display_type":"1","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":"1531807635","modified_time":"1533017105"},"content":{"question":[{"id":"9903","survey_id":"652","type":"1","parent_id":"652","sort_id":"1","status":"1","description":"\u7f51\u8d37\u673a\u6784\u6301\u7eed\u7206\u96f7\uff0c\u4f60\u600e\u4e48\u770b\uff1f","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":"1531809152","modified_time":"1531809362","r_aids":[],"answers":[9904,9905,9906],"number":"2312"},{"id":"9895","survey_id":"652","type":"1","parent_id":"652","sort_id":"2","status":"1","description":"\u4f60\u5bf9\u7f51\u8d37\u673a\u6784\u672a\u6765\u53d1\u5c55\u6709\u4fe1\u5fc3\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":"1531808248","modified_time":"1531809362","r_aids":[],"answers":[9896,9897,9898],"number":"2313"},{"id":"9899","survey_id":"652","type":"1","parent_id":"652","sort_id":"3","status":"1","description":"\u4f60\u4f1a\u7ee7\u7eed\u6295\u8d44\u7f51\u8d37\u5e73\u53f0\u4ea7\u54c1\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":"1531808278","modified_time":"1531809362","r_aids":[],"answers":[9900,9901,9902],"number":"2313"}],"answer":{"9895":[{"id":"9897","survey_id":"652","type":"2","parent_id":"9895","sort_id":"2","status":"1","description":"\u6ca1\u6709\u4fe1\u5fc3","others":{"next_question":0,"answer_img":"","answer_img_width":"undefined","answer_img_height":"undefined","answer_type_blank":0,"standard_point":0,"next_question_id":9899},"created_time":"1531808248","modified_time":"1531809362","number":"1171"},{"id":"9896","survey_id":"652","type":"2","parent_id":"9895","sort_id":"1","status":"1","description":"\u6709\u4fe1\u5fc3","others":{"next_question":0,"answer_img":"","answer_img_width":"undefined","answer_img_height":"undefined","answer_type_blank":0,"standard_point":0,"next_question_id":9899},"created_time":"1531808248","modified_time":"1531809362","number":"702"},{"id":"9898","survey_id":"652","type":"2","parent_id":"9895","sort_id":"3","status":"1","description":"\u4e0d\u597d\u8bf4","others":{"next_question":0,"answer_img":"","answer_img_width":"undefined","answer_img_height":"undefined","answer_type_blank":0,"standard_point":0,"next_question_id":9899},"created_time":"1531808248","modified_time":"1531809362","number":"440"}],"9899":[{"id":"9901","survey_id":"652","type":"2","parent_id":"9899","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":"1531808278","modified_time":"1531809362","number":"1329"},{"id":"9900","survey_id":"652","type":"2","parent_id":"9899","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":"1531808278","modified_time":"1531809362","number":"624"},{"id":"9902","survey_id":"652","type":"2","parent_id":"9899","sort_id":"3","status":"1","description":"\u4e0d\u597d\u8bf4","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":"1531808278","modified_time":"1531809362","number":"360"}],"9903":[{"id":"9904","survey_id":"652","type":"2","parent_id":"9903","sort_id":"1","status":"1","description":"\u7f51\u8d37\u884c\u4e1a\u826f\u83a0\u4e0d\u9f50","others":{"next_question":0,"answer_img":"","answer_img_width":"undefined","answer_img_height":"undefined","answer_type_blank":0,"standard_point":0,"next_question_id":9895},"created_time":"1531809152","modified_time":"1531809362","number":"1509"},{"id":"9906","survey_id":"652","type":"2","parent_id":"9903","sort_id":"3","status":"1","description":"\u6295\u8d44\u8005\u53d7\u5230\u8206\u8bba\u5f71\u54cd\u6709\u6050\u614c\u60c5\u7eea","others":{"next_question":0,"answer_img":"","answer_img_width":"undefined","answer_img_height":"undefined","answer_type_blank":0,"standard_point":0,"next_question_id":9895},"created_time":"1531809152","modified_time":"1531809362","number":"1376"},{"id":"9905","survey_id":"652","type":"2","parent_id":"9903","sort_id":"2","status":"1","description":"\u4e92\u91d1\u98ce\u9669\u4e13\u9879\u6574\u6cbb\u6548\u679c\u660e\u663e","others":{"next_question":0,"answer_img":"","answer_img_width":"undefined","answer_img_height":"undefined","answer_type_blank":0,"standard_point":0,"next_question_id":9895},"created_time":"1531809152","modified_time":"1531809362","number":"571"}]},"point":[],"group":[],"a_q":{"9896":9895,"9897":9895,"9898":9895,"9900":9899,"9901":9899,"9902":9899,"9904":9903,"9905":9903,"9906":9903},"question_obj":{"9903":{"id":"9903","survey_id":"652","type":"1","parent_id":"652","sort_id":"1","status":"1","description":"\u7f51\u8d37\u673a\u6784\u6301\u7eed\u7206\u96f7\uff0c\u4f60\u600e\u4e48\u770b\uff1f","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":"1531809152","modified_time":"1531809362","r_aids":[],"answers":[9904,9905,9906],"number":"2312","rank_id":1},"9895":{"id":"9895","survey_id":"652","type":"1","parent_id":"652","sort_id":"2","status":"1","description":"\u4f60\u5bf9\u7f51\u8d37\u673a\u6784\u672a\u6765\u53d1\u5c55\u6709\u4fe1\u5fc3\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":"1531808248","modified_time":"1531809362","r_aids":[],"answers":[9896,9897,9898],"number":"2313","rank_id":2},"9899":{"id":"9899","survey_id":"652","type":"1","parent_id":"652","sort_id":"3","status":"1","description":"\u4f60\u4f1a\u7ee7\u7eed\u6295\u8d44\u7f51\u8d37\u5e73\u53f0\u4ea7\u54c1\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":"1531808278","modified_time":"1531809362","r_aids":[],"answers":[9900,9901,9902],"number":"2313","rank_id":3}},"question_rank":{"9903":1,"9895":2,"9899":3},"answer_rank":{"9897":1,"9896":2,"9898":3,"9901":1,"9900":2,"9902":3,"9904":1,"9906":2,"9905":3}},"total":{"true":{"survey":"2313","modified_time":"1533016783","question":{"9891":"1","9895":"2313","9899":"2313","9903":"2312"},"answer":{"9892":{"number":"0","score":0},"9893":{"number":"1","score":0},"9894":{"number":"0","score":0},"9896":{"number":"702","score":0,"percent":30.35},"9897":{"number":"1171","score":0,"percent":50.63},"9898":{"number":"440","score":0,"percent":19.02},"9900":{"number":"624","score":0,"percent":26.98},"9901":{"number":"1329","score":0,"percent":57.46},"9902":{"number":"360","score":0,"percent":15.56},"9904":{"number":"1509","score":0,"percent":43.66},"9905":{"number":"571","score":0,"percent":16.52},"9906":{"number":"1376","score":0,"percent":39.81}}},"fake":{"survey":"2313","modified_time":"1533016783","question":{"9891":"1","9895":"2313","9899":"2313","9903":"2312"},"answer":{"9892":{"number":"0","score":0},"9893":{"number":"1","score":0},"9894":{"number":"0","score":0},"9896":{"number":"702","score":0,"percent":30.35},"9897":{"number":"1171","score":0,"percent":50.63},"9898":{"number":"440","score":0,"percent":19.02},"9900":{"number":"624","score":0,"percent":26.98},"9901":{"number":"1329","score":0,"percent":57.46},"9902":{"number":"360","score":0,"percent":15.56},"9904":{"number":"1509","score":0,"percent":43.66},"9905":{"number":"571","score":0,"percent":16.52},"9906":{"number":"1376","score":0,"percent":39.81}}}},"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()})();