Showing
1 changed file
with
16 additions
and
21 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2023-05-19 14:54:27 | 2 | * @Date: 2023-05-19 14:54:27 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2023-05-31 13:11:26 | 4 | + * @LastEditTime: 2023-05-31 14:05:43 |
| 5 | * @FilePath: /map-demo/src/views/index.vue | 5 | * @FilePath: /map-demo/src/views/index.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -26,11 +26,6 @@ | ... | @@ -26,11 +26,6 @@ |
| 26 | <van-icon name="shop-o" size="1.25rem" /><br /> | 26 | <van-icon name="shop-o" size="1.25rem" /><br /> |
| 27 | <span style="font-size: 0.85rem;">活动中心</span> | 27 | <span style="font-size: 0.85rem;">活动中心</span> |
| 28 | </div> | 28 | </div> |
| 29 | - <div style="width: 30%; flex-shrink: 0; padding-top: 1rem;" :class="[isActive === 2 ? 'checked' : '', 'item']" | ||
| 30 | - @click="setNavLayer(2)"> | ||
| 31 | - <van-icon name="shop-o" size="1.25rem" /><br /> | ||
| 32 | - <span style="font-size: 0.85rem;">活动中心</span> | ||
| 33 | - </div> | ||
| 34 | <div style="width: 4rem;flex-shrink: 0;"></div> | 29 | <div style="width: 4rem;flex-shrink: 0;"></div> |
| 35 | 30 | ||
| 36 | <div style="position: fixed; right: 0; background-color: white; height: 4.5rem; width: 4rem;"> | 31 | <div style="position: fixed; right: 0; background-color: white; height: 4.5rem; width: 4rem;"> |
| ... | @@ -44,10 +39,10 @@ | ... | @@ -44,10 +39,10 @@ |
| 44 | <van-popup v-model:show="show_nav_popup" position="top" duration="0" :overlay="false" | 39 | <van-popup v-model:show="show_nav_popup" position="top" duration="0" :overlay="false" |
| 45 | :style="{ padding: '1rem', top: '4.5rem' }"> | 40 | :style="{ padding: '1rem', top: '4.5rem' }"> |
| 46 | <div style="text-align: left;"> | 41 | <div style="text-align: left;"> |
| 47 | - <div @click="positionMarker" style="margin-bottom: 0.5rem;"><van-icon name="fire-o" /> 三宝楼</div> | 42 | + <div @click="positionMarker" style="margin-bottom: 1rem; font-size: 1.15rem;"><van-icon name="fire-o" color="red" /> 三宝楼</div> |
| 48 | - <div style="margin-bottom: 0.5rem;"><van-icon name="fire-o" /> 法云堂</div> | 43 | + <div style="margin-bottom: 1rem; font-size: 1.15rem;"><van-icon name="fire-o" color="red" /> 法云堂</div> |
| 49 | - <div style="margin-bottom: 0.5rem;"><van-icon name="fire-o" /> 罗汉堂</div> | 44 | + <div style="margin-bottom: 1rem; font-size: 1.15rem;"><van-icon name="fire-o" color="red" /> 罗汉堂</div> |
| 50 | - <div style="margin-bottom: 0.5rem;"><van-icon name="fire-o" /> 大雄宝殿</div> | 45 | + <div style="margin-bottom: 1rem; font-size: 1.15rem;"><van-icon name="fire-o" color="red" /> 大雄宝殿</div> |
| 51 | </div> | 46 | </div> |
| 52 | </van-popup> | 47 | </van-popup> |
| 53 | </div> | 48 | </div> |
| ... | @@ -920,17 +915,17 @@ export default { | ... | @@ -920,17 +915,17 @@ export default { |
| 920 | 915 | ||
| 921 | /* 标记文字样式 */ | 916 | /* 标记文字样式 */ |
| 922 | .amap-marker-label { | 917 | .amap-marker-label { |
| 923 | - /* width: 60px; */ | 918 | + padding: 0.25rem 0.5rem; |
| 924 | - font-size: 0.85rem; | 919 | + width: auto; |
| 925 | - line-height: 18px; | 920 | + border: 1px solid #72400b; |
| 926 | - text-align: center; | 921 | + border-radius: 2px; |
| 927 | - height: 18px; | 922 | + background: rgba(255, 255, 255, 0.8); |
| 928 | - font-family: STLiti; | 923 | +} |
| 929 | - color: #000; | 924 | + |
| 930 | - border: 0; | 925 | +.amap-marker { |
| 931 | - /* border-radius: 15px; */ | 926 | + .amap-icon { |
| 932 | - background-color: rgba(255, 255, 255, 0.4); | 927 | + margin-top: 0.25rem; |
| 933 | - /* border: solid 2px rgba(100, 255, 200, 0.8); */ | 928 | + } |
| 934 | } | 929 | } |
| 935 | 930 | ||
| 936 | .input-card { | 931 | .input-card { | ... | ... |
-
Please register or login to post a comment