Commit e19f2362 authored by youjie's avatar youjie

no message

parent f8d1b40a
<style lang="scss" scoped>
</style>
<template>
<div>
<div
class="text-h5 text-weight-bold text-left q-mt-xl"
ref="assemblypoint"
:class="{
'q-px-md': $q.screen.width < 1220 && $q.platform.is.mobile,
}"
>
酒店地址
</div>
<div
class="q-mt-lg trip-text rounded-borders q-mb-xl"
style="border: 1px dashed var(--q-color-warning)"
:class="{
'q-mx-md': $q.screen.width < 1220 && $q.platform.is.mobile,
}">
<div class="q-pa-md">
<div class="text-weight-bold text-h6">酒店名稱:{{hotelSummary.Name_CN}}</div>
<div class="text-grey-9">地址:{{`${hotelSummary.Address_CN}`}}</div>
</div>
<!-- <div class="q-pa-md" :class="{
'q-mx-md': $q.screen.width < 1220 && $q.platform.is.mobile,
}" v-for="(x,index) in travelLngLat" :key="index" style="border-top: 1px dashed var(--q-color-warning)">
<componentsMap v-if="x.Lng&&x.Lat" :AddressObj="x"/>
<div v-else class="card text-center">经纬度未知</div>
</div> -->
</div></div>
</template>
<script>
import componentsMap from 'src/components/car/Map.vue';
export default {
components: {componentsMap},
props: {
orderInfo: {
type: Object,
default: () => ({})
}
},
data() {
return {hotelSummary: {},
travelLngLat: []
}
},
mounted() {
this.getData()
},
methods: {
// 获取详情
getData() {
this.$q.loading.show();
this.apipost(
"dmc_post_GetDidaHotelDetails",
{
// groupBookingFlg: "0",
// hotelImageSize: 5,
// photoGalleryGetFlg: 1,
// hotelId: this.orderInfo.GoodsId,
hotelId: this.orderInfo.GoodsId,
hotelImageSize: 5,
photoGalleryGetFlg: 1,
groupBookingFlg: 1, },
(res) => {
this.$q.loading.hide();
if (res.data.resultCode == 1) {
console.log(res.data.data);
this.hotelDetails = res.data.data;
this.hotelSummary = res.data.data;
// this.roomReviewRating = Number(this.hotelDetails.roomReviewRating);
this.travelLngLat.push({
Lat: this.hotelSummary.Latitude,
Lng: this.hotelSummary.Longitude,
Address: this.hotelSummary.Name_CN
});
} else {
this.$message.error(res.data.message);
}
},
null
);
},
}
}
</script>
\ No newline at end of file
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