plantScreen/src/view/detail.vue

189 lines
5.0 KiB
Vue
Raw Normal View History

2023-12-01 18:22:09 +08:00
<template>
<div class="box">
<div class="l">
<div class="top">
2023-12-15 18:20:02 +08:00
<leftTop></leftTop>
2023-12-01 18:22:09 +08:00
</div>
<div class="bottom top">
2023-12-15 18:20:02 +08:00
<leftCenter></leftCenter>
2023-12-01 18:22:09 +08:00
</div>
<div class="top center">
<video style="margin-top: 1vh;width: 100%;height: 100%;" autoplay muted
src="http://192.168.1.27/live/test.live.mp4?secret=gqig2yFKkDpIMic1uWZY1L5MsIo0eflm">
</video>
</div>
</div>
2023-12-17 20:55:44 +08:00
<div class="center">
<div class="top-c">
2023-12-02 18:36:12 +08:00
<div style="display: flex;justify-content: space-between;">
2023-12-14 20:08:53 +08:00
<div class=" c-top-tits"><span class="color-font" @click="router.push('/')">返回首页</span></div>
2023-12-02 18:36:12 +08:00
<div class=" c-top-tits"><span class="color-font">同谭政地块</span> </div>
</div>
<farmerMap></farmerMap>
2023-12-01 18:22:09 +08:00
</div>
<div class="bottom">
2023-12-15 18:20:02 +08:00
<centerBottom></centerBottom>
2023-12-01 18:22:09 +08:00
</div>
</div>
<div class="r">
<div class="center top">
2023-12-15 18:20:02 +08:00
<rightTop></rightTop>
2023-12-01 18:22:09 +08:00
</div>
<div class="bottom">
2023-12-15 18:20:02 +08:00
<rightBottom></rightBottom>
2023-12-01 18:22:09 +08:00
</div>
</div>
</div>
</template>
<script setup>
import { ref, reactive, onMounted } from "vue"
2023-12-02 18:36:12 +08:00
import farmerMap from "../components/farmerMap.vue";
2023-12-15 18:20:02 +08:00
import leftTop from "../components/detail/leftTop.vue";
import leftCenter from "../components/detail/leftCenter.vue";
import centerBottom from "../components/detail/centerBottom.vue";
import rightTop from "../components/detail/rightTop.vue";
import rightBottom from "../components/detail/rightBottom.vue";
import {useRouter} from "vue-router"
const router=useRouter()
2023-12-01 18:22:09 +08:00
</script>
<style lang="scss">
.box {
width: 100vw;
height: 93vh;
margin-top: 1vh;
display: flex;
justify-content: space-between;
.l {
width: 25vw;
height: 93vh;
.top {
width: 25vw;
height: 30vh;
background-size: 100% 100%;
// background-color: pink;
background-image: url('/static/index/SBGJTJ.png');
margin-top: 1vh;
box-sizing: border-box;
padding: 6vh 2vh 1vh 2vh;
color: #E5EFFF;
}
.center {
background-image: url("/static/detail/MQJk.png");
}
.bottom {
position: relative;
}
}
2023-12-17 20:55:44 +08:00
.center {
2023-12-01 18:22:09 +08:00
width: 49vw;
height: 93vh;
2023-12-17 20:55:44 +08:00
.top-c {
2023-12-01 18:22:09 +08:00
margin-top: 1vh;
width: 49vw;
height: 61vh;
2023-12-02 18:36:12 +08:00
// background-color: RED;
background-image: url('/static/index/ZBK.png');
background-size: 100% 100%;
box-sizing: border-box;
padding: 2vh 2vw;
.c-top-tits {
2023-12-01 18:22:09 +08:00
2023-12-02 18:36:12 +08:00
padding: 1vh 1vw;
font-size: 20px;
// border: 1px solid red;
cursor: pointer;
background-image: url('/static/detail/FHSY.png');
background-size: 100% 100%;
}
2023-12-01 18:22:09 +08:00
}
.bottom {
width: 49vw;
height: 30vh;
margin-top: 1vh;
background-image: url('/static/detail/QXHJJC.png');
background-size: 100% 100%;
box-sizing: border-box;
padding: 6vh 1vh 1vh 2vh;
position: relative;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
2023-12-15 18:20:02 +08:00
2023-12-01 18:22:09 +08:00
}
}
.r {
width: 25vw;
height: 93vh;
.bottom {
width: 25vw;
box-sizing: border-box;
padding: 5vh 1vh 1.5vh;
height: 61vh;
background-size: 100% 100%;
background-image: url('/static/detail/TRSQ.png');
margin-top: 1vh;
display: flex;
justify-content: space-between;
flex-direction: column;
align-items: center;
.r-b-li {
width: 95%;
height: 7.5vh;
background-image: url('/static/detail/SQBG.png');
background-size: 100% 100%;
color: white;
font-family: FZCYJ;
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
padding: 0 1.5VW;
font-size: 14PX;
}
.act {
color: #C55956;
}
}
.top {
width: 25vw;
height: 30vh;
padding: 2vh;
box-sizing: border-box;
background-size: 100% 100%;
background-image: url('/static/index/YJCP.png');
margin-top: 1vh;
padding-top: 6vh;
color: #E5EFFF;
}
.center {
background-image: url('/static/index/JCSBSLTJ.png');
2023-12-15 18:20:02 +08:00
2023-12-01 18:22:09 +08:00
}
}
}
</style>