02J]L{ lp)0M4vs;k5 joX-yb ׅ.y6d nT ʙݕpr5EtM\[|ROK^ ygu^n9*` T>KPU^GAa Z._ͤ+hf7\Wl~~~[!*{_>{rc=tyS3 ^q< 3α[ tpiq¤PTqN fz-R{(aFZ"Z,$b L]32]GnHöoG Ρߗ;v2܋i,VH_9[VޖF$6*ЇN3MTIQxv0b"s[| lu}ETPi <{ܿ<m}#:o[!$<-TY8]$R*D ԅO* &׫R:#6<_ :jnb7xvnAhViM2Xy f"5.sO!e]ih-|z}u}lx:2 irIkn;0T݋Sb%lYl`]N;QfǗܧ@Ĥ*8eqPӽiJHabGʕf_Ld#mZn5gץa&!R-@!cxN؊TJeV$bfD؉r5^ :d?~KY;/Dap81- lĿbEa7ߚ>"4򡽀 [`z6W)XӇbv܉]K˯b, bYpqpdMv#4SB`E#vb텐^ږ ϋeL_Cf/r`eS!xT(+EaƮfzA.ڽ+\3,c?X"m۶Qˬ/>/1S0RޏZ0~K6 -YSR(R67{< 3e( O}I`O֤TYB:BD]s{qzl{q6liOm)mp˔ -lHA ǐjMg0,ڱ&k(nIW@ί>&ҹP*c.&w3NQ͝- 6?0#]*6 {Aoä6J2У#,6&WEtZ`.ނ{l,I9|A+ڂSFZtg{-MMg@R6jX!VDf$1= ݠV #t~L>RoVJ="1eCE)^ Ӈeb^6_.O<>=%xoanIH $az^+[65ʌ)Rv/($D#eMVR r:&{xD Zzb~7jƴʶ9ҟ(-KD"GJoI%]jVG 5:5HAVɫ7}X) Wzણk5`ˬ^=6sQ?* md`yks^à =VY'QpGA |/䫥%XT* Vx$D1a+il!d-BWvrE;VN(_a n5/1,Teaha仫ptT[$^?n9%ɕn _renderUserList (data) { var uids = _getRandom(data.uids, 10); var group = data.group; var uidsLen = uids.length; var i = 0; var listStr = []; recList.innerHTML = ''; // var frag = document.createDocumentFragment(); for(var i = 0; i < uidsLen; i ++){ listStr.push('\
  • \ \ ' + '\ \ \

    ' + _substr(uids[i].name, 0, 14) + '

    \

    ' + _substr(uids[i].v_reason, 0, 16) + '

    \
  • \ '); } listStr = listStr.join(''); recList.innerHTML = listStr; // recList.appendChild(frag); btn_more.innerHTML = 'ע' + group.mark; btn_more.href = 'http://wp.news.sina.com.cn/?s=default&a=fans_list_view&group_id=' + group.id; btn_more1.href = 'http://wp.news.sina.com.cn/?s=default&a=fans_list_view&group_id=' + group.id; } function _initRecEvent () { if(eventInited) return; _addListener(btn_fl, 'click', function (e) { if(requesting) return; var cked = Q('.checked', recW); var ckedLen = cked.length; var uids = []; if(ckedLen == 0){ _alert('ѡעû', 'wrong'); return; } try{ SUDA.uaTrack("content_weibo_user", "contentfo:" + ckedLen); } catch(e){} for(var i = 0; i < ckedLen; i++){ uids.push(cked[i].getAttribute('data-uid')); } uids = uids.join(','); if(!Weibo.Login.check()){ var loginDlg = Weibo.Widgets.getLoginDialog(); loginDlg.loginCallbackOnce = function() { try{ SINA_OUTLOGIN_LAYER.listener.fire("login_success"); } catch(e){} requesting = true; callbacked = true; Weibo.apis.batchFollow({ data: {uids: uids}, onsuccess: function() { var uid; try{ uid = sinaSSOController.getSinaCookie().uid; } catch(e){} for(var i = 0; i < ckedLen; i ++){ cked[i].setAttribute('data-followed', '1'); } _alert('עɹ', 'right'); if(!refreshed){ _refreshDom(uid); refreshed = true; } requesting = false; }, onfailure: function(st) { _alert('עʧ', 'wrong'); requesting = false; } }); }; loginDlg.show(); if (!callbackedItv) { callbackedItv = setInterval(function() { if (callbacked) { clearInterval(callbackedItv); callbackedItv = null; return; } if (!sinaSSOController.getSinaCookie()) { return; } try { loginDlg.hide(); SINA_OUTLOGIN_LAYER.listener.fire("login_success"); } catch (e) {} requesting = true; callbacked = true; Weibo.apis.batchFollow({ data: {uids: uids}, onsuccess: function() { var uid; try{ uid = sinaSSOController.getSinaCookie().uid; } catch(e){} for(var i = 0; i < ckedLen; i ++){ cked[i].setAttribute('data-followed', '1'); } _alert('עɹ', 'right'); if(!refreshed){ _refreshDom(uid); refreshed = true; } requesting = false; }, onfailure: function(st) { _alert('עʧ', 'wrong'); requesting = false; } }); }, 1500); } return; } requesting = true; callbacked = true; Weibo.apis.batchFollow({ data: {uids: uids}, onsuccess: function() { for(var i = 0; i < ckedLen; i ++){ cked[i].setAttribute('data-followed', '1'); } _alert('עɹ', 'right'); _enableBtn(false); requesting = false; }, onfailure: function(st) { _alert('עʧ', 'wrong'); requesting = false; } }); }); try{ SAB.evt.custEvent.add(SAB, 'ce_login',function(e){ var uid = sinaSSOController.getSinaCookie().uid; if(refreshed) return; _refreshDom(uid); },{}); SAB.evt.custEvent.add(SAB, 'ce_logout',function(e){ refreshed = false; },{}); } catch(e){} _delegate(recW, 'click', '.wb_rank_check', function (e) { var check = this; var _className = check.className; if(_className == 'wb_rank_check checked'){ check.className = 'wb_rank_check'; } else{ check.className = 'wb_rank_check checked'; } _checkBtn(); }); eventInited = true; } function _getRandom (list, num) { if(list.length <= 10){ return list; } var ret = []; var temp_array = []; for (var i in list) { temp_array.push(list[i]); } for (var i = 0; i < num; i++) { if (temp_array.length > 0) { var arrIndex = Math.floor(Math.random() * temp_array.length); ret[i] = temp_array[arrIndex]; temp_array.splice(arrIndex, 1); } else { break; } } return ret; } function _checkBtn () { var ckAll, ckAllLen, enableBtn = false; ckAll = Q('.checked', recW); ckAllLen = ckAll.length; if(ckAllLen == 0){ return } for(var i = 0; i < ckAllLen; i ++){ if(!ckAll[i].getAttribute('data-followed')){ enableBtn = true; break; } } _enableBtn(enableBtn); } function _enableBtn (enable) { if(enable){ btn_fl.style.display = 'inline'; btn_fled.style.display = 'none'; } else{ btn_fl.style.display = 'none'; btn_fled.style.display = 'inline'; } } function _getJSONP (url, callback) { if (!url) { return; } var dateStr = (Date.parse(new Date())).toString(); dateStr = dateStr.substring(0, 8); var name = 'jsonp' + dateStr; if (url.indexOf('?') === -1) { url += '?callback=' + name; } else { url += '&callback=' + name; } // url += '&dpc=1'; var script = document.createElement('script'); window[name] = function (data) { callback && callback(data); } script.src = url; document.getElementsByTagName('head')[0].appendChild(script); } });
    ءͻˡƵֱ
    :
    ղ  |    |  ӡ  |  ر

    ղ!

    ͨҳ(www.sina.com.cn) ҵղ 鿴ղع¡

    ֪

    0
    ղسɹ 鿴ҵղ