feat: migrate static pages to native tabbar
This commit is contained in:
96
packages/tcm/pages/search-books/index.wxss
Normal file
96
packages/tcm/pages/search-books/index.wxss
Normal file
@@ -0,0 +1,96 @@
|
||||
page {
|
||||
min-height: 100%;
|
||||
background: linear-gradient(180deg, #fbf4e9 0%, #f3eadf 100%);
|
||||
}
|
||||
|
||||
.search-books-page {
|
||||
box-sizing: border-box;
|
||||
min-height: 100vh;
|
||||
padding: 28rpx 20rpx 72rpx;
|
||||
}
|
||||
|
||||
.hero-card,
|
||||
.section-card {
|
||||
margin-top: 18rpx;
|
||||
padding: 28rpx;
|
||||
border: 1rpx solid rgba(118, 83, 42, 0.08);
|
||||
border-radius: 32rpx;
|
||||
background: rgba(255, 250, 242, 0.92);
|
||||
box-shadow: 0 18rpx 42rpx rgba(86, 58, 25, 0.08);
|
||||
}
|
||||
|
||||
.hero-card {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.hero-card__title,
|
||||
.section-card__title,
|
||||
.result-card__title {
|
||||
display: block;
|
||||
color: #2c2419;
|
||||
font-family: 'STSong', 'Songti SC', serif;
|
||||
font-size: 36rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.hero-card__description,
|
||||
.section-card__description,
|
||||
.result-card__subtitle {
|
||||
display: block;
|
||||
margin-top: 10rpx;
|
||||
color: #7d705d;
|
||||
font-size: 26rpx;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.search-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 18rpx;
|
||||
}
|
||||
|
||||
.search-row__input {
|
||||
flex: 1;
|
||||
height: 84rpx;
|
||||
padding: 0 20rpx;
|
||||
border-radius: 22rpx;
|
||||
background: rgba(255, 254, 250, 0.92);
|
||||
color: #3f2e1f;
|
||||
font-size: 26rpx;
|
||||
}
|
||||
|
||||
.search-row__button {
|
||||
margin-left: 12rpx;
|
||||
padding: 20rpx 24rpx;
|
||||
border-radius: 22rpx;
|
||||
background: linear-gradient(135deg, #9a622d 0%, #6f4216 100%);
|
||||
color: #fff8ef;
|
||||
font-size: 26rpx;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.history-list {
|
||||
margin: 14rpx -6rpx 0;
|
||||
}
|
||||
|
||||
.history-chip {
|
||||
display: inline-block;
|
||||
margin: 6rpx;
|
||||
padding: 12rpx 18rpx;
|
||||
border-radius: 999rpx;
|
||||
background: rgba(111, 66, 22, 0.08);
|
||||
color: #6f4216;
|
||||
font-size: 22rpx;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.result-card {
|
||||
margin-top: 16rpx;
|
||||
padding: 22rpx 0;
|
||||
border-bottom: 1rpx solid rgba(118, 83, 42, 0.08);
|
||||
}
|
||||
|
||||
.result-card:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user