343 lines
5.5 KiB
Plaintext
343 lines
5.5 KiB
Plaintext
.profile-page {
|
|
min-height: 100vh;
|
|
padding: 18rpx 24rpx 156rpx;
|
|
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 {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 24rpx;
|
|
min-width: 0;
|
|
padding: 38rpx 30rpx 28rpx;
|
|
}
|
|
|
|
.hero-avatar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 0 0 auto;
|
|
width: 136rpx;
|
|
height: 136rpx;
|
|
overflow: hidden;
|
|
border: 4rpx solid rgba(255, 255, 255, 0.86);
|
|
border-radius: 50%;
|
|
background: #d8e8d9;
|
|
color: #5a8d68;
|
|
font-size: 42rpx;
|
|
font-weight: 900;
|
|
box-shadow: 0 12rpx 28rpx rgba(76, 105, 82, 0.14);
|
|
}
|
|
|
|
.hero-avatar image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.hero-copy {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.hero-title-row,
|
|
.shop-line,
|
|
.business-line {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
}
|
|
|
|
.hero-title-row {
|
|
gap: 14rpx;
|
|
}
|
|
|
|
.hero-title {
|
|
display: block;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
color: #25211d;
|
|
font-size: 34rpx;
|
|
font-weight: 900;
|
|
line-height: 1.2;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.role-badge {
|
|
flex: 0 0 auto;
|
|
padding: 6rpx 16rpx;
|
|
border-radius: 999rpx;
|
|
background: #dcefe0;
|
|
color: #4e8a61;
|
|
font-size: 21rpx;
|
|
font-weight: 900;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.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);
|
|
background: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.stat-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
min-width: 0;
|
|
min-height: 138rpx;
|
|
padding: 20rpx 10rpx 18rpx;
|
|
border-right: 1rpx solid rgba(103, 131, 105, 0.1);
|
|
}
|
|
|
|
.stat-item:last-child {
|
|
border-right: 0;
|
|
}
|
|
|
|
.stat-mark {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 38rpx;
|
|
height: 38rpx;
|
|
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 {
|
|
display: block;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-align: center;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.stat-label {
|
|
color: #8c857d;
|
|
font-size: 22rpx;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.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 {
|
|
margin-top: 32rpx;
|
|
}
|
|
|
|
.section-title {
|
|
display: block;
|
|
margin: 0 8rpx 18rpx;
|
|
color: #302b26;
|
|
font-size: 28rpx;
|
|
font-weight: 900;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.menu-card {
|
|
overflow: hidden;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.92);
|
|
box-shadow: 0 12rpx 30rpx rgba(65, 54, 42, 0.06);
|
|
}
|
|
|
|
.menu-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 22rpx;
|
|
min-height: 86rpx;
|
|
padding: 10rpx 24rpx;
|
|
border-bottom: 1rpx solid #eee8df;
|
|
}
|
|
|
|
.menu-row:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.menu-mark {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 0 0 auto;
|
|
width: 50rpx;
|
|
height: 50rpx;
|
|
border-radius: 14rpx;
|
|
background: #e6f3e8;
|
|
color: #5f936d;
|
|
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;
|
|
font-size: 27rpx;
|
|
font-weight: 800;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.menu-desc {
|
|
margin-top: 5rpx;
|
|
color: #938b82;
|
|
font-size: 22rpx;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.arrow {
|
|
flex: 0 0 auto;
|
|
color: #b7afa6;
|
|
font-size: 42rpx;
|
|
line-height: 1;
|
|
}
|
|
|
|
.logout-card {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
min-height: 84rpx;
|
|
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);
|
|
}
|
|
|
|
@media (max-width: 340px) {
|
|
.hero-main {
|
|
align-items: flex-start;
|
|
gap: 18rpx;
|
|
padding: 28rpx 22rpx 22rpx;
|
|
}
|
|
|
|
.hero-avatar {
|
|
width: 108rpx;
|
|
height: 108rpx;
|
|
}
|
|
|
|
.stats-card {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.stat-item {
|
|
border-right: 0;
|
|
border-bottom: 1rpx solid rgba(103, 131, 105, 0.1);
|
|
}
|
|
|
|
.stat-item:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
}
|