Skip to content

Commit

Permalink
fix: 世界地图图片禁止拖动
Browse files Browse the repository at this point in the history
  • Loading branch information
TiAmo-code committed Mar 19, 2024
1 parent df4d188 commit 9c4fef0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/assets/css/design/map.less
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@
display: block;
opacity: 0;
transition: 0.1s all;
pointer-events: none;
}
.u-item_text {
position: absolute;
Expand Down
2 changes: 1 addition & 1 deletion src/components/design/map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<!-- 暂时无用图标 -->
<!-- <img :src="getIcon('newworldmap_03_3')" />
<img :src="getIcon('newworldmap_03_8')" /> -->
<img class="u-map-city_img" :src="item.szButtonShowImg" />
<img class="u-map-city_img" :src="item.szButtonShowImg" draggable="false" />
</div>
</template>
<img
Expand Down

0 comments on commit 9c4fef0

Please sign in to comment.