优化店务小程序店铺设置和表单体验

This commit is contained in:
2026-07-22 15:41:12 +08:00
parent 492cbab0fd
commit b9989f8344
14 changed files with 543 additions and 44 deletions
+121 -1
View File
@@ -1,8 +1,128 @@
.cover-card {
position: relative;
height: 300rpx;
margin-bottom: 24rpx;
overflow: hidden;
border-radius: 22rpx;
background: linear-gradient(135deg, #7b9987, #c4996e);
box-shadow: 0 18rpx 36rpx rgba(83, 64, 44, 0.14);
}
.cover-preview,
.cover-preview image {
width: 100%;
height: 100%;
}
.cover-empty {
display: flex;
align-items: center;
justify-content: center;
color: rgba(255, 255, 255, 0.82);
font-size: 34rpx;
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: 28rpx;
background: linear-gradient(180deg, rgba(30, 24, 19, 0.08), rgba(30, 24, 19, 0.48));
}
.cover-copy {
min-width: 0;
color: #fffdf8;
}
.cover-title,
.cover-desc {
display: block;
}
.cover-title {
overflow: hidden;
font-size: 34rpx;
font-weight: 900;
line-height: 1.25;
text-overflow: ellipsis;
white-space: nowrap;
}
.cover-desc {
margin-top: 8rpx;
font-size: 23rpx;
opacity: 0.9;
}
.cover-actions {
display: flex;
flex: 0 0 auto;
flex-direction: column;
gap: 10rpx;
}
.cover-btn,
.cover-remove {
display: flex;
align-items: center;
justify-content: center;
min-width: 154rpx;
min-height: 58rpx;
padding: 0 20rpx;
border-radius: 16rpx;
font-size: 24rpx;
font-weight: 900;
}
.cover-btn {
background: #fffdf8;
color: #72553b;
}
.cover-remove {
background: rgba(255, 253, 248, 0.18);
color: #fffdf8;
}
.form-card,
.rule-card {
padding: 10rpx 0;
overflow: hidden;
}
.field {
min-height: 108rpx;
padding: 12rpx 24rpx;
}
.field-label,
.label-with-help {
width: 180rpx;
min-width: 180rpx;
}
.field input,
.field-value {
min-height: 70rpx;
padding: 0 22rpx;
border: 1rpx solid #eadfd2;
border-radius: 18rpx;
background: #fffaf4;
line-height: 70rpx;
}
.label-with-help {
display: flex;
align-items: center;
min-width: 144rpx;
}
.label-with-help .field-label {