修复小程序日程页日视图末条内容被滚动容器底边裁切
自动发布开发环境 Nacos 配置 / publish (push) Successful in 46s

- 日视图滚动容器末尾新增留白(64rpx + 安全区),避免末条时间刻度与末个预约卡片贴边、滚到底仍缺一截
- 视口高度计算同步预留该留白,短时间轴不再因高度刚好等于内容高度而裁掉末条标签
- 时间刻度列加宽到 104rpx,刻度与泳道内容间距增至 20rpx,改善左侧呼吸感并避免刻度文字被截断
This commit is contained in:
2026-11-08 00:28:17 +08:00
parent daae69c6a0
commit 0dfa3bc5a8
4 changed files with 13 additions and 5 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ async function run() {
})
assert.strictEqual(shortAppointmentState.hours[0].top, 54)
assert.strictEqual(shortAppointmentState.hours[1].top, 204)
assert.strictEqual(shortAppointmentState.timelineViewportHeight, 204)
assert.strictEqual(shortAppointmentState.timelineViewportHeight, 268)
const shortAppointmentLane = shortAppointmentState.dayLanes.find(lane => lane.artistId === 1)
assert.strictEqual(shortAppointmentLane.blocks[0].height, 40)
assert.strictEqual(shortAppointmentLane.blocks[0].compact, true)