167 lines
No EOL
2.8 KiB
Text
167 lines
No EOL
2.8 KiB
Text
/* 全局渐变背景 */
|
|
.qr-code-container {
|
|
min-height: 100vh;
|
|
background: linear-gradient(135deg, #7b4397 0%, #dc2430 50%, #007bb5 100%);
|
|
color: #ffffff;
|
|
padding-bottom: 100rpx;
|
|
}
|
|
|
|
/* 导航栏样式 */
|
|
.nav-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 100rpx 30rpx 30rpx;
|
|
position: relative;
|
|
z-index: 10;
|
|
}
|
|
|
|
.back-btn {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.back-icon {
|
|
font-size: 40rpx;
|
|
font-weight: bold;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.title {
|
|
font-size: 36rpx;
|
|
font-weight: 600;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.right-buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.menu-btn {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-right: 10rpx;
|
|
}
|
|
|
|
.menu-icon {
|
|
font-size: 24rpx;
|
|
color: #ffffff;
|
|
letter-spacing: 2rpx;
|
|
}
|
|
|
|
.theme-toggle {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* 主体内容样式 */
|
|
.main-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 80rpx 30rpx 50rpx;
|
|
}
|
|
|
|
/* 用户信息样式 */
|
|
.user-info {
|
|
text-align: center;
|
|
margin-bottom: 70rpx;
|
|
}
|
|
|
|
.username {
|
|
font-size: 44rpx;
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
margin-bottom: 15rpx;
|
|
display: block;
|
|
}
|
|
|
|
.user-id {
|
|
font-size: 30rpx;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
display: block;
|
|
}
|
|
|
|
/* 二维码容器样式 */
|
|
.qr-code-box {
|
|
width: 520rpx;
|
|
height: 520rpx;
|
|
background-color: #000000;
|
|
border-radius: 24rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 20rpx 40rpx rgba(0, 0, 0, 0.3);
|
|
margin-bottom: 40rpx;
|
|
position: relative;
|
|
}
|
|
|
|
.qr-code-image {
|
|
width: 420rpx;
|
|
height: 420rpx;
|
|
position: relative;
|
|
background: linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb, #1dd1a1, #5f27cd);
|
|
padding: 10rpx;
|
|
border-radius: 16rpx;
|
|
}
|
|
|
|
/* 刷新按钮样式 */
|
|
.refresh-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
border-radius: 40rpx;
|
|
padding: 18rpx 50rpx;
|
|
margin-bottom: 120rpx;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.refresh-icon {
|
|
color: #ffffff;
|
|
margin-right: 15rpx;
|
|
}
|
|
|
|
.refresh-text {
|
|
font-size: 30rpx;
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* 底部操作按钮区域样式 */
|
|
.action-buttons {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
width: 100%;
|
|
padding: 0 60rpx;
|
|
position: fixed;
|
|
bottom: 80rpx;
|
|
left: 0;
|
|
}
|
|
|
|
.action-btn {
|
|
width: 120rpx;
|
|
height: 120rpx;
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.2);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.action-icon {
|
|
width: 50rpx;
|
|
height: 50rpx;
|
|
opacity: 0.9;
|
|
} |