功能:新增微信小程序界面
This commit is contained in:
@@ -0,0 +1,150 @@
|
||||
.home-page-root {
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.home-scroll {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.home-page {
|
||||
min-height: 100%;
|
||||
background:
|
||||
radial-gradient(circle at top right, rgba(255, 196, 214, 0.4), transparent 36%),
|
||||
linear-gradient(180deg, #fff7f8 0%, #fffdfb 100%);
|
||||
}
|
||||
|
||||
.home-hero {
|
||||
background:
|
||||
radial-gradient(circle at top right, rgba(255, 186, 207, 0.5), transparent 36%),
|
||||
linear-gradient(145deg, #fffdfd 0%, #fff2f6 52%, #ffe8ef 100%);
|
||||
}
|
||||
|
||||
.search-box {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16rpx;
|
||||
margin-top: 30rpx;
|
||||
padding: 10rpx;
|
||||
border-radius: 999rpx;
|
||||
background: rgba(255, 255, 255, 0.92);
|
||||
}
|
||||
|
||||
.search-input {
|
||||
flex: 1;
|
||||
height: 72rpx;
|
||||
padding: 0 24rpx;
|
||||
font-size: 28rpx;
|
||||
color: #2d2430;
|
||||
}
|
||||
|
||||
.search-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 150rpx;
|
||||
height: 72rpx;
|
||||
border-radius: 999rpx;
|
||||
background: linear-gradient(135deg, #ff8cb0 0%, #c6597d 100%);
|
||||
color: #ffffff;
|
||||
font-size: 26rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.guest-tip {
|
||||
margin-top: 24rpx;
|
||||
padding: 20rpx 24rpx;
|
||||
border-radius: 22rpx;
|
||||
background: rgba(255, 255, 255, 0.85);
|
||||
color: #8d7a84;
|
||||
font-size: 24rpx;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.banner-box {
|
||||
overflow: hidden;
|
||||
border-radius: 34rpx;
|
||||
}
|
||||
|
||||
.banner-swiper,
|
||||
.banner-item {
|
||||
width: 100%;
|
||||
height: 396rpx;
|
||||
}
|
||||
|
||||
.banner-item {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.banner-image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.banner-mask {
|
||||
position: absolute;
|
||||
left: 24rpx;
|
||||
right: 24rpx;
|
||||
bottom: 24rpx;
|
||||
padding: 22rpx 24rpx;
|
||||
border-radius: 24rpx;
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
.banner-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 8rpx 18rpx;
|
||||
border-radius: 999rpx;
|
||||
background: #fce8ef;
|
||||
color: #c6597d;
|
||||
font-size: 22rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.banner-title {
|
||||
margin-top: 14rpx;
|
||||
font-size: 34rpx;
|
||||
font-weight: 700;
|
||||
color: #2d2430;
|
||||
}
|
||||
|
||||
.banner-desc {
|
||||
margin-top: 8rpx;
|
||||
font-size: 24rpx;
|
||||
color: #8d7a84;
|
||||
}
|
||||
|
||||
.featured-panel {
|
||||
padding: 2rpx 0 4rpx;
|
||||
}
|
||||
|
||||
.featured-scroll {
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.featured-list {
|
||||
display: inline-flex;
|
||||
gap: 18rpx;
|
||||
padding: 4rpx 2rpx 12rpx;
|
||||
}
|
||||
|
||||
.featured-card {
|
||||
width: 332rpx;
|
||||
}
|
||||
|
||||
.popular-grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 18rpx;
|
||||
padding-top: 2rpx;
|
||||
}
|
||||
|
||||
.popular-card {
|
||||
width: calc(50% - 9rpx);
|
||||
}
|
||||
Reference in New Issue
Block a user