816 lines
13 KiB
Plaintext
816 lines
13 KiB
Plaintext
.shop-settings-page {
|
|
background:
|
|
linear-gradient(180deg, rgba(250, 250, 244, 0.98), rgba(248, 244, 237, 0.98)),
|
|
linear-gradient(135deg, rgba(111, 143, 131, 0.12), rgba(228, 200, 150, 0.1));
|
|
}
|
|
|
|
.nav-spacer {
|
|
height: 6rpx;
|
|
}
|
|
|
|
.loading-state {
|
|
padding: 48rpx 24rpx;
|
|
color: #7b7167;
|
|
text-align: center;
|
|
}
|
|
|
|
.shop-hero {
|
|
position: relative;
|
|
overflow: hidden;
|
|
border: 1rpx solid rgba(91, 132, 102, 0.16);
|
|
border-radius: 28rpx;
|
|
background: #edf6ea;
|
|
box-shadow: 0 18rpx 38rpx rgba(73, 101, 85, 0.12);
|
|
}
|
|
|
|
.hero-bg {
|
|
position: absolute;
|
|
top: -72rpx;
|
|
right: -54rpx;
|
|
width: 250rpx;
|
|
height: 250rpx;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.48);
|
|
}
|
|
|
|
.hero-content {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 22rpx;
|
|
min-height: 214rpx;
|
|
padding: 34rpx 30rpx 26rpx;
|
|
}
|
|
|
|
.hero-avatar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 0 0 auto;
|
|
width: 126rpx;
|
|
height: 126rpx;
|
|
overflow: hidden;
|
|
border: 4rpx solid rgba(255, 255, 255, 0.76);
|
|
border-radius: 50%;
|
|
background: #d7e6d8;
|
|
color: #4d8262;
|
|
font-size: 42rpx;
|
|
font-weight: 900;
|
|
box-shadow: 0 12rpx 26rpx rgba(68, 87, 72, 0.13);
|
|
}
|
|
|
|
.hero-avatar image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.hero-main {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.hero-title-row,
|
|
.hero-badges,
|
|
.hero-meta-row {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
}
|
|
|
|
.hero-title-row {
|
|
gap: 8rpx;
|
|
}
|
|
|
|
.hero-title {
|
|
display: block;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
color: #27231f;
|
|
font-size: 32rpx;
|
|
font-weight: 900;
|
|
line-height: 1.25;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.edit-mark {
|
|
flex: 0 0 auto;
|
|
color: #9ba78f;
|
|
font-size: 24rpx;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.hero-badges {
|
|
flex-wrap: wrap;
|
|
gap: 10rpx;
|
|
margin-top: 14rpx;
|
|
}
|
|
|
|
.status-badge,
|
|
.soft-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
max-width: 100%;
|
|
min-height: 42rpx;
|
|
padding: 0 16rpx;
|
|
overflow: hidden;
|
|
border-radius: 999rpx;
|
|
font-size: 22rpx;
|
|
font-weight: 800;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.status-badge.open {
|
|
background: #dff0e3;
|
|
color: #2f7a51;
|
|
}
|
|
|
|
.status-badge.closed {
|
|
background: #f5e5e2;
|
|
color: #a35249;
|
|
}
|
|
|
|
.status-badge.warning {
|
|
background: #fff4d8;
|
|
color: #a56c21;
|
|
}
|
|
|
|
.soft-badge {
|
|
background: rgba(255, 255, 255, 0.72);
|
|
color: #7c806d;
|
|
}
|
|
|
|
.hero-meta-row {
|
|
gap: 8rpx;
|
|
margin-top: 14rpx;
|
|
color: #7f8979;
|
|
font-size: 24rpx;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.meta-dot {
|
|
flex: 0 0 auto;
|
|
color: #9ab495;
|
|
}
|
|
|
|
.hero-address {
|
|
display: block;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.hero-arrow {
|
|
flex: 0 0 auto;
|
|
color: #a8b1a4;
|
|
font-size: 52rpx;
|
|
font-weight: 300;
|
|
line-height: 1;
|
|
}
|
|
|
|
.hero-stats {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
min-height: 122rpx;
|
|
border-radius: 24rpx 24rpx 0 0;
|
|
background: rgba(255, 255, 255, 0.92);
|
|
box-shadow: 0 -8rpx 22rpx rgba(70, 65, 56, 0.05);
|
|
}
|
|
|
|
.stat-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
gap: 10rpx;
|
|
padding: 18rpx 10rpx;
|
|
border-right: 1rpx solid #eee8df;
|
|
}
|
|
|
|
.stat-item:last-child {
|
|
border-right: 0;
|
|
}
|
|
|
|
.stat-item text,
|
|
.stat-item view {
|
|
display: block;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.stat-item text {
|
|
color: #8d8379;
|
|
font-size: 22rpx;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.stat-item view {
|
|
color: #211f1c;
|
|
font-size: 25rpx;
|
|
font-weight: 900;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.section {
|
|
margin-top: 30rpx;
|
|
}
|
|
|
|
.section-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16rpx;
|
|
margin: 0 4rpx 16rpx;
|
|
}
|
|
|
|
.section-title-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
gap: 12rpx;
|
|
}
|
|
|
|
.leaf-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 0 0 auto;
|
|
width: 32rpx;
|
|
height: 32rpx;
|
|
border-radius: 50%;
|
|
background: #dbeadf;
|
|
color: #5f9572;
|
|
font-size: 20rpx;
|
|
line-height: 1;
|
|
}
|
|
|
|
.section-title {
|
|
color: #2d2924;
|
|
font-size: 30rpx;
|
|
font-weight: 900;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.section-link {
|
|
flex: 0 0 auto;
|
|
color: #4f9b6d;
|
|
font-size: 24rpx;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.settings-card {
|
|
overflow: hidden;
|
|
border-radius: 24rpx;
|
|
background: rgba(255, 255, 255, 0.94);
|
|
box-shadow: 0 14rpx 30rpx rgba(66, 58, 47, 0.06);
|
|
}
|
|
|
|
.settings-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18rpx;
|
|
min-height: 96rpx;
|
|
padding: 18rpx 24rpx;
|
|
border-bottom: 1rpx solid #eee8df;
|
|
}
|
|
|
|
.settings-row.row-last {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.tall-row {
|
|
align-items: flex-start;
|
|
min-height: 108rpx;
|
|
}
|
|
|
|
.row-label {
|
|
flex: 0 0 154rpx;
|
|
color: #302c27;
|
|
font-size: 26rpx;
|
|
font-weight: 800;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.row-value {
|
|
display: block;
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
color: #8f877e;
|
|
font-size: 25rpx;
|
|
font-weight: 600;
|
|
line-height: 1.4;
|
|
text-align: right;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.muted-value {
|
|
color: #aaa097;
|
|
}
|
|
|
|
.accent-value {
|
|
color: #ba823a;
|
|
}
|
|
|
|
.row-arrow,
|
|
.row-eye {
|
|
flex: 0 0 auto;
|
|
color: #b4aea6;
|
|
font-size: 40rpx;
|
|
font-weight: 300;
|
|
line-height: 1;
|
|
}
|
|
|
|
.row-eye {
|
|
color: #73a083;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.row-thumb {
|
|
flex: 0 0 auto;
|
|
width: 62rpx;
|
|
height: 62rpx;
|
|
overflow: hidden;
|
|
border-radius: 50%;
|
|
background: #edf1eb;
|
|
}
|
|
|
|
.row-thumb image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.row-tags {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
gap: 10rpx;
|
|
min-width: 0;
|
|
}
|
|
|
|
.tag-preview {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
max-width: 188rpx;
|
|
min-height: 44rpx;
|
|
padding: 0 14rpx;
|
|
overflow: hidden;
|
|
border: 1rpx solid;
|
|
border-radius: 999rpx;
|
|
font-size: 22rpx;
|
|
font-weight: 800;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.empty-inline {
|
|
padding: 12rpx 0;
|
|
color: #a0968e;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.sheet-mask {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 30;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
background: rgba(45, 35, 29, 0.36);
|
|
}
|
|
|
|
.schedule-sheet {
|
|
width: 100%;
|
|
max-height: 88vh;
|
|
padding: 14rpx 24rpx calc(22rpx + env(safe-area-inset-bottom));
|
|
overflow-y: auto;
|
|
border-radius: 28rpx 28rpx 0 0;
|
|
background: #fffdf8;
|
|
box-shadow: 0 -18rpx 38rpx rgba(45, 35, 29, 0.18);
|
|
}
|
|
|
|
.sheet-handle {
|
|
width: 68rpx;
|
|
height: 8rpx;
|
|
margin: 0 auto 20rpx;
|
|
border-radius: 8rpx;
|
|
background: #ddd3ca;
|
|
}
|
|
|
|
.sheet-head,
|
|
.exception-history-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16rpx;
|
|
}
|
|
|
|
.sheet-head {
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.sheet-title {
|
|
color: #332c27;
|
|
font-size: 32rpx;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.sheet-close {
|
|
color: #a59a91;
|
|
font-size: 40rpx;
|
|
font-weight: 300;
|
|
line-height: 1;
|
|
}
|
|
|
|
.sheet-tabs {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8rpx;
|
|
margin-bottom: 18rpx;
|
|
padding: 6rpx;
|
|
border-radius: 16rpx;
|
|
background: #f5efe8;
|
|
}
|
|
|
|
.sheet-tab {
|
|
padding: 14rpx;
|
|
border-radius: 12rpx;
|
|
color: #958a80;
|
|
font-size: 24rpx;
|
|
font-weight: 900;
|
|
text-align: center;
|
|
}
|
|
|
|
.sheet-tab.active {
|
|
background: #fffdf8;
|
|
color: #2f7a51;
|
|
box-shadow: 0 6rpx 14rpx rgba(67, 52, 41, 0.07);
|
|
}
|
|
|
|
.sheet-field-block {
|
|
padding: 18rpx 0;
|
|
border-bottom: 1rpx solid #eee8df;
|
|
}
|
|
|
|
.sheet-field-title {
|
|
display: block;
|
|
margin-bottom: 14rpx;
|
|
color: #6f665c;
|
|
font-size: 24rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.preset-grid,
|
|
.weekday-grid {
|
|
display: grid;
|
|
gap: 12rpx;
|
|
}
|
|
|
|
.preset-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.weekday-grid {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
.preset-chip,
|
|
.weekday-chip {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 64rpx;
|
|
border: 2rpx solid #e3ddd2;
|
|
border-radius: 14rpx;
|
|
background: #fffaf2;
|
|
color: #5f564c;
|
|
font-size: 23rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.preset-chip.active,
|
|
.weekday-chip.active {
|
|
border-color: #75a78e;
|
|
background: #e5f2eb;
|
|
color: #2f6b55;
|
|
}
|
|
|
|
.sheet-field {
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 88rpx;
|
|
gap: 18rpx;
|
|
border-bottom: 1rpx solid #eee8df;
|
|
}
|
|
|
|
.sheet-field-label {
|
|
flex: 0 0 160rpx;
|
|
color: #625c55;
|
|
font-size: 25rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.sheet-field-value,
|
|
.sheet-field input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
color: #3f382f;
|
|
font-size: 26rpx;
|
|
font-weight: 800;
|
|
text-align: right;
|
|
}
|
|
|
|
.sheet-field input {
|
|
height: 58rpx;
|
|
padding: 0 18rpx;
|
|
border: 1rpx solid #eadfd2;
|
|
border-radius: 16rpx;
|
|
background: #fff8f2;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.sheet-save {
|
|
margin-top: 22rpx;
|
|
}
|
|
|
|
.profile-sheet {
|
|
padding-bottom: calc(28rpx + env(safe-area-inset-bottom));
|
|
}
|
|
|
|
.profile-field-column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14rpx;
|
|
padding: 10rpx 0 4rpx;
|
|
}
|
|
|
|
.profile-input,
|
|
.intro-editor {
|
|
min-height: 76rpx;
|
|
padding: 0 22rpx;
|
|
border: 1rpx solid #eadfd2;
|
|
border-radius: 18rpx;
|
|
background: #fff8f2;
|
|
color: #3d3128;
|
|
font-size: 28rpx;
|
|
line-height: 76rpx;
|
|
}
|
|
|
|
.intro-editor {
|
|
position: relative;
|
|
min-height: 184rpx;
|
|
padding: 18rpx 22rpx 42rpx;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.intro-editor textarea {
|
|
width: 100%;
|
|
height: 124rpx;
|
|
color: #3d3128;
|
|
font-size: 26rpx;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.intro-placeholder {
|
|
color: #b4a79b;
|
|
}
|
|
|
|
.intro-count {
|
|
position: absolute;
|
|
right: 22rpx;
|
|
bottom: 12rpx;
|
|
color: #b2a396;
|
|
font-size: 20rpx;
|
|
line-height: 1;
|
|
}
|
|
|
|
.cover-card {
|
|
position: relative;
|
|
height: 320rpx;
|
|
overflow: hidden;
|
|
border-radius: 24rpx;
|
|
background:
|
|
linear-gradient(135deg, rgba(73, 101, 85, 0.95), rgba(179, 131, 90, 0.95)),
|
|
radial-gradient(circle at 24% 22%, rgba(255, 245, 223, 0.28), transparent 36%);
|
|
box-shadow: 0 18rpx 34rpx rgba(83, 64, 44, 0.14);
|
|
}
|
|
|
|
.compact-cover-card {
|
|
margin-top: 8rpx;
|
|
}
|
|
|
|
.cover-preview,
|
|
.cover-preview image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.cover-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10rpx;
|
|
color: rgba(255, 255, 255, 0.82);
|
|
}
|
|
|
|
.cover-empty-title {
|
|
font-size: 34rpx;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.cover-empty-desc {
|
|
font-size: 23rpx;
|
|
font-weight: 600;
|
|
opacity: 0.86;
|
|
}
|
|
|
|
.cover-actions {
|
|
position: static;
|
|
display: flex;
|
|
gap: 12rpx;
|
|
margin-top: 16rpx;
|
|
padding: 0 4rpx;
|
|
}
|
|
|
|
.cover-card .cover-actions {
|
|
position: absolute;
|
|
right: 24rpx;
|
|
bottom: -92rpx;
|
|
left: 24rpx;
|
|
}
|
|
|
|
.compact-cover-card {
|
|
margin-bottom: 106rpx;
|
|
overflow: visible;
|
|
}
|
|
|
|
.cover-btn,
|
|
.cover-remove {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 76rpx;
|
|
padding: 0 20rpx;
|
|
border-radius: 12px;
|
|
font-size: 24rpx;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.cover-btn {
|
|
flex: 1;
|
|
width: auto;
|
|
min-width: 0;
|
|
max-width: none;
|
|
}
|
|
|
|
.cover-remove {
|
|
flex: 0 0 150rpx;
|
|
box-sizing: border-box;
|
|
min-width: 150rpx;
|
|
background: rgba(255, 253, 248, 0.18);
|
|
color: #fffdf8;
|
|
}
|
|
|
|
.gallery-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16rpx;
|
|
margin-bottom: 18rpx;
|
|
}
|
|
|
|
.gallery-head view {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8rpx;
|
|
min-width: 0;
|
|
}
|
|
|
|
.gallery-subtitle {
|
|
color: #8a796a;
|
|
font-size: 23rpx;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.gallery-count {
|
|
flex: 0 0 auto;
|
|
color: #7c9a82;
|
|
font-size: 24rpx;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.gallery-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 14rpx;
|
|
}
|
|
|
|
.gallery-item,
|
|
.gallery-add {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
aspect-ratio: 1 / 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
border-radius: 18rpx;
|
|
background: #f5efe8;
|
|
}
|
|
|
|
.gallery-item image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.gallery-placeholder {
|
|
color: #9d968e;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.gallery-remove {
|
|
position: absolute;
|
|
top: 8rpx;
|
|
right: 8rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 38rpx;
|
|
height: 38rpx;
|
|
border-radius: 50%;
|
|
background: rgba(39, 35, 31, 0.58);
|
|
color: #fffdf8;
|
|
font-size: 30rpx;
|
|
font-weight: 300;
|
|
line-height: 1;
|
|
}
|
|
|
|
.gallery-add {
|
|
flex-direction: column;
|
|
gap: 8rpx;
|
|
border: 2rpx dashed #cfdccf;
|
|
background: #f8fbf6;
|
|
color: #6f8f83;
|
|
font-size: 23rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.gallery-add-icon {
|
|
font-size: 42rpx;
|
|
font-weight: 300;
|
|
line-height: 1;
|
|
}
|
|
|
|
.exception-history {
|
|
margin-top: 24rpx;
|
|
padding: 18rpx;
|
|
border-radius: 18rpx;
|
|
background: #faf5ef;
|
|
}
|
|
|
|
.exception-history-head {
|
|
color: #6f665c;
|
|
font-size: 23rpx;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.exception-history-head text:last-child {
|
|
color: #a0968e;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.exception-history-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12rpx;
|
|
margin-top: 14rpx;
|
|
}
|
|
|
|
.exception-history-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6rpx;
|
|
padding-top: 12rpx;
|
|
border-top: 1rpx solid #eee5da;
|
|
color: #4f473f;
|
|
font-size: 23rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.exception-history-remark {
|
|
color: #9a8f86;
|
|
font-size: 21rpx;
|
|
font-weight: 500;
|
|
}
|