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-05-31 14:25:56 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a3acbbe4f4ee96283abfd42fd4a8a426d5b4f31c
a3acbbe4
1 parent
0e2d36e3
marker头部显示样式调整
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
21 deletions
src/views/index.vue
src/views/index.vue
View file @
a3acbbe
<!--
* @Date: 2023-05-19 14:54:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-05-31 1
3:11:26
* @LastEditTime: 2023-05-31 1
4:05:43
* @FilePath: /map-demo/src/views/index.vue
* @Description: 文件描述
-->
...
...
@@ -26,11 +26,6 @@
<van-icon name="shop-o" size="1.25rem" /><br />
<span style="font-size: 0.85rem;">活动中心</span>
</div>
<div style="width: 30%; flex-shrink: 0; padding-top: 1rem;" :class="[isActive === 2 ? 'checked' : '', 'item']"
@click="setNavLayer(2)">
<van-icon name="shop-o" size="1.25rem" /><br />
<span style="font-size: 0.85rem;">活动中心</span>
</div>
<div style="width: 4rem;flex-shrink: 0;"></div>
<div style="position: fixed; right: 0; background-color: white; height: 4.5rem; width: 4rem;">
...
...
@@ -44,10 +39,10 @@
<van-popup v-model:show="show_nav_popup" position="top" duration="0" :overlay="false"
:style="{ padding: '1rem', top: '4.5rem' }">
<div style="text-align: left;">
<div @click="positionMarker" style="margin-bottom:
0.5rem;"><van-icon name="fire-o" />
三宝楼</div>
<div style="margin-bottom:
0.5rem;"><van-icon name="fire-o" />
法云堂</div>
<div style="margin-bottom:
0.5rem;"><van-icon name="fire-o" />
罗汉堂</div>
<div style="margin-bottom:
0.5rem;"><van-icon name="fire-o" />
大雄宝殿</div>
<div @click="positionMarker" style="margin-bottom:
1rem; font-size: 1.15rem;"><van-icon name="fire-o" color="red" />
三宝楼</div>
<div style="margin-bottom:
1rem; font-size: 1.15rem;"><van-icon name="fire-o" color="red" />
法云堂</div>
<div style="margin-bottom:
1rem; font-size: 1.15rem;"><van-icon name="fire-o" color="red" />
罗汉堂</div>
<div style="margin-bottom:
1rem; font-size: 1.15rem;"><van-icon name="fire-o" color="red" />
大雄宝殿</div>
</div>
</van-popup>
</div>
...
...
@@ -920,17 +915,17 @@ export default {
/* 标记文字样式 */
.amap-marker-label {
/* width: 60px; */
font-size: 0.85rem
;
line-height: 18px
;
text-align: center
;
height: 18px
;
font-family: STLiti;
color: #000;
border: 0;
/* border-radius: 15px; */
background-color: rgba(255, 255, 255, 0.4)
;
/* border: solid 2px rgba(100, 255, 200, 0.8); */
padding: 0.25rem 0.5rem;
width: auto
;
border: 1px solid #72400b
;
border-radius: 2px
;
background: rgba(255, 255, 255, 0.8)
;
}
.amap-marker {
.amap-icon {
margin-top: 0.25rem
;
}
}
.input-card {
...
...
Please
register
or
login
to post a comment