(function($){ var Play = { init: function(flashConfig, videoList){ this.flashConfig = flashConfig; this.videoList = videoList; this.playVideo = playVideo; this.prev = this.current = 0; this.length = this.videoList.length; this.contNode = $("#J_Video_Autoplay"); this.titleNode = $("#J_Video_Source"); this.playListNode = $("#J_Play_List .J_Play_Item"); if(videoList.length!==1){ //显示小图 CommonTool.byId('J_Play_List_Wrap').style.display=''; } if(videoList.length<5){ CommonTool.byId('J_Player_Prev').style.display='none'; CommonTool.byId('J_Player_Next').style.display='none'; } this.initPlayer(); this.bind(); }, bind: function(){ var _this = this; $("#J_Play_List").on("click", ".J_Play_Item a", function(e){ e.preventDefault(); _this.playCurrent($(this)); }); }, initPlayer: function(){ var _this = this; this.player = this.playVideo(this.flashConfig); this.player.init(this.videoList[this.prev]); this.player.on("playCompleted", function(){ _this.playNext(); }); this.playListNode.eq(0).addClass("selected"); this.titleNode.html(this.videoList[0].title); }, playCurrent: function($this){ this.prev = this.current; this.current = $this.parents(".J_Play_Item").index(); this.play(this.prev, this.current); }, playNext: function(){ if(!this.contNode[0].checked){ return; } this.prev = this.current; if(this.current >= this.length - 1){ return; } this.current++; this.play(this.prev, this.current); }, play: function(prev, current){ this.player.playVideo(this.videoList[current]); this.titleNode.html(this.videoList[current].title); this.playListNode.eq(prev).removeClass("selected"); this.playListNode.eq(current).addClass("selected"); } } Play.init(flashConfig, videoList); })(jQuery);
新华社评论员:突破核心技术 铸造国之重器
科学技术是第一生产力,关键核心技术是国之重器。唯有从国家发展需要出发,提升技术创新能力,加强基础研究,努力取得重大原创性突破,才能在更加激烈的科技竞争中牢牢掌握主动权,立于不败之地。
责任编辑:孙剑嵩

![图片[1]-资源vam下载游戏资源下载mod网-上淘有品虚拟资源下载](https://www.4ecb.com/wp-content/uploads/2022/04/1651232098-523af537946b79c.jpg)





