From 7e468598a9e8d86c6789c48b898b7eab9346640e Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期二, 22 八月 2023 11:20:11 +0800 Subject: [PATCH] # --- Monitor-APP/pages/home/home.css | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/Monitor-APP/pages/home/home.css b/Monitor-APP/pages/home/home.css index e34c0e7..dd7d447 100644 --- a/Monitor-APP/pages/home/home.css +++ b/Monitor-APP/pages/home/home.css @@ -11,6 +11,7 @@ display: flex; /* grid-template-columns: 2fr 3fr 2fr 2fr 1fr; */ align-items: center; + justify-content: space-around; } .swiper-body { @@ -25,12 +26,16 @@ } .swiper-item { display: flex; - flex-wrap: wrap; align-items: center; text-align: start; + justify-content: space-around; border-bottom: 2px solid #000; background-color: rgba(0, 0, 0, .2); } + .swiper-item:nth-child(2n-1) { /* background-color: rgba(255, 255, 255, .1); */ } +.swiper-margin { + margin-top: 50px; +} -- Gitblit v1.9.1