重构项目文件夹目录
This commit is contained in:
@@ -0,0 +1,267 @@
|
||||
.profile-page-root {
|
||||
min-height: 100vh;
|
||||
background: var(--theme-page-bg);
|
||||
}
|
||||
|
||||
.profile-scroll {
|
||||
min-height: 100%;
|
||||
background: var(--theme-page-bg);
|
||||
}
|
||||
|
||||
.profile-page {
|
||||
min-height: 100%;
|
||||
background: var(--theme-page-bg);
|
||||
}
|
||||
|
||||
.profile-bg {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 228rpx;
|
||||
background: var(--theme-gradient);
|
||||
}
|
||||
|
||||
.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: var(--text-primary);
|
||||
}
|
||||
|
||||
.guest-desc {
|
||||
font-size: 24rpx;
|
||||
line-height: 1.7;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.profile-top {
|
||||
display: flex;
|
||||
gap: 20rpx;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 120rpx;
|
||||
height: 120rpx;
|
||||
border-radius: 50%;
|
||||
background: var(--theme-primary-soft);
|
||||
}
|
||||
|
||||
.profile-copy {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.nickname {
|
||||
font-size: 38rpx;
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.account,
|
||||
.signature {
|
||||
margin-top: 10rpx;
|
||||
font-size: 24rpx;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.profile-stats {
|
||||
margin-top: 26rpx;
|
||||
}
|
||||
|
||||
.pending-review-card {
|
||||
display: grid;
|
||||
gap: 8rpx;
|
||||
margin-top: 22rpx;
|
||||
padding: 20rpx 24rpx;
|
||||
border-radius: 20rpx;
|
||||
background: var(--theme-primary-soft);
|
||||
color: var(--text-secondary);
|
||||
font-size: 24rpx;
|
||||
}
|
||||
|
||||
.pending-review-card text:first-child {
|
||||
color: var(--theme-primary);
|
||||
font-size: 28rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.growth-card {
|
||||
margin-top: 22rpx;
|
||||
padding: 22rpx 24rpx;
|
||||
border-radius: 20rpx;
|
||||
background: var(--theme-card-bg);
|
||||
border: 2rpx solid var(--theme-border);
|
||||
}
|
||||
|
||||
.growth-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 18rpx;
|
||||
}
|
||||
|
||||
.growth-label {
|
||||
color: var(--text-secondary);
|
||||
font-size: 24rpx;
|
||||
}
|
||||
|
||||
.growth-level {
|
||||
color: var(--theme-primary);
|
||||
font-size: 28rpx;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.growth-metrics {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 12rpx;
|
||||
margin-top: 18rpx;
|
||||
}
|
||||
|
||||
.growth-metrics view {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6rpx;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.growth-metrics text:first-child {
|
||||
color: var(--text-primary);
|
||||
font-size: 30rpx;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.growth-metrics text:last-child {
|
||||
color: var(--text-secondary);
|
||||
font-size: 22rpx;
|
||||
}
|
||||
|
||||
.shop-box {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 18rpx;
|
||||
margin-top: 26rpx;
|
||||
padding: 22rpx 24rpx;
|
||||
border-radius: 24rpx;
|
||||
background: var(--theme-primary-soft);
|
||||
}
|
||||
|
||||
.shop-label {
|
||||
font-size: 22rpx;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.shop-name {
|
||||
margin-top: 10rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.shop-link {
|
||||
font-size: 24rpx;
|
||||
color: var(--theme-primary);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.password-tip {
|
||||
margin-top: 22rpx;
|
||||
padding: 20rpx 24rpx;
|
||||
border-radius: 20rpx;
|
||||
background: var(--theme-secondary-soft);
|
||||
color: var(--theme-neutral);
|
||||
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 var(--theme-border);
|
||||
font-size: 28rpx;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.menu-item:first-of-type {
|
||||
margin-top: 18rpx;
|
||||
}
|
||||
|
||||
.menu-item:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.menu-arrow {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.menu-badge {
|
||||
margin-left: auto;
|
||||
min-width: 36rpx;
|
||||
height: 36rpx;
|
||||
padding: 0 10rpx;
|
||||
border-radius: 18rpx;
|
||||
background: var(--theme-primary);
|
||||
color: var(--theme-tertiary);
|
||||
font-size: 22rpx;
|
||||
line-height: 36rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.menu-badge + .menu-arrow {
|
||||
margin-left: 16rpx;
|
||||
}
|
||||
|
||||
.logout-item {
|
||||
color: var(--theme-neutral);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.admin-entry-item {
|
||||
color: var(--theme-primary-action);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.admin-entry-item .menu-arrow {
|
||||
color: var(--theme-primary-action);
|
||||
}
|
||||
|
||||
.logout-item .menu-arrow {
|
||||
color: var(--theme-primary);
|
||||
}
|
||||
Reference in New Issue
Block a user