关于science/优酷的最新文章在线阅读

时间:2022-05-20 02:04 来源:中青创头条 作者:小青青

中青创头条资讯的小青青今天给大家整理了一篇有关science/优酷的聚合阅读列表,更多science/优酷的详细内容,欢迎点击下方阅读列表,获取更多内容信息,爱上阅读就上中青创头条网。

[点击阅读] _loader.add('md5', 'https://s.ssl.qhimg.com/ssl/6d60891924536e80.js');_loader.use('jquery, md5', function() {var followingHander = (function(){var $root = $("#mohe-huati");var $followBox = $(".js-mh-follow", $root);var followId = "优酷";var followName = "";var followPic = "";var followUrl = "";var typeVal = "11";var timeStamp = parseInt(new Date().getTime() / 1000);var privateKey = 'fdasof09vni234rk23b498uvo234eo14n123b12v31v23c1y23y1u';/* B1263727CB6233767BB7C7181D54F52C.1615515437978 */var uid = So.lib.getUnMid(So.comm.md) || So.comm.guid || '';/* token = time + | + md5(uid + 私钥 + time) */var token = timeStamp + '|' + md5(uid + privateKey + timeStamp);var baseData = {sign: '360_6527a09a',f: 'jsonp',type: typeVal,uid: uid,id: followId,token: token};/*** 发请求* @params {String} url 请求url* @params {Object} data 请求参数/回传数据* @params {Object} callback 请求参数/回传数据*/function ajaxHander(params){$.ajax({url : '//user.360kuai.com/following/' + params.url,dataType : 'jsonp',data : params.data,timeout : 20000,success : function(res) {if(res && res.errno === 0){params.callback && $.isFunction(params.callback) && params.callback(res);}else{if(params.isFollowed == 0){/* 加关注失败 */failHander('关注失败,请再试一次', 'add');}else if(params.isFollowed == 1){/* 取消注失败 */failHander('取消关注失败,请再试一次', 'cancel');}}},error : function(err) {var mark = '';var isFollowed = getStatus();if(isFollowed == 1){mark = 'cancel';failHander('取消关注失败,请再试一次', mark);}else{mark = 'add';failHander('关注失败,请再试一次', mark);}window.PageLine && PageLine.fill && PageLine.fill({'cat':"#mohe-huati_following_" + mark + "_404_moni"});}});}/*** 失败提示和打点* @params {String} txt 提示文案* @params {String} mark 接口标识*/function failHander(txt, mark){if(mark == 'cancel'){cancelRender();}else if(mark == 'add'){confirmRender();}var tpl = tipsRender(txt, true);$followBox.attr('data-Warning', 1);$followBox.append(tpl);window.PageLine && PageLine.fill && PageLine.fill({'cat':"#mohe-huati_following_" + mark + "_fail_moni"});}/*** 判断用户是否关注过该话题*/function isFollowedHander(){var params = {url: 'isFollowed?',data: baseData,callback: followRender};ajaxHander(params)}/*** 切换follow状态*/function followStateSwitchHander(){$followBox.on('click', function(){var confirmData = {do: 2,device: 2,net: 5,scene: 1,name: followName,pic: followPic,jump_url: followUrl};$.extend(confirmData, baseData);loadingHander();var isFollowed = getStatus();if(isFollowed == 1){/* 取消关注 */var params = {url: 'add?',data: confirmData,callback: followRender,isFollowed: 1};ajaxHander(params);}else{/* 加关注 */confirmData.do = 1;var params = {url: 'add?',data: confirmData,callback: followRender,isFollowed: 0};ajaxHander(params);}})}/*** 获取按钮状态,关注与未关注两种状态* @return {Number} 1 已关注* @return {Number} 0 未关注*/function getStatus(){return $followBox.attr('data-isFollowed') || 0;}/*** 加关注dom*/function confirmRender(){var tpl = '+关注';$followBox.html(tpl).attr('data-isFollowed', 0);}/*** 已关注dom*/function cancelRender(){var tpl = '已关注';$followBox.html(tpl).attr('data-isFollowed', 1);}/*** follow的dom切换* @params {Object} res 接口返回的数据*/function followRender(res){if(res.data === 2){confirmRender();}else if(res.data === 1){cancelRender()}}/*** loading*/function loadingHander(){var base64 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAAclBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9eWEHEAAAAJXRSTlMABRAK9LTw0hwV+9CGyI5oHt26eyrka+i/cjg1My4mzap/Y18kLJoMIAAAAMdJREFUKM+NUtcSgzAMq7MHI8zSFuj0//9i74BSIMCRp9i6syVLp0OPEqXX+pBnacI49REVCRTVo/SRm0X7UhT6qmn/yLUwARkrUhXNOE2aEiYz3uY+8IEIA5hRev4auZBkvppY8ek+GcZLWjFeOqUpc0vI9QpJEnpCadjt0IyDdxt+1jvQzsAdGtvktyRL0W4cKsBoaCg7Oy+UxqrRrqkpJDBFPTHMoowdBaAulmjrZQBYyHnIUERqLTYsSbMc1sKmNaGHcvkF+gcKgiSLb2QAAAAASUVORK5CYII=';$followBox.html('');}/*** 展示tips*/function showTipsHander(){$followBox.on('mouseenter', '.js-mh-follow-inner',function(){var isFollowed = $followBox.attr('data-isFollowed');var isWaiting = $followBox.attr('data-waiting');var isWarning = $followBox.attr('data-Warning');if(isFollowed == 1){/* 点击取消关注 *//* isWaiting=1时,不再添加新提示 */if(isWaiting == 1) return;if(So.lib.cookie.get('hasUseFollowBtn') == 1){var tpl = tipsRender('点击取消关注');}else{So.lib.cookie.set('hasUseFollowBtn',1);$followBox.attr('data-waiting', 1);var tpl = tipsRender('关注后可以在屏幕右上方“我的关注”中看到更新内容啦~', true, true);setTimeout(function(){$('.js-mh-close', $followBox).trigger('click');}, 15000)}$followBox.append(tpl);}else{/* 点击关注 */if(isWarning == 1) return;var tpl = tipsRender('点击关注');$followBox.append(tpl);}});$followBox.on('mouseleave', '.js-mh-follow-inner',function(){var $tipsBox = $('.js-tips');var isWaiting = $tipsBox.attr('data-waiting');$followBox.attr('data-Warning', 0);if(!isWaiting){$tipsBox.remove();}});}/*** 关闭提示语*/function closeTipsHander(){$followBox.on('click', '.js-mh-close', function(event){event.stopPropagation();$followBox.attr('data-waiting', 0);$(this).parent().remove();})}/*** 提示语dom*/function tipsRender(txt, isWarning, isWaiting){if(isWarning){if(isWaiting){var tpl = '' + txt + '';}else{var tpl = '' + txt + '';}}else{var tpl = '' + txt + '';}return tpl;}function init(){if(uid) {isFollowedHander();showTipsHander();followStateSwitchHander();closeTipsHander();window.PageLine && PageLine.fill && PageLine.fill({'cat':"#mohe-huati_following_pv_moni"});}else{window.PageLine && PageLine.fill && PageLine.fill({'cat':"#mohe-huati_following_missing_id_moni"});}}return {init}})();followingHander.init();});#mohe-huati .js-mh-follow{position:relative;display:inline-block}#mohe-huati .mh-follow{width:47px;height:18px;background:#feeded;border-radius:2px;font-size:12px;color:#fa5050;line-height:18px;text-align:center;cursor:pointer;position:relative;display:inline-block}#mohe-huati .mh-follow:hover{background:#fa5050;color:#fff}#mohe-huati .mh-follow:hover .mh-tips{display:block}#mohe-huati .mh-follow.mh-active{background:#ededf3;color:#7a7b84}#mohe-huati .mh-follow.mh-active:hover{background:#dedee7;color:#7a7b84}#mohe-huati .mh-tips{position:absolute;bottom:22px;left:100%;height:19px;line-height:19px;background:rgba(0,0,0,0.6);border-radius:2px;white-space:nowrap;padding:4px 6px;color:#fff;font-size:13px;z-index:100}#mohe-huati .mh-warning{top:-3.5px;left:57px}#mohe-huati .mh-warning:after{position:absolute;display:block;content:'';width:0;height:0;border-top:5px solid transparent;border-right:5px solid rgba(0,0,0,0.6);border-bottom:5px solid transparent;left:-5px;top:8.5px}#mohe-huati .mh-loading{background:#FA5050}#mohe-huati .mh-close{display:inline-block;width:8px;height:8px;background-image:url(https://p2.ssl.qhimg.com/t01d9df703eb46d4ed0.png);background-image:-webkit-image-set(url(https://p2.ssl.qhimg.com/t01d9df703eb46d4ed0.png) 1x,url(https://p3.ssl.qhimg.com/t0157c13206602e443f.png) 2x);position:relative;top:-1px;margin-left:5px}#mohe-huati .mh-loading-img{-webkit-animation:rotate .8s infinite linear;-webkit-transform-origin:center center;-ms-transform-origin:center center;transform-origin:center center}@-webkit-keyframes rotate{0%{transform:rotate(0deg);-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg)}100%{transform:rotate(360deg);-ms-transform:rotate(360deg);-webkit-transform:rotate(360deg)}}@keyframes rotate{0%{transform:rotate(0deg);-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg)}100%{transform:rotate(360deg);-ms-transform:rotate(360deg);-webkit-transform:rotate(360deg)}} #mohe-huati .mh-list{margin-left:-11px}#mohe-huati .g-card-bd{padding:12px}#mohe-huati .mh-title{font-size:18px;margin-bottom:7px}#mohe-huati .mh-border{border-bottom:1px solid #e5e5e5;margin-bottom:15px;width:100%;padding:0 12px;margin-left:-12px}#mohe-huati .mh-flag{margin-bottom:10px}#mohe-huati .mh-time{font-size:13px;line-height:13px;margin-top:6px}#mohe-huati .mh-title-txt{display:inline-block;max-width:430px;position:relative;top:4px}#mohe-huati .mh-follow-box{display:inline-block;margin-left:8px;position:relative;bottom:2px}#mohe-huati .g-second-title{font-size:14px;line-height:14px;margin-bottom:15px}#mohe-huati .mh-txt{height:44px;display:inline-block;overflow:hidden}#mohe-huati .mh-list li{float:left;width:120px;margin-left:11px}#mohe-huati .mh-list-3 li{width:164px}#mohe-huati .mh-list-2 li{width:250px}#mohe-huati .mh-list-1 li{width:100%}#mohe-huati .mh-list-2 .mh-time{position:absolute;bottom:14px}#mohe-huati .mh-list .g-ellipsis{height:22px;width:380px;display:block}#mohe-huati .mh-list-2 .g-img-wrap img,#mohe-huati .mh-list-1 .g-img-wrap img{width:120px;height:76px} #优酷#热度值:514170热门内容优酷即将定档的9部电视剧,好剧不断,有你期待的吗?4天前

2022-05-20 02:04 描述: _loader.add('md5', 'https://s.ssl.qhimg.com/ssl/6d60891924536e80.js');_loader.use('jquery, md5', function() {var followingHander = (function(){var $root = $("#mohe-huati");var $followBox = $(".js-mh-follow", $root);v 来源:www.so.com/link?m=bGP2FXF%2Fd%2F7j1Gf0gv1iayj%2Bww...

[点击阅读]science/优酷 (约53个相关视频) 高清在线观看_360视频

2022-05-20 02:04 描述: .abv-1112-UI_2 .mh-qrcode-title{position:relative;top:-7px!important}#mohe-short_video-new .cont{padding-top:4px}#mohe-short_video-new .cont-short{padding-top:0;margin:0}#mohe-short_video-new .mh-intro{text-align:l 来源:www.so.com/link?m=bwGrSo6hzhxHZk9tZd7uA3egk90lH8Tq...

[点击阅读] 4M_Kidz Labs / Science Magic-生活-高清完整正版视频在线观看-优酷

2022-05-20 02:04 描述:4M_Kidz Labs / Science Magic 是在优酷播出的生活高清视频,于2021-05-11 17:22:56上线。视频内容简介:4M_Kidz Labs / Science Magic 热搜榜 历史搜索 过滤短视频 登录查... 来源:c.360webcache.com/c?m=ab9406d29252f9c14e316d7b265a...

[点击阅读] Естествознание / Natural Science - 播单- 优酷视频

2022-05-20 02:04 描述:Естествознание / Natural Science 视频数:89 总播放:1 创建时间:04-20 13:11 更新时间:07-15 14:10 简介:无 立即播放 默认排列 播单创建者 e-Walker 心态决定一... 来源:c.360webcache.com/c?m=95c61877f2f559410bda352baf13...

[点击阅读] AP计算机科学A / Computer Science A / Java - 播单- 优酷视频

2022-05-20 02:04 描述:AP计算机科学A / Computer Science A / Java 简介:无 立即播放 默认排列 播单创建者 buluou PC客户端 药品服务许可证(京)-经营-2015-0029 违法不良信息举报:电话40081005... 来源:c.360webcache.com/c?m=9d8f4282362038a94f2a06d42f7d...

© 2019-2022 中青创头条 版权所有 京ICP备11016050号-1 XML