$(function(){ var w=$("body").width(); str=''; var items={"items":{"s10001":{"id":"s10001","type":"page","params":{"name":"首页","share_title":"Guided group tours of Scotland | Zouba Travel","describe":"Guided group tours of Scotland | Zouba Travel","bgmusic":""}},"n4882326154154015":{"id":"n4882326154154015","type":"home_yuyue_bg","params":{"bigtxt":"Your Unforgettable Scottish Adventure Starts Here","smalltxt":"Travel with us and experience the true spirit of Scotland.","btn":"About Zouba Travel","btnurl":"https://lyb.jnsudong.com/en/about-us","imgUrl":"/UpfilePath/202606120046374931.jpeg"}},"n224028813158244":{"id":"n224028813158244","type":"home_youshi","params":{"bigtxt":"Reasons to Choose Zouba Travel","smalltxt":"Zouba Travel is a Scotland-based sightseeing tour operator specialising in premium small-group guided tours. We operate throughout Scotland, offering carefully curated travel experiences led by knowledgeable local driver-guides.","btn":"Explore Our Tours","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"},"data":[{"imgUrl":"/img/diy/authentic-experiences-ghciblue.png","text":"Discover Scotland's Hidden Highland Gems"},{"imgUrl":"/img/diy/expert-storyteller-guides-blue.png","text":"Experienced Driver-Guides"},{"imgUrl":"/img/diy/bus-289x289.png","text":"Luxury Mercedes-Benz 9-Seater Mini-Coaches"},{"imgUrl":"/img/diy/no-minimum-numbers-blue.png","text":"Small Groups of 4–8 Guests"},{"imgUrl":"/img/diy/flexible-accommodation-options-blue.png","text":"Accommodation Included in the Heart of the Highlands"},{"imgUrl":"/img/diy/travel-that-gives-backghci-blue.png","text":"No Hidden Fees – Just Authentic Travel Experiences"}]},"n885633206901144":{"id":"n885633206901144","type":"goods","params":{"title":"Popular Tours","textAlign":"center"},"data":[{"goods_id":"10008","goods_name":"Highland-and-East-Coast-Explorer","goods_img":"/UpfilePath/202605130355366335.jpeg"},{"goods_id":"10004","goods_name":"Highland-Depth-Explorer","goods_img":"/UpfilePath/202605130355466572.jpeg"},{"goods_id":"10009","goods_name":"Private-Hire-Chauffeur-for-Private-Hire","goods_img":"/UpfilePath/202605130428201480.jpeg"}]},"n214567930852957":{"id":"n214567930852957","type":"textbtn","params":{"bigtxt":"Travel guide and tips","text":"An unforgettable journey begins long before you set off. That's why we've created a collection of helpful travel guides and insider tips to make planning your Scottish adventure simple, enjoyable, and worry-free."},"data":[{"text":"View all articles","linkUrl":"en/Blog/all/1/"},{"dataId":1,"text":"Travel Guideen","linkUrl":"en/Blog/Travel-Guide/1/"},{"dataId":2,"text":"Travel Tips","linkUrl":"en/Blog/Travel-Tips/1/"}]}}}; var goods_data=[]; goods_data[10004]={"id":10004,"info":[{"goods_name":"高地深度三日游","goods_zk":"", "selling_point_1":"两晚入住天空岛Portree海景别墅,全天游览天空岛经典景点", "selling_point_2":"精品纯玩中文小团,舒适品质出行,享受轻松自在的深度旅行体验。", "goods_price":"379", "content":"", "from":"爱丁堡", "tedian":"","tag":"最受欢迎"},{"goods_name":"highland-depth-explorer","goods_zk":"", "selling_point_1":"Two nights' stay in a Portree ocean view villa on the Isle of Skye, with a full day to explore the classic sights of the Isle of Skye.", "selling_point_2":"Premium Chinese-speaking small group tours for a comfortable and immersive travel experience.", "goods_price":"379", "content":"", "from":"Edinburgh", "tedian":"","tag":"Most popular"},{"goods_name":"高地深度三日遊","goods_zk":"", "selling_point_1":"兩晚入住天空島Portree海景別墅,全天遊覽天空島經典景點", "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":"339", "content":"", "from":"爱丁堡", "tedian":"","tag":"深受顾客喜爱"},{"goods_name":"highlands-classic-3-day-tour","goods_zk":"", "selling_point_1":"Enjoy a three-day tour of the classic Scottish Highlands and easily experience the natural and cultural charm of the Highlands.", "selling_point_2":"Small, high-quality Chinese-speaking tour group, unique Highland accommodations, quality travel experience, worry-free trip.", "goods_price":"339", "content":"", "from":"Edinburgh", "tedian":"","tag":"Loved by customers"},{"goods_name":"高地常規三日遊","goods_zk":"", "selling_point_1":"三天暢遊蘇格蘭高地經典風光,輕鬆感受高地自然與人文魅力。", "selling_point_2":"精品純玩中文小團,高地特色住宿,品質純玩,安心出遊。", "goods_price":"339", "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":"中文司导,熟悉苏格兰路线,全程沟通无忧更省心", "goods_price":"750", "content":"", "from":"价格将根据出行日期、人数、路线天数、出发城市及车辆安排单独报价。欢迎联系客服获取专属方案。", "tedian":"","tag":"深受顾客喜爱"},{"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":"", "from":"Edinburgh or Glasgow", "tedian":"","tag":"Loved by customers"},{"goods_name":"蘇格蘭包車出行","goods_zk":"", "selling_point_1":"不錯過蘇格蘭每一寸風景", "selling_point_2":"NC500與不列顛北極觸手可及", "goods_price":"750", "content":"", "from":"愛丁堡", "tedian":"","tag":"深受顧客喜愛"}],"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 .absolute.bg-cover.bg-center").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!=''){ var gourl=''; if (key=="0"){ btn_class='button button--primary'; }else{ btn_class='button button--white'; } if (data.linkUrl.indexOf("http") !== -1){ gourl=data.linkUrl; }else{ if (data.linkUrl.startsWith("/")) { gourl=data.linkUrl; }else{ gourl='/'+data.linkUrl; } } 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+'/','en'); var goods_one = goods_data[data.goods_id],goods_one_arr=''; if ('en'=='cn'){ goods_one_arr=goods_one.info[0]; } if ('en'=='en'){ goods_one_arr=goods_one.info[1]; } if ('en'=='hk'){ goods_one_arr=goods_one.info[2]; } str += '
'+ '
'+ '
'+ '
'+goods_one_arr.tag+'
'+ '
'+ ''+ '
'+ '
'+ '
'+ '
'+ ''+ '
'+ '
'+ ''+ '
'+ '
'+ '
'+ '
'+ '

 

'+goods_one_arr.goods_name+'

'+ '
 

'+goods_one.params.day+' DaysFrom'+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+'
  • '+ '
'+ '
'+ '

from £'+goods_one_arr.goods_price+' / adult

'+ ' Learn More '+ '
'+ '
'+ '
'+ '
'; }) 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(); });