Files
JayuCloud/JY-Salon-WeChat/pages/profile/index.wxss
T

343 lines
5.5 KiB
Plaintext
Raw Normal View History

2026-07-24 17:20:44 +08:00
.profile-page {
min-height: 100vh;
2026-07-24 18:45:17 +08:00
padding: 18rpx 24rpx 156rpx;
2026-07-24 17:20:44 +08:00
background:
linear-gradient(180deg, rgba(253, 249, 242, 0.98), rgba(248, 244, 237, 0.98)),
linear-gradient(135deg, rgba(116, 148, 130, 0.12), rgba(230, 205, 160, 0.1));
}
.profile-hero {
overflow: hidden;
border-radius: 8px;
background:
radial-gradient(circle at 92% 4%, rgba(255, 255, 255, 0.72), transparent 32%),
linear-gradient(135deg, #eef8eb, #fffaf2);
box-shadow: 0 16rpx 40rpx rgba(77, 91, 72, 0.1);
}
.hero-main {
2026-06-04 16:39:06 +08:00
display: flex;
2026-07-24 17:20:44 +08:00
align-items: center;
2026-07-22 18:03:28 +08:00
gap: 24rpx;
2026-06-27 01:46:44 +08:00
min-width: 0;
2026-07-24 18:45:17 +08:00
padding: 38rpx 30rpx 28rpx;
2026-06-27 01:46:44 +08:00
}
2026-07-24 17:20:44 +08:00
.hero-avatar {
2026-06-04 16:39:06 +08:00
display: flex;
align-items: center;
justify-content: center;
2026-07-24 17:20:44 +08:00
flex: 0 0 auto;
2026-07-24 18:45:17 +08:00
width: 136rpx;
height: 136rpx;
2026-07-20 01:22:37 +08:00
overflow: hidden;
2026-07-24 17:20:44 +08:00
border: 4rpx solid rgba(255, 255, 255, 0.86);
border-radius: 50%;
background: #d8e8d9;
color: #5a8d68;
font-size: 42rpx;
2026-06-04 16:39:06 +08:00
font-weight: 900;
2026-07-24 17:20:44 +08:00
box-shadow: 0 12rpx 28rpx rgba(76, 105, 82, 0.14);
2026-06-04 16:39:06 +08:00
}
2026-07-24 17:20:44 +08:00
.hero-avatar image {
2026-07-20 01:22:37 +08:00
width: 100%;
height: 100%;
}
2026-07-24 17:20:44 +08:00
.hero-copy {
flex: 1;
2026-07-22 18:03:28 +08:00
min-width: 0;
2026-06-04 16:39:06 +08:00
}
2026-07-24 17:20:44 +08:00
.hero-title-row,
.shop-line,
.business-line {
2026-07-22 18:03:28 +08:00
display: flex;
align-items: center;
2026-07-24 17:20:44 +08:00
min-width: 0;
2026-07-22 18:03:28 +08:00
}
2026-07-24 17:20:44 +08:00
.hero-title-row {
gap: 14rpx;
}
.hero-title {
display: block;
min-width: 0;
overflow: hidden;
color: #25211d;
font-size: 34rpx;
2026-07-22 18:03:28 +08:00
font-weight: 900;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
2026-06-04 16:39:06 +08:00
}
2026-06-27 01:46:44 +08:00
.role-badge {
2026-07-24 17:20:44 +08:00
flex: 0 0 auto;
padding: 6rpx 16rpx;
2026-06-27 01:46:44 +08:00
border-radius: 999rpx;
2026-07-24 17:20:44 +08:00
background: #dcefe0;
color: #4e8a61;
font-size: 21rpx;
font-weight: 900;
2026-06-27 01:46:44 +08:00
line-height: 1.2;
}
2026-07-24 17:20:44 +08:00
.shop-line {
gap: 8rpx;
margin-top: 14rpx;
color: #67615a;
font-size: 26rpx;
font-weight: 700;
line-height: 1.2;
}
.shop-line text:first-child {
display: block;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.hero-arrow {
flex: 0 0 auto;
color: #938b82;
font-size: 38rpx;
line-height: 1;
}
.business-line {
flex-wrap: wrap;
gap: 12rpx;
margin-top: 16rpx;
}
.status-badge {
flex: 0 0 auto;
padding: 5rpx 14rpx;
border-radius: 999rpx;
color: #fff;
font-size: 21rpx;
font-weight: 900;
line-height: 1.2;
}
.status-badge.open {
background: #5e9a71;
}
.status-badge.warning {
background: #c68a33;
}
.status-badge.closed {
background: #9a9a9a;
}
.business-hours {
display: block;
min-width: 0;
overflow: hidden;
color: #858077;
font-size: 24rpx;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.stats-card {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
border-top: 1rpx solid rgba(103, 131, 105, 0.1);
2026-07-24 18:45:17 +08:00
background: rgba(255, 255, 255, 0.7);
2026-07-24 17:20:44 +08:00
}
.stat-item {
2026-07-22 18:03:28 +08:00
display: flex;
flex-direction: column;
align-items: center;
min-width: 0;
2026-07-24 18:45:17 +08:00
min-height: 138rpx;
padding: 20rpx 10rpx 18rpx;
2026-07-24 17:20:44 +08:00
border-right: 1rpx solid rgba(103, 131, 105, 0.1);
2026-07-22 18:03:28 +08:00
}
2026-07-24 17:20:44 +08:00
.stat-item:last-child {
border-right: 0;
}
.stat-mark {
display: flex;
align-items: center;
justify-content: center;
2026-07-24 18:45:17 +08:00
width: 38rpx;
height: 38rpx;
2026-07-24 17:20:44 +08:00
margin-bottom: 8rpx;
border-radius: 50%;
background: #6d9878;
color: #fff;
font-size: 20rpx;
font-weight: 900;
line-height: 1;
}
.stat-label,
.stat-value,
.stat-unit {
2026-07-22 18:03:28 +08:00
display: block;
2026-07-24 17:20:44 +08:00
max-width: 100%;
2026-07-22 18:03:28 +08:00
overflow: hidden;
2026-07-24 17:20:44 +08:00
text-align: center;
2026-07-22 18:03:28 +08:00
text-overflow: ellipsis;
white-space: nowrap;
}
2026-07-24 17:20:44 +08:00
.stat-label {
color: #8c857d;
font-size: 22rpx;
font-weight: 700;
2026-07-22 18:03:28 +08:00
line-height: 1.2;
}
2026-07-24 17:20:44 +08:00
.stat-value {
margin-top: 10rpx;
color: #25211d;
font-size: 34rpx;
font-weight: 900;
line-height: 1.05;
}
.stat-unit {
margin-top: 4rpx;
color: #a29a92;
font-size: 20rpx;
line-height: 1.2;
}
.menu-section {
2026-07-24 18:45:17 +08:00
margin-top: 32rpx;
2026-07-24 17:20:44 +08:00
}
.section-title {
display: block;
2026-07-24 18:45:17 +08:00
margin: 0 8rpx 18rpx;
2026-07-24 17:20:44 +08:00
color: #302b26;
font-size: 28rpx;
2026-07-22 18:03:28 +08:00
font-weight: 900;
line-height: 1.2;
}
2026-07-24 17:20:44 +08:00
.menu-card {
2026-06-04 16:39:06 +08:00
overflow: hidden;
2026-07-24 17:20:44 +08:00
border-radius: 8px;
2026-07-24 18:45:17 +08:00
background: rgba(255, 255, 255, 0.92);
2026-07-24 17:20:44 +08:00
box-shadow: 0 12rpx 30rpx rgba(65, 54, 42, 0.06);
2026-06-04 16:39:06 +08:00
}
.menu-row {
display: flex;
align-items: center;
2026-07-24 18:45:17 +08:00
gap: 22rpx;
min-height: 86rpx;
padding: 10rpx 24rpx;
2026-06-04 16:39:06 +08:00
border-bottom: 1rpx solid #eee8df;
}
.menu-row:last-child {
border-bottom: 0;
}
2026-07-24 17:20:44 +08:00
.menu-mark {
display: flex;
align-items: center;
2026-07-16 14:55:48 +08:00
justify-content: center;
2026-07-24 17:20:44 +08:00
flex: 0 0 auto;
2026-07-24 18:45:17 +08:00
width: 50rpx;
height: 50rpx;
border-radius: 14rpx;
background: #e6f3e8;
color: #5f936d;
2026-07-24 17:20:44 +08:00
font-size: 23rpx;
font-weight: 900;
line-height: 1;
}
.menu-copy {
flex: 1;
min-width: 0;
}
.menu-title,
.menu-desc {
display: block;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.menu-title {
color: #2f2a25;
2026-07-24 18:45:17 +08:00
font-size: 27rpx;
2026-07-24 17:20:44 +08:00
font-weight: 800;
line-height: 1.25;
}
.menu-desc {
2026-07-24 18:45:17 +08:00
margin-top: 5rpx;
2026-07-24 17:20:44 +08:00
color: #938b82;
font-size: 22rpx;
line-height: 1.2;
2026-07-16 14:55:48 +08:00
}
2026-06-04 16:39:06 +08:00
.arrow {
2026-07-24 17:20:44 +08:00
flex: 0 0 auto;
color: #b7afa6;
font-size: 42rpx;
line-height: 1;
}
.logout-card {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
2026-07-24 18:45:17 +08:00
min-height: 84rpx;
2026-07-24 17:20:44 +08:00
margin-top: 34rpx;
border-radius: 8px;
background: rgba(255, 255, 255, 0.9);
color: #d55e58;
font-size: 28rpx;
font-weight: 900;
box-shadow: 0 12rpx 30rpx rgba(65, 54, 42, 0.05);
2026-06-04 16:39:06 +08:00
}
2026-06-27 15:19:32 +08:00
2026-07-22 18:03:28 +08:00
@media (max-width: 340px) {
2026-07-24 17:20:44 +08:00
.hero-main {
align-items: flex-start;
gap: 18rpx;
padding: 28rpx 22rpx 22rpx;
2026-07-22 18:03:28 +08:00
}
2026-07-24 17:20:44 +08:00
.hero-avatar {
width: 108rpx;
height: 108rpx;
2026-07-22 18:03:28 +08:00
}
2026-07-24 17:20:44 +08:00
.stats-card {
2026-07-22 18:03:28 +08:00
grid-template-columns: 1fr;
}
2026-07-24 17:20:44 +08:00
.stat-item {
border-right: 0;
border-bottom: 1rpx solid rgba(103, 131, 105, 0.1);
}
.stat-item:last-child {
border-bottom: 0;
}
2026-06-27 15:19:32 +08:00
}