page { background-color: #f5f5f5; min-height: 100vh; } /* 主容器 */ .container { padding: 0; min-height: 100vh; background-color: #f5f5f5; display: flex; flex-direction: column; align-items: center; } /* 头部 */ .header { text-align: center; padding: 80rpx 0 60rpx; background-color: #f5f5f5; width: 100%; } .logo { width: 160rpx; height: 160rpx; background: linear-gradient(135deg, #12b559 0%, #0aa750 100%); border-radius: 32rpx; margin: 0 auto 32rpx; display: flex; align-items: center; justify-content: center; font-size: 72rpx; color: #fff; box-shadow: 0 4rpx 16rpx rgba(18, 181, 89, 0.25); } .title { display: block; font-size: 34rpx; font-weight: 400; color: #000; margin-bottom: 16rpx; } .subtitle { display: block; font-size: 26rpx; color: #888; line-height: 1.6; } /* 用户信息卡片 */ .user-card { width: 620rpx; background: #fff; border-radius: 16rpx; padding: 60rpx 0; display: flex; flex-direction: column; align-items: center; margin-bottom: 40rpx; box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.08); } /* 头像选择器 */ .avatar-picker { background: none; border: none; padding: 0; margin: 0 auto 24rpx; line-height: normal; display: block; width: 172rpx; } .avatar-picker::after { border: none; } .avatar-wrapper { width: 160rpx; height: 160rpx; border-radius: 50%; background: #f0f0f0; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 6rpx solid #07c160; position: relative; margin: 0 auto; } .avatar-wrapper.has-avatar { border-color: #07c160; } .avatar-image { width: 100%; height: 100%; object-fit: cover; } .avatar-icon { font-size: 80rpx; color: #c8c8c8; } /* 昵称输入框(按钮样式) */ .nickname-wrapper { width: 100%; display: flex; justify-content: center; } .nickname-btn-wrapper { background: #f8f8f8; border: 1rpx solid #e5e5e5; border-radius: 8rpx; padding: 20rpx 60rpx; min-width: 400rpx; display: flex; align-items: center; justify-content: center; transition: all 0.3s; } .nickname-btn-wrapper:active { background: #efefef; } .nickname-btn-input { width: 100%; height: 40rpx; font-size: 32rpx; color: #000; font-weight: 400; text-align: center; background: transparent; border: none; } .nickname-placeholder { color: #999; font-size: 32rpx; text-align: center; } /* 授权按钮 */ .auth-btn { width: 620rpx; height: 88rpx; background: #07c160; border-radius: 8rpx; border: none; color: #fff; font-size: 32rpx; font-weight: 400; display: flex; align-items: center; justify-content: center; margin-bottom: 50rpx; box-shadow: 0 2rpx 8rpx rgba(7, 193, 96, 0.3); transition: all 0.3s; cursor: pointer; } .auth-btn:active { opacity: 0.8; transform: scale(0.98); } .auth-btn.disabled { background: #9ed99d; color: rgba(255, 255, 255, 0.7); box-shadow: none; cursor: not-allowed; } .auth-btn.disabled:active { opacity: 1; transform: scale(1); } /* 授权说明 */ .permissions { width: 620rpx; padding: 0; } .permissions-title { display: block; font-size: 28rpx; color: #000; font-weight: 400; margin-bottom: 24rpx; } .permission-item { display: flex; align-items: flex-start; margin-bottom: 14rpx; font-size: 26rpx; color: #666; line-height: 1.8; } .permission-item:last-child { margin-bottom: 0; } .dot { margin-right: 12rpx; color: #000; font-size: 24rpx; line-height: 1.8; }