YY怎么知道公众号原始id怎么查D

&&&系统[系统通知] 4天前系统[系统通知] 6天前系统[系统通知] 6天前系统[系统通知] 6天前系统[系统通知] 6天前全站 说: YY图标勋章交流群:
喜欢点图标勋章的小伙伴快快加入吧
各种疑难杂症讨论群多多活跃哦,祝大家新年快乐,健康平安发大财
17天前系统[系统通知] 27天前系统[系统通知] 27天前系统[系统通知] 27天前系统[系统通知] 28天前系统[系统通知] 28天前系统[系统通知] 28天前系统[系统通知] 28天前系统[系统通知] 29天前系统[系统通知] 29天前系统[系统通知] 系统[系统通知] 全站 说: YY图标勋章交流群:~喜欢点勋章的小伙伴快快加入吧
系统[系统通知] 系统[系统通知] 系统[系统通知] 系统[系统通知] 系统[系统通知] 系统[系统通知] 系统[系统通知] 系统[系统通知] 系统[系统通知] 系统[系统通知] 系统[系统通知] 系统[系统通知]
查看: 1600|回复: 15
关于原始6位频道ID,注意是频道ID
主题帖子精华
浣熊BOSS(Lv.8), 积分 30566, 距离下一级还需 19434 积分
浣熊BOSS(Lv.8), 积分 30566, 距离下一级还需 19434 积分
现在还能申请原始频道ID号是6位的吗?,就是那种不用保频道,直接是六位的
如果可以怎么申请?
好像很多人现在申请出来yyID8 ,9位的yy号都能申请到6位原始频道ID.
是用什么软件还是有什么技巧?
求解~~~~~~
联系歪歪:1275283& && & 挂机ID : 55
还有啊..我真的是女女=.=
主题帖子精华
浣熊BOSS(Lv.8), 积分 34873, 距离下一级还需 15127 积分
浣熊BOSS(Lv.8), 积分 34873, 距离下一级还需 15127 积分
金钱112118
貌似很早以前有
主题帖子精华
浣熊BOSS(Lv.8), 积分 30566, 距离下一级还需 19434 积分
浣熊BOSS(Lv.8), 积分 30566, 距离下一级还需 19434 积分
貌似很早以前有
[tsj27]废话大王你好。。。
好吧不来了&
联系歪歪:1275283& && & 挂机ID : 55
还有啊..我真的是女女=.=
主题帖子精华
浣熊BOSS(Lv.8), 积分 34873, 距离下一级还需 15127 积分
浣熊BOSS(Lv.8), 积分 34873, 距离下一级还需 15127 积分
金钱112118
废话大王你好。。。
好吧不来了
主题帖子精华
浣熊BOSS(Lv.8), 积分 30566, 距离下一级还需 19434 积分
浣熊BOSS(Lv.8), 积分 30566, 距离下一级还需 19434 积分
好吧不来了
来给爷么个扎吧[tsj22]
联系歪歪:1275283& && & 挂机ID : 55
还有啊..我真的是女女=.=
主题帖子精华
浣熊BOSS(Lv.8), 积分 34873, 距离下一级还需 15127 积分
浣熊BOSS(Lv.8), 积分 34873, 距离下一级还需 15127 积分
金钱112118
来给爷么个扎吧
主题帖子精华
捕食能手(Lv.6), 积分 12240, 距离下一级还需 2760 积分
捕食能手(Lv.6), 积分 12240, 距离下一级还需 2760 积分
现在没有原始ID是六位的了。
资源中心仅支持申请五位、六位短位ID,四位ID通过官方合作获得。
五位、六位ID申请流程:
1.首先需要您先完成实名认证和频道认证;
2.达到报名资格后请您进入短位ID页面进行报名申请;
3.报名后会进入一个为期7天的资格考核期(在这7天内您就可以在频道里努力发展人气)一台电脑登录只计算一个人气,只要您的频道是正常活跃的人气,都会计算在内,官方不支持采用多开挂机形式来申请资源。
4.官方于考核期下一周星期二中午12点公布结果,若您获得短位ID绑定资格,您可以进行选号绑定;
①资格考核阶段结束后,系统会统计跟您同一期报名并同属性的频道,按照频道周总人气从高到低进行排名,最后根据名次前后发放短位ID资格,按5位、6位的顺序发完该类型的ID数量为止。若您频道的人气跟其它频道相比较高,排名靠前,您获得短位ID的机率就越大。
②若频道在资格考核阶段未达到每日人气峰值≥10(稳定在线2小时)条件,将无法获得排名的资格。
③成功绑定短位ID后,可能系统会存在延迟,依然显示长位ID,请耐心等候几分钟再重进频道查看。
④频道类型认证为互动游戏的频道,请通过YY交友2015新公会关爱计划申请短位ID。
短位ID申请页面:
退了。什么时候又智商不够了就上来了
主题帖子精华
浣熊BOSS(Lv.8), 积分 30566, 距离下一级还需 19434 积分
浣熊BOSS(Lv.8), 积分 30566, 距离下一级还需 19434 积分
现在没有原始ID是六位的了。
资源中心仅支持申请五位、六位短位ID,四位ID通过官方合作获得。
[tsj3]好吧,谢谢
联系歪歪:1275283& && & 挂机ID : 55
还有啊..我真的是女女=.=
主题帖子精华
自食其力(Lv.5), 积分 7367, 距离下一级还需 633 积分
自食其力(Lv.5), 积分 7367, 距离下一级还需 633 积分
推荐已回答了
主题帖子精华
自食其力(Lv.5), 积分 6986, 距离下一级还需 1014 积分
自食其力(Lv.5), 积分 6986, 距离下一级还需 1014 积分
现在没有了,那些都是以前申请的
主题帖子精华
捕食能手(Lv.6), 积分 8069, 距离下一级还需 6931 积分
捕食能手(Lv.6), 积分 8069, 距离下一级还需 6931 积分
现在已经没有了
主题帖子精华
「 1221300有事加我PM 」
威风凛凛(Lv.7), 积分 27114, 距离下一级还需 2886 积分
威风凛凛(Lv.7), 积分 27114, 距离下一级还需 2886 积分
现在没有原始ID是六位的了。
查看七楼回复
主题帖子精华
浣熊BOSS(Lv.8), 积分 30566, 距离下一级还需 19434 积分
浣熊BOSS(Lv.8), 积分 30566, 距离下一级还需 19434 积分
现在没有原始ID是六位的了。
查看七楼回复
[tsj3]妈你好。。。
联系歪歪:1275283& && & 挂机ID : 55
还有啊..我真的是女女=.=
主题帖子精华
自食其力(Lv.5), 积分 4671, 距离下一级还需 3329 积分
自食其力(Lv.5), 积分 4671, 距离下一级还需 3329 积分
没有申请过
主题帖子精华
初露锋芒(Lv.3), 积分 682, 距离下一级还需 818 积分
初露锋芒(Lv.3), 积分 682, 距离下一级还需 818 积分
yy刚出的时候最早申请的都是六位
好自为之。
水瓶座勋章
游戏宝贝活动勋章
天蝎座勋章
天秤座勋章
常驻之冠勋章
圣诞节勋章
圣诞活动勋章
感恩节勋章
感恩节活动勋章
YYbbs版主勋章
YYbbs版主勋章
YY论坛邀您参与升级:可免费领取多类永久勋章!参与推广可兑换5位短位号、YY熊等。
Powered by手机YY怎么看自己的YY号码?
如何知道自己手机YY的YY号码呢?在哪里看呢?
点击【我的】,然后在我的主页下方就能看见自己的YY号码了。(如下图)
要回复问题请先或
Copyright & , All Rights Reserved我的资讯--网易云阅读
客户端下载
网易云阅读客户端
点击或扫描下载
{list 1..5 as x}
star}off{else}on{/if}">&
网易邮箱登录
其他帐号登录:
(function(){var _=NEJ.P;var _pc=_("pro.cache");_pc._$$CommentMetadata=NEJ.C();var p=_pc._$$CommentMetadata._$extend(_pc._$$CacheKey2);p.__reset=function(options){this.__supReset(options);this.__url="/snsComment.do?operation=get"};p.__doGenRequestQueryOpt=function(options){return{id:options.key,type:0,page:1,pageSize:10}};p.__getData=function(options,data){this.__setDataInCache(options.rkey,{total:data.totalCount});this.__doCallbackRequest(options.rkey,options)};p._$getData=function(id,key){var rkey="r-article_comment_list + "+id+":"+key+"-0-10";var data=this.__getDataInCache(rkey);var ropt={id:id,key:key,rkey:rkey};if(data){this._$dispatchEvent("ondataload",ropt);return this}if(!this.__doQueueRequest(rkey,this._$dispatchEvent._$bind(this,"ondataload"))){ropt.rkey=ropt.onload=this.__getData._$bind(this,ropt);this._$dispatchEvent("dodataload",ropt)}return this}})();
(function(){var _=NEJ.P;var _e=_("nej.e");var _pm=_("pro.module");var _pc=_("pro.cache");if(_pm._$$ArticleComment)_pm._$$ArticleComment=NEJ.C();var p=_pm._$$ArticleComment._$extend(_pm._$$Module);p.__reset=function(options){this.__supReset(options)};p.__doBuild=function(){var self=this.__body=_e._$html2node(_e._$getTextTemplate("tpl-comment"));this.__commentCount=_e._$getByClassName(this.__body,"j-commentCount")[0];this.__cache=_pc._$$CommentMetadata._$allocate({ondataload:function(ropt){var data=this.__getDataInCache(ropt.rkey);self.__updateCount(data.total)}})};p.__updateCount=function(count){this.__count=this.__commentCount.innerHTML="("+count+")"};p.__showCommentBox=function(focus){if(this.__comment){if(focus){this.__comment._$focus()}return}var self=var commentInstance=nej.ut._$api("articleComment",_pm._$$Comment,{onbeforeremove:function(){self.__comment=null}});commentInstance._$appendTo(this.__body,{id:this.__id,focus:false,collapsible:false});this.__comment=commentInstance};p.__onMessage=function(options){var payload=options.switch(payload.type){case"expand":this.__showCommentBox(true);case"updateCount":this.__updateCount(this.__count+payload.data.value);break}};p.__onRefresh=function(options){this.__supOnRefresh(options);var param=options.var id=param.fid||param.var isCustomSource=id.indexOf("cst_rss_")===0;var hideComment=typeof param.cid=="undefined"||isCustomSthis.__body.style.display=hideComment?"none":"";if(hideComment)this.__id=param.this.__cache._$getData(param.fid||param.id,param.cid);if(this.__comment){this.__comment._$recycle();this.__comment=null}this.__showCommentBox()};_e._$regist("comment",_pm._$$ArticleComment)})()
(function(){var _=NEJ.P;var _pc=_("pro.cache");_pc._$$Article=NEJ.C();var p=_pc._$$Article._$extend(_pc._$$CacheKey2);p.__reset=function(options){options.request={type:"text"};this.__url="/source.do?operation=queryContentHtml";this.__supReset(options)};p.__doGenRequestQueryOpt=function(options){return{id:options.id,contentUuid:options.key}}})();
(function(){var _=NEJ.P;var _e=_("nej.e");var _pc=_("pro.cache");var _pm=_("pro.module");var xhr=_("pro.util.xhr");var _u=_("nej.u");var ydAPI=_("yd.api");var rhttp=/^https?:\/\//;var rEmptyParagraph=/(&||&|)/g;if(_pm._$$ArticleContent)_pm._$$ArticleContent=NEJ.C();var p=_pm._$$ArticleContent._$extend(_pm._$$Module);p.__doBuild=function(){var self=this.__body=_e._$html2node(_e._$getTextTemplate("tpl-article-content"));this.__body.innerHTML="文章载入中...";var $body=$(this.__body);$body.on("click","a",function(e){var target=e.currentTvar href=target.if(href.match(rhttp))e.preventDefault();var value=href.split(";")[1];if(value.match(rhttp)){target.href=target.target="_blank";target.click()}});$body.on("click",".add-book a, .add-source a",function(e){var target=e.if(target.target=="_blank")e.preventDefault();var data=self.__recommendCache[target.id];if(!data)self.__handleRecommendSource(target,data)});this.__cache=_pc._$$Article._$allocate({ondataload:function(ropt){var data=this.__getDataInCache(ropt.id+ropt.key);self.__initArticle(data)}})};p.__handleRecommendSource=function(target,data){var id=data.id||data.source.var self=var cb=function(){self.__updateSourceReadStatus(id)};if(data.id){dwr.engine._executeSingleWithBIParams("/dwr","BaseBean","addSub",{sourceUuid:data.id},data.id,"",false,function(data){if(data.flag==-999)return login163();YD.popTip("添加书籍成功");cb(data)})}else{xhr.toggleSubscribe(target,{subscribed:false,sourceUuid:data.source.id},cb)}};p.__createPlayer=function(el,videoUrl,posterUrl){var $wrapper=$(el);var isExtMatch=function(url,ext){url=url.split("?")[0];var swfExtPattern=new RegExp(ext.replace(".","\\.")+"$");return url.match(swfExtPattern)};var extractPost=function(url){url=url.replace("&posterUrl","&posterUrl");var pairs=url.slice(url.split("?")+1);if(typeof pairs=="undefined")return"";pairs=pairs.split("&");var pair,for(var i=0,l=pairs.i0){var query=_u._$query2object(parts[1]);for(var key in query){if(query[key].match(/\.[a-z0-9]{3,5}$/)){realVideoUrl=query[key];break}}}var videoCommonPairs=[[".mp4","video",'video/mp4; codecs="avc1.4D401E, mp4a.40.2"'],[".mp3","audio","audio/"]];var canPlay=function(type,codec){var a=document.createElement(type);return!!(a.canPlayType&&a.canPlayType(codec).replace(/no/,""))};var type=mps.media.getTypeFromFile(realVideoUrl);if(type.indexOf("audio")===0){$wrapper.width("100%").height(44)}else{$wrapper.width(630).height(400)}var mpsOptions={src:videoUrl,poster:posterUrl,type:type,alwaysShowControls:false,loop:false,preload:"auto",autoplay:false,alwaysFlash:false,error:function(){YD.popTip("视频播放出错了~")},success:function(){}};new mps.mediaPlayer(el,mpsOptions)};p.__playFlash=function($wrapper,videoUrl){var id="FPlayer";$wrapper.attr("id",id);var html=''+'';html=html+'';$wrapper.html(html)};p.__initArticle=function(html){this.__removeloading();html=this.__formatHTML(html);this.__body.innerHTML=var $el=$(this.__body);var self=$el.find(".video-holder").each(function(i,el){var $el=$(el);self.__createPlayer(el,$el.data("video-url"),$el.data("poster-url"))});var source_uuids=[];this.__recommendCache={};$(".m-book, .m-source",$(this.__body)).each(function(){var $source=$(this);var data=jQuery.parseJSON($source.find(".previewvalue").html());var sourceId=data.id||data.source.source_uuids.push(sourceId);var $addSource=$(".add-book a, .add-source a",$source);var elementId="source-add-btn-"+sourceId;self.__recommendCache[elementId]=$addSource.attr("id",elementId);var link=location.protocol+"//"+location.host+"/source/"+sourceId;var imgLink=$(".breif-img a",$source)[0];imgLink.href=imgLink.target="_blank";$addSource.text($source.is(".m-book")?"放入书架":"订阅");var $title=$source.find(".btitle");var $a=$('');$a.text($title.text());$a.attr("href",link);$title.empty().append($a)});if(source_uuids.length>0){ydAPI.checkSubscribed({source_uuids:source_uuids.join(",")},function(data){$.each(data.subscribed,function(i,sourceId){self.__updateSourceReadStatus(sourceId)})})}};p.__removeloading=function(){this.__articleContainer=_e._$getByClassName(document.body,"g-mn62")[0];this.__loading=_e._$getByClassName(this.__articleContainer,"m-loading")[0];if(this.__loading){this.__loading.style.display="none"}};p.__updateSourceReadStatus=function(sourceId){var $sourceAddBtn=$("#source-add-btn-"+sourceId);var path=$sourceAddBtn.parent().hasClass("add-book")?"book_reader":"source";$sourceAddBtn[0].href=location.protocol+"//"+location.host+"/"+path+"/"+sourceId;$sourceAddBtn[0].target="_blank";$sourceAddBtn.text("阅读")};p.__formatHTML=function(html){try{return html.replace(new RegExp("((||[ \\f\\n\\r\\t\\v])*)+","ig"),'').replace(new RegExp("((|||&"+"|[\\s ])*\\s*){2,}","ig"),'&'+"").replace(new RegExp("(|||&"+"|[\\s ])*","ig"),'').replace(new RegExp("((||&"+"|[\\s ])*)*","ig"),'')}catch(e){return this.__formatHTMLSafe(html)}};p.__formatHTMLSafe=function(html){try{return html.replace(new RegExp("((||[ \\f\\n\\r\\t\\v])*)+","ig"),'').replace(new RegExp("((|||&"+"|\\s)*\\s*){2,}","ig"),'&'+"").replace(new RegExp("(|||&"+"|\\s)*","ig"),'').replace(new RegExp("((||&"+"|\\s)*)*","ig"),'')}catch(e){return html}};p.__removeEmptyParagraph=function(html){var lastIndex=var registry=[];var index=0;var continuous=rEmptyParagraph.lastIndex=0;while((result=rEmptyParagraph.exec(html))!=null){if(lastIndex){if($.trim(html.slice(lastIndex,result.index))===""){continuous=registry[index]=1;registry[index-1]=1}else if(continuous){continuous=false}else{registry[index-1]=0}}lastIndex=rEmptyParagraph.lastIindex++}if(typeof registry[index-1]=="undefined")registry[index-1]=0;index=0;rEmptyParagraph.lastIndex=0;html=html.replace(rEmptyParagraph,function(){if(registry[index]===0||registry[index+1]===1){result=""}else{result="&"}index++;return result});return html};p.__onRefresh=function(options){this.__supOnRefresh(options);var param=options.var id=param.fid||param.var cid=param.if(typeof cid=="undefined"){this.__body.innerHTML="";return}var isCustomSource=id.indexOf("cst_rss_")===0;if(!isCustomSource||param.fid){this.__cache._$getData(id,cid)}};p.__onMessage=function(obj){if(obj.data.type=="item"){var item=obj.data.this.__initArticle(''+item.content+"")}};_e._$regist("article_content",_pm._$$ArticleContent)})()
{if !isCustomSource}
{if approved}已{/if}赞 {if approve > 0}${approve}{/if}
{if defined('presentVM')}
{if presentVM > 0}已捧场${presentVM}阅点{/if}
{if defined('presentVM')}{/if}
{if !isCustomSource}{/if}
{if !isCustomSource}{/if}
{list articles as article}
(function(){var _=NEJ.P;var _pc=_("pro.cache");_pc._$$ArticleMetadata=NEJ.C();var p=_pc._$$ArticleMetadata._$extend(_pc._$$CacheKey2);p.__getData=function(options,data){this.__setDataInCache(options.rkey,data[1][0]);this.__doCallbackRequest(options.rkey,options)};p.__reset=function(options){this.__url="/source.do?operation=querySingleContent";this.__supReset(options)};p.__doGenRequestQueryOpt=function(options){return{id:options.id,contentUuid:options.key}}})();
(function(){var _=NEJ.P;var _e=_("nej.e");var _v=_("nej.v");var _pi=_("pro.ui");var _pu=_("pro.util");var dialog=_("pro.ui.dialog");var ydAPI=_("yd.api");if(dialog._$$DialogReport)dialog._$$DialogReport=NEJ.C();var p=dialog._$$DialogReport._$extend(_pi._$$Dialog,!0);var _seed_css=_e._$pushCSSText(".# p{margin:20px 0;}.# label input{margin-top:-4}");var seed_html=_e._$addNodeTemplate('&&广告、灌水、无病呻吟等无营养内容&&涉嫌***、反动、暴力或违反版权的非法内容&&文章存在不良信息');p.__reset=function(_options){_options.title="举报";_options.clazz="w-dialog w-dialog-middle";this.__supReset(_options);this.__okBtn=_e._$getByClassName(this.__body,"okbtn")[0];this.__form=this.__body.getElementsByTagName("form")[0];this.__doInitDomEvent([[this.__okBtn,"click",this.__onOKClick._$bind(this)]]);var self=$(this.__form).on("change",":radio",function(){self.__okBtn.disabled=false});this.__url=_options.url};p.__initXGui=function(){this.__seed_html=seed_this.__seed_css=_seed_css};p.__onOKClick=function(){var self=this.__okBtn.disabled=$.post("/report.do?operation=submit",{reason:$.trim($(this.__form).find(":radio:checked").parent().text()),url:this.__url},function(){YD.popTip("举报成功");self._$hide()},"json").fail(function(){self.__okBtn.disabled=false})};p.__destroy=function(){$(this.__form).off();delete this.__okBdelete this.__this.__supDestroy()}})();
(function(){var _=NEJ.P;var _e=_("nej.e");var _p=_("nej.ui");var _pu=_("pro.util");var _j=_("nej.j");var _seed_css=_e._$pushCSSText(".#{position:_position:z-index:100;top:0;bottom:0;left:0;right:0;width:100%;height:100%;background-image:url(/images/common/blank-dark.png);}");_pu._$$Guide=NEJ.C();var p=_pu._$$Guide._$extend(_p._$$Mask);p.__reset=function(options){options.content='';options.parent=document.this.__supReset(options);this.__doInitDomEvent([[_e._$getByClassName(this.__body,"gotit-btn")[0],"click",this.__hide._$bind(this)],[_e._$getByClassName(this.__body,"close-btn")[0],"click",this.__hide._$bind(this)]]);this.__cnt=_e._$getByClassName(this.__body,"j-flag")[0];_e._$addClassName(this.__tClassName);this.__cookieKey=options.cookieKey};p.__initXGui=function(){this.__seed_css=_seed_css};p.__hide=function(){_j._$cookie(this.__cookieKey,{value:"1",path:"/",expires:365});this._$dispatchEvent("onhide")}})();
(function(){var _=NEJ.P;var _e=_("nej.e");var _p=_("nej.ut");var _pu=_("pro.util");var _pm=_("pro.module");var _j=_("nej.j");var _seed_css=_e._$pushCSSText(".#{position:top:5right:25width:453height:497background:url(/images/guide/wemedia-love.png?v=2) no-}.# .close-btn{position:top:197right:73width:37height:33}.# .gotit-btn{position:top:441right:61width:228height:48}");_pm._$$GuideWemediaLove=NEJ.C();var p=_pm._$$GuideWemediaLove._$extend(_p._$$Event);p.__reset=function(options){var self=this.__supReset(options);var cookieKey="guide_wemediaLove";if(_j._$cookie(cookieKey))this.__layer=_pu._$$Guide._$allocate({onhide:function(){dispatcher._$hide(self.__umi);self._$recycle()},cntClassName:_seed_css,cookieKey:cookieKey})};p.__destroy=function(){this.__supDestroy();this.__layer._$recycle();delete this.__layer}})();
(function(){var _=NEJ.P;var _e=_("nej.e");var _v=_("nej.v");var _u=_("nej.u");var _pm=_("pro.module");var _pc=_("pro.cache");var ydAPI=_("yd.api");var isIE6=/\bMSIE 6/.test(navigator.userAgent)&&!window.var dialog=_("pro.ui.dialog");if(_pm._$$Article)_pm._$$Article=NEJ.C();var p=_pm._$$Article._$extend(_pm._$$Module);p.__doParseParent=function(){return _e._$get("article")};p.__doBuild=function(){var self=this.__body=_e._$html2node(_e._$getTextTemplate("tpl-article"));var list=_e._$getByClassName(this.__body,"j-flag");this.__export={content:list[0],controls:list[1],relatedArticles:list[2],comment:list[3],comment_list:list[4]};$(list[0]).on("click",".re-card",function(){var id=$(this).attr("data-source-id");var cid=$(this).attr("data-article-id");window.open("/news_reader/#/~/source?id="+id+"&cid="+cid)});$(list[2]).on("click","a",function(){$.Topic("gaLogging").publish("article_correlative")});this.__cache=_pc._$$ArticleMetadata._$allocate({ondataload:function(ropt){var data=this.__getDataInCache(ropt.id+ropt.key);self.__initArticle(data)}});this.__articleContainer=_e._$getByClassName(document.body,"g-mn62")[0];this.__throttledAlignHeight=underscore.throttle(this.__alignHeight._$bind(this),100)};p.__initArticle=function(data){if(typeof data=="undefined"){setTimeout(function(){this.__articleContainer=_e._$get("article");this.__deletetip=_e._$getByClassName(this.__articleContainer,"m-empty")[0];if(!this.__deletetip){var _html='文章已不存在,看看其他的文章吧~';this.__deletetip=_e._$html2node(_html);this.__deletetip.style.height=this.__articleContainer.offsetHeight+"px";this.__articleContainer.appendChild(this.__deletetip)}},1e3);return}else{this.__deletetip=_e._$getByClassName(this.__articleContainer,"m-empty")[0];if(this.__deletetip){_e._$remove(this.__deletetip,true)}}this.__data=if(typeof data.customSource!="undefined"){if(typeof this.__lastCustomSource!="undefined"){_e._$delClassName(this.__body,"m-article-"+this.__lastCustomSource)}_e._$addClassName(this.__body,"m-article-"+data.customSource)}this.__lastCustomSource=data.customSvar obj=$.extend({isCustomSource:this.__isCustomSource},data);this.__export.controls.innerHTML=_e._$getHtmlTemplate("tpl-article-controls",obj);var controllerEl=this.__controllerEl=_e._$getByClassName(this.__body,"js-controller")[0];this.__bottomController=_e._$getByClassName(this.__body,"j-bottom-controller")[0];if(!isIE6)$(controllerEl).find('[data-toggle="tooltip"]').tooltip({placement:"bottom"});this.__doInitDomEvent([[_e._$getByClassName(controllerEl,"j-action-comment")[0],"click",this.__doComment._$bind(this)],[_e._$getByClassName(controllerEl,"j-action-fav")[0],"click",this.__doFav._$bind(this)],[_e._$getByClassName(controllerEl,"j-action-saveToYoudao")[0],"click",this.__doSaveToYoudaoNote._$bind(this)],[_e._$getByClassName(controllerEl,"j-action-like")[0],"click",this.__like._$bind(this)],[_e._$getByClassName(controllerEl,"j-view-original")[0],"click",this.__viewOriginal._$bind(this)],[_e._$getByClassName(controllerEl,"j-action-love")[0],"click",this.__love._$bind(this)],[_e._$getByClassName(controllerEl,"j-action-report")[0],"click",this.__report._$bind(this)],[_e._$getByClassName(this.__bottomController,"j-action-like")[0],"click",this.__like._$bind(this)],[_e._$getByClassName(this.__bottomController,"j-action-love")[0],"click",this.__love._$bind(this)]]);this.__initSharePanel();this.__initRelatedArticles();if(typeof data.presentVM!="undefined"){_pm._$$GuideWemediaLove._$allocate()}};p.__viewOriginal=function(){$.Topic("gaLogging").publish("article_original")};p.__initSharePanel=function(){var data={shareType:0,textType:0,sourceUuid:this.__data.sourceID,url:this.__data.shareUrl,articleTitle:this.__data.title,articleUuid:this.__data.entryID,imageUrl:this.__data.summaryImage.summaryImageURL,imageDescription:this.__data.shareDescription||"",origin:["newsreader",0]};if(this.__isCustomSource){data.custom=1;data.contentForEmailShare=this.__data.content}$(".j-action-share").data("contentinfo",data);if(this.__initedSharePanel)if(window.ydSns){window.ydSns.init({selector:"j-action-share"});this.__initedSharePanel=true}};p.__alignHeight=function(){this.__articleContainer.style.height=_e._$getPageBox().clientHeight-39+"px"};p.__initRelatedArticles=function(){var el=this.__export.relatedAif(this.__isCustomSource){el.innerHTML="";return}el.innerHTML="相关阅读载入中...";ydAPI.getRelatedArticles(this.__data.sourceID,this.__data.entryID,function(list){if(list!=null){el.innerHTML=_e._$getHtmlTemplate("tpl-relatedArticles",{articles:list})}else{el.innerHTML=""}})};p.__love=function(){var self=ydAPI.getBalance(function(reply){var obj=underscore.pick(reply,"balance","username");obj.id=self.__data.entryID;dispatcher._$apply("/?/balance?"+_u._$object2query(obj))})};p.__report=function(){dialog._$$DialogReport._$allocate({mask:true,destroyable:true,url:this.__data.shareUrl})._$show()};p.__like=function(){if(this.__data.approved)var self=var likeEl=_e._$getByClassName(self.__bottomController,"j-action-like")[0];likeEl.disabled=ydAPI.praise(0,this.__data.entryID,function(){self.__data.approve++;self.__data.approved=YD.popTip("赞成功");$(".j-action-like",self.__controllerEl).attr(isIE6?"title":"data-original-title","已赞");_e._$addClassName(_e._$getByClassName(self.__controllerEl,"j-like-icon")[0],"icon-medium-like-on");_e._$addClassName(_e._$getByClassName(self.__bottomController,"j-like-icon")[0],"sns-like-on");$(".j-like-text",self.__body).text("已赞"+self.__data.approve)}).fail(function(){likeEl.disabled=false})};p.__doComment=function(e){_v._$stopBubble(e);$.Topic("gaLogging").publish("article_comment");this.__doSendMessage("/?/comment",{type:"expand"})};p.__doFav=function(e){var self=var model=this.__$.Topic("gaLogging").publish("article_save");ydAPI.toggleFav(model,function(data){var text=data.state==="stared"?"收藏":"取消收藏";text+="成功";YD.popTip(text);self.__syncFavTitle();self.__toggleFavState()})};p.__syncFavTitle=function(){var title=(this.__data.favor==="stared"?"取消":"")+"收藏";$(".j-action-fav",this.__controllerEl).attr(isIE6?"title":"data-original-title",title)};p.__toggleFavState=function(){var method=this.__data.favor=="unstar"?"removeClass":"addClass";$(".j-star-icon",this.__body)[method]("icon-medium-star-on")};p.__doSaveToYoudaoNote=function(e){var btn=_v._$getElement(e);if(_e._$hasClassName(btn,"z-on"))$.Topic("gaLogging").publish("article_youdaoNote");var data=this.__ydAPI.checkYoudaoAuth(function(isAuthorized){if(!isAuthorized){YD.popTipClose('您还没有绑定有道云笔记帐号,');return}ydAPI.saveToYoudaoNote(data,function(){$(btn).addClass("z-on")})})};p.__onRefresh=function(options){this.__supOnRefresh(options);var param=options.var id=param.fid||param.var cid=param.if(this.__lastId===cid)if(typeof cid=="undefined"){_e._$addClassName(this.__body,"m-article-empty")}else{_e._$delClassName(this.__body,"m-article-empty");this.__articleContainer.scrollTop=0;var isCustomSource=id.indexOf("cst_rss_")===0;this.__isCustomSource=isCustomSif(!isCustomSource||param.fid){this.__cache._$getData(id,cid)}else{this.__dispatcher._$publish("getItem",{from:"/?/article",data:{cid:cid}})}}this.__lastId=cid};p.__onMessage=function(obj){switch(obj.data.type){case"item":var item=obj.data.dispatcher._$message({to:"/?/article_content",data:{type:"item",item:item}});this.__initArticle(item);case"updateLoveCount":this.__data.presentVM+=obj.data.data.$(this.__body).find(".j-love-amount").text("已捧场 "+this.__data.presentVM+" 阅点");case"showLove":this.__love();break}};p.__onShow=function(options){_e._$getByClassName(document.body,"g-mn6c")[0].style.display="block";if(!isIE6){this.__articleContainer.style.top="39px"}_v._$addEvent(window,"resize",this.__throttledAlignHeight);this.__alignHeight();this.__supOnShow(options)};p.__onHide=function(options){_v._$delEvent(window,"resize",this.__throttledAlignHeight);this.__export.relatedArticles.innerHTML="";this.__supOnHide(options)};_e._$regist("article",_pm._$$Article)})()
(function(){var _=NEJ.P;var _e=_("nej.e");var _pi=_("pro.ui");var _j=_("nej.j");var dialog=_("pro.ui.dialog");if(dialog._$$DialogUnsubscribe)dialog._$$DialogUnsubscribe=NEJ.C();var p=dialog._$$DialogUnsubscribe._$extend(_pi._$$Dialog,!0);var seed_html=_e._$addNodeTemplate('');p.__reset=function(_options){_options.title="取消订阅";_e._$getByClassName(this.__body,"dialog-body")[0].innerHTML='取消订阅”'+_options.data.source.title+"“资讯源?";this.__supReset(_options);this.__doInitDomEvent([[_e._$getByClassName(this.__body,"okbtn")[0],"click",this.__onOKClick._$bind(this)]])};p.__initXGui=function(){this.__seed_html=seed_html};p.__onOKClick=function(){this.constructor._$supro.__onOKClick.apply(this,arguments);var suppressNoticeInput=_e._$getByClassName(this.__body,"j-suppressNotify")[0];if(suppressNoticeInput.checked){_j._$cookie("rss_subscribe_notify",{value:"1",path:"/",expires:7})}}})();
(function(){var _=NEJ.P;var _i=_("nej.ui");var _v=_("nej.v");var _e=_("nej.e");var _j=_("nej.j");var _pi=_("pro.ui");var dialog=_("pro.ui.dialog");_pi._$$SubscribeItem=NEJ.C();var p=_pi._$$SubscribeItem._$extend(_i._$$ListItem);p.__init=function(_options){this.__data=_options.this.__supInit(_options);this.__id=this.__data.id};p.__initXGui=function(){this.__seed_html="tpl-subscribeItem"};p.__reset=function(options){this.__supReset(options);this.__doInitDomEvent([[_e._$getByClassName(this.__body,"j-delete")[0],"click",this.__onDeleteBtnClick._$bind(this)],[this.__body,"click",this.__onBodyClick._$bind(this)]])};p.__initNode=function(){this.__body=_e._$html2node(_e._$getHtmlTemplate(this.__seed_html,this.__data))};p.__onBodyClick=function(e){if(!_e._$hasClassName(this.__body,"z-active")){$(this.__body).find(".j-unread").text("");return}_v._$stopDefault(e);dispatcher._$message({to:"/?/source_article_list",mode:0,data:{type:"pullrefresh"}})};p.__onDeleteBtnClick=function(event){var self=_v._$stop(event);if(_j._$cookie("rss_subscribe_notify")){this.__onDelete();return}dialog._$$DialogUnsubscribe._$allocate({mask:true,destroyable:true,data:{source:this._$getData()},onok:function(){this._$hide();self.__onDelete()}})._$show()}})();
(function(){var _=NEJ.P;var _e=_("nej.e");var _v=_("nej.v");var _pi=_("pro.ui");var dialog=_("pro.ui.dialog");if(dialog._$$DialogCustomSubscribe)dialog._$$DialogCustomSubscribe=NEJ.C();var p=dialog._$$DialogCustomSubscribe._$extend(_pi._$$Dialog,!0);var seed_html=_e._$addNodeTemplate('RSS订阅:');p.__reset=function(_options){_options.title="添加订阅";this.__supReset(_options)};p.__initXGui=function(){this.__seed_html=seed_html};p.__initNode=function(){this.__supInitNode();this.__doInitDomEvent([[_e._$getByClassName(this.__body,"j-importYoudao")[0],"click",this.__onYoudaoClick._$bind(this)],[_e._$getByClassName(this.__body,"j-rss-form")[0],"submit",this.__onRSSFormSubmit._$bind(this)],[_e._$getByClassName(this.__body,"j-subscribe")[0],"click",this.__onSubscribeBtnClick._$bind(this)]])};p.__onSubscribeBtnClick=function(){this._$hide();$.Topic("gaLogging").publish("add_news")};p.__onYoudaoClick=function(){$.Topic("gaLogging").publish("import_youdao");this._$hide();var Dialog=GUser.accountType==0?dialog._$$DialogYoudao:dialog._$$DialogYoudaoLDialog._$allocate({mask:true,destroyable:true})._$show()};p.__onRSSFormSubmit=function(e){_v._$stopDefault(e);var form=_v._$getElement(e);var q=form.q.value.trim();if(q===""){form.q.focus();return}this._$hide();dispatcher._$redirect("/!/rss?q="+encodeURIComponent(q))}})();
(function(){var _=NEJ.P;var _e=_("nej.e");var dom=_("pro.util.dom");dom._$toggleClassName=function(el,className){_e._$hasClassName(el,className)?_e._$delClassName(el,className):_e._$addClassName(el,className)}})();
(function(){var _=NEJ.P;var _e=_("nej.e");var _v=_("nej.v");var _pm=_("pro.module");var _pi=_("pro.ui");var dom=_("pro.util.dom");var _pc=_("pro.cache");var dialog=_("pro.ui.dialog");var ydAPI=_("yd.api");var moduleUtil=_("pro.util.module");if(_pm._$$SubscribeList)_pm._$$SubscribeList=NEJ.C();var p=_pm._$$SubscribeList._$extend(_pm._$$Module);p.__doParseParent=function(){return _e._$get("primary-sidebar")};p.__doBuild=function(){this.__body=_e._$html2node(_e._$getHtmlTemplate("tpl-subscribeList",{user:GUser}));this.__listEl=_e._$getByClassName(this.__body,"j-flag")[0];this.__mopt={limit:120,parent:this.__listEl,item:{klass:_pi._$$SubscribeItem},cache:{klass:_pc._$$SubscribeList,id:"subscribe_list",key:"sourceID",lkey:"subscribe_list"},more:_e._$getByClassName(this.__body,"j-loadMore")[0],onemptylist:function(e){var container=_e._$getByClassName(document.body,"g-mn6")[0];var str=moduleUtil.showEmpty('您还没有添加任何资讯源,快去',"empty");var $sourceEmpty=$('').html(str);$sourceEmpty.appendTo(container);var emptyFn=moduleUtil.doShowEmpty("你还没有添加任何资讯源,赶快去添加吧");emptyFn(e)},ondelete:function(options){this._$delete({sourceID:options.id})},onafteradd:function(){YD.popTip("订阅成功")},onafterdelete:function(){YD.popTip("取消订阅成功")},onbeforelistrender:function(options){var _ended=options.list._e._$setStyle(this.__nmore,"display",_ended?"none":"");if(_ended)this.__endskr=!0}};$(this.__listEl).sortable({axis:"y",distance:5,stop:this.__updateSubscribeOrder._$bind(this),disabled:true});this.__refreshFavEl=_e._$getByClassName(this.__body,"j-refreshFav")[0];this.__doInitDomEvent([[_e._$getByClassName(this.__body,"j-customSubscribe")[0],"click",this.__doCustomSubscribe._$bind(this)],[_e._$getByClassName(this.__body,"j-organise")[0],"click",this.__doOrganise._$bind(this)],[_e._$getByClassName(this.__body,"j-refresh")[0],"click",this.__refresh._$bind(this)],[this.__refreshFavEl,"click",this.__refreshFav._$bind(this)]])};p.__updateSubscribeOrder=function(){var sortedIDs=$(this.__listEl).sortable("toArray",{attribute:"data-id"});ydAPI.updateSubscribeOrder(sortedIDs.join(),function(){YD.popTip("排序保存成功!")})};p.__doCustomSubscribe=function(){$.Topic("gaLogging").publish("newsreader_add");if(!this.__dialog){this.__dialog=dialog._$$DialogCustomSubscribe._$allocate({mask:true})}this.__dialog._$show()};p.__refresh=function(e){var el=_v._$getElement(e);var self=if(_e._$hasClassName(el,"a-rotate"))if(el)$.Topic("gaLogging").publish("newsreader_refresh");_e._$addClassName(el,"a-rotate");$.getJSON("/source.do?operation=unread",function(data){$.each(data,function(i,obj){self.__updateUnread(obj.sourceUuid,obj.unread)});setTimeout(function(){_e._$delClassName(el,"a-rotate")},1e3)})};p.__updateUnread=function(sourceID,opt_unread){var $el=$("#sub-"+sourceID+" .unread");if(opt_unread){count=opt_unread}else{count=parseInt($el.text()||0);count--}if(count20)count="20+";$el.text(count)};p.__refreshFav=function(e){if(!this.__favActive)_v._$stopDefault(e);this.__doSendMessage("/?/fav_list",{type:"pullrefresh"})};p.__doOrganise=function(e){var target=_v._$getElement(e);if(target.tagName!="A")target=target.parentN$(this.__listEl).sortable({disabled:this.__organising});target.innerHTML=!this.__organising?"完成":'';$(target).toggleClass("organise-active");dom._$toggleClassName(this.__listEl,"m-subscribe-list-organising");this.__organising=!this.__if(this.__organising){$.Topic("gaLogging").publish("newsreader_organise")}};p.__onRefresh=function(options){var self=var param=options.var id=param.this.__favActive=options.target==="/!/fav";var favClassAction=this.__favActive?"addClass":"removeClass";$(this.__refreshFavEl).parent()[favClassAction]("z-active");if(!this.__list){this.__organising=$.Topic("gaPageviewLogging").publish("/news_reader/home");this.__mopt.onafterlistrender=function(){self.__refresh();if(id){this._$dispatchEvent("on_item_selected",id)}else if(location.hash===""){var firstSubId=this.__items[0]._$getId();self.__dispatcher._$redirect("/!/source?id="+firstSubId,{replace:true})}};this.__list=_pm._$$ListModuleWF._$allocate(this.__mopt)}else{this.__list._$dispatchEvent("on_item_selected",id)}};p.__onMessage=function(options){var payload=options.switch(payload.type){case"add":this.__list._$add(payload.data);case"delete":this.__list._$delete(payload.data);case"updateUnread":break}};_e._$regist("subscribe_item",_pm._$$SubscribeList)})()
(function(){var _=NEJ.P;var _pi=_("pro.ui");var _e=_("nej.e");var _pm=_("pro.module");var _$$ArticleCommentItem=_pi._$$ArticleCommentItem=NEJ.C();var p=_$$ArticleCommentItem._$extend(_pi._$$SourceCommentItem);p.__reset=function(options){this.__fid=options.this.__supReset(options)};p.__initXGui=function(){this.__seed_html="tpl-article-comment-item"};p.__initNode=function(){this.__body=_e._$html2node('')};p.__onReply=function(){if(!GUser.userId)return login163();var replyInstance=nej.ut._$api("articleCommentList",_pm._$$Reply,{});replyInstance._$appendTo(this.__body,{type:0,targetUMI:"/?/article_comment_list",id:this.__fid,cid:this._$getId(),replyTo:this._$getData().username})}})();
(function(){var _=NEJ.P;var _e=_("nej.e");var _pm=_("pro.module");var _pi=_("pro.ui");var _t=_("nej.ut");var _pc=_("pro.cache");var moduleUtil=_("pro.util.module");if(_pm._$$ArticleCommentList)_pm._$$ArticleCommentList=NEJ.C();var p=_pm._$$ArticleCommentList._$extend(_pm._$$Module);p.__doBuild=function(){this.__body=_e._$html2node(_e._$getTextTemplate("tpl-article-comments"));var self=var list=_e._$getByClassName(this.__body,"j-flag");this.__mopt={limit:10,parent:list[0],item:{klass:_pi._$$ArticleCommentItem},cache:{key:"commentId",id:"article_comment_list",klass:_pc._$$CommentList},pager:{parent:list[1]},ondelete:function(options){this.__deletingRegistry=this.__deletingRegistry||{};if(this.__deletingRegistry[options.id])this.__deletingRegistry[options.id]=1;this._$delete({commentId:options.id,type:0})},onafterdelete:function(options){delete this.__deletingRegistry[options.id];if(!options.data){YD.popTip("评论删除失败")}else{self.__doSendMessage("/?/comment",{type:"updateCount",data:{value:-1}})}},onafteradd:function(options){var action=!options.data.replied?"评论":"回复";YD.popTip(action+"发表成功");self.__doSendMessage("/?/comment",{type:"updateCount",data:{value:1}})},onemptylist:moduleUtil.doShowEmpty("暂无评论哦,快来抢沙发!","sofa")}};p.__onRefresh=function(options){this.__supOnRefresh(options);var param=options.var id=param.fid||param.var cid=param.var isCustomSource=id.indexOf("cst_rss_")===0;if(this.__list){this.__list._$recycle();this.__list=null}if(typeof cid=="undefined"||isCustomSource)var rid=id+":"+this.__mopt.item.fid=this.__mopt.cache.data={id:cid,type:0};this.__mopt.cache.lkey="article_comment_list"+this.__list=_t._$$ListModulePG._$allocate(this.__mopt)};p.__onMessage=function(options){var payload=options.if(payload.type=="insert"){this.__list._$add(payload.data)}};_e._$regist("article_comment_list",_pm._$$ArticleCommentList)})()
(function(){var _=NEJ.P;var _e=_("nej.e");var _v=_("nej.v");var _pm=_("pro.module");var _pc=_("pro.cache");if(_pm._$$CustomSubscribe)_pm._$$CustomSubscribe=NEJ.C();var p=_pm._$$CustomSubscribe._$extend(_pm._$$Module);p.__doParseParent=function(){return _e._$getByClassName(document.body,"g-mn6")[0]};p.__doBuild=function(){this.__body=_e._$html2node(_e._$getTextTemplate("tpl-customSubscribe"));this.__export={list:this.__getChildByClassName("j-flag")};this.__qInput=this.__getChildByClassName("j-q-input");this.__doInitDomEvent([[this.__body.getElementsByTagName("form")[0],"submit",this.__query._$bind(this)]])};p.__query=function(e){_v._$stopDefault(e);var q=this.__qInput.if(q===""){this.__qInput.focus();return}dispatcher._$redirect("/!/rss?q="+q)};p.__onShow=function(options){_e._$getByClassName(document.body,"g-mn6c")[0].style.display="none";this.__supOnShow(options)};p.__onHide=function(options){_e._$getByClassName(document.body,"g-mn6c")[0].style.display="block";this.__supOnHide(options)};p.__onRefresh=function(options){var param=options.var query=param.q;if(query){this.__qInput.value=param.q;this.__supOnRefresh(options)}};p.__destroy=function(){delete this.__qIthis.__supDestroy()};_e._$regist("custom_subscribe",_pm._$$CustomSubscribe)})()
(function(){var _=NEJ.P;var _e=_("nej.e");var _v=_("nej.v");var _pm=_("pro.module");if(_pm._$$Fav)_pm._$$Fav=NEJ.C();var p=_pm._$$Fav._$extend(_pm._$$Module);p.__doParseParent=function(){return _e._$get("articleList")};p.__doBuild=function(){this.__body=_e._$html2node(_e._$getTextTemplate("tpl-favList"));var list=_e._$getByClassName(this.__body,"j-flag");this.__export={list:list[0]};this.__doInitDomEvent([[this.__getChildByClassName("j-fav-search-form"),"submit",this.__onSearchFormSubmit._$bind(this)]])};p.__onSearchFormSubmit=function(e){_v._$stopDefault(e);var form=_v._$getElement(e);var q=jQuery.trim(form.q.value);if(q===""){form.q.focus();return}var hash=location.var queryIndex=hash.indexOf("?");if(queryIndex>0){hash=hash.slice(0,queryIndex)}this.__dispatcher._$redirect(hash+"?q="+encodeURIComponent(q))};_e._$regist("fav",_pm._$$Fav)})()
(function(){var _=NEJ.P;var _pc=_("pro.cache");_pc._$$FavList=NEJ.C();var p=_pc._$$FavList._$extend(_pc._$$ArticleListBase);p.__reset=function(options){this.__supReset(options);this.__url="/mysubs.do";this.__page=1};p.__doGenRequestQueryOpt=function(options){var obj={page:this.__page};if(options.query){obj.search=options.obj.operation="searchFavoriteContentList"}else{obj.operation="queryFavoriteContentList"}return obj};p.__cbListLoad=function(key,callback,json){this.__page++;_pc._$$FavList._$supro.__cbListLoad.apply(this,arguments)};p.__doPullRefresh=function(){this.__page=1;_pc._$$FavList._$supro.__doPullRefresh.apply(this,arguments)}})();
(function(){var _=NEJ.P;var _e=_("nej.e");var _u=_("nej.u");var _pm=_("pro.module");var _pc=_("pro.cache");if(_pm._$$FavList)_pm._$$FavList=NEJ.C();var p=_pm._$$FavList._$extend(_pm._$$ArticleList);p.__doBuild=function(){this.constructor._$supro.__doBuild.call(this);this.__mopt.limit=10;this.__mopt.cache.id="fav_list";this.__mopt.cache.klass=_pc._$$FavList};p.__onRefresh=function(options){var param=options.var q=param.q||"";var id="__fav__"+q;param.id=var lkey="article_list_fav";var emptyTif(q){lkey+=q;emptyText="很抱歉!没有找到“"+_u._$escape(q)+'”相关的文章建议您检索其他关键词,或'}else{emptyText="您还没有收藏过文章唉"}this.__mopt.emptyText=emptyTthis.__mopt.cache.lkey=this.__mopt.cache.clear=this.__mopt.cache.data={query:q};$.Topic("gaLogging").publish("favour");this.__supOnRefresh(options)};_e._$regist("fav_list",_pm._$$FavList)})()
{if customNode}
(function(){var _=NEJ.P;var _i=_("nej.ui");var _v=_("nej.v");var _e=_("nej.e");var _pi=_("pro.ui");var xhr=_("pro.util.xhr");var _$$RSSItem=_pi._$$RSSItem=NEJ.C();var p=_$$RSSItem._$extend(_i._$$ListItem);p.__initXGui=function(){this.__seed_html="tpl-rssItem"};p.__doRefresh=function(){this.__body.innerHTML=_e._$getHtmlTemplate(this.__seed_html,this.__data);this.__doInitDomEvent([[_e._$getByClassName(this.__body,"j-subscribe-btn")[0],"click",this.__onSubscribeBtnClick._$bind(this)]])};p.__initNode=function(){this.__body=_e._$html2node('')};p.__onSubscribeBtnClick=function(e){var target=_v._$getElement(e);var type=this.__data.curUserSubscribed?"delete":"add";var data={sourceID:this.__data.id};if(!this.__data.curUserSubscribed){data.iconUrl=this.__data.coverImageTdata.title=this.__data.data.customUrl=this.__data.customizationId}dispatcher._$message({to:"/!",mode:0,data:{type:type,data:data}});$(target).text(!this.__data.curUserSubscribed?"取消订阅":"订阅").toggleClass("btn-primary");this.__data.curUserSubscribed=!this.__data.curUserSubscribed}})();
(function(){var _=NEJ.P;var _pc=_("pro.cache");_pc._$$RSSList=NEJ.C();var p=_pc._$$RSSList._$extend(_pc._$$CacheList);p.__reset=function(options){this.__supReset(options);this.__url="/mysubs.do?operation=customSearch-j";this.__data.p=this.__data.p||0};p.__doGenRequestQueryOpt=function(options){return{page:this.__data.p+1,search:options.q}};p.__cbListLoad=function(key,callback,json){if(!json.more)this._$setLoaded(key);else this.__data.p=json.currentPcallback(json.customNodes)}})();
(function(){var _=NEJ.P;var _e=_("nej.e");var _u=_("nej.u");var _p=_("nej.ut");var _pm=_("pro.module");var _pi=_("pro.ui");var _pc=_("pro.cache");if(_pm._$$RSSList)_pm._$$RSSList=NEJ.C();var p=_pm._$$RSSList._$extend(_pm._$$Module);p.__doBuild=function(){this.__body=_e._$html2node(_e._$getTextTemplate("tpl-rssList"));var list=_e._$getByClassName(this.__body,"j-flag");this.__mopt={limit:10,parent:list[0],item:{klass:_pi._$$RSSItem},cache:{lkey:"rss_list",klass:_pc._$$RSSList,clear:true},more:list[1]}};p.__onRefresh=function(options){var param=options.this.__supOnRefresh(options);var data=underscore.defaults({},param,{q:""});var key="rss_list_"+data.q;if(this.__key!=key){this.__mopt.cache.data=this.__list&&this.__list._$recycle();this.__list=_p._$$ListModuleWF._$allocate(this.__mopt);this.__key=key}};_e._$regist("rss_list",_pm._$$RSSList)})()
{list 1..5 as x}
star}off{else}on{/if}">&
${subscribeCount|fancyNumber}人订阅/每周${updateFrequency}篇
{if subscribed}取消{else}添加{/if}订阅
${description|default:"暂无简介"|escape}
(function(){var _=NEJ.P;var _e=_("nej.e");var _v=_("nej.v");var _pi=_("pro.ui");var _pu=_("pro.util");var dialog=_("pro.ui.dialog");var ydAPI=_("yd.api");if(dialog._$$DialogAppraiseSource)dialog._$$DialogAppraiseSource=NEJ.C();var p=dialog._$$DialogAppraiseSource._$extend(_pi._$$Dialog,!0);var seed_html=_e._$addNodeTemplate('');p.__reset=function(_options){_options.title="评论";this.__supReset(_options);this.__textarea=this.__body.getElementsByTagName("textarea")[0];this.__okBtn=_e._$getByClassName(this.__body,"okbtn")[0];this.__doInitDomEvent([[this.__okBtn,"click",this.__onOKClick._$bind(this)]]);var form=this.__body.getElementsByTagName("form")[0];this.__form=_pu._$$WebForm._$allocate({form:form,message:{"content-4":"最多500字","content-5":"评论不能为空"}});this.__sourceID=_options.sourceID;this.__initStar(_options.sourceID)};p.__initStar=function(sourceID){var self=$.get("/source.do?operation=queryScore&id="+sourceID,function(data){if(data.Mark==="yes"){self.__initStarUI(data.Stars);self.__star=data.Stars}else{var el=self.__initStarUI(5);self.__star=5;self.__initStarBehavior(el)}},"json")};p.__initStarUI=function(starNum){var el=_e._$html2node(_e._$getHtmlTemplate("tpl-star",{star:starNum}));_e._$getByClassName(this.__body,"j-flag")[0].appendChild(el);return el};p.__initStarBehavior=function(el){var items=$(el).children();var levels=["真差劲","不如意","一般般","挺好的","棒极了"];items.each(function(idx){$(this).attr("title",levels[idx])});this.__doInitDomEvent([[el,"mouseover",onStarHover._$bind(this)]]);function onStarHover(e){var el=_v._$getElement(e);var index=$(el).index();this.__star=index+1;for(var x=0;x<=x++){$(items[x]).removeClass("star-off").addClass("star-on")}for(var y=index+1;y (function(){var _=NEJ.P,_o=NEJ.O,_e=_("nej.e"),_u=_("nej.u"),_v=_("nej.v"),_x=_("nej.x"),_p=_("nej.ut"),_proTif(!!_p._$$Tab)_p._$$Tab=NEJ.C();_proTab=_p._$$Tab._$extend(_p._$$Event);_proTab.__reset=function(_options){this.__supReset(_options);this.__name=_options.event||"click";this.__selected=_options.selected||"js-selected";this.__disabled=_options.disabled||"js-disabled";this.__inversed=!!_options.this.__doTabListCheck(_options.list);this._$go(_options.index||0)};_proTab.__destroy=function(){var _doResetSelect=function(_node){this.__doTabItemSelect(_node,!1)};return function(){this.__supDestroy();_u._$forEach(this.__list,_doResetSelect,this);delete this.__delete this.__delete this.__delete this.__delete this.__delete this.__inversed}}();_proTab.__doTabListCheck=function(){var _doInitDomEvent=function(_item){if(!_item)this.__list.push(_item);var _index=this.__list.length-1,_handler=this.__cblist[_index];if(!_handler){_handler=this._$go._$bind(this,_index);this.__cblist[_index]=_handler}this.__doInitDomEvent([[_item,this.__name,_handler]])};return function(_list){this.__list=[];if(!this.__cblist)this.__cblist=[];_u._$forEach(_list,_doInitDomEvent,this)}}();_proTab.__doTabItemSelect=function(_element,_selected){!!_selected&&!this.__inversed?_e._$addClassName(_element,this.__selected):_e._$delClassName(_element,this.__selected)};_proTab._$go=function(_index,_force){var _element=this.__list[_index];if(_force!=!0&&(_index==this.__index||!_element||_e._$hasClassName(_element,this.__disabled))){_v._$stopDefault(arguments[1]);return this}var _event={index:_index,last:this.__index,list:this._$getList(),data:_e._$dataset(_element,"value")};this.__index=__element=this.__list[_event.last];if(!!_element)this.__doTabItemSelect(_element,!1);_element=this.__list[this.__index];this.__doTabItemSelect(_element,!0);this._$dispatchEvent("onchange",_event);if(!_event.nostop)_v._$stopDefault(arguments[1]);return this};_proTab._$getIndex=function(){return this.__index};_proTab._$getList=function(){return this.__list};_e._$tab=_x._$tab=function(_parent,_options){var _id=_e._$id(_parent);if(!_id)if(!_p._$api(_id,_p._$$Tab)){_options=_options||{};_options.list=!_options.clazz?_e._$getChildren(_id):_e._$getByClassName(_id,_options.clazz);delete _options.clazz}return _p._$api(_id,_p._$$Tab,_options||_o)};_x.isChange=!0})();
(function(){var _=NEJ.P;var _e=_("nej.e");var _v=_("nej.v");var _pm=_("pro.module");var _pc=_("pro.cache");var xhr=_("pro.util.xhr");var dialog=_("pro.ui.dialog");if(_pm._$$Source)var tplSourceTab='';_pm._$$Source=NEJ.C();var p=_pm._$$Source._$extend(_pm._$$Module);p.__doParseParent=function(){return _e._$get("primary-sidebar")};p.__doBuild=function(){var self=this.__body=_e._$html2node(_e._$getTextTemplate("tpl-source-container"));var list=_e._$getByClassName(this.__body,"j-flag");this.__export={source:list[0],comment_list:list[1],boost_list:list[2]};this.__cache=_pc._$$Source._$allocate({id:"source",ondataload:function(data){self.__data=self.__export.source.innerHTML=_e._$getHtmlTemplate("tpl-source",data,{fancyNumber:function(num){var tenThousand=1e4;if(num>tenThousand)num=Math.floor(num/tenThousand)+"万";return num}});document.title=data.title+"--网易云阅读";self.__doClearDomEvent();self.__initNode();self.__initSharePanel()}})};p.__initSharePanel=function(){$(".j-action-shareSource").data("contentinfo",{shareType:1,textType:1,sourceUuid:this.__id,sourceTitle:this.__data.title,url:"/source/"+this.__id,imageUrl:this.__data.iconUrl,imageDescription:this.__data.shareDescription,origin:["newsreader",2]});if(this.__initedSharePanel)if(window.ydSns){window.ydSns.init({selector:"j-action-shareSource"});this.__initedSharePanel=true}};p.__initNode=function(){var actionsEl=_e._$getByClassName(this.__body,"j-actions")[0];this.__doInitDomEvent([[_e._$getByClassName(actionsEl,"j-action-comment")[0],"click",this.__doComment._$bind(this)],[_e._$getByClassName(actionsEl,"j-action-subscribe")[0],"click",this.__doSubscribe._$bind(this)],[_e._$getByClassName(actionsEl,"j-action-shareSource")[0],"click",this.__doShare._$bind(this)]])};p.__initTab=function(){var body=this.___e._$getByClassName(body,"j-sourceCommentHead")[0].innerHTML=tplSourceT_e._$tab(_e._$getByClassName(body,"j-sourceTab")[0],{index:0,event:"click",selected:"crt",onchange:function onTabChange(options){var targetEl=$(options.list[options.index]).children()[0];var href=$(targetEl).attr("href");href=href.substring(href.indexOf("#"));if(this.__lastSelectedTab)this.__lastSelectedTab.style.display="none";this.__lastSelectedTab=$(href)[0];this.__lastSelectedTab.style.display="block"}});this.__tabInited=true};p.__doShare=function(){$.Topic("gaLogging").publish("source_share")};p.__onRefresh=function(options){var param=options.this.__supOnRefresh(options);var id=param.if(this.__id==id)$.Topic("gaPageviewLogging").publish("/news_reader/source_detail");this.__cache._$getData(id);this.__id=id};p.__onMessage=function(options){if(options.data.type=="updateBoost"){if(!this.__tabInited)this.__initTab();$(this.__body).find(".j-sourceBoostTotal").text(options.data.data.count)}};p.__doComment=function(e){$.Topic("gaLogging").publish("source_comment");if(!GUser.userId)return login163();dialog._$$DialogAppraiseSource._$allocate({mask:true,destroyable:true,sourceID:this.__id})._$show()};p.__doSubscribe=function(e){$.Topic("gaLogging").publish("source_subscribe_detail");var target=_v._$getElement(e);xhr.toggleSubscribe(target,this.__data)};_e._$regist("source",_pm._$$Source)})()
(function(){var _=NEJ.P;var _e=_("nej.e");var _pm=_("pro.module");var _pc=_("pro.cache");if(_pm._$$SourceArticleList)_pm._$$SourceArticleList=NEJ.C();var p=_pm._$$SourceArticleList._$extend(_pm._$$ArticleList);p.__doBuild=function(){this.constructor._$supro.__doBuild.call(this);this.__mopt.cache.id="source_article_list";this.__mopt.cache.klass=_pc._$$ArticleLthis.__mopt.emptyText="当前资讯源暂无文章"};p.__onRefresh=function(options){var param=options.var id=param.var isCustomSource=id.indexOf("cst_rss_")===0;this.__mopt.limit=isCustomSource?20:24;this.__mopt.cache.lkey="article_list_"+this.__mopt.cache.data={id:id};this.__supOnRefresh(options)};p.__reset=function(options){var hashStr=location.href.slice(location.href.indexOf("#"));var prefix=hashStr.slice(1,3);dispatcher._$subscribe(prefix+"/source/special","getItem",this.__subscribeGetItem._$bind(this));this.__supReset(options)};p.__destroy=function(options){var hashStr=location.href.slice(location.href.indexOf("#"));var prefix=hashStr.slice(1,3);dispatcher._$unsubscribe(prefix+"/source/special","getItem",this.__subscribeGetItem._$bind(this));this.__supDestroy(options)};_e._$regist("source_article_list",_pm._$$SourceArticleList)})()
{if !defined('replied')}
{list 1..5 as x}
stars}off{else}on{/if}">&
{if defined('replied')}回复${replied.username}:{/if}${text}
{if userSelf}{/if}&
(function(){var _=NEJ.P;var _e=_("nej.e");var _pm=_("pro.module");var _pi=_("pro.ui");var _t=_("nej.ut");var _pc=_("pro.cache");var moduleUtil=_("pro.util.module");if(_pm._$$SourceCommentList)_pm._$$SourceCommentList=NEJ.C();var p=_pm._$$SourceCommentList._$extend(_pm._$$Module);p.__doBuild=function(){this.__body=_e._$html2node(_e._$getTextTemplate("tpl-source-comments"));var list=_e._$getByClassName(this.__body,"j-flag");this.__mopt={limit:10,parent:list[0],item:{klass:_pi._$$SourceCommentItem},cache:{key:"commentId",id:"source_comment_list",klass:_pc._$$CommentList},ondelete:function(options){this.__deletingRegistry=this.__deletingRegistry||{};if(this.__deletingRegistry[options.id])this.__deletingRegistry[options.id]=1;this._$delete({commentId:options.id,type:1})},onafterdelete:function(options){delete this.__deletingRegistry[options.id];if(!options.data){YD.popTip("评论删除失败")}else{}},pager:{parent:list[1]},onafteradd:function(options){var action=!options.data.replied?"评论":"回复";YD.popTip(action+"发表成功")},onemptylist:moduleUtil.doShowEmpty("暂无评论哦,快来抢沙发!","sofa")}};p.__onRefresh=function(options){var param=options.var id=param.this.__supOnRefresh(options);if(this.__lastId==id)this.__list&&this.__list._$recycle();this.__mopt.item.fid=this.__mopt.cache.data={id:id,type:1};this.__mopt.cache.lkey="source_comment_list"+this.__list=_t._$$ListModulePG._$allocate(this.__mopt);this.__lastId=id};p.__onMessage=function(options){var payload=options.if(payload.type=="insert"){this.__list._$add(payload.data)}};_e._$regist("source_comment_list",_pm._$$SourceCommentList)})()
(function(){var _=NEJ.P;var _e=_("nej.e");var _pm=_("pro.module");var _pc=_("pro.cache");if(_pm._$$SpecialArticleList)_pm._$$SpecialArticleList=NEJ.C();var p=_pm._$$SpecialArticleList._$extend(_pm._$$ArticleList);p.__doBuild=function(){this.constructor._$supro.__doBuild.call(this);this.__mopt.cache.id="special_article_list";this.__mopt.cache.klass=_pc._$$ArticleLthis.__mopt.sbody=_e._$getByClassName(document.body,"cnt")[0];this.__mopt.delta=30};p.__alignHeight=function(){_e._$getByClassName(document.body,"cnt")[0].style.height=_e._$getPageBox().clientHeight-40+"px"};p.__onRefresh=function(options){var param=options.var id=param.var tid=param.this.__mopt.cache.lkey="article_topic_list_"+this.__mopt.cache.data={id:id,topicId:tid};this.__mopt.emptyText="当前专题暂无文章";this.__supOnRefresh(options)};_e._$regist("special_article_list",_pm._$$SpecialArticleList)})()
{if imageUrl}{/if}
专题${title}
{if brief}${brief}{/if}
(function(){var _=NEJ.P;var _e=_("nej.e");var _u=_("nej.u");var _pm=_("pro.module");if(_pm._$$Special1)_pm._$$Special1=NEJ.C();var p=_pm._$$Special1._$extend(_pm._$$Module);p.__doParseParent=function(){return _e._$get("articleList")};p.__reset=function(options){this.__supReset(options);this.__doInitDomEvent([[_e._$getByClassName(this.__body,"j-return")[0],"click",this.__return._$bind(this)]])};p.__return=function(){var hashStr=location.var prefix,var queryIndex=hashStr.indexOf("?");prefix=hashStr.slice(0,queryIndex);hash=_u._$query2object(hashStr.slice(queryIndex+1));location.hash=prefix.slice(0,-8)+"?id="+hash.id};p.__doBuild=function(){this.__body=_e._$html2node(_e._$getTextTemplate("tpl-special-1"));var list=_e._$getByClassName(this.__body,"j-flag");this.__export={detail:list[0],list:list[1]}};p.__onRefresh=function(options){var param=options.var rid=param.id+param.this.__supOnRefresh(options);if(this.__id==rid)this.__id=var hashStr=location.href.slice(location.href.indexOf("#"));var prefix=hashStr.slice(1,3);this.__dispatcher._$publish("getItem",{from:prefix+"/source/special",data:{cid:param.cid}})};p.__onMessage=function(obj){if(obj.data.type=="item"){var item=obj.data.this.__initTopbar(item)}};p.__initTopbar=function(data){var imageUrl=data.images&&data.images[0]||data.summaryImage.summaryImageURL;var obj={imageUrl:imageUrl,brief:data.breif,title:data.title};this.__export.detail.innerHTML=_e._$getHtmlTemplate("tpl-special-1-detail",obj)};_e._$regist("special-1",_pm._$$Special1)})()

参考资料

 

随机推荐