对齐规划日视图时间刻度与横线

This commit is contained in:
2026-10-29 18:35:02 +08:00
parent 369f58d24e
commit 6697b7e193
3 changed files with 3 additions and 0 deletions
@@ -103,6 +103,7 @@ async function run() {
assert.strictEqual(shortAppointmentLane.blocks[0].compact, true)
assert.match(planningWxml, /class="hour-line" style="top: \{\{hour\.top\}\}rpx;"/)
assert.match(planningWxml, /class="time-label" style="top: \{\{item\.top\}\}rpx;"/)
assert.match(planningWxss, /\.hour-line\s*\{[^}]*transform:\s*translateY\(-50%\);/)
assert.doesNotMatch(planningWxss, /background-size:\s*100% 240rpx/)
assert.match(planningWxss, /\.control-card\s*\{[^}]*padding:\s*8rpx 14rpx;/)