优化店务小程序店铺设置UI

This commit is contained in:
2026-07-24 16:58:34 +08:00
parent 97821cf371
commit 32ba6b6d64
8 changed files with 1174 additions and 954 deletions
@@ -19,7 +19,8 @@
}
.page-subtitle,
.form-title {
.form-title,
.gallery-subtitle {
color: #8a796a;
font-size: 23rpx;
line-height: 1.4;
@@ -38,17 +39,17 @@
margin-bottom: 20rpx;
padding: 22rpx 24rpx;
border-radius: 22rpx;
background: #fff0ed;
background: #edf6ea;
}
.edit-tip-title {
color: #3e312d;
color: #2d392f;
font-size: 29rpx;
font-weight: 900;
}
.edit-tip-text {
color: #9f6c64;
color: #668268;
font-size: 23rpx;
line-height: 1.55;
}
@@ -136,12 +137,20 @@
color: #fffdf8;
}
.form-card {
.form-card,
.gallery-card {
margin-top: 24rpx;
padding: 12rpx 0;
overflow: hidden;
}
.form-card {
padding: 12rpx 0;
}
.gallery-card {
padding: 24rpx;
}
.form-header {
display: flex;
flex-direction: column;
@@ -229,6 +238,90 @@
line-height: 1;
}
.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-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;
}
.fixed-bottom {
display: flex;
gap: 14rpx;