Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Athena
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
华国豪
Athena
Commits
5fd01be8
Commit
5fd01be8
authored
Dec 12, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huaguohao/athena
parents
66b12672
4612f42e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
26 deletions
+14
-26
index.html
public/index.html
+0
-1
HTMap.vue
src/components/global/HTMap.vue
+2
-6
foot.vue
src/components/global/foot.vue
+1
-7
newHead.vue
src/components/global/newHead.vue
+11
-12
No files found.
public/index.html
View file @
5fd01be8
...
...
@@ -846,7 +846,6 @@
return
false
;
});
</script>
<!-- <script src="http://pv.sohu.com/cityjson?ie=utf-8"></script> -->
<script
type=
"text/javascript"
src=
"https://webapi.amap.com/maps?v=1.3&key=86f2f611126f36b93cf2ef280300524f&plugin=AMap.CitySearch"
></script>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
...
...
src/components/global/HTMap.vue
View file @
5fd01be8
...
...
@@ -39,7 +39,7 @@
},
mounted
(){
this
.
mapBuild
()
//初始化实例之后调用
//
this.mapBuild() //初始化实例之后调用
},
methods
:{
getDetailsRoutes
(
source
,
destination
,
map
){
...
...
@@ -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
=
{
...
...
src/components/global/foot.vue
View file @
5fd01be8
...
...
@@ -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
src/components/global/newHead.vue
View file @
5fd01be8
...
...
@@ -564,19 +564,18 @@ export default {
},
created
()
{
let
that
=
this
;
// http://pv.sohu.com/cityjson?ie=utf-8
that
.
loadSites
();
require
([
"http://pv.sohu.com/cityjson"
],
()
=>
{
setTimeout
(()
=>
{
console
.
log
(
"returnCitySN"
,
returnCitySN
)
if
(
returnCitySN
)
{
that
.
loadSites
();
that
.
cityText
=
returnCitySN
.
cname
;
}
else
{
that
.
loadSites
();
}
},
1500
);
});
//
require(["http://pv.sohu.com/cityjson"], () => {
//
setTimeout(() => {
//
console.log("returnCitySN",returnCitySN)
//
if (returnCitySN) {
//
that.loadSites();
//
that.cityText = returnCitySN.cname;
//
} else {
//
that.loadSites();
//
}
//
}, 1500);
//
});
if
(
localStorage
.
g
&&
localStorage
.
g
!=
"undefined"
)
{
this
.
groupInfo
=
JSON
.
parse
(
localStorage
.
g
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment