style: narrow lottery countdown panel

This commit is contained in:
hajimi
2026-08-03 03:25:48 +08:00
parent dfcdd88fe8
commit aa8e9968bb
@@ -769,8 +769,8 @@ onReachBottom(() => {
.latest-card { .latest-card {
margin: 16rpx 26rpx; margin: 16rpx 26rpx;
background: #fff; background: #fff;
border-radius: 24rpx; border-radius: 5rpx;
padding: 20rpx 24rpx; padding: 14rpx 12rpx;
&__header { &__header {
display: flex; display: flex;
@@ -887,7 +887,7 @@ onReachBottom(() => {
&__balls { &__balls {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
gap: 12rpx; gap: 6rpx;
flex-wrap: wrap; flex-wrap: wrap;
} }
@@ -1128,7 +1128,7 @@ onReachBottom(() => {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
gap: 4rpx; gap: 2rpx;
&--sm { &--sm {
gap: 4rpx; gap: 4rpx;
@@ -1823,7 +1823,7 @@ onReachBottom(() => {
} }
.latest-section { .latest-section {
padding: 30rpx 24rpx 0; padding: 20rpx 14rpx 0;
&__header { &__header {
display: flex; display: flex;
@@ -1859,7 +1859,7 @@ onReachBottom(() => {
padding: 28rpx 26rpx 24rpx; padding: 28rpx 26rpx 24rpx;
background: #fff; background: #fff;
border: 1rpx solid #dfe5ee; border: 1rpx solid #dfe5ee;
border-radius: 24rpx; border-radius: 5rpx;
box-shadow: 0 6rpx 24rpx rgba(34, 64, 106, 0.06); box-shadow: 0 6rpx 24rpx rgba(34, 64, 106, 0.06);
&__body { &__body {
@@ -2031,11 +2031,25 @@ onReachBottom(() => {
background: #fff; background: #fff;
border: 2rpx solid #1468e8; border: 2rpx solid #1468e8;
&--red { border-color: #f04444; } &--red {
&--blue { border-color: #1468e8; } border-color: #f04444;
&--green { border-color: #159447; } }
&--orange { border-color: #eda915; }
&--purple { border-color: #7628dd; } &--blue {
border-color: #1468e8;
}
&--green {
border-color: #159447;
}
&--orange {
border-color: #eda915;
}
&--purple {
border-color: #7628dd;
}
&__num { &__num {
color: #171b24; color: #171b24;
@@ -2052,37 +2066,113 @@ onReachBottom(() => {
align-items: center; align-items: center;
} }
.ball-wrap { gap: 4rpx; } .ball-wrap {
.ball-zodiac { color: #555e6c; font-size: 18rpx; } gap: 4rpx;
}
.ball-zodiac {
color: #555e6c;
font-size: 18rpx;
}
/* 紧凑字号:保持层级,但降低整体视觉密度 */ /* 紧凑字号:保持层级,但降低整体视觉密度 */
.lottery-nav__title { font-size: 36rpx; } .lottery-nav__title {
.lottery-brand__logo { font-size: 32rpx; } font-size: 36rpx;
.hall-tabs .hall-tab { font-size: 30rpx; } }
.lottery-game-chip { font-size: 24rpx; }
.lottery-disclaimer { font-size: 23rpx; } .lottery-brand__logo {
.latest-section__title { font-size: 32rpx; } font-size: 32rpx;
.latest-section__refresh { font-size: 21rpx; } }
.latest-empty { font-size: 24rpx; }
.latest-card__name { font-size: 28rpx; } .hall-tabs .hall-tab {
.latest-card__issue-row { font-size: 22rpx; } font-size: 30rpx;
.latest-card__date { font-size: 21rpx; } }
.lottery-game-chip {
font-size: 24rpx;
}
.lottery-disclaimer {
font-size: 23rpx;
}
.latest-section__title {
font-size: 32rpx;
}
.latest-section__refresh {
font-size: 21rpx;
}
.latest-empty {
font-size: 24rpx;
}
.latest-card__name {
font-size: 28rpx;
}
.latest-card__issue-row {
font-size: 22rpx;
}
.latest-card__date {
font-size: 21rpx;
}
.latest-card__next-row, .latest-card__next-row,
.latest-card__next-label { font-size: 21rpx; } .latest-card__next-label {
.latest-card__countdown { font-size: 34rpx; } font-size: 21rpx;
.latest-card__countdown-labels { font-size: 19rpx; } }
.latest-card__action { font-size: 24rpx; }
.ball__num { font-size: 23rpx; } .latest-card__countdown {
.ball__plus { font-size: 25rpx; } font-size: 34rpx;
.ball-zodiac { font-size: 16rpx; } }
.latest-card__countdown-labels {
font-size: 19rpx;
}
.latest-card__action {
font-size: 24rpx;
}
.ball__num {
font-size: 23rpx;
}
.ball__plus {
font-size: 25rpx;
}
.ball-zodiac {
font-size: 16rpx;
}
.ai-popup__title {
font-size: 25rpx;
}
.vip-bar__text {
font-size: 14rpx;
}
.ai-popup__title { font-size: 25rpx; }
.vip-bar__text { font-size: 14rpx; }
.ai-popup__loading, .ai-popup__loading,
.ai-popup__error { font-size: 17rpx; } .ai-popup__error {
.ai-block__label { font-size: 18rpx; } font-size: 17rpx;
.ai-block__text { font-size: 18rpx; } }
.ai-block__disclaimer { font-size: 16rpx; }
.ai-block__label {
font-size: 18rpx;
}
.ai-block__text {
font-size: 18rpx;
}
.ai-block__disclaimer {
font-size: 16rpx;
}
/* hall-tabs 进一步收紧尺寸 */ /* hall-tabs 进一步收紧尺寸 */
.hall-tabs { .hall-tabs {
@@ -2100,20 +2190,65 @@ onReachBottom(() => {
} }
/* 其余内容区同步收紧内边距 */ /* 其余内容区同步收紧内边距 */
.lottery-nav__content { padding: 0 24rpx; } .lottery-nav__content {
.lottery-brand { gap: 18rpx; } padding: 0 24rpx;
.lottery-nav__tools { gap: 14rpx; } }
.lottery-games__inner { padding: 20rpx 24rpx; gap: 14rpx; }
.lottery-game-chip { padding: 0 20rpx; } .lottery-brand {
.lottery-disclaimer { padding: 0 24rpx; } gap: 18rpx;
.latest-section { padding: 20rpx 18rpx 0; } }
.latest-section__header { padding: 0 8rpx 12rpx; }
.latest-card { padding: 20rpx 18rpx 18rpx; } .lottery-nav__tools {
.latest-card__main { padding-right: 16rpx; } gap: 14rpx;
.latest-card__next { padding-left: 16rpx; } }
.latest-card__divider { margin: 18rpx 0 14rpx; }
.latest-card__actions { gap: 12rpx; } .lottery-games__inner {
.latest-card__action { height: 64rpx; padding: 0 10rpx; gap: 8rpx; } padding: 20rpx 24rpx;
gap: 14rpx;
}
.lottery-game-chip {
padding: 0 20rpx;
}
.lottery-disclaimer {
padding: 0 24rpx;
}
.latest-section {
padding: 10rpx 14rpx 0;
}
.latest-section__header {
padding: 0 8rpx 12rpx;
}
.latest-card {
padding: 20rpx 18rpx 18rpx;
}
.latest-card__main {
padding-right: 16rpx;
}
.latest-card__next {
width: 210rpx;
padding-left: 16rpx;
}
.latest-card__divider {
margin: 18rpx 0 14rpx;
}
.latest-card__actions {
gap: 12rpx;
}
.latest-card__action {
height: 64rpx;
padding: 0 10rpx;
gap: 8rpx;
}
/* 继续压缩页面外层尺寸 */ /* 继续压缩页面外层尺寸 */
.hall-tabs, .hall-tabs,