优化店务小程序店铺设置UI
This commit is contained in:
@@ -1,28 +1,11 @@
|
||||
.page {
|
||||
.shop-settings-page {
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(247, 240, 232, 0.96)),
|
||||
linear-gradient(135deg, rgba(89, 121, 102, 0.14), rgba(181, 134, 86, 0.12));
|
||||
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));
|
||||
}
|
||||
|
||||
.page-heading {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8rpx;
|
||||
margin: 4rpx 0 22rpx;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
color: #2f2a25;
|
||||
font-size: 36rpx;
|
||||
font-weight: 900;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.page-subtitle,
|
||||
.section-subtitle {
|
||||
color: #8a796a;
|
||||
font-size: 23rpx;
|
||||
line-height: 1.4;
|
||||
.nav-spacer {
|
||||
height: 6rpx;
|
||||
}
|
||||
|
||||
.loading-state {
|
||||
@@ -31,120 +14,211 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.cover-card {
|
||||
.shop-hero {
|
||||
position: relative;
|
||||
height: 340rpx;
|
||||
overflow: hidden;
|
||||
border: 1rpx solid rgba(91, 132, 102, 0.16);
|
||||
border-radius: 28rpx;
|
||||
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 22rpx 46rpx rgba(83, 64, 44, 0.18);
|
||||
background: #edf6ea;
|
||||
box-shadow: 0 18rpx 38rpx rgba(73, 101, 85, 0.12);
|
||||
}
|
||||
|
||||
.cover-preview,
|
||||
.cover-preview image {
|
||||
.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%;
|
||||
}
|
||||
|
||||
.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: 36rpx;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.cover-empty-desc {
|
||||
font-size: 23rpx;
|
||||
font-weight: 600;
|
||||
opacity: 0.86;
|
||||
}
|
||||
|
||||
.cover-badge {
|
||||
position: absolute;
|
||||
top: 26rpx;
|
||||
left: 28rpx;
|
||||
z-index: 2;
|
||||
padding: 8rpx 20rpx;
|
||||
border-radius: 999rpx;
|
||||
background: rgba(255, 244, 222, 0.88);
|
||||
color: #5b4635;
|
||||
font-size: 22rpx;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.cover-shade {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 20rpx;
|
||||
padding: 30rpx;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(30, 24, 19, 0.02), rgba(30, 24, 19, 0.6)),
|
||||
linear-gradient(110deg, rgba(48, 70, 56, 0.36), transparent 58%);
|
||||
}
|
||||
|
||||
.cover-copy {
|
||||
.hero-main {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
color: #fffdf8;
|
||||
}
|
||||
|
||||
.cover-title,
|
||||
.cover-desc {
|
||||
.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;
|
||||
}
|
||||
|
||||
.cover-title {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
font-size: 40rpx;
|
||||
color: #27231f;
|
||||
font-size: 32rpx;
|
||||
font-weight: 900;
|
||||
line-height: 1.25;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.cover-desc {
|
||||
margin-top: 8rpx;
|
||||
display: -webkit-box;
|
||||
overflow: hidden;
|
||||
max-width: 430rpx;
|
||||
font-size: 24rpx;
|
||||
line-height: 1.45;
|
||||
opacity: 0.9;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.cover-btn {
|
||||
display: flex;
|
||||
.edit-mark {
|
||||
flex: 0 0 auto;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 164rpx;
|
||||
min-height: 62rpx;
|
||||
padding: 0 20rpx;
|
||||
border-radius: 20rpx;
|
||||
background: #fff8ed;
|
||||
color: #6d4d35;
|
||||
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: 26rpx;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
|
||||
.section-head {
|
||||
@@ -155,201 +229,154 @@
|
||||
margin: 0 4rpx 16rpx;
|
||||
}
|
||||
|
||||
.section-head view {
|
||||
.section-title-wrap {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6rpx;
|
||||
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: #3f382f;
|
||||
color: #2d2924;
|
||||
font-size: 30rpx;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.section-subtitle {
|
||||
font-size: 22rpx;
|
||||
font-weight: 900;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.section-link {
|
||||
flex: 0 0 auto;
|
||||
color: #c86a5c;
|
||||
color: #4f9b6d;
|
||||
font-size: 24rpx;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.profile-summary-card,
|
||||
.tag-summary-card,
|
||||
.schedule-summary-card {
|
||||
.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);
|
||||
}
|
||||
|
||||
.profile-summary-card {
|
||||
padding: 8rpx 24rpx;
|
||||
}
|
||||
|
||||
.summary-row {
|
||||
.settings-row {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 20rpx;
|
||||
min-height: 92rpx;
|
||||
padding: 22rpx 0;
|
||||
align-items: center;
|
||||
gap: 18rpx;
|
||||
min-height: 96rpx;
|
||||
padding: 18rpx 24rpx;
|
||||
border-bottom: 1rpx solid #eee8df;
|
||||
}
|
||||
|
||||
.summary-row-last {
|
||||
.settings-row.row-last {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.summary-label {
|
||||
flex: 0 0 140rpx;
|
||||
color: #8d8175;
|
||||
font-size: 24rpx;
|
||||
font-weight: 700;
|
||||
.tall-row {
|
||||
align-items: flex-start;
|
||||
min-height: 108rpx;
|
||||
}
|
||||
|
||||
.summary-value {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
color: #332c27;
|
||||
.row-label {
|
||||
flex: 0 0 154rpx;
|
||||
color: #302c27;
|
||||
font-size: 26rpx;
|
||||
font-weight: 900;
|
||||
line-height: 1.45;
|
||||
text-align: right;
|
||||
font-weight: 800;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.summary-description {
|
||||
color: #6f655d;
|
||||
font-size: 24rpx;
|
||||
.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;
|
||||
}
|
||||
|
||||
.tag-summary-card {
|
||||
padding: 24rpx;
|
||||
.muted-value {
|
||||
color: #aaa097;
|
||||
}
|
||||
|
||||
.tag-cloud {
|
||||
.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;
|
||||
align-items: center;
|
||||
gap: 12rpx;
|
||||
justify-content: flex-end;
|
||||
gap: 10rpx;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.tag-preview {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 52rpx;
|
||||
max-width: 100%;
|
||||
padding: 0 18rpx;
|
||||
max-width: 188rpx;
|
||||
min-height: 44rpx;
|
||||
padding: 0 14rpx;
|
||||
overflow: hidden;
|
||||
border: 1rpx solid;
|
||||
border-radius: 999rpx;
|
||||
font-size: 24rpx;
|
||||
font-size: 22rpx;
|
||||
font-weight: 800;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.tag-add {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 52rpx;
|
||||
height: 52rpx;
|
||||
border: 1rpx dashed #e2b9af;
|
||||
border-radius: 50%;
|
||||
color: #c86a5c;
|
||||
font-size: 36rpx;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.empty-inline {
|
||||
padding: 12rpx 0;
|
||||
color: #a0968e;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
|
||||
.summary-action-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12rpx;
|
||||
margin-top: 20rpx;
|
||||
padding-top: 16rpx;
|
||||
border-top: 1rpx solid #eee8df;
|
||||
color: #9a8f86;
|
||||
font-size: 22rpx;
|
||||
}
|
||||
|
||||
.summary-arrow {
|
||||
flex: 0 0 auto;
|
||||
color: #b7aca3;
|
||||
font-size: 34rpx;
|
||||
font-weight: 300;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.schedule-summary-card {
|
||||
padding: 0 24rpx;
|
||||
}
|
||||
|
||||
.schedule-summary-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 18rpx;
|
||||
min-height: 120rpx;
|
||||
padding: 20rpx 0;
|
||||
border-bottom: 1rpx solid #eee8df;
|
||||
}
|
||||
|
||||
.special-summary-row {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.summary-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 0 0 auto;
|
||||
width: 64rpx;
|
||||
height: 64rpx;
|
||||
border-radius: 22rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.schedule-icon {
|
||||
background: #e5eee9;
|
||||
color: #55786d;
|
||||
}
|
||||
|
||||
.exception-icon {
|
||||
background: #fff0ed;
|
||||
color: #c86a5c;
|
||||
}
|
||||
|
||||
.summary-main {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
gap: 8rpx;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.summary-main .summary-value {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.summary-meta {
|
||||
overflow: hidden;
|
||||
color: #9b9188;
|
||||
font-size: 22rpx;
|
||||
line-height: 1.4;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.sheet-mask {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
@@ -426,7 +453,7 @@
|
||||
|
||||
.sheet-tab.active {
|
||||
background: #fffdf8;
|
||||
color: #c86a5c;
|
||||
color: #2f7a51;
|
||||
box-shadow: 0 6rpx 14rpx rgba(67, 52, 41, 0.07);
|
||||
}
|
||||
|
||||
@@ -516,6 +543,221 @@
|
||||
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: absolute;
|
||||
right: 24rpx;
|
||||
bottom: 22rpx;
|
||||
left: 24rpx;
|
||||
display: flex;
|
||||
gap: 12rpx;
|
||||
}
|
||||
|
||||
.cover-btn,
|
||||
.cover-remove {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 64rpx;
|
||||
padding: 0 20rpx;
|
||||
border-radius: 20rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.cover-btn {
|
||||
flex: 1;
|
||||
background: #fff8ed;
|
||||
color: #6d4d35;
|
||||
}
|
||||
|
||||
.cover-remove {
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user