204 lines
3.3 KiB
Plaintext
204 lines
3.3 KiB
Plaintext
/**pages/profile/profile.wxss**/
|
|
page {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background-color: #f6f7f9;
|
|
}
|
|
.scrollarea {
|
|
flex: 1;
|
|
}
|
|
|
|
.container {
|
|
padding: 30rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
/* User Card Wrapper */
|
|
.user-card {
|
|
width: 100%;
|
|
background-color: #ffffff;
|
|
border-radius: 24rpx;
|
|
padding: 40rpx;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.03);
|
|
margin-bottom: 30rpx;
|
|
position: relative;
|
|
}
|
|
|
|
.settings-btn {
|
|
position: absolute;
|
|
top: 20rpx;
|
|
right: 20rpx; /* Move to right */
|
|
left: auto;
|
|
padding: 20rpx;
|
|
}
|
|
|
|
.settings-icon {
|
|
font-size: 40rpx;
|
|
color: #333;
|
|
}
|
|
|
|
/* Avatar */
|
|
.avatar-wrapper {
|
|
margin-bottom: 30rpx;
|
|
position: relative;
|
|
}
|
|
|
|
.avatar-btn {
|
|
padding: 0;
|
|
width: 160rpx !important;
|
|
height: 160rpx !important;
|
|
border-radius: 50%;
|
|
background: none;
|
|
border: none;
|
|
box-shadow: 0 6rpx 16rpx rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.avatar {
|
|
width: 160rpx;
|
|
height: 160rpx;
|
|
border-radius: 50%;
|
|
border: 4rpx solid #fff;
|
|
}
|
|
|
|
/* Nickname */
|
|
.nickname-wrapper {
|
|
margin-bottom: 20rpx;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.nickname-input, .nickname-text {
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
color: #333;
|
|
text-align: center;
|
|
}
|
|
|
|
.nickname-input {
|
|
border-bottom: 2rpx solid #eee;
|
|
padding: 10rpx;
|
|
width: 60%;
|
|
}
|
|
|
|
/* Info Grid / Cell List */
|
|
.info-grid {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.info-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 24rpx 0;
|
|
border-bottom: 1rpx solid #f5f5f5;
|
|
}
|
|
|
|
.info-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.label {
|
|
color: #666;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.value {
|
|
color: #333;
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Gender Tags */
|
|
.gender-box {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 4rpx 12rpx;
|
|
border-radius: 8rpx;
|
|
font-size: 24rpx;
|
|
}
|
|
.gender-box.male { color: #1890ff; background: #e6f7ff; }
|
|
.gender-box.female { color: #eb2f96; background: #fff0f6; }
|
|
|
|
/* Action Buttons */
|
|
.action-area {
|
|
width: 100%;
|
|
}
|
|
|
|
.login-hint {
|
|
color: #999;
|
|
font-size: 26rpx; /* 小一点 */
|
|
text-align: center;
|
|
margin-bottom: 30rpx;
|
|
display: block; /* 确保占满一行 */
|
|
}
|
|
|
|
.login-btn, .secondary-btn {
|
|
width: 100% !important;
|
|
border-radius: 50rpx !important;
|
|
font-weight: bold;
|
|
padding: 24rpx 0;
|
|
font-size: 30rpx;
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.login-btn {
|
|
background: linear-gradient(90deg, #07c160, #10ad63);
|
|
color: white;
|
|
box-shadow: 0 6rpx 16rpx rgba(7, 193, 96, 0.3);
|
|
}
|
|
|
|
.login-btn[disabled] {
|
|
background: #a0eac4 !important;
|
|
color: #fff !important;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.secondary-btn {
|
|
background-color: #fff;
|
|
color: #666;
|
|
border: 1rpx solid #eee;
|
|
}
|
|
|
|
/* Styles for verification area centered */
|
|
.verification-area {
|
|
width: 100%;
|
|
}
|
|
|
|
.code-display {
|
|
background: #eef2f5;
|
|
padding: 20rpx;
|
|
border-radius: 12rpx;
|
|
margin-top: 20rpx;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.code-text {
|
|
font-size: 40rpx;
|
|
font-weight: bold;
|
|
color: #333;
|
|
margin-right: 20rpx;
|
|
letter-spacing: 4rpx;
|
|
}
|
|
|
|
.copy-btn {
|
|
font-size: 24rpx;
|
|
background: #fff;
|
|
padding: 6rpx 16rpx;
|
|
border-radius: 20rpx;
|
|
color: #1890ff;
|
|
border: 1rpx solid #1890ff;
|
|
}
|