refactor: 智能车辆监控修改
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 105 KiB |
|
@ -11,7 +11,7 @@ defineProps({
|
||||||
<div class="mt-[-12px] font-size-[16px] c-white">今日 进出车辆数/辆</div>
|
<div class="mt-[-12px] font-size-[16px] c-white">今日 进出车辆数/辆</div>
|
||||||
<div class="mt-[7px] font-size-[18px] c-primary">{{ door }}</div>
|
<div class="mt-[7px] font-size-[18px] c-primary">{{ door }}</div>
|
||||||
<div class="flex-center mt-[8px] c-primary">
|
<div class="flex-center mt-[8px] c-primary">
|
||||||
<span class="float-left font-size-[14px] c-primary-secondary">查看</span>
|
<span class="float-left font-size-[14px] c-primary-secondary cursor-pointer">查看</span>
|
||||||
<img
|
<img
|
||||||
alt="arrow-item"
|
alt="arrow-item"
|
||||||
class="float-left h-[16px]"
|
class="float-left h-[16px]"
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
<script lang="ts" setup></script>
|
|
||||||
|
|
||||||
<template>初始化页面</template>
|
|
||||||
|
|
||||||
<style scoped></style>
|
|
|
@ -1,20 +1,19 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import MainCenter from '@/views/smart-parking/components/main/main-center.vue';
|
import RoadCondition from '@/views/smart-parking/components/parking-content/road-condition.vue';
|
||||||
import RoadCondition from '@/views/smart-parking/components/main/road-condition.vue';
|
import TrafficOverview from '@/views/smart-parking/components/parking-content/traffic-overview.vue';
|
||||||
import TrafficOverview from '@/views/smart-parking/components/main/traffic-overview.vue';
|
import TruckMonitor from '@/views/smart-parking/components/parking-content/truck-monitor.vue';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<main class="mt-[78px] mx-auto flex-center w-[1620px] h-[650px]">
|
<main class="mt-[78px] mx-auto flex-center w-[1620px] h-[650px]">
|
||||||
<road-condition />
|
<road-condition />
|
||||||
<main-center />
|
<truck-monitor />
|
||||||
<traffic-overview />
|
<traffic-overview />
|
||||||
</main>
|
</main>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.left,
|
.card-container {
|
||||||
.right {
|
|
||||||
width: 380px;
|
width: 380px;
|
||||||
height: 650px;
|
height: 650px;
|
||||||
background: url('@/assets/images/bg/bg-side.png') no-repeat center;
|
background: url('@/assets/images/bg/bg-side.png') no-repeat center;
|
|
@ -1,7 +1,7 @@
|
||||||
<script lang="ts" setup></script>
|
<script lang="ts" setup></script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="left">
|
<div class="card-container">
|
||||||
<div class="pt-[55px] pl-[25px]" style="transform: rotateY(180deg)">
|
<div class="pt-[55px] pl-[25px]" style="transform: rotateY(180deg)">
|
||||||
<!-- 路况 -->
|
<!-- 路况 -->
|
||||||
<div class="road-condition">
|
<div class="road-condition">
|
||||||
|
@ -11,22 +11,22 @@
|
||||||
<!-- 汽车列表 -->
|
<!-- 汽车列表 -->
|
||||||
<ul class="mt-[32px]">
|
<ul class="mt-[32px]">
|
||||||
<li class="car-item flex-x-around">
|
<li class="car-item flex-x-around">
|
||||||
<img alt="car-1" src="../../../../assets/images/car/car-1.png" />
|
<img alt="car-1" src="@/assets/images/car/car-1.png" />
|
||||||
<p class="c-white">入卡口(西北门)</p>
|
<p class="c-white">入卡口(西北门)</p>
|
||||||
<span class="dashed-circle c-primary-secondary border-b-primary-secondary">畅通</span>
|
<span class="dashed-circle c-primary-secondary border-b-primary-secondary">畅通</span>
|
||||||
</li>
|
</li>
|
||||||
<li class="car-item flex-x-around">
|
<li class="car-item flex-x-around">
|
||||||
<img alt="car-1" src="../../../../assets/images/car/car-1.png" />
|
<img alt="car-1" src="@/assets/images/car/car-1.png" />
|
||||||
<p class="c-white">入卡口(东北门)</p>
|
<p class="c-white">入卡口(东北门)</p>
|
||||||
<span class="dashed-circle c-primary-secondary border-b-primary-secondary">畅通</span>
|
<span class="dashed-circle c-primary-secondary border-b-primary-secondary">畅通</span>
|
||||||
</li>
|
</li>
|
||||||
<li class="car-item flex-x-around">
|
<li class="car-item flex-x-around">
|
||||||
<img alt="car-1" src="../../../../assets/images/car/car-2.png" />
|
<img alt="car-1" src="@/assets/images/car/car-2.png" />
|
||||||
<p class="c-white">入卡口(东北门)</p>
|
<p class="c-white">入卡口(东北门)</p>
|
||||||
<span class="dashed-circle c-warning border-b-warning">拥堵</span>
|
<span class="dashed-circle c-warning border-b-warning">拥堵</span>
|
||||||
</li>
|
</li>
|
||||||
<li class="car-item flex-x-around">
|
<li class="car-item flex-x-around">
|
||||||
<img alt="car-1" src="../../../../assets/images/car/car-1.png" />
|
<img alt="car-1" src="@/assets/images/car/car-1.png" />
|
||||||
<p class="c-white">入卡口(东南门)</p>
|
<p class="c-white">入卡口(东南门)</p>
|
||||||
<span class="dashed-circle c-primary-secondary border-b-primary-secondary">畅通</span>
|
<span class="dashed-circle c-primary-secondary border-b-primary-secondary">畅通</span>
|
||||||
</li>
|
</li>
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.left {
|
.card-container {
|
||||||
margin: 0 20px 0 0;
|
margin: 0 20px 0 0;
|
||||||
transform: rotateY(180deg);
|
transform: rotateY(180deg);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { onMounted, ref } from 'vue';
|
import { onMounted, ref } from 'vue';
|
||||||
|
|
||||||
import { renderEcharts } from '@/views/smart-parking/components/main/data';
|
import { renderEcharts } from '@/views/smart-parking/components/parking-content/data';
|
||||||
|
|
||||||
const weekDataChart = ref<HTMLDivElement>();
|
const weekDataChart = ref<HTMLDivElement>();
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ onMounted(() => {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="right ml-[20px]">
|
<div class="card-container ml-[20px]">
|
||||||
<div class="pt-[55px] pl-[25px]">
|
<div class="pt-[55px] pl-[25px]">
|
||||||
<!-- 路况 -->
|
<!-- 路况 -->
|
||||||
<div class="road-condition">
|
<div class="road-condition">
|
|
@ -4,7 +4,7 @@
|
||||||
<footer>
|
<footer>
|
||||||
<ul class="flex-x-around">
|
<ul class="flex-x-around">
|
||||||
<li v-for="index in new Array(5)" :key="index" class="rectangle flex-y-center">
|
<li v-for="index in new Array(5)" :key="index" class="rectangle flex-y-center">
|
||||||
<img alt="车辆管理" src="../../../../assets/images/layout/footer-39.png" />
|
<img alt="车辆管理" src="@/assets/images/car/car-39.png" />
|
||||||
<span class="text-white">车辆管理</span>
|
<span class="text-white">车辆管理</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
|
@ -11,9 +11,9 @@
|
||||||
|
|
||||||
<div class="bar-op">
|
<div class="bar-op">
|
||||||
<ul class="flex-x-around">
|
<ul class="flex-x-around">
|
||||||
<li><img alt="icon-1" src="../../../../assets/images/layout/icon-1.png" /></li>
|
<li><img alt="icon-1" src="@/assets/images/icon/icon-1.png" /></li>
|
||||||
<li><img alt="icon-2" src="../../../../assets/images/layout/icon-2.png" /></li>
|
<li><img alt="icon-2" src="@/assets/images/icon/icon-2.png" /></li>
|
||||||
<li><img alt="icon-3" src="../../../../assets/images/layout/icon-3.png" /></li>
|
<li><img alt="icon-3" src="@/assets/images/icon/icon-3.png" /></li>
|
||||||
</ul>
|
</ul>
|
||||||
<span class="c-primary">王菠萝</span>
|
<span class="c-primary">王菠萝</span>
|
||||||
</div>
|
</div>
|
|
@ -1,19 +1,19 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import Footer from '@/views/smart-parking/components/footer/index.vue';
|
import AppMain from '@/views/smart-parking/components/parking-content/index.vue';
|
||||||
import AppMain from '@/views/smart-parking/components/main/index.vue';
|
import Footer from '@/views/smart-parking/components/parking-footer/index.vue';
|
||||||
import NavBar from '@/views/smart-parking/components/nav-bar/index.vue';
|
import NavBar from '@/views/smart-parking/components/parking-header/index.vue';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="layout">
|
<div class="layout">
|
||||||
<div class="arrow left-[38px]">
|
<div class="arrow left-[38px]">
|
||||||
<img alt="左箭头" src="../../assets/images/arrow/arrow-left.png" />
|
<img alt="左箭头" src="@/assets/images/arrow/arrow-left.png" />
|
||||||
</div>
|
</div>
|
||||||
<NavBar />
|
<NavBar />
|
||||||
<AppMain />
|
<AppMain />
|
||||||
<Footer />
|
<Footer />
|
||||||
<div class="arrow right-[38px]">
|
<div class="arrow right-[38px]">
|
||||||
<img alt="左箭头" src="../../assets/images/arrow/arrow-right.png" />
|
<img alt="左箭头" src="@/assets/images/arrow/arrow-right.png" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -31,6 +31,8 @@ import NavBar from '@/views/smart-parking/components/nav-bar/index.vue';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
|
cursor: pointer;
|
||||||
|
z-index: 1;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 65px;
|
width: 65px;
|
||||||
|
|