From 4a6c5eaf8a7a5332bf3ff7244d1e371c98a5992a Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期二, 08 七月 2025 19:42:18 +0800 Subject: [PATCH] 组件升级 --- pages/home/home.wxss | 51 +++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 47 insertions(+), 4 deletions(-) diff --git a/pages/home/home.wxss b/pages/home/home.wxss index dd34c3e..e0c52ff 100644 --- a/pages/home/home.wxss +++ b/pages/home/home.wxss @@ -33,7 +33,7 @@ padding-top: 180rpx; } -.home-page-header .bg { +.bg { height: 680rpx; position: absolute; top: 0; @@ -41,7 +41,7 @@ z-index: -1; } -.home-page-header .bg .image { +.bg .image { height: 100%; } @@ -88,6 +88,11 @@ width: 100%; } +.swiper-item { + width: 100%; + height: 100%; +} + .swiperItem { position: relative; height: 380rpx; @@ -116,10 +121,9 @@ width: 60rpx !important; height: 56rpx !important; position: relative; - } -.t-grid-item__image:not(:empty).t-grid-item__image--small .t-image { +.t-grid-item__image:not(:empty).t-grid-item__image--small .t-image .t-image__img { width: auto !important; height: auto !important; max-width: 100% !important; @@ -310,6 +314,7 @@ width: 336rpx; height: 205rpx; flex: 1; + margin: 0 auto; } .listBox1 .body-info { @@ -369,6 +374,10 @@ .classHours { font-size: 26rpx; +} + +.listBox .empyt { + margin: 0 auto; } .listBox2 .empyt { @@ -478,4 +487,38 @@ .t-loading__circular { color: #ff6d00 !important; +} + +.block { + position: relative; + width: 60vw; + height: auto; + padding: 20rpx; + background: var(--td-bg-color-container); + border-radius: 16rpx; +} + +.close-btn { + position: absolute; + left: 50%; + transform: translateX(-80%); + bottom: calc(-1 * (48rpx + 64rpx)); +} + +.block view { + text-indent: 2em; + font-size: 28rpx; + line-height: 42rpx; +} + +.al-right { + text-align: right; +} + +.ti-0 { + text-indent: 0em !important; +} + +.mt-20 { + margin-top: 20rpx; } \ No newline at end of file -- Gitblit v1.9.1