|
@@ -3,8 +3,7 @@
|
|
<!-- 地图 -->
|
|
<!-- 地图 -->
|
|
<div class="map-container" id="map-container">
|
|
<div class="map-container" id="map-container">
|
|
</div>
|
|
</div>
|
|
- <!-- <home-floating-panel></home-floating-panel> -->
|
|
|
|
- <!-- <adopt-popup></adopt-popup> -->
|
|
|
|
|
|
+ <weather-info class="weather-info"></weather-info>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -13,8 +12,7 @@ import IndexMap from "./map/index.js";
|
|
import { onMounted, computed } from "vue";
|
|
import { onMounted, computed } from "vue";
|
|
import { useStore } from "vuex";
|
|
import { useStore } from "vuex";
|
|
import { useRouter } from "vue-router";
|
|
import { useRouter } from "vue-router";
|
|
-// import homeFloatingPanel from "./components/homeFloatingPanel.vue"
|
|
|
|
-// import adoptPopup from "./components/adoptPopup.vue"
|
|
|
|
|
|
+import weatherInfo from "@/components/weatherInfo.vue";
|
|
// import eventBus from "@/api/eventBus.js";
|
|
// import eventBus from "@/api/eventBus.js";
|
|
const router = useRouter();
|
|
const router = useRouter();
|
|
|
|
|
|
@@ -56,6 +54,17 @@ function mapClickPoint(){
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
+ .weather-info {
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: 12px;
|
|
|
|
+ left: 12px;
|
|
|
|
+ width: calc(100% - 24px);
|
|
|
|
+ height: 312px;
|
|
|
|
+ border-radius: 14px;
|
|
|
|
+ background-image: linear-gradient(90deg, #e2f1fe 0%, #FFFFFF 80%);
|
|
|
|
+ padding: 10px;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
</style>
|
|
</style>
|