Commit dd237926 authored by 吴春's avatar 吴春

1

parent 057cccd7
......@@ -380,7 +380,9 @@
}
/deep/.el-timeline .el-timeline-item .el-timeline-item__tail{
margin-top:8px !important;
border-left:1px dashed #33B3FF;
}
/deep/.el-timeline-item{
padding-bottom:0px !important;
}
......@@ -423,13 +425,15 @@
<span class="text-grey-8 q-pl-xs">/起</span>
</div>
<div class="q-ml-md">
<div class="q-ml-md" v-if="DidaHotelDetails.StarRating&&DidaHotelDetails.StarRating>0">
<el-rate
v-model="startNum"
v-model="DidaHotelDetails.StarRating"
:max="getPrice(DidaHotelDetails.StarRating)"
size="3em"
disabled
color="orange"
readonly
show-score
/>
</div>
</div>
......@@ -780,7 +784,8 @@
</tr>
<tr>
<td v-for="( itemp, indexp ) in roomRateDetails.RatePlanList[0].PriceList" :key="indexp"><span class="text-red">{{subItem.Currency }} {{getPrice(itemp.Price) }}</span>
<p class="q-pt-sm"><template >
<p class="q-pt-sm">
<template >
<span :class="itemp.MealAmount>0?'text-green':'' " >
{{getMealtype(itemp.MealType)}} {{itemp.MealAmount>0?('×'+itemp.MealAmount+'份'):''}}
</span>
......@@ -876,6 +881,7 @@
<el-timeline-item
v-for="(itempo, indexpo) in itemp.List"
:key="indexpo"
color="#33B3FF"
>
<div v-html="itempo.Description_CN" style="line-height:27px;"></div>
</el-timeline-item>
......@@ -1027,7 +1033,7 @@ export default {
this.msg.CheckInDate='';
this.msg.CheckOutDate='';
}
this.$router.push({ name:url,query:{"Address":this.DidaHotelDetails.Address_CN ,"RatePlanID":row.RatePlanID,"hotelId":this.msg.hotelId,"room":this.room,"auditNum":this.auditNum,"searchroomGroup":encodeURIComponent(JSON.stringify(this.msg.searchroomGroup)),"StartDate": this.msg.CheckInDate,"EndDate":this.msg.CheckOutDate,"childNum":this.childNum,blank:'y',tab:'道旅酒店预定'}})
this.$router.push({ name:url,query:{"tel":this.DidaHotelDetails.Telephone,"HotelName":this.DidaHotelDetails.Name_CN,"Address":this.DidaHotelDetails.Address_CN ,"RatePlanID":row.RatePlanID,"hotelId":this.msg.hotelId,"room":this.room,"auditNum":this.auditNum,"searchroomGroup":encodeURIComponent(JSON.stringify(this.msg.searchroomGroup)),"StartDate": this.msg.CheckInDate,"EndDate":this.msg.CheckOutDate,"childNum":this.childNum,blank:'y',tab:'道旅酒店预定'}})
},
//设置房间里面成人数改变总成人数和儿童数
setPeopleNum() {
......@@ -1085,7 +1091,7 @@ export default {
this.DidaHotelDetails = res.data.data
this.initMap(this.DidaHotelDetails.Longitude, this.DidaHotelDetails.Latitude, this.DidaHotelDetails.Name_CN)
if(this.DidaHotelDetails.StarRating){
this.startNum=parseFloat(this.DidaHotelDetails.StarRating);
this.startNum= Math.ceil(this.DidaHotelDetails.StarRating);
}
}
}, null)
......@@ -1197,7 +1203,6 @@ export default {
this.loading = false
if (res.data.resultCode == 1) {
this.Policy = res.data.data;
console.log("this.Policy",this.Policy);
}
}, null)
},
......
......@@ -197,11 +197,12 @@
<div class="hotelDiv" style="width:100%;margin-bottom:12px;">
<div style="width:85%;">
<div class="side-hotel-map__marker q-pr-lg"> {{index+1}}</div>
<div class="hotelname " @click="goUrlT('HotelDetails', item.hotelId)" ><p ><span class="hotelnamespan"> {{item.hotelName}}</span> <span style="font-size:12px;color:#606266;margin-left:8px;">{{item.hotelEName}}</span></p></div>
<div class="hotelname " ><p ><span class="hotelnamespan"> {{item.hotelName}}</span> <span style="font-size:12px;color:#606266;margin-left:8px;">{{item.hotelEName}}</span></p></div>
</div>
<div style="width:15%;"><el-rate
v-model="item.reviewRating"
disabled
:max="getPrice(item.reviewRating)"
show-score
text-color="#ff9900"
:colors="['orange','orange','orange','orange','orange']"
......@@ -249,7 +250,7 @@
<span class="nd-price-tag__currency nd-price-tag">CNY </span>
<span class="nd-price-tag__price nd-price-tag" style="font-weight: bolder !important;font-size: 20px;">{{item.lowrateBySetCurrency}} </span>
<span class="nd-price-tag"></span>
<el-button round class="nd-reserve-btn" @click="goUrlT('HotelDetails', item.hotelId)" >查看详情</el-button>
<el-button round class="nd-reserve-btn" @click="goUrlT('HotelDetails', item.hotelId)" >立即预订</el-button>
</div>
</div>
</div>
......@@ -420,7 +421,10 @@ export default {
this.companyList=res.data.data;
}
}, null)
}
},
getPrice(price) {
return Math.ceil(price);
},
},
mounted() {
var DateTime = new Date();
......
This diff is collapsed.
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