2023-11-24 19:32:45 +08:00
|
|
|
<template>
|
|
|
|
<div class="top box">
|
|
|
|
<div class="l">
|
2023-12-08 23:00:43 +08:00
|
|
|
<topLeft :code="route.query.code"></topLeft>
|
2023-11-24 19:32:45 +08:00
|
|
|
</div>
|
2023-11-28 15:26:40 +08:00
|
|
|
<div class="c" id="">
|
2023-12-07 19:05:27 +08:00
|
|
|
<topCenter :code="route.query.code"></topCenter>
|
2023-11-24 19:32:45 +08:00
|
|
|
</div>
|
|
|
|
<div class="r">
|
2023-12-08 23:00:43 +08:00
|
|
|
<topRight :code="route.query.code"></topRight>
|
2023-11-24 19:32:45 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="bottom box">
|
|
|
|
<div class="l">
|
2023-12-08 18:51:02 +08:00
|
|
|
|
2023-12-08 23:00:43 +08:00
|
|
|
<bottomleft :code="route.query.code"></bottomleft>
|
2023-11-24 19:32:45 +08:00
|
|
|
</div>
|
|
|
|
<div class="c">
|
2023-12-11 18:35:55 +08:00
|
|
|
<bottomCenter></bottomCenter>
|
2023-11-24 19:32:45 +08:00
|
|
|
</div>
|
|
|
|
<div class="r">
|
2023-12-08 23:00:43 +08:00
|
|
|
<bottomRight :code="route.query.code"></bottomRight>
|
2023-11-24 19:32:45 +08:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
<script setup>
|
|
|
|
import { onMounted } from 'vue';
|
2023-12-07 19:05:27 +08:00
|
|
|
import bottomRight from "@/components/townDetail/bottomRight.vue"
|
2023-12-11 18:35:55 +08:00
|
|
|
import bottomCenter from "@/components/townDetail/bottomCenter.vue"
|
2023-12-07 19:05:27 +08:00
|
|
|
import bottomleft from "@/components/townDetail/bottomleft.vue"
|
|
|
|
import { useRoute } from 'vue-router';
|
|
|
|
import topCenter from "@/components/townDetail/topCenter.vue"
|
2023-12-08 18:51:02 +08:00
|
|
|
import topLeft from "@/components/townDetail/topLeft.vue"
|
|
|
|
import topRight from "@/components/townDetail/topRight.vue"
|
2023-12-11 18:35:55 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-12-07 19:05:27 +08:00
|
|
|
const route = useRoute()
|
2023-12-11 18:35:55 +08:00
|
|
|
|
2023-11-24 19:32:45 +08:00
|
|
|
|
|
|
|
onMounted(() => {
|
2023-12-08 18:51:02 +08:00
|
|
|
|
|
|
|
|
2023-11-24 19:32:45 +08:00
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.box {
|
|
|
|
width: 100vw;
|
|
|
|
height: 47vh;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.top {
|
|
|
|
display: flex;
|
|
|
|
padding-top: 1vh;
|
2023-11-28 15:26:40 +08:00
|
|
|
justify-content: space-between;
|
2023-11-24 19:32:45 +08:00
|
|
|
// color: transparent;
|
|
|
|
|
|
|
|
.l {
|
2023-11-28 15:26:40 +08:00
|
|
|
width: 25vw;
|
2023-11-24 19:32:45 +08:00
|
|
|
height: 46vh;
|
|
|
|
overflow: hidden;
|
|
|
|
box-sizing: border-box;
|
|
|
|
position: relative;
|
2023-12-08 18:51:02 +08:00
|
|
|
padding-top: 6vh;
|
2023-11-24 19:32:45 +08:00
|
|
|
|
2023-12-07 19:05:27 +08:00
|
|
|
|
2023-11-24 19:32:45 +08:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.c {
|
2023-11-28 15:26:40 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
width: 48vw;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
2023-11-24 19:32:45 +08:00
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2023-11-28 15:26:40 +08:00
|
|
|
|
2023-11-24 19:32:45 +08:00
|
|
|
.r {
|
2023-11-28 15:26:40 +08:00
|
|
|
width: 25vw;
|
2023-11-24 19:32:45 +08:00
|
|
|
height: 46vh;
|
|
|
|
position: relative;
|
2023-11-28 15:26:40 +08:00
|
|
|
// background-color: RED;
|
2023-11-24 19:32:45 +08:00
|
|
|
|
2023-11-27 18:34:57 +08:00
|
|
|
|
|
|
|
|
2023-11-24 19:32:45 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bottom {
|
|
|
|
// background-color: green;
|
|
|
|
display: flex;
|
|
|
|
padding-top: 1vh;
|
2023-12-07 19:05:27 +08:00
|
|
|
justify-content: space-between;
|
2023-11-24 19:32:45 +08:00
|
|
|
|
|
|
|
.l {
|
2023-12-07 19:05:27 +08:00
|
|
|
// flex: 1;
|
|
|
|
width: 25VW;
|
2023-11-24 19:32:45 +08:00
|
|
|
height: 46vh;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.c {
|
2023-12-07 19:05:27 +08:00
|
|
|
width: 48VW;
|
|
|
|
|
2023-11-24 19:32:45 +08:00
|
|
|
height: 46vh;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.r {
|
2023-12-07 19:05:27 +08:00
|
|
|
width: 25VW;
|
|
|
|
|
2023-11-24 19:32:45 +08:00
|
|
|
height: 46vh;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.center {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.progress-bar {
|
|
|
|
transform: translateY(12px);
|
|
|
|
width: 100%;
|
|
|
|
height: 10px;
|
|
|
|
background-color: #122E3F;
|
|
|
|
// border-radius: 10px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.progress {
|
|
|
|
width: 70%;
|
|
|
|
height: 100%;
|
|
|
|
background: linear-gradient(to right, #455CCC, #51C2E0);
|
|
|
|
transition: width 0.5s ease-in-out;
|
|
|
|
}
|
|
|
|
</style>
|