feat: migrate static pages to native tabbar
This commit is contained in:
147
packages/tcm/pages/book-detail/index.wxss
Normal file
147
packages/tcm/pages/book-detail/index.wxss
Normal file
@@ -0,0 +1,147 @@
|
||||
page {
|
||||
min-height: 100%;
|
||||
background: linear-gradient(180deg, #fbf4e9 0%, #f3eadf 100%);
|
||||
}
|
||||
|
||||
.book-detail-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 {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.hero-card__cover {
|
||||
width: 126rpx;
|
||||
height: 168rpx;
|
||||
border-radius: 24rpx;
|
||||
background: linear-gradient(180deg, #d0b288 0%, #b98b5a 100%);
|
||||
color: #fff9ef;
|
||||
font-family: 'STSong', 'Songti SC', serif;
|
||||
font-size: 42rpx;
|
||||
font-weight: 700;
|
||||
line-height: 168rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hero-card__body {
|
||||
flex: 1;
|
||||
margin-left: 22rpx;
|
||||
}
|
||||
|
||||
.hero-card__title,
|
||||
.section-card__title,
|
||||
.catalog-row__title {
|
||||
display: block;
|
||||
color: #2c2419;
|
||||
font-family: 'STSong', 'Songti SC', serif;
|
||||
font-size: 36rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.hero-card__subtitle,
|
||||
.section-card__description,
|
||||
.catalog-row__child {
|
||||
display: block;
|
||||
margin-top: 10rpx;
|
||||
color: #7d705d;
|
||||
font-size: 26rpx;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.hero-card__tags {
|
||||
margin-top: 14rpx;
|
||||
}
|
||||
|
||||
.hero-card__tag {
|
||||
display: inline-block;
|
||||
margin-right: 8rpx;
|
||||
padding: 8rpx 16rpx;
|
||||
border-radius: 999rpx;
|
||||
background: rgba(111, 66, 22, 0.08);
|
||||
color: #6f4216;
|
||||
font-size: 22rpx;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.hero-card__button {
|
||||
display: inline-block;
|
||||
margin-top: 18rpx;
|
||||
padding: 18rpx 24rpx;
|
||||
border-radius: 24rpx;
|
||||
background: linear-gradient(135deg, #9a622d 0%, #6f4216 100%);
|
||||
color: #fff8ef;
|
||||
font-size: 26rpx;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.catalog-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-top: 16rpx;
|
||||
padding: 18rpx 0;
|
||||
border-bottom: 1rpx solid rgba(118, 83, 42, 0.08);
|
||||
}
|
||||
|
||||
.catalog-row:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.catalog-row__body {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.catalog-row__arrow {
|
||||
color: #bfa882;
|
||||
font-size: 28rpx;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.recommend-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 16rpx;
|
||||
padding: 18rpx 0;
|
||||
border-bottom: 1rpx solid rgba(118, 83, 42, 0.08);
|
||||
}
|
||||
|
||||
.recommend-card:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.recommend-card__cover {
|
||||
width: 70rpx;
|
||||
height: 90rpx;
|
||||
border-radius: 18rpx;
|
||||
background: linear-gradient(180deg, #d0b288 0%, #b98b5a 100%);
|
||||
color: #fff9ef;
|
||||
font-family: 'STSong', 'Songti SC', serif;
|
||||
font-size: 28rpx;
|
||||
font-weight: 700;
|
||||
line-height: 90rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.recommend-card__title {
|
||||
margin-left: 16rpx;
|
||||
color: #2c2419;
|
||||
font-size: 28rpx;
|
||||
line-height: 1.5;
|
||||
}
|
||||
Reference in New Issue
Block a user