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

页面修改

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