From 672575a32ecd7f8e0bcd76152040657e9e57328a Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 12 四月 2024 16:36:41 +0800 Subject: [PATCH] 骨架屏样式优化 --- pages/home/home.wxss | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pages/home/home.wxss b/pages/home/home.wxss index 480c400..b7a1c52 100644 --- a/pages/home/home.wxss +++ b/pages/home/home.wxss @@ -1,3 +1,5 @@ +@import "./home.skeleton.wxss"; + .background { width: 100%; position: fixed; @@ -65,6 +67,7 @@ display: flex; align-items: center; justify-content: center; + background: #f6f6f6; } .swiper { @@ -79,10 +82,10 @@ } .swiper .img { - width: auto !important; - height: auto !important; max-width: 100% !important; - max-height: 100% !important; + /* max-height: 100% !important; */ + width: auto !important; + /* height: auto !important; */ position: absolute !important; top: 0 !important; left: 0 !important; @@ -262,7 +265,7 @@ background-repeat: no-repeat; background-size: 40% 64%; background-position: right; - background-image: url(http://jsysf.bnuic.com/website/image/click-icon.png); + background-image: url(https://jsek.bnuic.com/website/image/click-icon.png); } .t-tabs .t-tabs__track { -- Gitblit v1.9.1