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; */