Files
JayuCloud/WeChatProgram/pages/profile/index.wxss
T

176 lines
2.3 KiB
Plaintext

.profile-page-root {
height: 100vh;
display: flex;
flex-direction: column;
overflow: hidden;
}
.profile-scroll {
flex: 1;
min-height: 0;
}
.profile-page {
min-height: 100%;
background: linear-gradient(180deg, #d66c90 0%, #fff8fa 220rpx, #fffdfc 100%);
}
.profile-bg {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 228rpx;
background: linear-gradient(135deg, #d66c90 0%, #9a4f6d 100%);
}
.profile-content {
position: relative;
z-index: 1;
padding-top: 80rpx;
}
.guest-card,
.profile-card,
.menu-card {
padding: 28rpx;
}
.guest-card {
display: flex;
flex-direction: column;
align-items: center;
gap: 18rpx;
text-align: center;
}
.guest-avatar {
width: 120rpx;
height: 120rpx;
border-radius: 50%;
}
.guest-title {
font-size: 34rpx;
font-weight: 700;
color: #2d2430;
}
.guest-desc {
font-size: 24rpx;
line-height: 1.7;
color: #8d7a84;
}
.profile-top {
display: flex;
gap: 20rpx;
}
.avatar {
width: 120rpx;
height: 120rpx;
border-radius: 50%;
background: #f7edf1;
}
.profile-copy {
flex: 1;
}
.nickname {
font-size: 38rpx;
font-weight: 700;
color: #2d2430;
}
.account,
.signature {
margin-top: 10rpx;
font-size: 24rpx;
color: #8d7a84;
line-height: 1.6;
}
.profile-stats {
margin-top: 26rpx;
}
.shop-box {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18rpx;
margin-top: 26rpx;
padding: 22rpx 24rpx;
border-radius: 24rpx;
background: #fff1f5;
}
.shop-label {
font-size: 22rpx;
color: #8d7a84;
}
.shop-name {
margin-top: 10rpx;
font-size: 28rpx;
font-weight: 700;
color: #2d2430;
}
.shop-link {
font-size: 24rpx;
color: #c6597d;
font-weight: 700;
}
.password-tip {
margin-top: 22rpx;
padding: 20rpx 24rpx;
border-radius: 20rpx;
background: #fff7e8;
color: #9b6900;
font-size: 24rpx;
line-height: 1.7;
}
.edit-btn {
margin-top: 24rpx;
}
.menu-card {
margin-top: 20rpx;
}
.menu-item {
display: flex;
align-items: center;
justify-content: space-between;
height: 92rpx;
border-bottom: 2rpx solid #f3e7eb;
font-size: 28rpx;
color: #2d2430;
}
.menu-item:first-of-type {
margin-top: 18rpx;
}
.menu-item:last-child {
border-bottom: 0;
}
.menu-arrow {
color: #c3aab4;
}
.logout-item {
color: #d5536f;
font-weight: 700;
}
.logout-item .menu-arrow {
color: #e0a7b5;
}