/* 加入牌局页面样式 */ page { background: linear-gradient(135deg, #1A1A1A 0%, #252525 100%); min-height: 100vh; } .container { padding-bottom: 120rpx; padding-top: 120rpx; } /* 加入卡片 */ .join-card { background: #1A1A1Afff; border-radius: 20rpx; padding: 48rpx 32rpx; margin: 0 20rpx 40rpx; box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.15); text-align: center; } .title { font-size: 44rpx; font-weight: bold; color: #FFFFFF; margin-bottom: 12rpx; } .subtitle { font-size: 26rpx; color: #B0B0B0; margin-bottom: 48rpx; } /* 输入区域 */ .input-section { margin-bottom: 32rpx; } .code-input { width: 100%; height: 80rpx; padding-left: 28rpx; background: #f8f9fa; border: 2rpx solid rgba(0, 0, 0, 0.1); border-radius: 12rpx; font-size: 40rpx; font-weight: bold; text-align: center; letter-spacing: 8rpx; color: #FFFFFF; font-family: 'Courier New', monospace; box-sizing: border-box; transition: all 0.3s; } .code-input:focus { border-color: #1A1A1A; background: #1A1A1A; box-shadow: 0 0 0 4rpx rgba(0, 0, 0, 0.1); } /* 加入按钮 */ .join-btn { width: 100%; padding: 28rpx; background: linear-gradient(135deg, #50C878 0%, #06a854 100%); color: white; border-radius: 16rpx; font-size: 32rpx; font-weight: bold; border: none; box-shadow: 0 8rpx 24rpx rgba(7, 193, 96, 0.4); margin-bottom: 24rpx; transition: all 0.3s; } .join-btn:active { opacity: 0.9; transform: scale(0.98); } .join-btn[disabled] { background: #e0e0e0; color: #B0B0B0; box-shadow: none; } /* 提示信息 */ .tips { display: flex; flex-direction: column; gap: 8rpx; } .tips text { font-size: 24rpx; color: #B0B0B0; text-align: left; } /* 最近牌局 */ .recent-section { margin: 0 20rpx; } .section-title { font-size: 32rpx; font-weight: bold; color: white; margin-bottom: 20rpx; } /* 牌局列表 */ .session-list { display: flex; flex-direction: column; gap: 16rpx; } .session-item { background: #1A1A1Afff; border-radius: 20rpx; padding: 24rpx; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.15); } .session-item:active { background: #f8f8f8; } .session-info { flex: 1; } .session-info .name { font-size: 32rpx; font-weight: 500; color: #FFFFFF; display: block; margin-bottom: 8rpx; } .session-info .code { font-size: 24rpx; color: #B0B0B0; font-family: 'Courier New', monospace; } .session-status { padding: 8rpx 20rpx; border-radius: 8rpx; font-size: 24rpx; font-weight: 500; } .session-status.playing { background: rgba(7, 193, 96, 0.1); color: #50C878; } .session-status.waiting { background: rgba(255, 149, 0, 0.1); color: #ff9500; } .session-status.finished { background: rgba(0, 0, 0, 0.1); color: #1A1A1A; }