feat: migrate static pages to native tabbar
This commit is contained in:
166
packages/mingli/pages/hall/index.wxss
Normal file
166
packages/mingli/pages/hall/index.wxss
Normal file
@@ -0,0 +1,166 @@
|
||||
page {
|
||||
min-height: 100%;
|
||||
background: linear-gradient(180deg, #f9f7f5 0%, #f3ebe8 100%);
|
||||
}
|
||||
|
||||
.hall-page {
|
||||
box-sizing: border-box;
|
||||
min-height: 100vh;
|
||||
padding: 28rpx 20rpx 72rpx;
|
||||
}
|
||||
|
||||
.almanac-card,
|
||||
.section-card,
|
||||
.hall-card {
|
||||
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);
|
||||
}
|
||||
|
||||
.almanac-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 24rpx;
|
||||
}
|
||||
|
||||
.almanac-card__date,
|
||||
.almanac-card__yi,
|
||||
.section-card__from {
|
||||
display: block;
|
||||
color: #7a6f64;
|
||||
font-size: 22rpx;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.almanac-card__ganzhi {
|
||||
display: block;
|
||||
margin: 8rpx 0;
|
||||
color: #8b3b31;
|
||||
font-family: 'STSong', 'Songti SC', serif;
|
||||
font-size: 34rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.almanac-card__icon {
|
||||
color: #8b3b31;
|
||||
font-size: 46rpx;
|
||||
}
|
||||
|
||||
.hall-grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin: 12rpx -6rpx 0;
|
||||
}
|
||||
|
||||
.hall-card {
|
||||
box-sizing: border-box;
|
||||
width: 50%;
|
||||
margin-top: 12rpx;
|
||||
padding: 24rpx 18rpx;
|
||||
background: #fff;
|
||||
border-radius: 24rpx;
|
||||
margin-left: 6rpx;
|
||||
margin-right: 6rpx;
|
||||
}
|
||||
|
||||
.hall-card__icon {
|
||||
width: 82rpx;
|
||||
height: 82rpx;
|
||||
border-radius: 20rpx;
|
||||
background: rgba(139, 59, 49, 0.08);
|
||||
color: #8b3b31;
|
||||
font-size: 34rpx;
|
||||
line-height: 82rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hall-card__title,
|
||||
.section-card__title,
|
||||
.guide-card__title,
|
||||
.book-row__title {
|
||||
display: block;
|
||||
color: #2c2621;
|
||||
font-family: 'STSong', 'Songti SC', serif;
|
||||
font-size: 32rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.hall-card__title {
|
||||
margin-top: 16rpx;
|
||||
}
|
||||
|
||||
.hall-card__subtitle,
|
||||
.guide-card__desc,
|
||||
.book-row__subtitle,
|
||||
.section-card__text {
|
||||
display: block;
|
||||
margin-top: 8rpx;
|
||||
color: #7a6f64;
|
||||
font-size: 24rpx;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.section-card {
|
||||
margin-top: 18rpx;
|
||||
padding: 24rpx;
|
||||
}
|
||||
|
||||
.section-card__text {
|
||||
margin-top: 14rpx;
|
||||
font-size: 30rpx;
|
||||
line-height: 1.8;
|
||||
color: #352f29;
|
||||
}
|
||||
|
||||
.chips-row {
|
||||
margin: 14rpx -6rpx 0;
|
||||
}
|
||||
|
||||
.chips-row__item {
|
||||
display: inline-block;
|
||||
margin: 6rpx;
|
||||
padding: 12rpx 18rpx;
|
||||
border-radius: 999rpx;
|
||||
background: rgba(139, 59, 49, 0.08);
|
||||
color: #8b3b31;
|
||||
font-size: 22rpx;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.guide-card,
|
||||
.book-row {
|
||||
margin-top: 16rpx;
|
||||
padding: 20rpx 0 0;
|
||||
border-top: 1rpx solid rgba(139, 59, 49, 0.08);
|
||||
}
|
||||
|
||||
.guide-card:first-of-type,
|
||||
.book-row:first-of-type {
|
||||
padding-top: 16rpx;
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.book-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.book-row__cover {
|
||||
width: 72rpx;
|
||||
height: 96rpx;
|
||||
border-radius: 18rpx;
|
||||
background: rgba(139, 59, 49, 0.1);
|
||||
color: #8b3b31;
|
||||
font-size: 28rpx;
|
||||
line-height: 96rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.book-row__body {
|
||||
flex: 1;
|
||||
margin-left: 16rpx;
|
||||
}
|
||||
Reference in New Issue
Block a user