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

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
+2 -2
View File
@@ -394,8 +394,8 @@ Page({
hours,
timelineHeight: timelineHeight + laneHeaderHeight,
laneHeaderHeight,
laneItemWidth: 248,
laneWidth: Math.max(720, lanes.length * 248),
laneItemWidth: 268,
laneWidth: Math.max(760, lanes.length * 268),
dayTotal: dayAppointments.length,
freeArtistCount: lanes.filter(item => item.blocks.length === 0).length,
pendingCount
+17 -7
View File
@@ -288,9 +288,9 @@
left: 12rpx;
display: flex;
flex-direction: column;
gap: 4rpx;
gap: 3rpx;
overflow: hidden;
padding: 12rpx 12rpx;
padding: 11rpx 12rpx;
border-left: 8rpx solid #7ba7c7;
border-radius: 10px;
background: #fff7ee;
@@ -343,33 +343,43 @@
}
.block-title {
overflow: hidden;
color: #2c2823;
font-size: 24rpx;
font-weight: 800;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.block-meta,
.block-status {
overflow: hidden;
color: #7e756b;
font-size: 20rpx;
line-height: 1.25;
text-overflow: ellipsis;
white-space: nowrap;
}
.block-badges {
display: flex;
flex-wrap: wrap;
gap: 6rpx;
flex-wrap: nowrap;
gap: 5rpx;
max-width: 100%;
overflow: hidden;
}
.block-badge {
display: inline-flex;
align-items: center;
height: 24rpx;
padding: 0 8rpx;
flex: 0 0 auto;
height: 25rpx;
padding: 0 7rpx;
border-radius: 999rpx;
background: rgba(255, 255, 255, 0.82);
color: #7b5b46;
font-size: 18rpx;
font-size: 17rpx;
font-weight: 800;
line-height: 1;
}