Commit 3d1f110c authored by zhengke's avatar zhengke

修改

parents 2cb102f0 2d24af82
...@@ -469,8 +469,6 @@ export default { ...@@ -469,8 +469,6 @@ export default {
let today= moment().format("YYYY-MM-DD"); let today= moment().format("YYYY-MM-DD");
this.pkgsList=[]; this.pkgsList=[];
this.mealType=res.data.data; this.mealType=res.data.data;
console.log("this.mealType",this.mealType.pkgs)
console.log(moment('2019-08-29').isBefore(moment('2019-08-30')))
if(this.mealType.pkgs){ if(this.mealType.pkgs){
this.mealType.pkgs.forEach(item=>{ this.mealType.pkgs.forEach(item=>{
// //
......
...@@ -190,7 +190,7 @@ ...@@ -190,7 +190,7 @@
<span class="f18 pfR">交通列表</span> <span class="f18 pfR">交通列表</span>
</div> </div>
<el-row class="trafficList" v-for="(item,index) in traffic.car" :key="index+100"> <el-row class="trafficList" v-for="(item,index) in traffic.car" :key="index+100">
<el-col :span="2" class="c88" style="text-align:center;padding-top:27px">{{index+1}}</el-col> <el-col :span="2" class="c88" style="text-align:center;padding-top:27px">{{index+1}}</el-col>
<el-col :span="20"> <el-col :span="20">
<div class="f12" style="padding:20px;padding-left:80px"> <div class="f12" style="padding:20px;padding-left:80px">
<el-form-item label="出发地" :prop="'car.'+index+'.s_location'" :rules="[{ required: true, message: '请填写出发地', trigger: 'blur' }]"> <el-form-item label="出发地" :prop="'car.'+index+'.s_location'" :rules="[{ required: true, message: '请填写出发地', trigger: 'blur' }]">
...@@ -287,10 +287,10 @@ ...@@ -287,10 +287,10 @@
</div> </div>
</div> </div>
</el-form> </el-form>
<!-- <el-button :loading="BtnLoading" @click="PayBtn" class="OrderConBtn"> <el-button :loading="BtnLoading" @click="PayBtn" class="OrderConBtn">
下一步,支付 下一步,支付
</el-button> --> </el-button>
</div> </div>
</div> </div>
<div class="right" style="width:388px;box-sizing:border-box"> <div class="right" style="width:388px;box-sizing:border-box">
...@@ -381,8 +381,6 @@ export default { ...@@ -381,8 +381,6 @@ export default {
native_last_name:false,//本国姓 native_last_name:false,//本国姓
tel_country_code:false,//电话国号 tel_country_code:false,//电话国号
tel_number:false,//电话号码 tel_number:false,//电话号码
}, },
tel_country_code:[], tel_country_code:[],
guide_langList:[], guide_langList:[],
...@@ -432,8 +430,10 @@ export default { ...@@ -432,8 +430,10 @@ export default {
this.freeMsg.buyer_tel_country_code="86"; this.freeMsg.buyer_tel_country_code="86";
this.freeMsg.buyer_tel_number="13183813102"; // this.freeMsg.buyer_tel_number="13183813102";
this.freeMsg.buyer_email="13183813102@qq.com"; // this.freeMsg.buyer_email="13183813102@qq.com";
this.freeMsg.buyer_tel_number="";
this.freeMsg.buyer_email="";
this.freeMsg.pay={ this.freeMsg.pay={
type: "02", type: "02",
...@@ -774,7 +774,6 @@ export default { ...@@ -774,7 +774,6 @@ export default {
}) })
} }
console.log("this.traffic.car",this.traffic.car)
} }
} }
......
...@@ -206,7 +206,7 @@ export default { ...@@ -206,7 +206,7 @@ export default {
CancelBy:'', CancelBy:'',
}, },
msg:{ msg:{
order_no:'', orderId:'',
}, },
payInfoObj:{}, payInfoObj:{},
oldModel:{}, oldModel:{},
...@@ -221,8 +221,8 @@ export default { ...@@ -221,8 +221,8 @@ export default {
} }
}, },
created(){ created(){
if(this.$route.query.ThirdOrderNo){ if(this.$route.query.OrderID){
this.msg.order_no=this.$route.query.ThirdOrderNo; this.msg.orderId=this.$route.query.OrderID;
} }
this.getPayInfo(); this.getPayInfo();
...@@ -257,9 +257,10 @@ export default { ...@@ -257,9 +257,10 @@ export default {
}, },
Exit(){ Exit(){
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
// console.log(item);
this.dialogFormVisible=true; this.dialogFormVisible=true;
this.exitMsg.order_no=this.oldModel.ThirdOrderNo; this.exitMsg.orderId=this.oldModel.OrderID;
// console.log(item);
this.exitMsg.CancelBy=userInfo.name; this.exitMsg.CancelBy=userInfo.name;
}, },
ExitOrder(){ ExitOrder(){
...@@ -294,7 +295,7 @@ export default { ...@@ -294,7 +295,7 @@ export default {
"dmc_post_Get_KKDayOrderQueryOrderDtl", "dmc_post_Get_KKDayOrderQueryOrderDtl",
this.msg, this.msg,
res => { res => {
console.log("sfafg",res); // console.log("sfafg",res);
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.oldModel=res.data.data.oldModel; this.oldModel=res.data.data.oldModel;
this.jo=res.data.data.jo; this.jo=res.data.data.jo;
......
<style> <style>
.HotelDetail { .HotelDetail{
width: 1200px; width:1200px;
height: auto; height:auto;
margin: auto; margin:auto;
margin-bottom: 34px; margin-bottom:34px;
} }
.clearfix:after { .clearfix:after {content: "\0020";display: block;height: 0;clear: both;}
content: "\0020"; .HD_Top{
display: block; margin-top:20px;
height: 0; }
clear: both; .HD_Top_Left{
} width:878px;
.HD_Top { height:auto;
margin-top: 20px; float:left;
} }
.HD_Top_Left { .HD_Top_Right{
width: 878px; width:300px;
height: auto; float:left;
float: left; height:368px;
} margin-left:20px;
.HD_Top_Right { }
width: 300px; .HD_Top_Title{
float: left; font-weight: bold;
height: 368px; color:#000000;
margin-left: 20px; font-size:16px;
} margin-bottom:10px;
.HD_Top_Title { }
font-weight: bold; .HD_Top_Address{
color: #000000; font-size:14px;
font-size: 16px; color:#999999;
margin-bottom: 10px; }
} .HD_Top_Price{
.HD_Top_Address { width:838px;
font-size: 14px; height:54px;
color: #999999; margin:20px 0;
} background-color: #F5F5F5;
.HD_Top_Price { padding:0 20px;
width: 838px; display: flex;
height: 54px; align-items: center;
margin: 20px 0; font-size:12px;
background-color: #f5f5f5; color:#888888;
padding: 0 20px; position: relative;
display: flex; }
align-items: center; .HD_Top_Pinfo{
font-size: 12px; color:#EE4454;
color: #888888; font-size:22px;
position: relative; font-weight: bold;
} margin-top:-5px;
.HD_Top_Pinfo { }
color: #ee4454; .HD_Top_Pinfo i{
font-size: 22px; margin-right:10px;
font-weight: bold; font-style:normal;
margin-top: -5px; }
} .HD_Top_qi{
.HD_Top_Pinfo i { margin-right:30px;
margin-right: 10px; }
font-style: normal; .HD_SureBtn{
} float:right;
.HD_Top_qi { width:90px;
margin-right: 30px; height:36px;
} background-color: #EE4454;
.HD_SureBtn { border-radius:4px;
float: right; color:#fff;
width: 90px; outline: none;
height: 36px; right:20px;
background-color: #ee4454; position: absolute;
border-radius: 4px; border:none;
color: #fff; cursor: pointer;
outline: none; }
right: 20px; .HD_Top_ImgList{
position: absolute; width:100%;
border: none; height:auto;
cursor: pointer; }
} .HD_Top_FirstImg{
.HD_Top_ImgList { float:left;
width: 100%; width:345px;
height: auto; height:259px;
} background-position: 50%;
.HD_Top_FirstImg { background-repeat: no-repeat;
float: left; }
width: 345px; .HD_Top_ImgList img{
height: 259px; width:100%;
} height:100%;
.HD_Top_ImgList img { }
width: 100%; .HD_Top_rightImg{
height: 100%; float:left;
} width:526px;
.HD_Top_rightImg { margin-left:7px;
float: left; }
width: 526px; .HD_Top_ImgDiv{
margin-left: 7px; width:259px;
} height:126px;
.HD_Top_ImgDiv { float:left;
width: 259px; margin:0 8px 8px 0;
height: 126px; background-position: 50%;
float: left; background-repeat: no-repeat;
margin: 0 8px 8px 0; }
} .HD_Top_ImgDiv:nth-child(2n+2){
.HD_Top_ImgDiv:nth-child(2n + 2) { margin-right:0;
margin-right: 0; }
} .HD_btnContent{
.HD_btnContent { width:100%;
width: 100%; height:auto;
height: auto; border:1px solid #DCDCDC;
border: 1px solid #dcdcdc; margin-top:49px;
margin-top: 49px; }
} .HD_checkTime,.HD_PeoPleNum{
.HD_checkTime, margin:20px;
.HD_PeoPleNum { font-size:12px;
margin: 20px; color:#666666;
font-size: 12px; position: relative;
color: #666666; }
position: relative; .HD_warn{
} color:#EE4454;
.HD_warn { font-size:14px;
color: #ee4454; font-weight:bold;
font-size: 14px; margin-left:46px;
font-weight: bold; }
margin-left: 46px; .HD_warn i{
} color:#FFA835;
.HD_warn i { }
color: #ffa835; .HD_checkTime .el-input-number{
} width:145px;
.HD_checkTime .el-input-number { line-height: 26px;
width: 145px; margin-right:20px;
line-height: 26px; }
margin-right: 20px; .HD_checkTime .el-input__inner{
} height:28px;
.HD_checkTime .el-input__inner { border-radius:0;
height: 28px; }
border-radius: 0; .HD_PsureBtn{
} position: absolute;
.HD_PsureBtn { right:0;
position: absolute; width:90px;
right: 0; height:36px;
width: 90px; background-color: #EE4454;
height: 36px; color:#fff;
background-color: #ee4454; font-size: 16px;
color: #fff; font-weight: 400;
font-size: 16px; outline: none;
font-weight: 400; border:none;
outline: none; cursor: pointer;
border: none; border-radius: 4px;
cursor: pointer; }
border-radius: 4px; .HD_fuhe{
} width:1167px;
.HD_fuhe { padding:0 17px;
width: 1167px; height:30px;
padding: 0 17px; color:#fff;
height: 30px; font-size:16px;
color: #fff; display: flex;
font-size: 16px; align-items: center;
display: flex; font-weight: bold;
align-items: center; background-color: #FFA835;
font-weight: bold; }
background-color: #ffa835; .HD_fuhe img{
} margin-right:10px;
.HD_fuhe img { }
margin-right: 10px; .HD_fangxing_List{
} width:100%;
.HD_fangxing_List { height:97px;
width: 100%; position: relative;
height: 97px; border-bottom:1px solid #DCDCDC;
position: relative; }
border-bottom: 1px solid #dcdcdc; .HD_fangxing{
} width:100%;
.HD_fangxing { border-collapse: collapse;
width: 100%; }
border-collapse: collapse; .HD_fangxing td{
} padding:0
.HD_fangxing td { }
padding: 0; .HD_LeftRoomInfo{
} margin:15px 10px 0 15px;
.HD_LeftRoomInfo { display: flex;
margin: 15px 10px 0 15px; }
display: flex; .HD_FuheIMG{
} position: relative;
.HD_FuheIMG { display: inline-block;
position: relative; width:70px;
display: inline-block; height:70px;
width: 70px; }
height: 70px; .HD_FuheIMG img{
} width:100%;
.HD_FuheIMG img { height:100%;
width: 100%; }
height: 100%; .HD_FuheIMG div{
} position: absolute;
.HD_FuheIMG div { bottom: 0;
position: absolute; right:0;
bottom: 0; width:40px;
right: 0; height:20px;
width: 40px; background:rgba(0,0,0,0.5);
height: 20px; line-height: 20px;
background: rgba(0, 0, 0, 0.5); text-align: center;
line-height: 20px; color:#fff;
text-align: center; font-size: 12px;
color: #fff; }
font-size: 12px; .HD_Kefang{
} display: inline-block;
.HD_Kefang { margin-left:10px;
display: inline-block; color:#555555;
margin-left: 10px; font-size:12px;
color: #555555; width:123px;
font-size: 12px; }
width: 123px; .HD_Kefang span{
} display: block;
.HD_Kefang span { }
display: block; .HD_Kefang span:first-child{
} font-size: 16px;
.HD_Kefang span:first-child { color:#111111;
font-size: 16px; }
color: #111111; .HD_fangxing_List ul li{
} float:left;
.HD_fangxing_List ul li { font-size:13px;
float: left; margin-right:40px;
font-size: 13px; display: flex;
margin-right: 40px; align-items: center;
display: flex; height:98px;
align-items: center; }
height: 98px; .HD_ComDiJia{
} position: absolute;
.HD_ComDiJia { top:0;
position: absolute; left:0;
top: 0; width:66px;
left: 0; height:20px;
width: 66px; color:#fff;
height: 20px; font-size:12px;
color: #fff; text-align: center;
font-size: 12px; line-height: 20px;
text-align: center; border-bottom-right-radius: 12px;
line-height: 20px; }
border-bottom-right-radius: 12px; .HD_Black{
} background-color: black;
.HD_Black { }
background-color: black; .HD_Green{
} background-color: green;
.HD_Green { }
background-color: green; .HD_OneLi{
} color:#888888;
.HD_OneLi { width:170px;
color: #888888; margin-left:20px;
width: 170px; font-size:14px;
margin-left: 20px; }
font-size: 14px; .HD_FreeWifi{
} color:#EE4454;
.HD_FreeWifi { }
color: #ee4454; .HD_Lingprice{
} color:#999999;
.HD_Lingprice { }
color: #999999; .HD_Lingprice i{
} font-style: normal;
.HD_Lingprice i { margin-right:2px;
font-style: normal; }
margin-right: 2px; .HD_Lingprice span{
} color:#EE4454;
.HD_Lingprice span { font-size:22px;
color: #ee4454; }
font-size: 22px; .HD_Lingprice>div:last-child{
} margin-top:3px;
.HD_Lingprice > div:last-child { }
margin-top: 3px; .HD_letfTD{
} width:238px;
.HD_letfTD { vertical-align:top;
width: 238px; border-right:1px solid #d1d1d1;
vertical-align: top; border-bottom:1px solid #d1d1d1;
border-right: 1px solid #d1d1d1; }
border-bottom: 1px solid #d1d1d1; .HD_LastShowMore{
} width:941px;
.HD_LastShowMore { height:23px;
width: 941px; background-color: #DCDCDC;
height: 23px; text-align: right;
background-color: #dcdcdc; padding-right:20px;
text-align: right; font-size:12px;
padding-right: 20px; color:#999999;
font-size: 12px; line-height: 23px;
color: #999999; border-bottom:1px solid #DCDCDC;
line-height: 23px; }
border-bottom: 1px solid #dcdcdc; .HD_LastShowMore span{
} cursor: pointer;
.HD_LastShowMore span { }
cursor: pointer; .HD_LastShowMore i{
} font-size:12px;
.HD_LastShowMore i { }
font-size: 12px; .HD_HotelInfo{
} width:100%
.HD_HotelInfo { }
width: 100%; .HD_fangxing tr td:last-child{
} border-bottom:1px solid #DCDCDC;
.HD_fangxing tr td:last-child { }
border-bottom: 1px solid #dcdcdc; .HD_hotelComIntroduce{
} margin:auto;
.HD_hotelComIntroduce { width:1160px;
margin: auto; height:auto;
width: 1160px; padding:20px 0 10px 0;
height: auto; border-bottom:1px solid #DCDCDC;
padding: 20px 0 10px 0; font-size:12px;
border-bottom: 1px solid #dcdcdc; color:#111111;
font-size: 12px; }
color: #111111; .HD_hotelComIntroduce span{
} display:inline-block;
.HD_hotelComIntroduce span { margin-bottom:10px;
display: inline-block; }
margin-bottom: 10px; .HD_inTitle{
} font-size:14px;
.HD_inTitle { font-weight: bold;
font-size: 14px; color:#111111;
font-weight: bold; margin-bottom:20px;
color: #111111; }
margin-bottom: 20px; .HD_ServiceList span{
} display: inline-block;
.HD_ServiceList span { margin:0 30px 10px 0;
display: inline-block; }
margin: 0 30px 10px 0; .HD_ComLeftTitle{
} display:inline-block;
.HD_ComLeftTitle { width:110px;
display: inline-block; text-align: left;
width: 110px; color:#666666;
text-align: left; vertical-align: top;
color: #666666; }
vertical-align: top; .HD_Card img{
} margin-right:10px;
.HD_Card img { }
margin-right: 10px; .Ht_PopList{
} width:170px;
.Ht_PopList { float:left;
width: 170px; height:auto;
float: left; border-right:1px solid #E9E9E9;
height: auto; margin:0 20px 20px 0;
border-right: 1px solid #e9e9e9; }
margin: 0 20px 20px 0; .Ht_PopList:last-child{
} border-right:0;
.Ht_PopList:last-child { margin-right:0;
border-right: 0; }
margin-right: 0; .Ht_PopList>div{
} width:94px;
.Ht_PopList > div { height:26px;
width: 94px; border:1px solid #EE4454;
height: 26px; color:#EE4454;
border: 1px solid #ee4454; text-align: center;
color: #ee4454; line-height: 26px;
text-align: center; border-radius:3px;
line-height: 26px; margin-bottom:20px;
border-radius: 3px; }
margin-bottom: 20px; .Ht_PopList .el-input__inner{
} width:54px;
.Ht_PopList .el-input__inner { height:22px;
width: 54px; }
height: 22px; .Ht_PopList .el-input__icon{
} line-height: 0;
.Ht_PopList .el-input__icon { }
line-height: 0; .Ht_PopList tr td{
} height:35px;
.Ht_PopList tr td { }
height: 35px; .HotelDetail .Ht_ul{
} width:400px;
.HotelDetail .Ht_ul { display: inline-block;
width: 400px; }
display: inline-block; .HotelDetail .Ht_ul li{
} display: inline-block;
.HotelDetail .Ht_ul li { font-size:14px;
display: inline-block; color:#333333;
font-size: 14px; margin-right:15px;
color: #333333; }
margin-right: 15px; .HotelDetail .Ht_ulName{
} position: relative;
.HotelDetail .Ht_ulName { top:-1px;
position: relative; }
top: -1px; .HotelDetail .Ht_ulDian{
} position: relative;
.HotelDetail .Ht_ulDian { top:-5px;
position: relative; }
top: -5px; .Ht_ul li img{
} position: relative;
.Ht_ul li img { top:1px;
position: relative; }
top: 1px; .HD_Top_Right_Star{
} width:262px;
.HD_Top_Right_Star { height:122px;
width: 262px; padding:0 20px;
height: 122px; border:1px solid #DDDDDD;
padding: 0 20px; }
border: 1px solid #dddddd; .HD_TOP_Map{
} width:100%;
.HD_TOP_Map { height:244px;
width: 100%; margin-top:27px;
height: 244px; border:1px solid #DDDDDD;
margin-top: 27px; }
border: 1px solid #dddddd; .HD_TopScore{
} height:60px;
.HD_TopScore { width:100%;
height: 60px; display: flex;
width: 100%; align-items: center;
display: flex; position: relative;
align-items: center; border-bottom:1px solid #DDDDDD;
position: relative; }
border-bottom: 1px solid #dddddd; .HD_Score_right{
} position: absolute;
.HD_Score_right { right:0;
position: absolute; color:#111111!important;
right: 0; }
color: #111111 !important; .HD_TopScore span{
} display:inline-block;
.HD_TopScore span { font-size:16px;
display: inline-block; color:#EE4454;
font-size: 16px; }
color: #ee4454; .HD_ScoreS{
} color:#EE4454;
.HD_ScoreS { font-size:24px!important;
color: #ee4454; }
font-size: 24px !important; .HD_xing{
} margin-top:20px;
.HD_xing { text-align: center;
margin-top: 20px; }
text-align: center; .blackColor{
} color:black;
.blackColor { }
color: black; .HD_minNight{
} position: absolute;
.HD_minNight { display: inline-block;
position: absolute; bottom:3px;
display: inline-block; left:20px;
bottom: 3px; border:1px solid #44B276;
left: 20px; color:#44B276;
border: 1px solid #44b276; padding:1px;
color: #44b276; font-weight: bold;
padding: 1px; font-size:12px;
font-weight: bold; }
font-size: 12px; .HD_date_input .el-input__inner{
} border-radius: 0;
.HD_date_input .el-input__inner { }
border-radius: 0; .HD_fangxing_List:last-child{
} border-bottom:0;
.HD_fangxing_List:last-child { }
border-bottom: 0; .Ht_ulName .el-input__icon{
} line-height: 0;
.Ht_ulName .el-input__icon { }
line-height: 0; .hotel-details-table {
} margin-top: 15px;
.hotel-details-table { border: 1px solid #DCDCDC;
margin-top: 15px; border-collapse: collapse;
border: 1px solid #dcdcdc; width:680px;
border-collapse: collapse; }
width: 680px; .hotel-details-table .td01 {
} padding: 3px 15px;
.hotel-details-table .td01 { background: #F7F7F7;
padding: 3px 15px; width: 226px;
background: #f7f7f7; height: 19px;
width: 226px; text-align: center;
height: 19px; }
text-align: center; .hotel-details-table .td02 {
} padding: 3px 15px;
.hotel-details-table .td02 { background: #FAFAFA;
padding: 3px 15px; width: 69px;
background: #fafafa; height: 19px;
width: 69px; text-align: center;
height: 19px; }
text-align: center; .hotel-details-table td {
} width: 439px;
.hotel-details-table td { padding: 10px 20px;
width: 439px; vertical-align: middle;
padding: 10px 20px; text-align: center;
vertical-align: middle; border: 1px solid #DCDCDC;
text-align: center; font-size: 14px;
border: 1px solid #dcdcdc; box-sizing: border-box;
font-size: 14px; }
box-sizing: border-box;
}
</style> </style>
<template> <template>
...@@ -511,7 +509,7 @@ ...@@ -511,7 +509,7 @@
<div class="HD_TopScore"> <div class="HD_TopScore">
<span>棒极了</span> <span>棒极了</span>
<span class="HD_Score_right"> <span class="HD_Score_right">
<span class="HD_ScoreS">{{hotelDetails.roomReviewRating}}</span>/5.0 <span class="HD_ScoreS" v-if="hotelDetails.roomReviewRating">{{hotelDetails.roomReviewRating}}</span>/5.0
</span> </span>
</div> </div>
<div class="HD_xing"> <div class="HD_xing">
...@@ -790,6 +788,7 @@ ...@@ -790,6 +788,7 @@
</div> </div>
</div> </div>
</div> </div>
<a :href="blankUrl" id="blankLink" target="_blank" style="display:none">1</a>
</div> </div>
</template> </template>
<script> <script>
...@@ -798,6 +797,12 @@ import moment from "moment"; ...@@ -798,6 +797,12 @@ import moment from "moment";
export default { export default {
data() { data() {
return { return {
blankUrl: '',
images:[],
imageOptions:{
navbar:false,
title:false
},
//查询条件 //查询条件
msg: { msg: {
hotelId: "", hotelId: "",
...@@ -1317,21 +1322,22 @@ export default { ...@@ -1317,21 +1322,22 @@ export default {
return Math.ceil(price / this.JapanIncrease); return Math.ceil(price / this.JapanIncrease);
}, },
//点击预订传递参数 //点击预订传递参数
bookHotel(roomOptionCd) { bookHotel(roomOptionCd){
if ( if(sessionStorage.getItem('OpenB2BCode')==null && !localStorage.userInfo){
sessionStorage.getItem("OpenB2BCode") == null && return this.Error('请登录!')
!localStorage.userInfo }
) { let msg = this.SimilarMsg;
return this.Error("请登录!"); msg.roomOptionCd = roomOptionCd;
} msg.imgUrl = this.hotelDetails.hotelImageUrl1;
sessionStorage.setItem("HotelSure", JSON.stringify(msg));
let msg = this.SimilarMsg; let dom = document.querySelector("#blankLink")
msg.roomOptionCd = roomOptionCd; let fullPath = `/HotelSure`;
msg.imgUrl = this.hotelDetails.hotelImageUrl1; dom.href=`http://${window.location.host}/#${fullPath}`
sessionStorage.setItem("HotelSure", JSON.stringify(msg)); dom.click()
this.$router.push({ return
path: "/HotelSure" this.$router.push({
}); path:"/HotelSure"
})
} }
} }
}; };
......
...@@ -197,6 +197,7 @@ ...@@ -197,6 +197,7 @@
float:left; float:left;
width:199px; width:199px;
height:148px; height:148px;
background-position: 50%;
} }
.HL_ListImg img{ .HL_ListImg img{
width:100%; width:100%;
...@@ -363,6 +364,10 @@ ...@@ -363,6 +364,10 @@
.HL_Two .icon-img-rili{ .HL_Two .icon-img-rili{
margin-left:0!important; margin-left:0!important;
} }
.HL_TitleSpan:hover{
text-decoration: underline;
cursor: pointer;
}
</style> </style>
<template> <template>
...@@ -575,12 +580,12 @@ ...@@ -575,12 +580,12 @@
<tr v-for="item in dataList"> <tr v-for="item in dataList">
<td> <td>
<div class="clearfix"> <div class="clearfix">
<div class="HL_ListImg"> <div class="HL_ListImg" :style="`background-image: url(${item.hotelImageUrl})`">
<img :src="item.hotelImageUrl" alt=""/> <!-- <img :src="item.hotelImageUrl" alt=""/> -->
</div> </div>
<div class="HL_ListContent"> <div class="HL_ListContent">
<div class="HL_ListTitle"> <div class="HL_ListTitle">
{{item.hotelName}} <span class="HL_TitleSpan" @click="goHotelDetail(item,'HotelDetail')">{{item.hotelName}}</span>
<span v-if="item.reviewRating"> <span v-if="item.reviewRating">
<el-rate <el-rate
v-model="item.reviewRating" v-model="item.reviewRating"
...@@ -608,7 +613,7 @@ ...@@ -608,7 +613,7 @@
<div class="HL_ListPrice"> <div class="HL_ListPrice">
<span><label>¥</label>{{getPrice(item.lowrateBySetCurrency)}}</span> <span><label>¥</label>{{getPrice(item.lowrateBySetCurrency)}}</span>
</div> </div>
<input type="button" class="HL_ListBtn" @click="goHotelDetail(item)" value="查看详情"/> <input type="button" class="HL_ListBtn" @click="goHotelDetail(item,'HotelDetail')" value="查看详情"/>
</div> </div>
</div> </div>
</td> </td>
...@@ -1088,7 +1093,7 @@ export default { ...@@ -1088,7 +1093,7 @@ export default {
this.SearchHotel(); this.SearchHotel();
}, },
//跳转详情 //跳转详情
goHotelDetail(item){ goHotelDetail(item,path){
this.PassMsg.hotelId = item.hotelId, this.PassMsg.hotelId = item.hotelId,
this.PassMsg.arrivalDate=this.msg.arrivalDate; this.PassMsg.arrivalDate=this.msg.arrivalDate;
this.PassMsg.departureDate = this.msg.departureDate; this.PassMsg.departureDate = this.msg.departureDate;
...@@ -1098,9 +1103,13 @@ export default { ...@@ -1098,9 +1103,13 @@ export default {
this.PassMsg.room = this.room this.PassMsg.room = this.room
this.PassMsg.auditNum = this.auditNum; this.PassMsg.auditNum = this.auditNum;
sessionStorage.setItem("HotelDetail", JSON.stringify(this.PassMsg)); sessionStorage.setItem("HotelDetail", JSON.stringify(this.PassMsg));
this.$router.push({ // this.$router.push({
path:"/HotelDetail" // path:"/HotelDetail"
}) // })
let routeData = this.$router.resolve({
name: path,
});
window.open(routeData.href, "_blank");
}, },
//主题特色 //主题特色
getTravelFeature(feature){ getTravelFeature(feature){
......
...@@ -444,7 +444,7 @@ ...@@ -444,7 +444,7 @@
<li style="width:680px;"> <li style="width:680px;">
<div class="HS_fangfei" v-for="subItem in item.rateGroup"> <div class="HS_fangfei" v-for="subItem in item.rateGroup">
<div class="HS_fangfei_Top">{{subItem.stayDate}}</div> <div class="HS_fangfei_Top">{{subItem.stayDate}}</div>
<div v-if="subItem.perAdultRateBySetCurrency">¥<span>{{subItem.perAdultRateBySetCurrency}}</span></div> <div v-if="subItem.perAdultRateBySetCurrency">¥<span>{{subItem.perAdultRateBySetCurrency}}/人</span></div>
</div> </div>
</li> </li>
</ul> </ul>
...@@ -492,19 +492,19 @@ ...@@ -492,19 +492,19 @@
<li class="HS2_title">房间{{item.roomCount}}</li> <li class="HS2_title">房间{{item.roomCount}}</li>
<li style="margin-left:20px;">成人男</li> <li style="margin-left:20px;">成人男</li>
<li> <li>
<el-select style="width:90px" v-model="item.roomMaleCount" :disabled="item.isShowMale" clearable placeholder="成人男"> <el-select style="width:90px" v-model="item.roomMaleCount" :disabled="item.isShowMale" placeholder="成人男">
<el-option v-for="item in Pnumber" :value="item.num" :label="item.num"></el-option> <el-option v-for="item in Pnumber" :value="item.num" :label="item.num"></el-option>
</el-select> </el-select>
</li> </li>
<li>成人女</li> <li>成人女</li>
<li> <li>
<el-select style="width:90px" v-model="item.roomFemaleCount" :disabled="item.isShowFemale" clearable placeholder="成人女"> <el-select style="width:90px" v-model="item.roomFemaleCount" :disabled="item.isShowFemale" placeholder="成人女">
<el-option v-for="item in Pnumber" :value="item.num" :label="item.num"></el-option> <el-option v-for="item in Pnumber" :value="item.num" :label="item.num"></el-option>
</el-select> </el-select>
</li> </li>
<li>儿童数</li> <li>儿童数</li>
<li> <li>
<el-select style="width:90px" v-model="item.roomChildCount" :disabled="item.isShowChild" clearable placeholder="儿童"> <el-select style="width:90px" v-model="item.roomChildCount" :disabled="item.isShowChild" placeholder="儿童">
<el-option v-for="item in Pnumber" :value="item.num" :label="item.num"></el-option> <el-option v-for="item in Pnumber" :value="item.num" :label="item.num"></el-option>
</el-select> </el-select>
</li> </li>
...@@ -889,20 +889,20 @@ export default { ...@@ -889,20 +889,20 @@ export default {
} }
} }
}) })
// AdultCount+=AdultTotalPrice*x.roomAdultCount; AdultCount+=AdultTotalPrice*x.roomAdultCount;
// childCount+=childToTalPrice*x.roomChildCount; childCount+=childToTalPrice*x.roomChildCount;
AdultCount+=AdultTotalPrice; // AdultCount+=AdultTotalPrice;
childCount+=childToTalPrice; // childCount+=childToTalPrice;
oldAount+=oldAuditPrice; oldAount+=oldAuditPrice;
childAount+=childAount; childAount+=childAount;
this.sureMsg.totalChargeableRateInfo += parseFloat(AdultCount+childCount); this.sureMsg.totalChargeableRateInfo += parseFloat(AdultCount+childCount);
this.sureMsg.OldTotalPrice+=parseFloat(oldAount+childAount); this.sureMsg.OldTotalPrice+=parseFloat(oldAount+childAount);
// AdultJapanCount+=AdultJapanPrice*x.roomAdultCount; AdultJapanCount+=AdultJapanPrice*x.roomAdultCount;
// childJapanCount+=ChildJapanPrice*x.roomChildCount; childJapanCount+=ChildJapanPrice*x.roomChildCount;
AdultJapanCount+=AdultJapanPrice; // AdultJapanCount+=AdultJapanPrice;
childJapanCount+=ChildJapanPrice; // childJapanCount+=ChildJapanPrice;
this.sureMsg.totalPriceJapanese += parseFloat(AdultJapanCount+childJapanCount); this.sureMsg.totalPriceJapanese += parseFloat(AdultJapanCount+childJapanCount);
}) })
......
...@@ -166,6 +166,8 @@ export default { ...@@ -166,6 +166,8 @@ export default {
this.totalCount = res.data.data.pageCount; this.totalCount = res.data.data.pageCount;
this.Count = res.data.data.count; this.Count = res.data.data.count;
this.orderLoading = false; this.orderLoading = false;
console.log(res,'resss');
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
......
...@@ -56,6 +56,11 @@ ...@@ -56,6 +56,11 @@
background-color: gray; background-color: gray;
margin-right: 10px; margin-right: 10px;
display: inline-block; display: inline-block;
overflow: hidden;
}
.freetable tbody .info .tc_info ._left img{
height: 100%;
width: auto;
} }
.orderTable tbody .info .tc_info ._right{ .orderTable tbody .info .tc_info ._right{
color: #666666; color: #666666;
...@@ -159,7 +164,7 @@ ...@@ -159,7 +164,7 @@
</style> </style>
<template> <template>
<el-row> <el-row>
<table class="orderTable" border="0" cellspacing="0" cellpadding="0"> <table class="freetable orderTable" border="0" cellspacing="0" cellpadding="0">
<thead> <thead>
<tr> <tr>
<th width="328px"> <th width="328px">
...@@ -357,14 +362,14 @@ export default { ...@@ -357,14 +362,14 @@ export default {
Exit(item){ Exit(item){
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.dialogFormVisible=true; this.dialogFormVisible=true;
this.exitMsg.order_no=item.ThirdOrderNo; this.exitMsg.order_no=item.OrderID;
this.exitMsg.CancelBy=userInfo.name; this.exitMsg.CancelBy=userInfo.name;
}, },
gopayInfo(item){ gopayInfo(item){
this.$router.push({ this.$router.push({
name: "payInfo", name: "payInfo",
query: { query: {
ThirdOrderNo:item.ThirdOrderNo, OrderID:item.OrderID,
} }
}); });
......
...@@ -169,10 +169,12 @@ ...@@ -169,10 +169,12 @@
.juanList .MoreDiv .moreItem .dataImg{ .juanList .MoreDiv .moreItem .dataImg{
width:100%; width:100%;
height:100%; height:100%;
background-size:cover;
overflow: hidden;
} }
.juanList .MoreDiv .moreItem .dataImg img{ .juanList .MoreDiv .moreItem .dataImg img{
width:100%; width:100%;
height:100%; min-height:100%;
} }
.juanList .MoreDiv .moreItem .noneData{ .juanList .MoreDiv .moreItem .noneData{
background:rgba(224,224,224,1); background:rgba(224,224,224,1);
...@@ -319,6 +321,12 @@ ...@@ -319,6 +321,12 @@
background: rgba(255,255,255,0.2); background: rgba(255,255,255,0.2);
/* margin-bottom:10px; */ /* margin-bottom:10px; */
} }
.juanList .topImg{
width:100%;
height: 100%;
background-position: 50%;
/* background-size: cover; */
}
</style> </style>
<template> <template>
<div @click="getRef($event,1)" :data-self="0" class="juan juanList commonF"> <div @click="getRef($event,1)" :data-self="0" class="juan juanList commonF">
...@@ -372,7 +380,8 @@ ...@@ -372,7 +380,8 @@
<p v-show="TOPlist.length>0" class="f30 pfR" style="">探索<span style="color:#EE4454">. 热门体验</span></p> <p v-show="TOPlist.length>0" class="f30 pfR" style="">探索<span style="color:#EE4454">. 热门体验</span></p>
<div class="hotCity"> <div class="hotCity">
<div v-for="(item,index) in TOPlist" @click="Gourl(item)" :key="index" @mouseenter="mouseOver(index)" class="cityItem" :class="HoverIndex==index?'cityItemBig':''"> <div v-for="(item,index) in TOPlist" @click="Gourl(item)" :key="index" @mouseenter="mouseOver(index)" class="cityItem" :class="HoverIndex==index?'cityItemBig':''">
<img :src="item.imgs" :onerror="defaultImg" alt=""> <!-- <img :src="item.imgs" :onerror="defaultImg" alt=""> -->
<div class="topImg" :style="`background-image: url(${item.imgs})`"></div>
<p v-show="HoverIndex!=index" class="name text1">{{item.title}}</p> <p v-show="HoverIndex!=index" class="name text1">{{item.title}}</p>
<div v-show="HoverIndex==index" class="CityHover"> <div v-show="HoverIndex==index" class="CityHover">
<p class="f26 pfR text1">{{item.title}}</p> <p class="f26 pfR text1">{{item.title}}</p>
...@@ -387,7 +396,8 @@ ...@@ -387,7 +396,8 @@
<div v-loading="dataloading" v-show='dataList.length!=0' id="MoreDiv" ref="MoreDiv" class="MoreDiv"> <div v-loading="dataloading" v-show='dataList.length!=0' id="MoreDiv" ref="MoreDiv" class="MoreDiv">
<div @click="Gourl(item)" v-for="(item,index) in dataList" :key="index" class="moreItem"> <div @click="Gourl(item)" v-for="(item,index) in dataList" :key="index" class="moreItem">
<div class="itemImg"> <div class="itemImg">
<div class="dataImg" v-if="item.imgs&&item.imgs!=''"> <!-- :style="{background:'url(' + item.imgs + ') no-repeat center center'}" -->
<div class="dataImg" v-if="item.imgs&&item.imgs!=''" >
<img :src="item.imgs" :onerror="defaultImg" alt=""> <img :src="item.imgs" :onerror="defaultImg" alt="">
</div> </div>
<div v-else class="noneData"> <div v-else class="noneData">
......
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