From 400c51252cd123a60db5955de0192450d40fe415 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?zhaobing=E2=80=99?= Date: Mon, 23 Oct 2023 21:24:40 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E9=A6=96=E9=A1=B5=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- weapp/pages/home/home.wxml | 47 ++++++++++++++++++++------------------ weapp/pages/home/home.wxss | 24 +++++++++++++++++++ 2 files changed, 49 insertions(+), 22 deletions(-) diff --git a/weapp/pages/home/home.wxml b/weapp/pages/home/home.wxml index 1f3dae8..8012b86 100644 --- a/weapp/pages/home/home.wxml +++ b/weapp/pages/home/home.wxml @@ -19,40 +19,43 @@ - 最近7天统计 - + 最近7天统计 + + + + - - - 巡检次数 {{sevenDaysCount}}次 - - 发现问题个数 - {{sevenDaysQuestionCount}}个 - 问题处理个数 - {{sevenDaysHandleCount}}个 - + + 发现问题个数 + {{sevenDaysQuestionCount}}个 + 问题处理个数 + {{sevenDaysHandleCount}}个 + + - 总巡巡检统计 - + 总巡检统计 + + + + - - - 巡检次数 {{allCount}}次 - - 发现问题个数 - {{allQuestionCount}}个 - 问题处理个数 - {{allHandleCount}}个 - + + 发现问题个数 + {{allQuestionCount}}个 + 问题处理个数 + {{allHandleCount}}个 + + + \ No newline at end of file diff --git a/weapp/pages/home/home.wxss b/weapp/pages/home/home.wxss index 98c7946..eb606ca 100644 --- a/weapp/pages/home/home.wxss +++ b/weapp/pages/home/home.wxss @@ -14,6 +14,30 @@ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); margin-top: 12px; } + +.image-container { + position: relative; + width: 100%; + height: 99px; + } + + .background-image { + width: 100%; + height: 99px; + } + + .overlay-content { + position: absolute; + top: 10px; + left: 10px; + width: 100%; + height: 100%; + display: flex; + align-items: center; + /* justify-content: center; */ + /* flex-direction: column; */ + /* 其他样式属性,根据需要添加 */ + } .home-swiper { width: 95%; /* height: 360rpx; */