feat: migrate static pages to native tabbar
This commit is contained in:
75
packages/mingli/pages/book-detail/index.wxss
Normal file
75
packages/mingli/pages/book-detail/index.wxss
Normal file
@@ -0,0 +1,75 @@
|
||||
page {
|
||||
min-height: 100%;
|
||||
background: linear-gradient(180deg, #f9f7f5 0%, #f3ebe8 100%);
|
||||
}
|
||||
|
||||
.mingli-book-page {
|
||||
box-sizing: border-box;
|
||||
min-height: 100vh;
|
||||
padding: 28rpx 20rpx 72rpx;
|
||||
}
|
||||
|
||||
.hero-card,
|
||||
.section-card {
|
||||
margin-top: 18rpx;
|
||||
padding: 24rpx;
|
||||
border: 1rpx solid rgba(139, 59, 49, 0.08);
|
||||
border-radius: 28rpx;
|
||||
background: rgba(255, 252, 248, 0.94);
|
||||
box-shadow: 0 10rpx 26rpx rgba(139, 59, 49, 0.06);
|
||||
}
|
||||
|
||||
.hero-card {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.hero-card__cover {
|
||||
width: 110rpx;
|
||||
height: 150rpx;
|
||||
border-radius: 22rpx;
|
||||
background: rgba(139, 59, 49, 0.12);
|
||||
color: #8b3b31;
|
||||
font-family: 'STSong', 'Songti SC', serif;
|
||||
font-size: 38rpx;
|
||||
font-weight: 700;
|
||||
line-height: 150rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hero-card__body {
|
||||
flex: 1;
|
||||
margin-left: 18rpx;
|
||||
}
|
||||
|
||||
.hero-card__title,
|
||||
.section-card__title {
|
||||
display: block;
|
||||
color: #2c2621;
|
||||
font-family: 'STSong', 'Songti SC', serif;
|
||||
font-size: 34rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.hero-card__subtitle,
|
||||
.section-card__item {
|
||||
display: block;
|
||||
margin-top: 10rpx;
|
||||
color: #7a6f64;
|
||||
font-size: 24rpx;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.hero-card__button,
|
||||
.section-card__recommend {
|
||||
margin-top: 16rpx;
|
||||
padding: 18rpx 22rpx;
|
||||
border-radius: 20rpx;
|
||||
background: rgba(139, 59, 49, 0.08);
|
||||
color: #8b3b31;
|
||||
font-size: 24rpx;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
}
|
||||
Reference in New Issue
Block a user