From 2a3bfbc64a74f3afaeced0756fcb2e4f60b94a24 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Wed, 12 Oct 2022 17:43:25 +0800
Subject: [PATCH] 首页布局调整
---
src/pcviews/homee/Devices/index.vue | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/pcviews/homee/Devices/index.vue b/src/pcviews/homee/Devices/index.vue
index 61caa13..01be8ae 100644
--- a/src/pcviews/homee/Devices/index.vue
+++ b/src/pcviews/homee/Devices/index.vue
@@ -8,13 +8,13 @@
<span>
<i>964</i> 台
</span>
- <img src="/img/home/在线.png" alt />在线
+ <img src="/zhxy/img/home/在线.png" alt />在线
</div>
<div class="offline">
<span>
<i>86</i> 台
</span>
- <img src="/img/home/离线.png" alt />离线
+ <img src="/zhxy/img/home/离线.png" alt />离线
</div>
</div>
</div>
@@ -35,7 +35,7 @@
.container {
position: relative;
width: 400px;
- height: 310px;
+ height: 100%;
background: url(/zhxy/img/home/juxing2.png) no-repeat;
background-size: 100% 100%;
.title {
@@ -60,16 +60,16 @@
}
.devices-container {
padding-top: 50px;
- margin: 70px auto;
display: flex;
- width: 161+161+18px;
- height: 193px;
+ height: calc(100% - 50px);
justify-content: space-between;
div {
position: relative;
text-align: center;
color: #e9f2f3;
font-size: 16px;
+ display: flex;
+ flex-direction: column;
span {
position: absolute;
left: 50%;
--
Gitblit v1.9.3