Commit 181edf42 authored by 黄奎's avatar 黄奎

页面修改

parent 7487abf7
......@@ -520,8 +520,8 @@
background: #fff;
}
.detail-box .timeline .timeline-item span.medium{
font-size: 28px;
line-height: 56px;
font-size: 20px;
line-height: 25px;
display: flex;
}
.detail-box .timeline .timeline-item span.medium i.iconfont{
......
......@@ -7,16 +7,19 @@
.travelControlTrip .hangban-info tr th {
padding-left: 0 !important;
}
.travelControlTrip .playTime i{
.travelControlTrip .playTime i {
position: relative;
top:-3px;
top: -3px;
}
.travelControlTrip .commonTimeStr{
margin-bottom:5px;
color:#999;
font-size:12px;
.travelControlTrip .commonTimeStr {
margin-bottom: 5px;
color: #999;
font-size: 12px;
}
.timeline-item .Arrayleft{
.timeline-item .Arrayleft {
width: 74px;
height: 25px;
background-color: #fff;
......@@ -25,14 +28,16 @@
font-size: 12px;
padding: 5px 0;
position: absolute;
left:-16px;
z-index:999;
left: -16px;
z-index: 999;
}
.timeline-item .Arrayleft i{
.timeline-item .Arrayleft i {
position: relative;
left:1px;
top:-4px;
left: 1px;
top: -4px;
}
</style>
<template>
......@@ -282,7 +287,7 @@
<span class="big" style="font-size: 20px;">行程</span>
</div>
<div class="new_right">
<span class="medium">
<span class="medium" style=" font-size: 20px;line-height: 25px;">
<div v-for="(dn,i) in item.dayArray" :key="i">
{{dn.childItem.title}}
</div>
......@@ -295,7 +300,8 @@
<template v-for="(dd,Subindex) in son.childItem.subTraffic">
<div class="Arrayleft" v-if="dd.startTime!=''||dd.endTime!=''">
<span v-if="son.type==1" v-for="(dns,o) in son.childItem.subTraffic" :key="o">
<span v-if="dns.startTime!=''">{{getStartTime(dns.startTime)}}</span><span v-if="dns.endTime!=''">-{{getStartTime(dns.endTime)}}</span>
<span v-if="dns.startTime!=''">{{getStartTime(dns.startTime)}}</span><span
v-if="dns.endTime!=''">-{{getStartTime(dns.endTime)}}</span>
</span>
</div>
</template>
......@@ -331,8 +337,10 @@
{{son.childItem.couponsName}}
</span>
<div class="playTime"> <i class="iconfont icon-shijian"></i> 游玩时间:
<span v-if="son.childItem.playTimeHour!=null&&son.childItem.playTimeHour!=''">{{son.childItem.playTimeHour+'小时'}}</span>
<span v-if="son.childItem.playTimeMinutes!=null&&son.childItem.playTimeMinutes!=''">{{son.childItem.playTimeMinutes+'分钟'}}</span>
<span
v-if="son.childItem.playTimeHour!=null&&son.childItem.playTimeHour!=''">{{son.childItem.playTimeHour+'小时'}}</span>
<span
v-if="son.childItem.playTimeMinutes!=null&&son.childItem.playTimeMinutes!=''">{{son.childItem.playTimeMinutes+'分钟'}}</span>
</div>
<div class="content" v-html="son.childItem.description"></div>
<div class="Newimg-list clearfix" v-if="son.childItem.imaArray.length">
......@@ -377,7 +385,8 @@
</span>
<div class="playTime"> <i class="iconfont icon-shijian"></i> 用餐时长:<span
v-if="son.childItem.useTimeHour!=null&&son.childItem.useTimeHour!=''">{{son.childItem.useTimeHour+'小时'}}</span><span
v-if="son.childItem.useTimeMinutes!=null&&son.childItem.useTimeMinutes!=''">{{son.childItem.useTimeMinutes+'分钟'}}</span></div>
v-if="son.childItem.useTimeMinutes!=null&&son.childItem.useTimeMinutes!=''">{{son.childItem.useTimeMinutes+'分钟'}}</span>
</div>
<div class="content" v-html="son.childItem.description"></div>
<div class="Newimg-list clearfix" v-if="son.childItem.imaArray.length">
<div class="item" v-for="(img,i) in son.childItem.imaArray" :key="i">
......@@ -428,7 +437,8 @@
<div v-html="feature.feeNonInclude"></div>
</div>
</div>
<div class="expense" style="margin-top:30px;" v-if='dataList.selfpayingList && dataList.selfpayingList.length>0&&vshowE'>
<div class="expense" style="margin-top:30px;"
v-if='dataList.selfpayingList && dataList.selfpayingList.length>0&&vshowE'>
<div class="left">自理费用</div>
<div class="right">
<table class="expense-table" cellspacing=0 cellpadding=0>
......@@ -449,7 +459,7 @@
</table>
</div>
</div>
<div v-if='vshowF' class="module-title">
<div v-if="vshowF&&feature&&feature.shopRemark!=''" class="module-title">
<h2>购物说明</h2>
<div class="short-line"></div>
<div class="english-title">Expense</div>
......@@ -483,7 +493,7 @@
</div>
<div style="width: 100%;height:1px;"></div>
</div>
<div id="pdf_5">
<div id="pdf_5" v-if="(feature&&feature.warmTip!='')||(feature&&feature.importantTip!='')">
<div v-if='vshowG' class="module-title">
<h2>订单须知</h2>
<div class="short-line"></div>
......@@ -503,7 +513,8 @@
</div>
<div style="width: 100%;height:1px;"></div>
</div>
<div id="pdf_6">
<div id="pdf_6"
v-if="(vshowH&&feature.visaRemark!='')||(vshowI&&feature.b2BRemark!='')||(vshowM&&orderMsg&&orderMsg.guestList&&orderMsg.guestList.length>0)">
<div v-if='vshowH' class="module-title">
<h2>签证</h2>
<div class="short-line"></div>
......@@ -995,9 +1006,9 @@
//模板参数
templateId: this.showType,
//用户Id
UId:this.getLocalStorage().EmployeeId,
UId: this.getLocalStorage().EmployeeId,
//团队类型(一日游)
TeamType:2,
TeamType: 2,
};
this.$http({
headers: {
......@@ -1010,7 +1021,7 @@
}
}).then(res => {
if (res.data.resultCode === 1) {
let sign = title+"V2"
let sign = title + "V2"
const a = document.createElement('a');
a.setAttribute('download', '');
a.setAttribute('href', urlObj.DomainUrl + '/api/file/DownloadFileForPdf?fileName=' + sign +
......@@ -1084,7 +1095,7 @@
cityId: this.$route.query.cityId,
tcid: this.$route.query.tcid,
orderId: this.$route.query.orderId,
isClick:1//不算统计
isClick: 1 //不算统计
}, res => {
if (res.data.resultCode == 1) {
let data = (res.data.data);
......@@ -1255,8 +1266,8 @@
playTimeHour: null,
playTimeMinutes: null,
url: '',
startTime:y.childItem.startTime,
endTime:y.childItem.endTime
startTime: y.childItem.startTime,
endTime: y.childItem.endTime
}
jiao.push(obj)
} else if (y.type == 2 && y.childItem.couponsName != '' && y.childItem.imaArray.length > 0) {
......@@ -1430,16 +1441,16 @@
}
}
},
getStartTime(startTime){
getStartTime(startTime) {
var n = Number(startTime);
if (!isNaN(n)&&startTime.indexOf(':')==-1) {
var strSep=":";
var str1=startTime.substring(0,2);
var str0=startTime.substring(2,startTime.length);
var strNew=str1+strSep+str0;
if (!isNaN(n) && startTime.indexOf(':') == -1) {
var strSep = ":";
var str1 = startTime.substring(0, 2);
var str0 = startTime.substring(2, startTime.length);
var strNew = str1 + strSep + str0;
return strNew;
}else{
return startTime.replace(':',':')
} else {
return startTime.replace(':', ':')
}
}
},
......
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