feat: migrate static pages to native tabbar
This commit is contained in:
194
packages/mingli/pages/bazi/index.wxss
Normal file
194
packages/mingli/pages/bazi/index.wxss
Normal file
@@ -0,0 +1,194 @@
|
||||
page {
|
||||
min-height: 100%;
|
||||
background: linear-gradient(180deg, #f9f7f5 0%, #f3ebe8 100%);
|
||||
}
|
||||
|
||||
.bazi-page {
|
||||
box-sizing: border-box;
|
||||
min-height: 100vh;
|
||||
padding: 36rpx 24rpx 96rpx;
|
||||
}
|
||||
|
||||
.hero-card,
|
||||
.form-card,
|
||||
.result-card {
|
||||
margin-top: 22rpx;
|
||||
padding: 34rpx 28rpx;
|
||||
border: 1rpx solid rgba(139, 59, 49, 0.08);
|
||||
border-radius: 32rpx;
|
||||
background: rgba(255, 252, 248, 0.94);
|
||||
box-shadow: 0 14rpx 34rpx rgba(139, 59, 49, 0.08);
|
||||
}
|
||||
|
||||
.hero-card {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.hero-card__eyebrow {
|
||||
display: block;
|
||||
color: #9f594e;
|
||||
font-size: 22rpx;
|
||||
font-weight: 600;
|
||||
letter-spacing: 6rpx;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.hero-card__title {
|
||||
display: block;
|
||||
margin-top: 14rpx;
|
||||
color: #2c2621;
|
||||
font-family: 'STSong', 'Songti SC', serif;
|
||||
font-size: 46rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1.28;
|
||||
}
|
||||
|
||||
.hero-card__desc {
|
||||
display: block;
|
||||
margin-top: 18rpx;
|
||||
color: #7a6f64;
|
||||
font-size: 28rpx;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.hero-card__meta {
|
||||
margin: 20rpx -6rpx 0;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.hero-card__meta-item {
|
||||
display: inline-block;
|
||||
margin: 10rpx 6rpx 0;
|
||||
padding: 10rpx 18rpx;
|
||||
border-radius: 999rpx;
|
||||
background: rgba(139, 59, 49, 0.08);
|
||||
color: #8b3b31;
|
||||
font-size: 22rpx;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.panel-header {
|
||||
margin-bottom: 4rpx;
|
||||
}
|
||||
|
||||
.panel-header__title {
|
||||
display: block;
|
||||
color: #2c2621;
|
||||
font-family: 'STSong', 'Songti SC', serif;
|
||||
font-size: 34rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.panel-header__desc,
|
||||
.result-card__hint {
|
||||
display: block;
|
||||
margin-top: 12rpx;
|
||||
color: #7a6f64;
|
||||
font-size: 24rpx;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.panel-header--result {
|
||||
margin-bottom: 8rpx;
|
||||
}
|
||||
|
||||
.field-row {
|
||||
display: flex;
|
||||
margin: 0 -8rpx;
|
||||
}
|
||||
|
||||
.field-block {
|
||||
box-sizing: border-box;
|
||||
width: 50%;
|
||||
padding: 0 8rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
|
||||
.field-block__label {
|
||||
display: block;
|
||||
color: #8b5a3c;
|
||||
font-size: 24rpx;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.field-block__value {
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
min-height: 94rpx;
|
||||
margin-top: 12rpx;
|
||||
padding: 24rpx 22rpx;
|
||||
border: 1rpx solid rgba(139, 90, 60, 0.1);
|
||||
border-radius: 24rpx;
|
||||
background: linear-gradient(180deg, #fffdfa 0%, #f7f1ec 100%);
|
||||
color: #5a4335;
|
||||
font-size: 30rpx;
|
||||
font-weight: 600;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.action-group {
|
||||
margin-top: 26rpx;
|
||||
}
|
||||
|
||||
.action-button {
|
||||
margin-top: 18rpx;
|
||||
padding: 28rpx 24rpx;
|
||||
border-radius: 24rpx;
|
||||
background: linear-gradient(135deg, #a64e44 0%, #7a342b 100%);
|
||||
color: #fff;
|
||||
font-size: 30rpx;
|
||||
font-weight: 600;
|
||||
line-height: 1.2;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.action-button--ghost {
|
||||
background: rgba(139, 59, 49, 0.08);
|
||||
color: #8b3b31;
|
||||
}
|
||||
|
||||
.result-card__grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin: 18rpx -8rpx 0;
|
||||
}
|
||||
|
||||
.pillar-card {
|
||||
box-sizing: border-box;
|
||||
width: 50%;
|
||||
padding: 0 8rpx;
|
||||
margin-top: 16rpx;
|
||||
}
|
||||
|
||||
.pillar-card__inner {
|
||||
min-height: 156rpx;
|
||||
padding: 24rpx 18rpx;
|
||||
border-radius: 24rpx;
|
||||
background: linear-gradient(180deg, #fff7f3 0%, #fff 100%);
|
||||
border: 1rpx solid rgba(139, 59, 49, 0.08);
|
||||
box-shadow: inset 0 1rpx 0 rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
|
||||
.pillar-card__label {
|
||||
display: block;
|
||||
color: #8b3b31;
|
||||
font-size: 24rpx;
|
||||
line-height: 1.4;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.pillar-card__value {
|
||||
display: block;
|
||||
margin-top: 16rpx;
|
||||
color: #5d312a;
|
||||
font-family: 'STSong', 'Songti SC', serif;
|
||||
font-size: 40rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1.3;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.result-card__hint {
|
||||
margin-top: 24rpx;
|
||||
}
|
||||
Reference in New Issue
Block a user