优化店务小程序预约作品交互

This commit is contained in:
2026-07-21 12:09:28 +08:00
parent 75d38dc352
commit 7f9f9e74a6
11 changed files with 627 additions and 88 deletions
+151 -15
View File
@@ -127,7 +127,11 @@
}
.textarea-field {
align-items: flex-start;
align-items: center;
}
.textarea-field .field-label {
align-self: center;
}
.appointment-flags {
@@ -500,11 +504,86 @@
text-align: center;
}
.manual-panel {
margin-top: 12rpx;
padding: 20rpx;
.manual-entry-card {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18rpx;
margin-top: 18rpx;
padding: 18rpx;
border: 1rpx solid #eadfd2;
border-radius: 18rpx;
background: #fffdf8;
}
.manual-entry-title,
.manual-entry-desc,
.manual-sheet-title,
.manual-sheet-subtitle,
.manual-image-title,
.manual-image-desc {
display: block;
}
.manual-entry-title {
color: #302923;
font-size: 26rpx;
font-weight: 900;
}
.manual-entry-desc {
margin-top: 8rpx;
color: #8c8177;
font-size: 22rpx;
line-height: 1.45;
}
.manual-entry-btn {
flex: 0 0 auto;
width: 196rpx;
min-width: 196rpx;
max-width: 196rpx;
}
.manual-mask {
position: fixed;
inset: 0;
z-index: 90;
display: flex;
align-items: center;
justify-content: center;
padding: 38rpx 28rpx;
background: rgba(18, 15, 12, 0.48);
}
.manual-sheet {
width: 100%;
max-height: 86vh;
overflow-y: auto;
padding: 26rpx 24rpx calc(26rpx + env(safe-area-inset-bottom));
border-radius: 28rpx;
background: #f7efe7;
box-shadow: 0 24rpx 54rpx rgba(41, 31, 23, 0.22);
}
.manual-sheet-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18rpx;
margin-bottom: 20rpx;
}
.manual-sheet-title {
color: #27211d;
font-size: 34rpx;
font-weight: 900;
}
.manual-sheet-subtitle {
margin-top: 8rpx;
color: #8d8278;
font-size: 23rpx;
}
.manual-title {
@@ -547,37 +626,94 @@
}
.manual-image-row {
display: none;
}
.manual-image-section {
margin-top: 14rpx;
padding: 16rpx;
border-radius: 16rpx;
background: #fffaf4;
}
.manual-image-head {
display: flex;
align-items: center;
gap: 14rpx;
margin-top: 14rpx;
justify-content: space-between;
gap: 12rpx;
margin-bottom: 14rpx;
}
.manual-image-title {
color: #4e4740;
font-size: 24rpx;
font-weight: 900;
}
.manual-image-desc {
color: #958a7f;
font-size: 22rpx;
}
.manual-image-list {
display: flex;
flex-wrap: wrap;
gap: 12rpx;
}
.manual-image {
flex: 0 0 auto;
width: 92rpx;
height: 92rpx;
border-radius: 14rpx;
display: block;
width: 104rpx;
height: 104rpx;
border-radius: 16rpx;
background: #efe5da;
}
.manual-image.placeholder {
.manual-image-item {
position: relative;
width: 104rpx;
height: 104rpx;
}
.manual-image-empty {
display: flex;
align-items: center;
justify-content: center;
width: 104rpx;
height: 104rpx;
border-radius: 16rpx;
background: #efe5da;
color: #b79b82;
font-size: 26rpx;
font-weight: 900;
}
.manual-image-remove {
position: absolute;
top: -10rpx;
right: -10rpx;
display: flex;
align-items: center;
justify-content: center;
width: 34rpx;
height: 34rpx;
border-radius: 50%;
background: #bf4949;
color: #fff;
font-size: 24rpx;
font-weight: 900;
line-height: 34rpx;
}
.image-btn {
flex: 1;
min-width: 0;
max-width: none;
width: 100%;
min-width: 100%;
max-width: 100%;
margin-top: 14rpx;
}
.image-remove {
flex: 0 0 auto;
display: none;
}
.manual-btn {