From b5241d767be97958aff448ebbd92f49ab6e8e682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=96=B9=E6=88=90?= Date: Fri, 2 Jan 2026 21:03:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E4=BA=86=E5=AF=B9?= =?UTF-8?q?=E6=89=8B=E6=A0=8F=E3=80=81=E7=8E=A9=E5=AE=B6=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E5=92=8C=E5=A4=B4=E5=83=8F=E7=9A=84=E5=B0=BA=E5=AF=B8=E5=8F=8A?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=EF=BC=8C=E5=B9=B6=E5=A2=9E=E5=8A=A0=E4=BA=86?= =?UTF-8?q?=E5=BA=95=E9=83=A8=E9=9D=A2=E6=9D=BF=E5=92=8C=E6=B8=B8=E6=88=8F?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E7=9A=84=E9=AB=98=E5=BA=A6=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages-game/game/minesweeper/play.scss | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/pages-game/game/minesweeper/play.scss b/pages-game/game/minesweeper/play.scss index e24be9c..da96880 100644 --- a/pages-game/game/minesweeper/play.scss +++ b/pages-game/game/minesweeper/play.scss @@ -526,7 +526,7 @@ // 对手栏 // ===================================== .opponents-bar { - height: 140rpx; + height: 180rpx; background: rgba(0, 0, 0, 0.2); border-bottom: 1px solid $border-dark; } @@ -538,12 +538,12 @@ } .player-card { - min-width: 200rpx; - height: 100rpx; + min-width: 260rpx; + height: 140rpx; background: $bg-dark-card; border: 1px solid $border-dark; - border-radius: $radius-md; - padding: $spacing-sm $spacing-md; + border-radius: $radius-lg; + padding: $spacing-md; display: flex; align-items: center; position: relative; @@ -582,10 +582,19 @@ .avatar { font-size: 44rpx; - margin-right: $spacing-sm; + margin-right: $spacing-md; + display: flex; + align-items: center; + justify-content: center; + background: rgba(255, 255, 255, 0.1); + border-radius: 50%; + width: 80rpx; + height: 80rpx; &.lg { - font-size: 56rpx; + width: 100rpx; + height: 100rpx; + font-size: 64rpx; } } @@ -769,11 +778,12 @@ display: flex; gap: $spacing-md; border-top: 1px solid $border-dark; + height: 240rpx; // 增加底部面板高度以容纳更大的卡片 } .game-logs { flex: 1; - max-height: 140rpx; + height: 100%; padding: $spacing-sm; background: rgba(0, 0, 0, 0.3); border-radius: $radius-md;