|
@@ -1,5 +1,10 @@
|
|
|
<template>
|
|
|
- <div class="map-view">
|
|
|
+ <div
|
|
|
+ class="map-view"
|
|
|
+ :style="{
|
|
|
+ backgroundImage: `url(${require(`@/assets/images/map.png`)})`,
|
|
|
+ }"
|
|
|
+ >
|
|
|
<button class="back" @click="router.go(-1)"></button>
|
|
|
<button
|
|
|
ref="poiButtonElList"
|
|
@@ -153,7 +158,6 @@ function onClickLocateBtn() {
|
|
|
top: 0;
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- background-image: url(@/assets/images/map.png);
|
|
|
background-size: 100% auto;
|
|
|
background-repeat: no-repeat;
|
|
|
background-position: center center;
|