Commit 972074f2 authored by 黄奎's avatar 黄奎

页面修改

parent 9847b87b
......@@ -59,7 +59,6 @@
dvDistance.innerHTML = "";
dvDistance.innerHTML += "Distance: " + distance + "<br />";
dvDistance.innerHTML += "Duration:" + duration;
} else {
alert("Unable to find the distance via road.");
}
......@@ -67,7 +66,6 @@
},
// 地图实例
mapBuild(){
if(this.dataList.length>1){
let lat = parseFloat(this.dataList[0].lat)
let lng = parseFloat(this.dataList[0].lng)
......@@ -80,9 +78,7 @@
gestureHandling: 'greedy'
});
this.directionsDisplay.setMap(this.map);
this.calcRoute()
this.calcRoute();
}
else{
this.ptcenter = {
......
......@@ -35,7 +35,6 @@
box-sizing: border-box;
}
</style>
<template>
<div class="foot-box">
<el-row style="width:1200px;margin:0 auto" class="home_footer" v-if="localStorage&&localStorage.i==2">
......@@ -52,10 +51,8 @@
<li @click="FootgoUrl('VisaHomePage')">签证</li>
<li>定制机票</li>
<li @click="FootgoUrl('TicketHome')">机票</li>
</ul>
</div>
</el-col>
<el-col :span="5">
<div class="float"><i class="iconfont icon-icon-test7"></i></div>
......@@ -65,7 +62,6 @@
<p>特卖</p>
<p>积分商城</p>
<p>活动中心</p>
</div>
</div>
......@@ -75,7 +71,6 @@
<div class="float">
<p class="color_33">定制旅游</p>
<div>
<!-- <p @click="FootgoUrl('PersonalTailor')">选择定制师</p> -->
<p @click="FootgoUrl('PersonalTailor')">定制我的行程</p>
</div>
</div>
......@@ -113,13 +108,12 @@
this.localStorage = JSON.parse(localStorage.g);
},
methods: {
// 底部跳转
//底部跳转
FootgoUrl(path) {
this.$router.push({
path
})
},
},
}
</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