@@ -30,50 +45,55 @@
height: 650px;
background: url('@/assets/images/bg/bg-middle.png') no-repeat center;
background-size: cover;
+}
- .main-center-title {
- height: 61px;
- background: url('@/assets/images/bg/bg-main-title.png');
+// 中间部分标题
+.main-center-title {
+ height: 61px;
+ background: url('@/assets/images/bg/bg-main-title.png') no-repeat center;
+ background-size: cover;
- h1 {
- font-size: 22px;
- text-align: center;
- }
- }
-
- // 中间部分四个部分
- .main-inner {
- margin: 28px 0 77px 0;
- width: 666px;
- position: relative;
- height: 400px;
- background: url('@/assets/images/bg/bg-main-1.png') no-repeat center;
- background-size: cover;
+ h1 {
+ font-size: 22px;
+ text-align: center;
}
}
-// 中心智能管控
-.main-inner-center {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 138px;
- height: 138px;
+// 中间部分四个部分
+.main-inner {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ grid-template-rows: 1fr 1fr;
+ position: relative;
+ margin: 28px 0 77px 0;
+ width: 666px;
+ height: 400px;
+ background: url('@/assets/images/bg/bg-main-1.png') no-repeat center;
+ background-size: cover;
- .main-inner-middle {
- width: 100%;
- height: 100%;
- background: url('@/assets/images/bg/bg-main-center.png');
- background-size: cover;
- animation: rotate 30s linear infinite;
- }
+ // 中心智能管控
+ .main-inner-center {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ width: 138px;
+ height: 138px;
- h1 {
- width: 53px;
- font-size: 19px;
- text-align: center;
- animation: rotate-reverse 30s linear infinite;
+ .main-inner-middle {
+ width: 100%;
+ height: 100%;
+ background: url('@/assets/images/bg/bg-main-center.png');
+ background-size: cover;
+ animation: rotate 30s linear infinite;
+ }
+
+ h1 {
+ width: 53px;
+ font-size: 19px;
+ text-align: center;
+ animation: rotate-reverse 30s linear infinite;
+ }
}
}
diff --git a/src/layout/components/AppMain/MainLeft.vue b/src/layout/components/AppMain/MainLeft.vue
index 4f301d4..4cb2dc1 100644
--- a/src/layout/components/AppMain/MainLeft.vue
+++ b/src/layout/components/AppMain/MainLeft.vue
@@ -1,7 +1,7 @@
-
+
@@ -13,27 +13,27 @@
入卡口(西北门)
- 畅通
+ 畅通
入卡口(东北门)
- 畅通
+ 畅通
入卡口(东北门)
- 拥堵
+ 拥堵
入卡口(东南门)
- 畅通
+ 畅通
-
+
车流量建议
高峰时段大量车流量容易造成拥堵,主要由XXX企业、XXX企业的车辆构成,
@@ -64,7 +64,6 @@
padding: 15px 14px 17px 20px;
width: 330px;
height: 157px;
- color: #fff;
font-size: 14px;
background: url('@/assets/images/bg/bg-suggest.png') no-repeat center;
background-size: cover;
diff --git a/src/layout/components/AppMain/components/MainCenterItem.vue b/src/layout/components/AppMain/components/MainCenterItem.vue
new file mode 100644
index 0000000..e3f1a7b
--- /dev/null
+++ b/src/layout/components/AppMain/components/MainCenterItem.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
{{ count }}
+
今日 进出车辆数/辆
+
{{ door }}
+
+
查看
+

+
+
+
diff --git a/src/layout/components/AppMain/components/MainCenterPercent.vue b/src/layout/components/AppMain/components/MainCenterPercent.vue
new file mode 100644
index 0000000..5b22441
--- /dev/null
+++ b/src/layout/components/AppMain/components/MainCenterPercent.vue
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
diff --git a/uno.config.ts b/uno.config.ts
index 3c89a86..7867bed 100644
--- a/uno.config.ts
+++ b/uno.config.ts
@@ -16,11 +16,13 @@ export default defineConfig({
'flex-x-around': 'flex items-center justify-around',
'flex-y-center': 'flex flex-col flex-wrap justify-center items-center',
'flex-y-between': 'flex flex-col flex-wrap justify-between items-center',
+ 'flex-y-around': 'flex flex-col flex-wrap justify-around items-center',
},
theme: {
colors: {
primary: '#027AFF',
'primary-secondary': '#00FFFF',
+ info: '#7CC1FF',
warning: '#FFBE44',
'warning-secondary': '#FEDB65',
},