Files
LinHelp/miniapp/miniprogram/pages/home/index.wxss

219 lines
3.5 KiB
Plaintext
Raw Normal View History

2026-07-07 15:06:33 +08:00
.page {
2026-07-14 16:04:51 +08:00
padding-bottom: 56rpx;
}
.home-hero {
display: flex;
justify-content: space-between;
align-items: flex-start;
min-height: 220rpx;
padding: 30rpx;
margin-bottom: 20rpx;
color: #ffffff;
background: #0f766e;
border-radius: 16rpx;
box-shadow: 0 14rpx 34rpx rgba(15, 118, 110, 0.22);
}
.hero-eyebrow {
display: inline-flex;
height: 42rpx;
align-items: center;
padding: 0 14rpx;
background: rgba(255, 255, 255, 0.16);
border-radius: 999rpx;
font-size: 22rpx;
font-weight: 700;
}
.hero-title {
margin-top: 22rpx;
font-size: 48rpx;
font-weight: 900;
line-height: 1.1;
}
.hero-subtitle {
margin-top: 14rpx;
color: rgba(255, 255, 255, 0.86);
font-size: 25rpx;
}
.hero-badge {
flex-shrink: 0;
padding: 10rpx 16rpx;
color: #854d0e;
background: #fef3c7;
border-radius: 999rpx;
font-size: 22rpx;
font-weight: 800;
}
.home-search {
display: flex;
align-items: center;
justify-content: space-between;
height: 82rpx;
padding: 0 24rpx;
margin-bottom: 20rpx;
color: #64748b;
background: #ffffff;
border: 1rpx solid #dfe7ee;
border-radius: 16rpx;
}
.search-action {
color: #0f766e;
font-weight: 800;
}
.banner-swiper {
height: 220rpx;
margin-bottom: 24rpx;
}
.banner-card {
position: relative;
height: 220rpx;
overflow: hidden;
border-radius: 16rpx;
background: #33536f;
}
.banner-card image {
width: 100%;
height: 100%;
}
.banner-fallback {
height: 100%;
display: flex;
align-items: center;
padding-left: 32rpx;
color: #ffffff;
background: #33536f;
font-size: 36rpx;
font-weight: 900;
}
.banner-mask {
position: absolute;
left: 0;
right: 0;
bottom: 0;
padding: 34rpx 28rpx 24rpx;
background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(17, 24, 39, 0.68));
}
.banner-title {
color: #ffffff;
font-size: 30rpx;
font-weight: 800;
}
.service-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 16rpx;
}
.service-card {
width: 100%;
height: 150rpx;
align-items: flex-start;
padding: 20rpx;
border: 1rpx solid #e2e8f0;
box-shadow: 0 8rpx 20rpx rgba(20, 36, 58, 0.05);
}
.service-icon {
width: 48rpx;
height: 48rpx;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 14rpx;
color: #ffffff;
border-radius: 14rpx;
font-size: 24rpx;
font-weight: 900;
}
.service-name {
color: #111827;
font-size: 26rpx;
font-weight: 800;
}
.service-product .service-icon {
background: #0f766e;
}
.service-express .service-icon {
background: #2563eb;
}
.service-group .service-icon {
background: #c2410c;
}
.service-second .service-icon {
background: #7c3aed;
}
.service-notice .service-icon {
background: #33536f;
}
.service-order .service-icon {
background: #be123c;
}
.content-card {
display: flex;
justify-content: space-between;
gap: 18rpx;
padding: 22rpx;
margin-bottom: 16rpx;
background: #ffffff;
border: 1rpx solid #e4eaf0;
border-radius: 16rpx;
box-shadow: 0 8rpx 24rpx rgba(20, 36, 58, 0.05);
}
.notice-brief {
display: block;
}
.brief-main {
flex: 1;
min-width: 0;
display: flex;
gap: 18rpx;
}
.brief-cover {
width: 112rpx;
height: 112rpx;
flex-shrink: 0;
overflow: hidden;
border-radius: 14rpx;
}
.brief-body {
min-width: 0;
display: flex;
flex-direction: column;
justify-content: center;
gap: 8rpx;
}
.brief-side {
min-width: 112rpx;
display: flex;
flex-direction: column;
align-items: flex-end;
justify-content: space-between;
gap: 14rpx;
2026-07-07 15:06:33 +08:00
}