$(function(){ var w=$("body").width(); str=''; var items={"items":{"s10001":{"id":"s10001","type":"page","params":{"name":"首页","share_title":"苏格兰高地精品小团 | 走吧旅行","describe":"苏格兰高地精品小团 | 走吧旅行","bgmusic":"10001","image":"/UploadPath/202405191657028981.jpg","sign":"1zwiIgkp27b01d1687de3","end_time":"2024-09-09 18:00:00"}},"n107443416503282":{"id":"n107443416503282","type":"home_yuyue_bg","params":{"bigtxt":"踏上难忘的苏格兰之旅","smalltxt":"让我们一起旅行,体验正宗的苏格兰文化","btn":"我们的线路","btnurl":"#","imgUrl":"/UpfilePath/202603271629116542.jpg"}},"n6627177042348413":{"id":"n6627177042348413","type":"home_youshi","params":{"bigtxt":"选择走吧旅行的理由","smalltxt":"走吧旅行是一家苏格兰观光旅游运营公司,专注提供精品小团导游服务。我们在苏格兰全境提供运营服务","btn":"了解更多关于我们旅行团的信息","btnurl":"https://www.xiaohongshu.com/user/profile/5f4fb91b000000000101c107?xsec_token=YBmM_bX7uk1lQp4mCXtdg6s2VK595TXb6NmRkGlDaAavM=&xsec_source=app_share&xhsshare=CopyLink&shareRedId=OD0zMDw2Ozk2NzUyOTgwNjdHOTo2Sjs9&apptime=1778177688&share_id=9547fa6b5ef0454fb3323b8d1f2b38ee","imgUrl":"img/diy/home_youshi.jpg"},"data":[{"imgUrl":"/UpfilePath/202603280804189999.png","text":"打卡高地秘境"},{"imgUrl":"/UpfilePath/202603280808309721.png","text":"经验丰富的司机导游"},{"imgUrl":"/UpfilePath/202603280808304869.png","text":"奔驰9座商务车"},{"imgUrl":"/UpfilePath/202603280808311231.png","text":"4-8人小团"},{"imgUrl":"/UpfilePath/202603280808304112.png","text":"包含高地核心位置住宿"},{"dataId":5,"imgUrl":"/UpfilePath/202603280808317981.png","text":"纯玩旅程无隐藏消費"}]},"n468188629204018":{"id":"n468188629204018","type":"goods","params":{"title":"热门旅行线路","textAlign":"center"},"data":[{"goods_id":"10008","goods_name":"高地常規三日遊","goods_img":"/UpfilePath/202605130355366335.jpeg"},{"goods_id":"10004","goods_name":"高地深度三日遊","goods_img":"/UpfilePath/202605130355466572.jpeg"},{"goods_id":"10009","goods_name":"蘇格蘭包車","goods_img":"/UpfilePath/202605130428201480.jpeg"}]},"n8795317176995616":{"id":"n8795317176995616","type":"textbtn","params":{"bigtxt":"","text":""},"data":[{"text":"苏格兰高地之旅","linkUrl":"Blog"},{"dataId":1,"text":"尼斯湖冬季之旅","linkUrl":"7-Reasons-Why-Travelers-Love-Winter-in-the-UK"},{"dataId":2,"text":"天空岛冬季之旅","linkUrl":"Travel-Guide"}]},"n691737910594536":{"id":"n691737910594536","type":"pingjia","params":{"bigtxt":"来自客人的好评:","smalltxt":"我们的顾客返程时,总会带回许多精彩故事。以下是几则我们相信您一定会喜欢的分享!","btn":"阅读更多:小红书","btnurl":"https://www.xiaohongshu.com/board/676b2bb8000000000300929a?xhsshare=CopyLink&appuid=67109170000000001d032e54&apptime=1778177620&share_id=05c44e2f6f924d82a6b45d6658c49a1b"},"data":[{"title":"与天空岛的温柔邂逅","text":"GB英国之行三日天空岛之旅圆满落幕,我们又将踏上新的旅程。只是心底已悄悄记下:下次再来,定要在这个海边小渔村,静静住上几日,让时光慢下来,再慢下来。"},{"title":"高地|永远沉迷于群像的生命力","text":"我的人生又多出一段特别特别美好的回忆,照片只是瞬间 但共振过的回忆会成为永远"}],"$dataitem":"/Travel-Tips"},"n7977544388183277":{"id":"n7977544388183277","type":"textbtn","params":{"bigtxt":"旅行指南与游记故事","text":"出行前需要寻找旅行灵感?不妨前往走吧博客,阅读真实的旅行故事、目的地指南以及来自旅途的独家贴士——这些内容旨在帮你规划一场真正专属你的旅程。"},"data":[{"text":"阅读我们的博客","linkUrl":"/Blog/Blog/1/"},{"dataId":1,"text":"旅行指南","linkUrl":"/Blog/Travel-Guide/1/"},{"dataId":2,"text":"旅行贴士","linkUrl":"/Blog/Travel-Tips/1/"}]}}}; var goods_data=[]; goods_data[10004]={"id":10004,"info":[{"goods_name":"高地深度三日遊","goods_zk":"", "selling_point_1":"天空島深度游玩", "selling_point_2":"徒步世界的盡頭--燈塔,以及攀登老人峰", "goods_price":"379", "content":"", "from":"愛丁堡", "tedian":"","tag":"最受欢迎"},{"goods_name":"The-Wild-Coast-of-Dingle-Peninsula-Slea-Head","goods_zk":"", "selling_point_1":"Stunning views of the Atlantic", "selling_point_2":"Ancient ruins & quaint Irish villages", "goods_price":"199", "content":"Dingle Peninsula will take your breath away, so much so that you may struggle to find better views anywhere else. Glorious beaches line luscious shores, and the traditions of a rich, passionate culture are woven into everyday life. When you think this place can’t get any better, you’ll fall for the colourful town of Dingle, savour freshly caught seafood, stroll the charming streets, and fight the urge to move here for good.", "from":"Killarney", "tedian":"It’s passionate, wild, mysterious...and it will take your breath away","tag":"Most popular"},{"goods_name":"高地深度三日遊","goods_zk":"", "selling_point_1":"", "selling_point_2":"", "goods_price":"379", "content":"", "from":"愛丁堡", "tedian":"","tag":"最受歡迎"}],"params":{"imgpath":"/UpfilePath/202605130355466572.jpeg","imgpath1":"/UpfilePath/202605130355246860.jpeg","imgpath2":"/UpfilePath/202605130354586640.jpeg","day":3}}; goods_data[10008]={"id":10008,"info":[{"goods_name":"高地常规三日游","goods_zk":"", "selling_point_1":"", "selling_point_2":"", "goods_price":"299", "content":"蘇格蘭高地的美景足以令人屏息,你甚至很难在世界其他地方找到更胜于此的风光。壮丽的海滩依偎着葱郁海岸,浓郁而热忱的文化传统早已融入当地人的日常生活。当你以为这里的美好已至极致时,天空島又会让你倾心不已——品尝最新鲜的海捕海鲜,漫步在风情迷人的街道,内心还会忍不住萌生就此定居的念头。", "from":"愛丁堡", "tedian":"它热烈奔放、野性不羁、神秘迷人…… 足以让你屏息沉醉。","tag":"深受顾客喜爱"},{"goods_name":"The-Wild-Coast-of-Dingle-Peninsula-Slea-Head","goods_zk":"", "selling_point_1":"Stunning views of the Atlantic", "selling_point_2":"Ancient ruins & quaint Irish villages", "goods_price":"199", "content":"Dingle Peninsula will take your breath away, so much so that you may struggle to find better views anywhere else. Glorious beaches line luscious shores, and the traditions of a rich, passionate culture are woven into everyday life. When you think this place can’t get any better, you’ll fall for the colourful town of Dingle, savour freshly caught seafood, stroll the charming streets, and fight the urge to move here for good.", "from":"Killarney", "tedian":"It’s passionate, wild, mysterious...and it will take your breath away","tag":"Loved by customers"},{"goods_name":"高地常規三日遊","goods_zk":"", "selling_point_1":"大西洋的絕美景色", "selling_point_2":"古老遺跡與古雅的愛爾蘭村莊", "goods_price":"299", "content":"丁格爾半島的美景足以令人屏息,你甚至很難在世界其他地方找到更勝於此的風光。壯麗的海灘依偎著蔥鬱海岸,濃郁而熱忱的文化傳統早已融入當地人的日常生活。當你以為這裡的美好已至極致時,五彩繽紛的丁格爾小鎮又會讓你傾心不已——品嚐最新鮮的海捕海鮮,漫步在風情迷人的街道,內心還會忍不住萌生就此定居的念頭。", "from":"愛丁堡", "tedian":"它熱情、原始、神秘……並且會讓你驚豔到無法呼吸。","tag":"深受顧客喜愛"}],"params":{"imgpath":"/UpfilePath/202605130355366335.jpeg","imgpath1":"/UpfilePath/202605130355387744.jpeg","imgpath2":"/UpfilePath/202605130355293046.jpeg","day":3}}; goods_data[10009]={"id":10009,"info":[{"goods_name":"苏格兰包车出行","goods_zk":"", "selling_point_1":"苏格兰的极致体验", "selling_point_2":"让向导带您探索NC500成为可能", "goods_price":"750", "content":"苏格兰的美景足以令人屏息,你很难在世界其他地方找到更胜于此的风光。壮丽的海滩依偎着葱郁海岸,浓郁而热忱的传统文化也早已融入当地人的日常生活。包车出行可以让您极致探索并感受苏格兰,把精力留给探索,把路程交给我们,让我们带您前往苏格兰最难以企及的壮丽仙境。", "from":"愛丁堡", "tedian":"不走寻常路,为您提供自由度最高的苏格兰深度旅行体验,客服团队也会为您设计专业旅行方案。","tag":"2026新品"},{"goods_name":"Private-Hire-Chauffeur-for-Private-Hire","goods_zk":"", "selling_point_1":"Stunning Scotland", "selling_point_2":"NC500 and Dunnet Head is at a glance", "goods_price":"750", "content":"Scotland's beauty is breathtaking; you'd be hard-pressed to find scenery comparable anywhere else in the world. Stunning beaches nestle against lush coastlines, and a rich and vibrant traditional culture is deeply ingrained in the daily lives of its people. A private hire services allows you to fully explore and experience Scotland while leave the driving to us. Focus on the view, let us take you to some of Scotland's most unparalleled and magnificent wonderlands.", "from":"Edinburgh or Glasgow", "tedian":"Scotland is a place worth exploring in depth, and a professional travel planning team with drivers and guides will plan a comprehensive and in-depth travel experience for you.","tag":"New for 2026"},{"goods_name":"蘇格蘭包車出行","goods_zk":"", "selling_point_1":"不錯過蘇格蘭每一寸風景", "selling_point_2":"NC500與不列顛北極觸手可及", "goods_price":"750", "content":"蘇格蘭的美景足以令人屏息,你很難在世界其他地方找到更勝於此的風光。壯麗的海灘依偎著蔥鬱海岸,濃厚而熱忱的傳統文化也早已融入當地人的日常生活。包車出遊可以讓您極致探索並感受蘇格蘭,將精力留給探索,將路程交給我們,讓走吧帶您前往蘇格蘭最難以觸達的壯麗仙境。", "from":"愛丁堡", "tedian":"蘇格蘭是一個值得深入探索的地方,專業的旅行定制團隊以及司機向導會爲您規劃全方位的深度旅行體驗。","tag":"2026 新行程"}],"params":{"imgpath":"/UpfilePath/202605130428201480.jpeg","imgpath1":"/UpfilePath/202605130355144228.jpeg","imgpath2":"/UpfilePath/202605130355092451.jpeg","day":1}}; $.each(items, function(key, item) { $.each(item, function(key, item_one) { if (item_one.type == 'page'){ $("title").text(item_one.params.share_title); $("meta[name='description']").attr("content",item_one.params.describe); $("meta[property='og:title']").attr("content",item_one.params.share_title); $("meta[property='og:description']").attr("content",item_one.params.describe); $("meta[name='twitter:title']").attr("content",item_one.params.share_title); $("meta[name='twitter:description']").attr("content",item_one.params.describe); } if (item_one.type == 'home_yuyue_bg'){ $("#banner").css("background-image","url('"+item_one.params.imgUrl+"')"); $("#banner_text").html('

'+ item_one.params.bigtxt +'

'+ item_one.params.smalltxt +'

'); $("#banner_btn").html('

'+ item_one.params.btn +'

'); } //home_youshi if (item_one.type == 'home_youshi'){ var smalltxt = item_one.params.smalltxt; smalltxt = smalltxt.replace(/\n/g, '

'); str += '

'; str += '
'; str += '
'; $.each(item_one.data, function(key, data) { str += '
'; str += '
'; str += ''+data.text+''; str += '

'+data.text+'

'; }) str += '
'; str += ''; str += '
'; } //通栏广告 if (item_one.type == 'banner_btn_img'){ str += ''; str += '
'; str += '
'; str += '
'; str += '

'+item_one.params.bigtxt+'

'; str += '
'+item_one.params.smalltxt+'
'; str += '
'; if (item_one.params.btn1!=''){ str += ''+item_one.params.btn1+''; } if (item_one.params.btn2!=''){ str += ''+item_one.params.btn2+''; } str += '
'; } //文本 if (item_one.type == 'text'){ var smalltxt = item_one.params.text; smalltxt = smalltxt.replace(/\n/g, '

'); str += '

'; } //文本按钮 if (item_one.type == 'textbtn'){ var smalltxt = item_one.params.text, btn_class='button--white'; smalltxt = smalltxt.replace(/\n/g, '

'); str += '

'; str += '

'+item_one.params.bigtxt+'

'; str += '

'+ smalltxt +'

'; str += '
'; $.each(item_one.data, function(key, data) { if (data.text!=''){ if (key=="0"){ btn_class='button button--primary'; }else{ btn_class='button button--white'; } str += ''; } }) str += '
'; } // if (item_one.type == 'imgarr'){ str += '
'; $.each(item_one.data, function(key, data) { str += ''; str += '

'+ data.title +'

'; str += ''; str += '
'; str += ''; str += '
'; str += '
'; }) str += '
'; } // leftimgrighttxt if (item_one.type == 'leftimgrighttxt'){ smalltxt = item_one.params.smalltxt.replace(/\n/g, '

'); str += '

'+ '
'+ '
'; str += '
'; $.each(item_one.data, function(key, data) { str += '
'+ '
'+ ''+  data.text +''+ '
'+ '

'+ data.text +'

'+ data.smalltxt +'

'+ ''+ '
'+ '
'+ '
'; }) $.each(item_one.data, function(key, data) { str += '
'+ '
'+ ''+  data.text +''+ '
'+ '

'+ data.text +'

'+ data.smalltxt +'

'+ ''+ '
'+ '
'+ '
'; }) str += '
'; str += '
'+ '
'+ ''+ ''+ '
'+ '
'; // str += '
'+ '
'+ '

'+ '

'+ item_one.params.bigtxt.replace(/\n/g, '
') +'

'+ '

'+ '
'+ '

'+ smalltxt +'

'+ '
'+ ''+ '
'+ '
'; } // goods if (item_one.type == 'goods'){ str += ''; if (item_one.params.textAlign=='center'){ str += ''; } if (item_one.params.textAlign=='left'){ str += '
'+ '

'+ item_one.params.title +'

'+ '
'; } str += '
'+ '
'+ '
'+ '
'; $.each(item_one.data, function(key, data) { var thisurl = getpageurl('/Tours/'+data.goods_id+'/','cn'); var goods_one = goods_data[data.goods_id],goods_one_arr=''; console.log('查看详细>>>',goods_one); if ('cn'=='cn'){ goods_one_arr=goods_one.info[0]; } if ('cn'=='en'){ goods_one_arr=goods_one.info[1]; } if ('cn'=='hk'){ goods_one_arr=goods_one.info[2]; } str += '
'+ '
'+ '
'+ '
'+goods_one_arr.tag+'
'+ '
'+ ''+ '
'+ '
'+ '
'+ '
'+ ''+ '
'+ '
'+ ''+ '
'+ '
'+ '
'+ '
'+ '

 

'+goods_one_arr.goods_name+'

'+ '
 

'+goods_one.params.day+' 天出发地'+goods_one_arr.from+'

'; if (goods_one_arr.goods_zk!=''){ str += '

'+goods_one_arr.goods_zk+'

'; } str += '
  • '+goods_one_arr.selling_point_1+'
  • '+goods_one_arr.selling_point_2+'
  • '+ '
'+ '
'+ '

£'+goods_one_arr.goods_price+' / 每人起

'+ ' 了解更多 '+ '
'+ '
'+ '
'+ '
'; }) str += '
'; str += '
'+ ''+ ''+ ''+ '
'+ '
'+ '
'+ '
'; } // pingjia if (item_one.type == 'pingjia'){ var pingjia_nr_c=''; str += '
'+ '
'+ '
'+ '
'+ '
'+ '

'; str += item_one.params.bigtxt; str += '

'; str += item_one.params.smalltxt; str += '

'; str += ''+item_one.params.btn+''; str += '

'; } // 空白占位 if (item_one.type == 'blank'){ str += '
'; } }) }) $("main").append(str); }) var mySwiper; function initSwiper() {mySwiper = new Swiper ('.swiper', {loop: true,slidesPerView: "auto",spaceBetween: 30, pagination: {el: ".swiper-pagination", dynamicBullets: true, }, navigation: {nextEl: ".external-next", prevEl: ".external-prev", }, }); } $(function(){initSwiper(); });