Commit b8de3c76 authored by youjie's avatar youjie

行程下载调整样式

parent 8fd0f5cb
html, body{ html, body{
background: #fff; background: #fff;
} }
.travelControlTrip .Passenger-table{width:960px; margin: 0 20px; color: #666; background: #fff;}
.travelControlTrip .Passenger-table td.thClass {height: 50px; background: #e2e2e2; font-size: 16px; font-weight: normal; padding: 0!important;}
.travelControlTrip .Passenger-table td.thClass img{margin-right:5px; margin-top: 2px;}
.travelControlTrip .Passenger-table tr td{background: #f7f7f7; text-align: center; font-size: 14px; padding: 15px 10px; }
.LeaveGroupDownload-form dl, .LeaveGroupDownload-form dl,
.LeaveGroupDownload-form dt, .LeaveGroupDownload-form dd, .LeaveGroupDownload-form dt, .LeaveGroupDownload-form dd,
.LeaveGroupDownload-form ul, .LeaveGroupDownload-form ol, .LeaveGroupDownload-form ul, .LeaveGroupDownload-form ol,
...@@ -145,11 +149,28 @@ html, body{ ...@@ -145,11 +149,28 @@ html, body{
color: #000; color: #000;
font-weight: 700; font-weight: 700;
} }
.UpgradedVersion2Line{
height: 0px;
border-bottom: 2px dashed red;
left: 0;
top: 1450px;
right: 0;
}
.UpgradedVersion2Line span{
background: #fff;
font-size: 20px;
padding: 5px 20px;
border: 2px dashed red;
border-radius: 15px;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
-ms-border-radius: 15px;
-o-border-radius: 15px;
}
.detail-box .hangban-info { .detail-box .hangban-info {
width: 100%; width: 100%;
background: unset; background: unset;
paddong: 0px; padding: 0px;
} }
.detail-box .hangban-info { .detail-box .hangban-info {
...@@ -170,8 +191,9 @@ html, body{ ...@@ -170,8 +191,9 @@ html, body{
border-collapse: collapse !important; border-collapse: collapse !important;
} }
.travelControlTrip * { .travelControlTrip{
page-break-inside: avoid; /* page-break-inside: avoid; */
} }
.baseTable .essential-item.jianju { .baseTable .essential-item.jianju {
...@@ -301,8 +323,8 @@ html, body{ ...@@ -301,8 +323,8 @@ html, body{
.travelDaysMasterMap { .travelDaysMasterMap {
margin-top: 14px; margin-top: 14px;
margin-bottom: 41px; margin-bottom: 41px;
/*height: 632px;*/ height: 632px;
flex:1; /* flex:1; */
overflow: hidden; overflow: hidden;
} }
...@@ -343,9 +365,9 @@ html, body{ ...@@ -343,9 +365,9 @@ html, body{
} }
.travelDaysMasterMap-twoImg { .travelDaysMasterMap-twoImg {
max-width: 335px; width: 335px;
/* max-height: 189px; */ height: 189px;
height: 44.5%; /* height: 44.5%; */
overflow: hidden; overflow: hidden;
border: 2px solid #FFFFFF; border: 2px solid #FFFFFF;
border-radius: 18px; border-radius: 18px;
...@@ -356,11 +378,14 @@ html, body{ ...@@ -356,11 +378,14 @@ html, body{
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 500; font-weight: 500;
line-height: 34px; line-height: 34px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
} }
.travelDaysContent { .travelDaysContent {
min-height: 360px; /* min-height: 360px;
max-height:600px; max-height:600px; */
overflow:hidden; overflow:hidden;
line-height: 38px; line-height: 38px;
padding: 0 36px; padding: 0 36px;
...@@ -373,7 +398,7 @@ html, body{ ...@@ -373,7 +398,7 @@ html, body{
color: #2A2A2A; color: #2A2A2A;
} }
.travelDaysContent-text span { .textBold {
font-size: 21px; font-size: 21px;
line-height: 38px; line-height: 38px;
font-weight: bold; font-weight: bold;
...@@ -384,11 +409,22 @@ html, body{ ...@@ -384,11 +409,22 @@ html, body{
right: 0; right: 0;
bottom: 115px; bottom: 115px;
margin: 44px 36px; margin: 44px 36px;
padding: 0 0 115px 0;
}
.travelDaysdetails-tsTextBox{
padding: 0 36px;
margin-top: 20px;
}
.travelDaysdetails-tsText{
padding: 15px;
border-radius: 14px;
-webkit-border-radius: 14px;
-moz-border-radius: 14px;
-ms-border-radius: 14px;
-o-border-radius: 14px;
} }
.travelDaysdetailsBJ { .travelDaysdetailsBJ {
border-radius: 100px; border-radius: 100px;
flex-wrap: nowrap;
padding: 20px 35px; padding: 20px 35px;
-webkit-border-radius: 100px; -webkit-border-radius: 100px;
-moz-border-radius: 100px; -moz-border-radius: 100px;
...@@ -396,20 +432,12 @@ html, body{ ...@@ -396,20 +432,12 @@ html, body{
-o-border-radius: 100px; -o-border-radius: 100px;
} }
.travelDaysdetails-textBox{ .travelDaysdetails-textBox{
flex: 1; flex-wrap: wrap;
}
.travelDaysdetails-textBox:last-child .travelDaysdetails-text{
height: 105px;
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
} }
.travelDaysdetails-text { .travelDaysdetails-text {
flex-wrap: wrap; flex-wrap: wrap;
margin-right: 46px; margin-right: 10px;
flex: 1;
} }
.travelDaysdetails-text0 { .travelDaysdetails-text0 {
...@@ -419,19 +447,26 @@ html, body{ ...@@ -419,19 +447,26 @@ html, body{
line-height: 34px; line-height: 34px;
flex-shrink: 0; flex-shrink: 0;
} }
.travelDaysdetails-text div span{
width: 100%;
white-space: wrap;
overflow: hidden;
}
.travelDaysdetails-text { .travelDaysdetails-tsText,.travelDaysdetails-text {
font-size: 16px; font-size: 21px;
font-weight: 100; font-weight: 100;
color: #2A2A2A; color: #2A2A2A;
line-height: 34px; line-height: 34px;
white-space: wrap; white-space: wrap;
display: inline-block; display: inline-block;
padding: 0;
margin: 0;
} }
.travelDaysdetails-text {
padding: 0;
margin: 0;
}
.travelDaysdetails-text1{ .travelDaysdetails-text1{
font-size: 16px !important; /* font-size: 16px !important; */
font-weight: 100 !important; font-weight: 100 !important;
color: #2A2A2A; color: #2A2A2A;
} }
...@@ -527,21 +562,23 @@ html, body{ ...@@ -527,21 +562,23 @@ html, body{
font-family: FZCuSong-B09S !important; font-family: FZCuSong-B09S !important;
color: #2A2A2A; color: #2A2A2A;
} }
.UpgradedVersion-box{
.UpgradedVersion-box { width: 1123px;
min-height: 1450px;
margin: auto;
}
.UpgradedVersion-box2 {
width: 1123px; width: 1123px;
height: 1478px; min-height: 1478px;
overflow: hidden; height: 100%;
} }
.UpgradedVersion-homebj { .UpgradedVersion-homebj {
background: url('https://imgfile.oytour.com/Static/NewTripFeature/otherBjTwo.png')no-repeat center; background: url('../img/trip/otherBjThree.jpg') repeat;
background-size: 100% 100%;
} }
.UpgradedVersion-introduceBj { .UpgradedVersion-introduceBj {
background: url('https://imgfile.oytour.com/Static/NewTripFeature/otherBjTwo.png')no-repeat center;
background-size: 100% 100%;
} }
.UpgradedVersion-otherBj { .UpgradedVersion-otherBj {
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
</div> </div>
<div class="travelDaysMasterMap-text absolute z-index2">{{item.details[0].title}}</div> <div class="travelDaysMasterMap-text absolute z-index2">{{item.details[0].title}}</div>
</div> </div>
<div class="travelDaysMasterMap-two absolute z-index2"> <div class="travelDaysMasterMap-two absolute z-index2" style="display: none;">
<div class="travelDaysMasterMap-twoImg relative bjF6" :style="{'color':'#fff'}" <div class="travelDaysMasterMap-twoImg relative bjF6" :style="{'color':'#fff'}"
:id="'travelDaysImg_two'+index" :id="'travelDaysImg_two'+index"
v-if="(item.details&&item.details.length>1&&item.details[1].img)||(item.jiu2&&item.jiu2.length>0&&item.jiu2[0].url)"> v-if="(item.details&&item.details.length>1&&item.details[1].img)||(item.jiu2&&item.jiu2.length>0&&item.jiu2[0].url)">
...@@ -90,42 +90,41 @@ ...@@ -90,42 +90,41 @@
<span>暂无描述</span> <span>暂无描述</span>
</div> </div>
</div> </div>
<template v-for="(t,i) in item.tips">
<div class="travelDaysdetails-tsTextBox">
<div class="travelDaysdetails-tsText row"
:style="{'background':backgroundColor2}">
<span class="travelDaysdetails-text0">温馨提示:</span>
<template v-if="t.content&&getHtmlPlainText(t.content).length>0">
{{getHtmlPlainText(t.content)}}
</template>
<template v-else>暂无提示</template>
</div>
</div>
</template>
<div class="travelDaysdetails"> <div class="travelDaysdetails">
<div class="travelDaysdetailsBJ row" :style="{'background':backgroundColor}"> <div class="travelDaysdetailsBJ column"
<div class="travelDaysdetails-textBox column"> :style="{'background':backgroundColor}">
<div class="travelDaysdetails-text"> <div class="travelDaysdetails-textBox row-sb">
<span class="travelDaysdetails-text0">早餐:</span> <div class="travelDaysdetails-text">
{{item.can.breakfirst}} <span class="travelDaysdetails-text0">早餐:</span>
</div> {{item.can.breakfirst?item.can.breakfirst:'无'}}
<div class="travelDaysdetails-text">
<span class="travelDaysdetails-text0">午餐:</span>
{{item.can.lanuch}}
</div>
<div class="travelDaysdetails-text">
<span class="travelDaysdetails-text0">晚餐:</span>
{{item.can.dinner}}
</div>
</div> </div>
<div class="travelDaysdetails-textBox"> <div class="travelDaysdetails-text">
<div class="travelDaysdetails-text"> <span class="travelDaysdetails-text0">午餐:</span>
<span class="travelDaysdetails-text0">住宿:</span> {{item.can.lanuch?item.can.lanuch:'无'}}
<template v-for="(j,i) in item.jiu2">{{j.name}} </template> 或同级
</div>
</div> </div>
<template v-for="(t,i) in item.tips"> <div class="travelDaysdetails-text">
<div class="travelDaysdetails-textBox" <span class="travelDaysdetails-text0">晚餐:</span>
:style="{'flex-grow':t.content&&getHtmlPlainText(t.content).length>20?'2':''}"> {{item.can.dinner?item.can.dinner:'无'}}
<div class="travelDaysdetails-text" style="margin-right: 0;"> </div>
<span class="travelDaysdetails-text0">温馨提示:</span> </div>
<template v-if="getHtmlPlainText(t.content).length>0"> <div class="travelDaysdetails-textBox">
{{getHtmlPlainText(t.content)}} <div class="travelDaysdetails-text">
</template> <span class="travelDaysdetails-text0">住宿:</span>
<!-- <div class="travelDaysdetails-text1" v-if="t.content!=''" v-html="t.content"></div> --> <template v-for="(j,i) in item.jiu2">{{j.name}} </template> 或同级
<p v-else>暂无提示</p> </div>
</div> </div>
</div>
</template>
</div> </div>
</div> </div>
<!-- otherJourney-footer --> <!-- otherJourney-footer -->
...@@ -160,6 +159,7 @@ ...@@ -160,6 +159,7 @@
title: '北京-马德里-塞戈维亚-萨拉曼卡-贝尼多姆/小镇-瓦伦西亚-巴塞罗那(约 253km,约 3h)北京-马德里-塞戈维亚-萨拉曼卡-贝尼多姆/小镇-瓦伦西亚-巴塞罗那(约 253km,约 3h)', title: '北京-马德里-塞戈维亚-萨拉曼卡-贝尼多姆/小镇-瓦伦西亚-巴塞罗那(约 253km,约 3h)北京-马德里-塞戈维亚-萨拉曼卡-贝尼多姆/小镇-瓦伦西亚-巴塞罗那(约 253km,约 3h)',
day: 'DAY', day: 'DAY',
backgroundColor: '', backgroundColor: '',
backgroundColor2: '',
textColor: '', textColor: '',
textColorOne: '', textColorOne: '',
}; };
...@@ -261,6 +261,7 @@ ...@@ -261,6 +261,7 @@
if (val && val.tripColor) { if (val && val.tripColor) {
this.backgroundColor = this.hexToRgb(val.tripColor, 0.2) this.backgroundColor = this.hexToRgb(val.tripColor, 0.2)
this.backgroundColor2 = this.hexToRgb(val.tripColor, 0.1)
let rgba = this.hexToRgb(val.tripColor, 1) let rgba = this.hexToRgb(val.tripColor, 1)
rgba = rgba.split(',') rgba = rgba.split(',')
let rgba0 = rgba[0].split('(') let rgba0 = rgba[0].split('(')
......
...@@ -915,8 +915,6 @@ ...@@ -915,8 +915,6 @@
@import url('../assets/css/tripIndex.css'); @import url('../assets/css/tripIndex.css');
@import url("../assets/css/tripIndexNew.css"); @import url("../assets/css/tripIndexNew.css");
@import url('../assets/css/detail.css'); @import url('../assets/css/detail.css');
@import url('../assets/css/UpgradedVersion.css');
.edit_form_box { .edit_form_box {
......
...@@ -95,6 +95,8 @@ export default { ...@@ -95,6 +95,8 @@ export default {
this.UploadSelfFileT(path, newArr, x => { this.UploadSelfFileT(path, newArr, x => {
this.trafficObj.trafficIntroduce.IntroduceImage = this.trafficObj.trafficIntroduce.IntroduceImage =
this.domainManager().ViittoFileUrl + x.data.FilePath; this.domainManager().ViittoFileUrl + x.data.FilePath;
this.trafficObj.trafficIntroduce.x = 0
this.trafficObj.trafficIntroduce.y = 0
}); });
}, },
//关闭添加弹窗 //关闭添加弹窗
...@@ -107,16 +109,21 @@ export default { ...@@ -107,16 +109,21 @@ export default {
imgArr.forEach(imgItem => { imgArr.forEach(imgItem => {
this.trafficObj.trafficIntroduce.IntroduceImage = this.trafficObj.trafficIntroduce.IntroduceImage =
imgItem.Path ; imgItem.Path ;
this.trafficObj.trafficIntroduce.x = 0
this.trafficObj.trafficIntroduce.y = 0
}); });
} }
}, },
mounted() { mounted() {
}, },
watch: { watch: {
"trafficObj.trafficIntroduce":{ "trafficObj.trafficIntroduce":{
handler: function(newValue, oldValue) { handler: function(newValue, oldValue) {
this.trafficObj.Introduce = JSON.stringify(this.trafficObj.trafficIntroduce); this.trafficObj.trafficIntroduce.x = 0
this.trafficObj.trafficIntroduce.y = 0
this.trafficObj.Introduce = JSON.stringify(this.trafficObj.trafficIntroduce);
}, },
deep: true deep: true
} }
......
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