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
2024-09-02 14:59:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0a89fc6f977ae0798edd5a6079bb95aab0858c18
0a89fc6f
1 parent
90ad85c0
✨ feat(路线导航):
Bob让加一个文字提示在导航旁边
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
src/views/index.vue
src/views/index.vue
View file @
0a89fc6
<!--
* @Date: 2023-05-19 14:54:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-0
8-20 16:58:48
* @LastEditTime: 2024-0
9-02 14:56:47
* @FilePath: /map-demo/src/views/index.vue
* @Description: 公众地图主体页面
-->
...
...
@@ -52,10 +52,12 @@
<div v-if="item.status" class="item" @click="handleSafeRoute(true, item)">
<van-icon name="https://cdn.ipadbiz.cn/xys/map/%E7%BA%BF%E8%B7%AF01.png" size="1.5rem"
style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);" />
<span style="position: absolute; right: -110%;">{{ item.name }}</span>
</div>
<div v-else class="item" @click="handleSafeRoute(false, item)">
<van-icon name="https://cdn.ipadbiz.cn/xys/map/%E7%BA%BF%E8%B7%AF02.png" size="1.5rem"
style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);" />
<span style="position: absolute; right: -110%;">{{ item.name }}</span>
</div>
</div>
</div>
...
...
Please
register
or
login
to post a comment