纳美旅游(途牛旗下),提供专业出境旅游服务! 登录  |  注册

你已选择:

  • 埃及
  • 四日游
  • $401美元-$700美元
  • 墨西哥城结束
  • 苏伊顿天井
  • 西普洛乐园
  • 推荐
  • 毕业旅行

全部清除

关于我们
纳美简介 纳美荣誉 纳美动态 加入我们 联系我们 64) { $(this).html(title.substring(0,64)+"..."); } }); $('.st-tabnav').find('span').click(function () { var destid = $(this).attr('data-id'); var url = SITEURL + 'line/ajax_index_line'; var content = $(this).data(destid); var concontain = $(this).parents('.st-cp-slideTab').first().find('.st-tabcon'); $(this).addClass('on').siblings().removeClass('on'); var urlmore = $(this).attr("data-url"); $(this).parent().find('.more').attr('href', urlmore); concontain.html(''); if (content) { concontain.html(content); } else { $.getJSON(url, { destid: destid, pagesize: 6 }, function (data) { var licontent = template('tpl_line', data); concontain.html(licontent); concontain.data(destid, licontent); }); } }) }) function removeLioptNew(that) { $("#JS_range_tags_all").removeClass("active"); for (var i = 0; i < $(".m-sel-optNew li").length; i++) { $(".m-sel-optNew li").eq(i).find("a").removeClass("active"); } $(that).addClass("active"); if ($(".mSeledCrtNewRE .pngFix").length > 0) { $(".mSeledCrtNewRE .pngFix span").html($(that).html()); } else { $(".mSeledCrtNewRE").prepend('
  • '+$(that).html()+'
  • '); } } function clickAll1(that) { for (var i = 0; i < $(".m-sel-optNew li").length; i++) { $(".m-sel-optNew li").eq(i).find("a").removeClass("active"); } $(that).addClass("active"); if ($(".mSeledCrtNewRE .pngFix").length > 0) { $(".mSeledCrtNewRE .pngFix").remove(); } } function removeLioptNew2(that) { $(".sel-defNewAll").removeClass("active"); for (var i = 0; i < $(".sel-defNew li").length; i++) { $(".sel-defNew li").eq(i).find("a").removeClass("active"); } $(that).addClass("active"); if ($(".mSeledCrtNewRE .pngFix2").length > 0) { $(".mSeledCrtNewRE .pngFix2 span").html($(that).html()); } else { $(".mSeledCrtNewRE").append('
  • '+$(that).html()+'
  • '); } $(".fontNew").html($(that).html()); $(".J-banner-top").show(); } function clickAll12(that){ for (var i = 0; i < $(".sel-defNew li").length; i++) { $(".sel-defNew li").eq(i).find("a").removeClass("active"); } $(that).addClass("active"); if ($(".mSeledCrtNewRE .pngFix2").length > 0) { $(".mSeledCrtNewRE .pngFix2").remove(); } $(".J-banner-top").hide(); } function removeLioptNew3(that) { $(".m-sel-all2").removeClass("active"); for (var i = 0; i < $(".m-sel-optNew2 li").length; i++) { $(".m-sel-optNew2 li").eq(i).find("a").removeClass("active"); } $(that).addClass("active"); if ($(".mSeledCrtNewRE .pngFix3").length > 0) { $(".mSeledCrtNewRE .pngFix3 span").html($(that).html()); } else { $(".mSeledCrtNewRE").append('
  • '+$(that).html()+'
  • '); } } function clickAll13(that){ for (var i = 0; i < $(".m-sel-optNew2 li").length; i++) { $(".m-sel-optNew2 li").eq(i).find("a").removeClass("active"); } $(that).addClass("active"); if ($(".mSeledCrtNewRE .pngFix3").length > 0) { $(".mSeledCrtNewRE .pngFix3").remove(); } } function removeLioptNew4(that) { $(".m-sel-all4").removeClass("active"); for (var i = 0; i < $(".m-sel-optNew4 li").length; i++) { $(".m-sel-optNew4 li").eq(i).find("a").removeClass("active"); } $(that).addClass("active"); if ($(".mSeledCrtNewRE .pngFix4").length > 0) { $(".mSeledCrtNewRE .pngFix4 span").html($(that).html()); } else { $(".mSeledCrtNewRE").append('
  • '+$(that).html()+'
  • '); } } function clickAll14(that){ for (var i = 0; i < $(".m-sel-optNew4 li").length; i++) { $(".m-sel-optNew4 li").eq(i).find("a").removeClass("active"); } $(that).addClass("active"); if ($(".mSeledCrtNewRE .pngFix4").length > 0) { $(".mSeledCrtNewRE .pngFix4").remove(); } } function removeLioptNew5(that) { $(".m-sel-all5").removeClass("active"); for (var i = 0; i < $(".m-sel-optNew5 li").length; i++) { $(".m-sel-optNew5 li").eq(i).find("a").removeClass("active"); } $(that).addClass("active"); if ($(".mSeledCrtNewRE .pngFix5").length > 0) { $(".mSeledCrtNewRE .pngFix5 span").html($(that).html()); } else { $(".mSeledCrtNewRE").append('
  • '+$(that).html()+'
  • '); } } function clickAll15(that){ for (var i = 0; i < $(".m-sel-optNew5 li").length; i++) { $(".m-sel-optNew5 li").eq(i).find("a").removeClass("active"); } $(that).addClass("active"); if ($(".mSeledCrtNewRE .pngFix5").length > 0) { $(".mSeledCrtNewRE .pngFix5").remove(); } } function removeLioptNew6(that) { $(".m-sel-all6").removeClass("active"); for (var i = 0; i < $(".m-sel-optNew6 li").length; i++) { $(".m-sel-optNew6 li").eq(i).find("a").removeClass("active"); } $(that).addClass("active"); if ($(".mSeledCrtNewRE .pngFix6").length > 0) { $(".mSeledCrtNewRE .pngFix6 span").html($(that).html()); } else { $(".mSeledCrtNewRE").append('
  • '+$(that).html()+'
  • '); } } function clickAll16(that){ for (var i = 0; i < $(".m-sel-optNew6 li").length; i++) { $(".m-sel-optNew6 li").eq(i).find("a").removeClass("active"); } $(that).addClass("active"); if ($(".mSeledCrtNewRE .pngFix6").length > 0) { $(".mSeledCrtNewRE .pngFix6").remove(); } } function removeLioptNew7(that) { $(".m-sel-all7").removeClass("active"); for (var i = 0; i < $(".m-sel-optNew7 li").length; i++) { $(".m-sel-optNew7 li").eq(i).find("a").removeClass("active"); } $(that).addClass("active"); if ($(".mSeledCrtNewRE .pngFix7").length > 0) { $(".mSeledCrtNewRE .pngFix7 span").html($(that).html()); } else { $(".mSeledCrtNewRE").append('
  • '+$(that).html()+'
  • '); } } function clickAll17(that){ for (var i = 0; i < $(".m-sel-optNew7 li").length; i++) { $(".m-sel-optNew7 li").eq(i).find("a").removeClass("active"); } $(that).addClass("active"); if ($(".mSeledCrtNewRE .pngFix7").length > 0) { $(".mSeledCrtNewRE .pngFix7").remove(); } } //?除每一行的li function removeLi(that,index) { $(that).remove(); switch(index){ case 1 : clickAll1("#JS_range_tags_all"); break; case 2: clickAll12(".sel-defNewAll"); break; case 3: clickAll13(".m-sel-all2"); break; case 4: clickAll14(".m-sel-all4"); break; case 5 : clickAll15(".m-sel-all5"); break; case 6: clickAll16(".m-sel-all6"); break; case 7 : clickAll17(".m-sel-all7"); break; } } var is_distributor = ""; /*是否分销商*/ var ajaxUrl = ''; var _url__rule_ = { "separator": "_", "value_separator": "-", "extension": "\/", "transform_parameters": { "vc": "attractions", "tc": "destination", "fc": "departure", "m": "prices", "st": "sort", "d": "days", "wk": "week", "pp": "page", "sk": "stock", "pu": "pickUp", "hd": "icon_types_hd", "ts": "icon_types_ts", "sd": "start_date", "sdft": "start_date_from_to", "rz": "icon_types_rz" }, "sort": { "1": "attractions", "2": "departure", "3": "destination", "4": "days", "5": "week", "6": "prices", "7": "sort", "8": "stock", "9": "page", "10": "pickUp", "11": "icon_types_hd", "12": "icon_types_ts", "13": "icon_types_rz" }, "rule": { "attractions": { "separated": "-", "type": "is_numeric", "sort": "asc", "aliases": "vc" }, "destination": { "type": "is_numeric", "aliases": "tc" }, "departure": { "type": "is_numeric", "aliases": "fc" }, "prices": { "separated": "-", "type": "is_numeric", "aliases": "m" }, "sort": { "type": "in_array$1a,3a,1d,3d", "aliases": "st" }, "days": { "separated": "-", "type": "is_numeric", "aliases": "d" }, "week": { "type": "is_numeric", "aliases": "wk" }, "page": { "type": "is_numeric", "aliases": "pp" }, "stock": { "type": "is_numeric", "aliases": "sk" }, "pickUp": { "type": "is_numeric", "aliases": "pu" }, "icon_types_hd": { "separated": "-", "type": "is_numeric", "aliases": "hd" }, "icon_types_ts": { "separated": "-", "type": "is_numeric", "aliases": "ts" }, "start_date": { "aliases": "sd" }, "start_date_from_to": { "separated": ":", "aliases": "sdft" }, "icon_types_rz": { "separated": "-", "type": "is_numeric", "aliases": "rz" } } }; $(document).ready(function(){ $(".feature-txt").children().css({"color":"#8a8a8a","font-size":"12px","font-family":"微软雅黑","margin":"0",}); $(".feature-txt p").children().css({"color":"#8a8a8a","font-size":"12px","font-family":"微软雅黑","margin":"0",}); $(".feature-txt p span").children().css({"color":"#8a8a8a","font-size":"12px","font-family":"微软雅黑","margin":"0",}); });