Commit 81bb0fb3 authored by 黄奎's avatar 黄奎

页面修改

parent ab019ad8
...@@ -13,12 +13,14 @@ ...@@ -13,12 +13,14 @@
<headerTitle :FeatureItem="item" :TripColor="TripColor"></headerTitle> <headerTitle :FeatureItem="item" :TripColor="TripColor"></headerTitle>
<!-- 介绍、宿食景页 --> <!-- 介绍、宿食景页 -->
<otherJourney :index="index" :FeatureItem="item" :TripColor="TripColor" @toAddPages="AddPages" <otherJourney :index="index" :FeatureItem="item" :TripColor="TripColor" @toAddPages="AddPages"
@toDeletePages="DeletePages" @setTemplate="setTemplate" v-if="item.pageType!=1&&item.pageType!=3"></otherJourney> @toDeletePages="DeletePages" @setTemplate="setTemplate" v-if="item.pageType!=1&&item.pageType!=3">
</otherJourney>
<!-- 食详情页 --> <!-- 食详情页 -->
<UpgradedVersionDetails :index="index" :FeatureData="item" :TripColor="TripColor" @toAddPages="AddPages" <UpgradedVersionDetails :index="index" :FeatureData="item" :TripColor="TripColor" @toAddPages="AddPages"
@toDeletePages="DeletePages" v-if="item.pagesType==3"></UpgradedVersionDetails> @toDeletePages="DeletePages" v-if="item.pagesType==3"></UpgradedVersionDetails>
<!-- otherJourney-footer 食景 食详情 --> <!-- otherJourney-footer 食景 食详情 -->
<div v-if="item.pagesType!=1" :class="{'otherJourney-footer':item.pagesType==5||item.pagesType==6||item.pagesType==3}"> <div v-if="item.pagesType!=1"
:class="{'otherJourney-footer':item.pagesType==5||item.pagesType==6||item.pagesType==3}">
<div class="otherJourney-introduceFooter absolute z-index1 row-aic" <div class="otherJourney-introduceFooter absolute z-index1 row-aic"
:style="{'background':item.pagesType==5||item.pagesType==6||item.pagesType==3?TripColor:''}"> :style="{'background':item.pagesType==5||item.pagesType==6||item.pagesType==3?TripColor:''}">
<template v-if="item.pagesType!==5&&item.pagesType!==6&&item.pagesType!==3"> <template v-if="item.pagesType!==5&&item.pagesType!==6&&item.pagesType!==3">
...@@ -166,23 +168,28 @@ ...@@ -166,23 +168,28 @@
newObj.LineShortName = this.FeatureData.LineShortName; newObj.LineShortName = this.FeatureData.LineShortName;
//首页 //首页
if (pItem.pageType == 1) { if (pItem.pageType == 1) {
newObj.MainName = tripObj.cityStr; //地区1 if (tripObj.cityStr && tripObj.cityStr != '') {
newObj.SubName = tripObj.cityStr2; //地区2 newObj.MainName = tripObj.cityStr; //地区1
} else {
newObj.MainName = "大阪";
}
if (tripObj.cityStr2 && tripObj.cityStr2 != '') {
newObj.SubName = tripObj.cityStr2; //地区2
} else {
newObj.SubName = "东京";
}
newObj.ShadowName = "遇见最美好的自己";
newObj.SubShadowName = "在古老的日本樱花街道";
if (tripObj.scenicArray && tripObj.scenicArray.length > 0) { if (tripObj.scenicArray && tripObj.scenicArray.length > 0) {
newObj.DetailsName = tripObj.scenicArray[0].MainName; newObj.DetailsName = tripObj.scenicArray[0].MainName;
newObj.ShadowName = "遇见最美好的自己";
newObj.SubShadowName = "在古老的日本樱花街道";
newObj.ImgList = tripObj.scenicArray[0].ImgList; newObj.ImgList = tripObj.scenicArray[0].ImgList;
newObj.MainDesc = tripObj.scenicArray[0].MainDesc; newObj.MainDesc = tripObj.scenicArray[0].MainDesc;
} else { } else {
newObj.DetailsName = "浅草寺 Senso-ji Temple"; newObj.DetailsName = "景点介绍";
newObj.ShadowName = "遇见最美好的自己";
newObj.SubShadowName = "在古老的日本樱花街道";
newObj.ImgList = [{ newObj.ImgList = [{
url: "http://imgfile.oytour.com/Upload/DMC/DsrkBYw5MnQnzk2WzksZ4knrrKFbeP3a.jpg" url: "http://imgfile.oytour.com/Upload/DMC/DsrkBYw5MnQnzk2WzksZ4knrrKFbeP3a.jpg"
}]; }];
newObj.MainDesc = newObj.MainDesc = "景点描述";
"东京最著名、最古老的寺庙,也是日本的门脸、浅草的象征。频繁的庙会活动让你零距离感受日本江户风俗。据说寺内有一座在公元628年偶然被当地渔民打捞上来的观音金像,每年都有许多人前来寺庙祈福保平安。院内有雷门、五重塔等著名古迹;还有90余家商铺的仲见世商店街,可以买到当地特产和吉祥物。在浅草寺可以求签问凶吉,如果不走运抽到了“凶”,和当地人一样系在抽签的地方就可以驱散霉运了。";
} }
} }
//介绍页面 //介绍页面
...@@ -192,8 +199,7 @@ ...@@ -192,8 +199,7 @@
newObj.ImgList = [{ newObj.ImgList = [{
url: "http://imgfile.oytour.com/Upload/DMC/a2Fn2zajwMsxNHaWPdD5idKJD8RyCG5H.jpg" url: "http://imgfile.oytour.com/Upload/DMC/a2Fn2zajwMsxNHaWPdD5idKJD8RyCG5H.jpg"
}]; }];
newObj.MainDesc = newObj.MainDesc = "描述信息";
"印象日本独家使用京 都 车 站旁 的 京都 千 饭店 ~酒店房间 37 平 方公 尺! 房型 多样 设 计, 京都千饭店外观为京町家的格子风格,非常引人注目。饭店以「Personal Comfort Hotel」为概念所打造,意思就是追求每个人入住时的舒适感。从有着庭院的大厅穿过以京町家的内庭长廊为主题所建的信道,便可看见用玻璃纱创作的艺术装置随风轻柔地飘动着。再往旁边一看,眼前只见充满开放感的挑高空间。有如通往神社寺庙大门般的大型阶梯充满了存在感。在柔和的光线包围下,一瞬间忘了自己是身处在建筑物之中。让人联想到京都传统建筑的内部装潢没有刻意的高调奢华,但连小细节都做得非常精致,散发出古都特有的风情。低調沉穩的寬敞客房。讓入住者可以從陽台或窗邊觀賞庭園的綠色景緻,同時享受頂級的休閒時光。 ";
} }
//详情页面 //详情页面
else if (pItem.pageType == 3) { else if (pItem.pageType == 3) {
...@@ -220,11 +226,11 @@ ...@@ -220,11 +226,11 @@
newObj.ImgList = tripObj.hotelArray[0].ImgList; newObj.ImgList = tripObj.hotelArray[0].ImgList;
newObj.MainDesc = tripObj.hotelArray[0].MainDesc; newObj.MainDesc = tripObj.hotelArray[0].MainDesc;
} else { } else {
newObj.MainName = "默认酒店"; newObj.MainName = "行程酒店";
newObj.ImgList = [{ newObj.ImgList = [{
url: "https://imgfile.oytour.com/Upload/DMC/202305290204327370000000012.jpg" url: "https://imgfile.oytour.com/Upload/DMC/202305290204327370000000012.jpg"
}]; }];
newObj.MainDesc = "默认酒店描述信息"; newObj.MainDesc = "行程酒店描述信息";
} }
} //餐 } //餐
else if (pItem.pageType == 5) { else if (pItem.pageType == 5) {
...@@ -234,11 +240,11 @@ ...@@ -234,11 +240,11 @@
newObj.ImgList = tripObj.dinnerArray[0].ImgList; newObj.ImgList = tripObj.dinnerArray[0].ImgList;
newObj.MainDesc = tripObj.dinnerArray[0].MainDesc; newObj.MainDesc = tripObj.dinnerArray[0].MainDesc;
} else { } else {
newObj.MainName = "默认餐食"; newObj.MainName = "行程餐食";
newObj.ImgList = [{ newObj.ImgList = [{
url: "http://imgfile.oytour.com/Upload/DMC/Z4DbAPRPmBPkaJQyxwesEWAz3sbZadNj.jpg" url: "http://imgfile.oytour.com/Upload/DMC/Z4DbAPRPmBPkaJQyxwesEWAz3sbZadNj.jpg"
}]; }];
newObj.MainDesc = "默认餐食描述"; newObj.MainDesc = "行程餐食描述";
} }
} }
//景点 //景点
...@@ -249,11 +255,11 @@ ...@@ -249,11 +255,11 @@
newObj.ImgList = tripObj.scenicArray[0].ImgList; newObj.ImgList = tripObj.scenicArray[0].ImgList;
newObj.MainDesc = tripObj.scenicArray[0].MainDesc; newObj.MainDesc = tripObj.scenicArray[0].MainDesc;
} else { } else {
newObj.MainName = "默认景点"; newObj.MainName = "行程景点";
newObj.ImgList = [{ newObj.ImgList = [{
url: "http://imgfile.oytour.com/Upload/DMC/20200201061804955.jpg" url: "http://imgfile.oytour.com/Upload/DMC/20200201061804955.jpg"
}]; }];
newObj.MainDesc = "默认景点描述信息"; newObj.MainDesc = "行程景点描述信息";
} }
} }
pItem.dataObj = newObj; pItem.dataObj = newObj;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment