Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
map-demo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2023-07-14 15:59:40 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cfb89dd87d149c7465cd1843db18edd3105b072b
cfb89dd8
1 parent
f08d579f
fix
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
index.html
src/components/InfoWindowWarn.vue
src/views/index.vue
index.html
View file @
cfb89dd
<!--
* @Date: 2023-05-31 16:10:33
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-07-1
1 13:32
:02
* @LastEditTime: 2023-07-1
4 15:58
:02
* @FilePath: /map-demo/index.html
* @Description: 文件描述
-->
...
...
@@ -25,6 +25,6 @@
// serviceHost: 'https://oa-dev.onwall.cn/_AMapService',
// }
</script>
<script
src=
"https://webapi.amap.com/maps?v=2.0&key=381c6763e1fefd810fbab697f470149c&plugin=AMap.ElasticMarker,AMap.ImageLayer,AMap.ToolBar"
></script>
<script
src=
"https://webapi.amap.com/maps?v=2.0&key=381c6763e1fefd810fbab697f470149c&plugin=AMap.ElasticMarker,AMap.ImageLayer,AMap.ToolBar
,AMap.IndoorMap
"
></script>
</body>
</html>
...
...
src/components/InfoWindowWarn.vue
View file @
cfb89dd
...
...
@@ -254,7 +254,6 @@ export default {
}
},
goToList(id) {
console.warn(id);
this.$router.push({
path: '/noticeList',
query: {
...
...
src/views/index.vue
View file @
cfb89dd
<!--
* @Date: 2023-05-19 14:54:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-07-1
1 15:12:47
* @LastEditTime: 2023-07-1
4 15:38:24
* @FilePath: /map-demo/src/views/index.vue
* @Description: 地图主体页面
-->
...
...
@@ -16,7 +16,7 @@
<span style="font-size: 0.85rem; margin-top: 0rem; display: inline-block;">{{ item.name }}</span>
</div>
<div style="width: 4rem;flex-shrink: 0;"></div>
<div style="position: fixed; right: 0; background-color: white; height:
4
.5rem; width: 4rem;">
<div style="position: fixed; right: 0; background-color: white; height:
5
.5rem; width: 4rem;">
<div style="padding-top: 40%;">
<van-icon v-if="!show_nav_popup" name="arrow-up" @click="handleNavPopup" size="1.15rem" />
<van-icon v-else name="arrow-down" @click="handleNavPopup" size="1.15rem" />
...
...
@@ -463,7 +463,7 @@ export default {
borderWeight: 1,
strokeColor: '#fba601',
strokeOpacity: 1,
strokeWeight:
1
,
strokeWeight:
3
,
// 折线样式还支持 'dashed'
strokeStyle: 'solid',
// strokeStyle是dashed时有效
...
...
@@ -984,7 +984,7 @@ export default {
position: fixed;
bottom: 0;
left: 0;
height:
4
.5rem;
height:
5
.5rem;
width: 100%;
background-color: white;
text-align: center;
...
...
Please
register
or
login
to post a comment