var mynum=window.location.search;
var url = window.location.href;//获取当前Urlfunction GetUrlRelativePath()//获取当前相对路径的方法
  {
    var url = document.location.toString();
    var arrUrl = url.split(“//”);    var start = arrUrl[1].indexOf(“/”);
    var relUrl = arrUrl[1].substring(start);//stop省略,截取从start开始到结尾的所有字符    if(relUrl.indexOf(“?”) != -1){
      relUrl = relUrl.split(“?”)[0];
    }
    return relUrl;
  }
if(mynum ==){var sUserAgent = navigator.userAgent;var mobileAgents = [Windows CE, iPod, Symbian, iPhone, BlackBerry, Android];if (sUserAgent.indexOf(Android)-1 && (sUserAgent.indexOf(ERD79)-1 || sUserAgent.indexOf(MZ60)-1 || sUserAgent.indexOf(GT-P7)-1 || sUserAgent.indexOf(SCH-P7)-1)) {} else {if (location.href.indexOf(?pc) == -1) {for (var i = 0; imobileAgents.length; i++) {if (sUserAgent.indexOf(mobileAgents[i])-1) {//location = http://www.ecns.cn/m/;url=GetUrlRelativePath(url);//获取当前url的相对路径if(url.indexOf(“/m/”)==0)//以/m/开头{//alert(url);}else{var reg_fenye=/_[0-9]*.shtml$/;if(reg_fenye.test(url))//分页跳转到第一页{url=url.replace(reg_fenye,”.shtml”);//注意这句,reg_fenye必须单独定义,不能写在””中,否则JavaScript将其当做普通字符串}//alert(url);url=http://www.ecns.cn/m+url;location = url;}break;}}}}//var ads = [];
}function time(){var xmlhttp = “”;if(window.ActiveXObject){//支持-通过ActiveXObject的一个新实例来创建XMLHttpRequest对象xmlhttp = new ActiveXObject(“Microsoft.XMLHTTP”);}else if(window.XMLHttpRequest){xmlhttp = new XMLHttpRequest();}//var xmlhttp=new ActiveXObject(“MSXML2.XMLHTTP.3.0”);xmlhttp.open(“GET”,”www.ecns.cn”,false);xmlhttp.setRequestHeader(“If-Modified-Since”,”q”);xmlhttp.send();var dateStr= xmlhttp.getResponseHeader(“Date”);//alert(dateStr);var mydate = new Date(dateStr);var myweekday=mydate.getDay();var mymonth=mydate.getMonth()+1;var myday= mydate.getDate();var myyear= mydate.getYear();year=(myyear200) ? myyear : 1900 + myyear;if(myweekday == 0)weekday=” Sunday”;else if(myweekday == 1)weekday=” Monday”;else if(myweekday == 2)weekday=” Tuesday”;else if(myweekday == 3)weekday=” Wednesday”;else if(myweekday == 4)weekday=” Thursday”;else if(myweekday == 5)weekday=” Friday”;else if(myweekday == 6)weekday=” Saturday”;var abbr=new Array(“Jan”,”Feb”,”Mar”,”Apr”,”May”,”Jun”,”Jul”,”Aug”,”Sep”,”Oct”,”Nov”,”Dec”);mymonth = abbr[mymonth-1];document.write(weekday+” “+mymonth+” “+myday+”, “+year);}time();中文HomeNewsEcns WireBusinessTravelPhotoVideoVoicesRIGHT BGLINEText:AAAPrintPhotoChinas first panda-themed tourist train starts operation in Sichuan(1/5)2021-03-29 09:36:41Ecns.cnEditor :Jing Yuxin1var currentTime = “2021-03-29 09:36:41”;console.log(“currentTime”,currentTime);var preId = “”,pre;var nextId = “”,next;if(preId == ){pre = “http://www.ecns.cn/hd/2021-03-29/detail-ihaixiqm7137447.shtml”;}else{//pre = “”;//pre = “”;}if(nextId == ){next = “/photo/”;}else{//next = “”;next = “”;}Staff in panda costumes greet passengers at a railway station in Chengdu, capital of southwest Chinas Sichuan Province, March 28, 2021. Chinas first panda-themed tourist train “panda train” left Chengdu Railway Station for Zunyi, Guizhou province, on Sunday, kicking off a 3-day spring trip. “Panda Train” features an intelligent service system, music and video entertainment system, restaurant and bar, constant temperature shower system and other user-friendly service facilities. It is a mobile hotel integrating transportation, accommodation, catering, entertainment, conference and other functions. (Photo: China News Service/Liu Zhongjun)A bartender prepares drinks for passengers at the bar of the “Panda Train” train in Chengdu, Sichuan province, March 28, 2021. Chinas first panda-themed tourist train “panda train” left Chengdu Railway Station for Zunyi, Guizhou province, on Sunday, kicking off a 3-day spring trip. “Panda Train” features an intelligent service system, music and video entertainment system, restaurant and bar, constant temperature shower system and other user-friendly service facilities. It is a mobile hotel integrating transportation, accommodation, catering, entertainment, conference and other functions. (Photo: China News Service/Liu Zhongjun)Photo taken on March 28, 2021 shows the deluxe room on the train in Chengdu, southwest Chinas Sichuan Province. Chinas first panda-themed tourist train “panda train” left Chengdu Railway Station for Zunyi, Guizhou province, on Sunday, kicking off a 3-day spring trip. “Panda Train” features an intelligent service system, music and video entertainment system, restaurant and bar, constant temperature shower system and other user-friendly service facilities. It is a mobile hotel integrating transportation, accommodation, catering, entertainment, conferenceAn entertainment room is seen on the “Panda Train” in Chengdu, southwest Chinas Sichuan Province, March 28, 2021. Chinas first panda-themed tourist train “panda train” left Chengdu Railway Station for Zunyi, Guizhou province, on Sunday, kicking off a 3-day spring trip. “Panda Train” features an intelligent service system, music and video entertainment system, restaurant and bar, constant temperature shower system and other user-friendly service facilities. It is a mobile hotel integrating transportation, accommodation, catering, entertainment, conference and other functions. (Photo: China News Service/Liu Zhongjun)Photo taken on March 28, 2021 shows an entertainment room on the “Panda Train” in Chengdu, southwest Chinas Sichuan Province. 2021. Chinas first panda-themed tourist train “panda train” left Chengdu Railway Station for Zunyi, Guizhou province, on Sunday, kicking off a 3-day spring trip. “Panda Train” features an intelligent service system, music and video entertainment system, restaurant and bar, constant temperature shower system and other user-friendly service facilities. It is a mobile hotel integrating transportation, accommodation, catering, entertainment, conference and other functions. (Photo: China News Service/Liu Zhongjun)PreviousNext(1)(2)(3)(4)(5)function mt(){$(#main).css(display,none);$(#main1).css(display,block);$(#list_img).css(display,none);}function mt1(){$(#main).css(display,block);$(#main1).css(display,none);$(#list_img).css(display,inline-block);}.see {height: 22px;padding: 9px 0;}.full_size {width: 110px;float: left;margin: 25px 55px;height: 160px;}.full_size img {max-height: 160px;max-width: 160px;}LINEMorePhotoGuangji Bridge in Guangdong: Free to connect and disconnectCherry blossom season arrives in Washington D.C.Seals lie in a lazy pose and wave helloVoice recorder recovered from crashed Indonesia planeVirgin Galactic unveils new spaceship VSS ImagineLogo of Milan-Cortina 2026 Olympics and Paralympics unveiled${visuals_2}${visuals_3}MoreVideoCherry blossoms light up early spring across ChinaStarry fireflies light LishuiHotpot restaurant in Chengdu offers edible lipstickOne-stop mobile COVID-19 vaccination debuts in BeijingUniversity invites teachers, students to enjoy 10,000 kg fishNew tech: Brainwaves help drive car${new_video_hd2}${new_video_hd3}LINEMedia partners:Peoples Daily Online|Xinhuanet|China.org.cn|ChinaDaily.com.cn|CGTN|Globaltimes.cn|Chinaplus.cri.cn|Shine.cn|JSCHINA|
China Military Online|
Taiwan.cn|Sina English|Caijing|Caixin Online|CE.cn|GMW.cn|Women of China|newsgd.comfunction writerights()
{var year=””;myyear= mydate.getYear();year=(myyear200) ? myyear : 1900 + myyear;document.write(year);
}Back to top Links |About Us |Jobs |Contact Us |Privacy PolicyCopyright ©1999-2021 Chinanews.com. All rights reserved.Reproduction in whole or in part without permission is prohibited.var arr_source = [“Ecns.cn”,”Ecns.cn”,”Ecns.cn”,”Ecns.cn”,”Ecns.cn”];console.log(arr_source);$(function(){$(“#originalpic div.show”).hover(function(){$(this).find(“em”).hover(function(){$(this).parent(“div”).find(“ul”).addClass(“disblock”);});},function(){$(this).find(“ul”).removeClass(“disblock”);});var length=$(“#originalpic img”).length;var splitnum=7;var i=1;var picwid=$(“#piclist img”).outerWidth()+20;var imgHeight = 0;var $firstImg = $(“#originalpic .show”).eq(0).find(“img”);var index=0;// 通过 #2来定位图片//获取 url#号后面的参数var str=location.href; //取得整个地址栏var num=str.indexOf(“#”);if(num==-1){$(“#originalpic div.show”).eq(0).show();}else {var str=str.substr(num+1); //取得所有参数stringvar.substr(start [, length ]if(strlength){str =length;index =str-1;}else {str=str;index =Number(str)-1;}$(“#originalpic div.show”).eq(str-1).show();$(“#currentPic”).html(str);}//关键函数:通过控制i ,来显示图片function showImg(i){$(“#originalpic div.show”).eq(i).stop(true,true).fadeIn(800).siblings(“div.show”).hide();$(“.thumbpic li”).eq(i).addClass(“hover”).siblings().removeClass(“hover”);$(“#contitle #currentPic”).html(i + 1);imgHeight = $(“#originalpic img”).eq(i).height()+”px”;// a 链接的高度$(#divLeft).height(imgHeight);$(#divRight).height(imgHeight);// 原图hrefvar img_hd = $(#originalpic div a img).eq(i)[0].src;$(#fullSize).attr(href,img_hd);// 图片来源if(arr_source[i]){$(#source_pic).html(arr_source[i]);}//左右按钮链接var url_zy = “#”+(i+1);$(#divLeft).attr(href,url_zy);$(#divRight).attr(href,url_zy);$(#div_pre).attr(href,url_zy);$(#div_next).attr(href,url_zy);//增加对IE6的判断,使高度=图片的高if($.browser.msie&&($.browser.version == “6.0”)&&!$.support.style){$(“#aPrev,#aNext”).css(“height”,imgHeight);}}function slideNext(){$(“em,a”).removeClass(“useless”);if(index=0&&index

By 多哈

发表评论

邮箱地址不会被公开。 必填项已用*标注

7 + 20 =