【图片】研创考研寄宿学校【考研租房吧】 – 百度贴吧(创研logo)
var commonpagedata = pagedata || {}; var pagedata = { page: ‘pb’, product: ‘pb’, tbs: ‘a175da4299dc07281713913402’, can_post:0, can_anonym_post:1, forum_type: 0, follow_sign: “a906665dd7a0c1c7”, forward_sign: “c42b6eeb51e78671”, power: {“forever_ban”:false,”lz_del”:false,”picasso”:false}, is_thread_admin:0, is_posts_admin:0, staticdomain: “https://gsp0.baidu.com/5aahed3nkhi2p27j8iqw0jdnxx1xbk/” }; for (var item in commonpagedata) { pagedata[item] = commonpagedata[item]; } pagedata.forum = { id: “7128757”, forum_id: “7128757”, name: ‘考研租房’, forum_name: ‘考研租房’, name_url: “%e8%80%83%e7%a0%94%e7%a7%9f%e6%88%bf&ie=utf-8”, name_encode: “%e8%80%83%e7%a0%94%e7%a7%9f%e6%88%bf&ie=utf-8”, member_name_url: “%e4%bc%9a%e5%91%98&ie=utf-8”, first_class: “生活”, second_class: “其他生活话题”, album_good_smallflow: “”, avatar: “http:\/\/imgsrc.baidu.com\/forum\/pic\/item\/9a504fc2d56285353f5a404096ef76c6a7ef631d.jpg”, forbid_flag: “0”, has_picture_frs: “1”, member_count: “11938”, member_name: “会员”,
post_num: “62005”, shield_post: “”, sign_in_info: null}; var commonpagedatauser = { bg_id: “”, cur_score: “”, email: “”, feednumnew: “”, free_flag: “”, is_black: 0, is_block: 0, is_half_user: 0, is_like: 0, is_tenyear: 0, itieba_id: “”, level_id: “”, level_name: “”, meizhi_level: 0, mobile: “”, mobilephone: “”, name_link: “&ie=utf-8”, name_show: “”, name_weak: “”, open_uid: “”, score_card: “”, score_left: “”, sid: “”, source_id: “”, start_time: “”, superboy: “”, use_sig: 0, user_sex: 0, user_status: 0, user_type: 0, userhide: 0, picasso: “”, global: null, rank: null, tbguess_card: null, tips: null, urank: null}; for (var key in commonpagedatauser) { pagedata[‘user’][key] = commonpagedatauser[key]; } pagedata.user.forbidden = pagedata.user.is_login ? null : {}; pagedata.thread = { author: “研创考研小美”, thread_id:7349901528, title: “研创考研寄宿学校”, reply_num:1, thread_type: “0”, topic: { is_topic: false, topic_type: false, is_live_post: false, is_lpost: false, lpost_type: 0 }, /*null,*/ is_ad:0, video_url: “” }; pagedata.post_perm = {“img_num”:10,”video_num”:10,”smiley_num”:100,”white_list”:[“http:\/\/www.tudou.com\/”,”http:\/\/v.blog.sohu.com\/”,”http:\/\/tv.sohu.com\/”,”http:\/\/share.vrs.sohu.com\/”,”http:\/\/my.tv.sohu.com\/”,”http:\/\/player.56.com\/”,”http:\/\/www.56.com\/”,”http:\/\/kankanews.com\/”,”http:\/\/video6.smgbb.cn\/”,”http:\/\/www.youku.com\/”,”http:\/\/player.youku.com\/”,”http:\/\/static.youku.com\/”,”http:\/\/www.ku6.com\/”,”http:\/\/player.ku6.com\/”,”http:\/\/video.sina.com.cn\/”,”http:\/\/vhead.blog.sina.com.cn\/”,”http:\/\/you.video.sina.com.cn\/”,”http:\/\/video.qq.com\/”,”http:\/\/www.baidu.com\/”,”http:\/\/box.baidu.com\/”,”http:\/\/hi.baidu.com\/”,”http:\/\/mv.baidu.com\/”,”http:\/\/mvimg.baidu.com\/”,”http:\/\/mvideo.baidu.com\/”,”http:\/\/player.cntv.cn\/”,”http:\/\/player.xiyou.cntv.cn\/”,”http:\/\/www.yinyuetai.com\/”,”http:\/\/player.yinyuetai.com\/”,”http:\/\/www.aipai.com\/”,”http:\/\/www.cutv.com\/”,”http:\/\/player.cutv.com\/”,”http:\/\/www.pptv.com\/”,”http:\/\/v.pptv.com\/”,”http:\/\/www.letv.com\/”,”http:\/\/www.iqiyi.com\/”,”http:\/\/yule.iqiyi.com\/”,”http:\/\/player.video.qiyi.com\/”,”http:\/\/www.ifeng.com\/”,”http:\/\/s.v.ifeng.com\/”,”http:\/\/v.ifeng.com\/”,”http:\/\/www.m1905.com\/”,”http:\/\/www.joy.cn\/”,”http:\/\/client.joy.cn\/”,”http:\/\/www.molihe.com\/”,”http:\/\/mv.molihe.com\/”,”http:\/\/swf.molihe.com\/”,”http:\/\/www.baomihua.com\/”,”http:\/\/video.baomihua.com\/”,”http:\/\/www.ouou.com\/”,”http:\/\/flash.ouou.com\/”,”http:\/\/dv.ouou.com\/”,”http:\/\/misc.home.news.cn\/”,”http:\/\/www.news.cn\/”,”http:\/\/www.wasu.cn\/”,”http:\/\/play1.wasu.cn\/”,”http:\/\/play.wasu.cn\/”,”http:\/\/v.iask.com\/”,”http:\/\/i7.imgs.letv.com\/”,”http:\/\/static.video.qq.com\/”,”http:\/\/player.pptv.com\/”,”http:\/\/www.mgtv.com\/”,”http:\/\/www.meipai.com\/”,”http:\/\/baishi.baidu.com\/”,”http:\/\/www.bilibili.com\/”,”http:\/\/share.acg.tv\/”,”http:\/\/static.hdslb.com\/”,”http:\/\/bangumi.bilibili.com”]}; pagedata.special = {“has_sub_post”:1,”has_grade”:1,”has_lucky_lottery”:0,”has_basket_lottery”:0,”has_ssq_lottery”:0,”has_foot_lottery”:1,”is_match_news”:0,”lz_only”:0,”has_lz_only”:1,”is_from_spider”:false}; pagedata.ispicba = “1”; pagedata.pager = {“cur_page”:1,”total_page”:1,”page_size”:1}; var g_pg = { imagelimite: 10, flashwhitelist:[“http:\/\/www.tudou.com\/”,”http:\/\/v.blog.sohu.com\/”,”http:\/\/tv.sohu.com\/”,”http:\/\/share.vrs.sohu.com\/”,”http:\/\/my.tv.sohu.com\/”,”http:\/\/player.56.com\/”,”http:\/\/www.56.com\/”,”http:\/\/kankanews.com\/”,”http:\/\/video6.smgbb.cn\/”,”http:\/\/www.youku.com\/”,”http:\/\/player.youku.com\/”,”http:\/\/static.youku.com\/”,”http:\/\/www.ku6.com\/”,”http:\/\/player.ku6.com\/”,”http:\/\/video.sina.com.cn\/”,”http:\/\/vhead.blog.sina.com.cn\/”,”http:\/\/you.video.sina.com.cn\/”,”http:\/\/video.qq.com\/”,”http:\/\/www.baidu.com\/”,”http:\/\/box.baidu.com\/”,”http:\/\/hi.baidu.com\/”,”http:\/\/mv.baidu.com\/”,”http:\/\/mvimg.baidu.com\/”,”http:\/\/mvideo.baidu.com\/”,”http:\/\/player.cntv.cn\/”,”http:\/\/player.xiyou.cntv.cn\/”,”http:\/\/www.yinyuetai.com\/”,”http:\/\/player.yinyuetai.com\/”,”http:\/\/www.aipai.com\/”,”http:\/\/www.cutv.com\/”,”http:\/\/player.cutv.com\/”,”http:\/\/www.pptv.com\/”,”http:\/\/v.pptv.com\/”,”http:\/\/www.letv.com\/”,”http:\/\/www.iqiyi.com\/”,”http:\/\/yule.iqiyi.com\/”,”http:\/\/player.video.qiyi.com\/”,”http:\/\/www.ifeng.com\/”,”http:\/\/s.v.ifeng.com\/”,”http:\/\/v.ifeng.com\/”,”http:\/\/www.m1905.com\/”,”http:\/\/www.joy.cn\/”,”http:\/\/client.joy.cn\/”,”http:\/\/www.molihe.com\/”,”http:\/\/mv.molihe.com\/”,”http:\/\/swf.molihe.com\/”,”http:\/\/www.baomihua.com\/”,”http:\/\/video.baomihua.com\/”,”http:\/\/www.ouou.com\/”,”http:\/\/flash.ouou.com\/”,”http:\/\/dv.ouou.com\/”,”http:\/\/misc.home.news.cn\/”,”http:\/\/www.news.cn\/”,”http:\/\/www.wasu.cn\/”,”http:\/\/play1.wasu.cn\/”,”http:\/\/play.wasu.cn\/”,”http:\/\/v.iask.com\/”,”http:\/\/i7.imgs.letv.com\/”,”http:\/\/static.video.qq.com\/”,”http:\/\/player.pptv.com\/”,”http:\/\/www.mgtv.com\/”,”http:\/\/www.meipai.com\/”,”http:\/\/baishi.baidu.com\/”,”http:\/\/www.bilibili.com\/”,”http:\/\/share.acg.tv\/”,”http:\/\/static.hdslb.com\/”,”http:\/\/bangumi.bilibili.com”], flashlimite: 10, smileylimite:100};/*缩放图片的方法需要放在前面,因为有onload*//*common里也有这个方法,但是common里有settimeout的判断,在ie下会导致内存占用很大*/function resizepic_temp(o, mw, mh, need_margin) { var _mw = mw || 120; var _mh = mh || 120; var need_resize = false; var _image = new image(); _image.src = o.src; function getrightwh(rw, rh, mw, mh) { var index = 0, _rw = rw, _rh = rh; if (rw > mw) index += 1; if (rh > mh) index += 2; switch (index) { case 1: _rw = mw; _rw = rh * mw / rw; case 2: _rh = mh; _rw = rw * mh / rh; case 3: _rh = (rh / mh > rw / mw) ? mh: rh * mw / rw; _rw = (rh / mh > rw / mw) ? rw * mh / rh: mw } if (index != 0) { need_resize = true } return [_rw, _rh] } var wh = getrightwh(_image.width, _image.height, _mw, _mh); o.style.width = wh[0] + ‘px’; o.style.height = wh[1] + ‘px’; o.setattribute(“width”,wh[0]); o.setattribute(“height”,wh[1]); o.style.visibility = ‘visible’; if (need_margin == true) { o.style.margintop = (mh – parseint(wh[1])) / 2 + ‘px’ } _image = null; return need_resize}/*签名档加载失败处理*/function sign_change_img(img){img.src=’//tb1.bdstatic.com/tb/static-itieba/img/sign_err.png’;img.width=100;img.height=25;}.special_conf_skin{background:;}网页资讯视频图片知道文库贴吧地图采购
发表评论