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 {
margin: 16rpx 26rpx;
background: #fff;
border-radius: 24rpx;
padding: 20rpx 24rpx;
border-radius: 5rpx;
padding: 14rpx 12rpx;
&__header {
display: flex;
@@ -887,7 +887,7 @@ onReachBottom(() => {
&__balls {
display: flex;
align-items: flex-start;
gap: 12rpx;
gap: 6rpx;
flex-wrap: wrap;
}
@@ -1128,7 +1128,7 @@ onReachBottom(() => {
display: flex;
flex-direction: column;
align-items: center;
gap: 4rpx;
gap: 2rpx;
&--sm {
gap: 4rpx;
@@ -1823,7 +1823,7 @@ onReachBottom(() => {
}
.latest-section {
padding: 30rpx 24rpx 0;
padding: 20rpx 14rpx 0;
&__header {
display: flex;
@@ -1859,7 +1859,7 @@ onReachBottom(() => {
padding: 28rpx 26rpx 24rpx;
background: #fff;
border: 1rpx solid #dfe5ee;
border-radius: 24rpx;
border-radius: 5rpx;
box-shadow: 0 6rpx 24rpx rgba(34, 64, 106, 0.06);
&__body {
@@ -2031,11 +2031,25 @@ onReachBottom(() => {
background: #fff;
border: 2rpx solid #1468e8;
&--red { border-color: #f04444; }
&--blue { border-color: #1468e8; }
&--green { border-color: #159447; }
&--orange { border-color: #eda915; }
&--purple { border-color: #7628dd; }
&--red {
border-color: #f04444;
}
&--blue {
border-color: #1468e8;
}
&--green {
border-color: #159447;
}
&--orange {
border-color: #eda915;
}
&--purple {
border-color: #7628dd;
}
&__num {
color: #171b24;
@@ -2052,37 +2066,113 @@ onReachBottom(() => {
align-items: center;
}
.ball-wrap { gap: 4rpx; }
.ball-zodiac { color: #555e6c; font-size: 18rpx; }
.ball-wrap {
gap: 4rpx;
}
.ball-zodiac {
color: #555e6c;
font-size: 18rpx;
}
/* 紧凑字号:保持层级,但降低整体视觉密度 */
.lottery-nav__title { font-size: 36rpx; }
.lottery-brand__logo { font-size: 32rpx; }
.hall-tabs .hall-tab { font-size: 30rpx; }
.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; }
.lottery-nav__title {
font-size: 36rpx;
}
.lottery-brand__logo {
font-size: 32rpx;
}
.hall-tabs .hall-tab {
font-size: 30rpx;
}
.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-label { font-size: 21rpx; }
.latest-card__countdown { font-size: 34rpx; }
.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; }
.latest-card__next-label {
font-size: 21rpx;
}
.latest-card__countdown {
font-size: 34rpx;
}
.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__error { font-size: 17rpx; }
.ai-block__label { font-size: 18rpx; }
.ai-block__text { font-size: 18rpx; }
.ai-block__disclaimer { font-size: 16rpx; }
.ai-popup__error {
font-size: 17rpx;
}
.ai-block__label {
font-size: 18rpx;
}
.ai-block__text {
font-size: 18rpx;
}
.ai-block__disclaimer {
font-size: 16rpx;
}
/* hall-tabs 进一步收紧尺寸 */
.hall-tabs {
@@ -2100,20 +2190,65 @@ onReachBottom(() => {
}
/* 其余内容区同步收紧内边距 */
.lottery-nav__content { padding: 0 24rpx; }
.lottery-brand { gap: 18rpx; }
.lottery-nav__tools { gap: 14rpx; }
.lottery-games__inner { padding: 20rpx 24rpx; gap: 14rpx; }
.lottery-game-chip { padding: 0 20rpx; }
.lottery-disclaimer { padding: 0 24rpx; }
.latest-section { padding: 20rpx 18rpx 0; }
.latest-section__header { padding: 0 8rpx 12rpx; }
.latest-card { padding: 20rpx 18rpx 18rpx; }
.latest-card__main { padding-right: 16rpx; }
.latest-card__next { 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; }
.lottery-nav__content {
padding: 0 24rpx;
}
.lottery-brand {
gap: 18rpx;
}
.lottery-nav__tools {
gap: 14rpx;
}
.lottery-games__inner {
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,