diff --git a/weapp/pages/home/home.wxml b/weapp/pages/home/home.wxml index 0d61c31..a26db33 100644 --- a/weapp/pages/home/home.wxml +++ b/weapp/pages/home/home.wxml @@ -20,42 +20,58 @@ 最近7天统计 - - - - - - 巡检次数 - {{sevenDaysCount}} + + + + + + 巡检次数 + {{sevenDaysCount}} + + + + 发现问题个数 + {{sevenDaysQuestionCount}} + + + + 问题处理个数 + {{sevenDaysHandleCount}} + + + + + - - 发现问题个数 - {{sevenDaysQuestionCount}} - 问题处理个数 - {{sevenDaysHandleCount}} - - 总巡检统计 - - - - - - 巡检次数 - {{allCount}} + + + + + + 巡检次数 + {{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 9276752..5527b4c 100644 --- a/weapp/pages/home/home.wxss +++ b/weapp/pages/home/home.wxss @@ -6,6 +6,7 @@ color: #333333; letter-spacing: 0; } + .card { background-color: #fff; border: 1px solid #ddd; @@ -16,12 +17,14 @@ margin-bottom: 12px; } + .card2 { background-color: #fff; /* border: 0px 1px 1px 1px solid #ddd; */ - border-bottom: 1px solid #ddd; /* 底部的边框 */ - border-top: none; + border-bottom: 1px solid #ddd; + /* 底部的边框 */ + border-top: none; border-radius: 8px; /* padding: 10px; */ /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */ @@ -33,14 +36,14 @@ position: relative; width: 100%; height: 99px; - } - - .background-image { +} + +.background-image { width: 100%; height: 99px; - } - - .overlay-content { +} + +.overlay-content { position: absolute; top: 10px; left: 10px; @@ -51,17 +54,18 @@ /* justify-content: center; */ /* flex-direction: column; */ /* 其他样式属性,根据需要添加 */ - } - .home-swiper { +} + +.home-swiper { width: 95%; /* height: 360rpx; */ - } +} - /* .slide-image { +/* .slide-image { width: 100%; height: 100%; } */ - .fontStyle{ +.fontStyle { width: 18px; height: 17px; font-family: D-DINExp; @@ -70,4 +74,26 @@ color: #1684FF; letter-spacing: 0; text-align: center; - } \ No newline at end of file +} + +/* //巡检次数 */ +.count { + width: 56px; + height: 20px; + font-family: PingFangSC-Medium; + font-weight: 500; + font-size: 14px; + color: #333333; + letter-spacing: 0; +} + +.only { + /* width: 72px; */ + height: 17px; + font-family: PingFangSC-Regular; + font-weight: 400; + font-size: 12px; + color: #333333; + letter-spacing: 0; + text-align: center; +} \ No newline at end of file