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
2025-03-06 15:08:33 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f87f336388906a55df2ae4bc694fdf2662930e9e
f87f3363
1 parent
39e3d190
fix 修复步行导航操作后,地图详情页图片自动显示问题,取消自动定位到当前位置
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
src/views/by/info.vue
src/views/by/map.vue
src/views/by/info.vue
View file @
f87f336
<!--
* @Date: 2024-09-15 22:08:49
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-03-06 1
4:47:14
* @LastEditTime: 2025-03-06 1
5:04:53
* @FilePath: /map-demo/src/views/by/info.vue
* @Description: 文件描述
-->
...
...
@@ -412,6 +412,7 @@ const onChange = (newIndex) => {
};
const onClickImg = (idx) => {
if ($('.info-page').height() >= $(window).height()) {
showImagePreview({
images: page_details.value.banner,
startPosition: idx,
...
...
@@ -420,6 +421,7 @@ const onClickImg = (idx) => {
// console.log('close');
}
})
}
};
const show_shrink = computed(() => {
...
...
src/views/by/map.vue
View file @
f87f336
<!--
* @Date: 2023-05-19 14:54:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-03-06 1
2:47:35
* @LastEditTime: 2025-03-06 1
4:59:22
* @FilePath: /map-demo/src/views/by/map.vue
* @Description: 公众地图主体页面
-->
...
...
@@ -1064,9 +1064,6 @@ export default {
// 显示提示
this.show_toast = true;
this.toast_text = '已关闭步行导航';
// 可选:重新定位到当前位置
this.getLocation();
}
},
}
...
...
Please
register
or
login
to post a comment