对齐规划日视图时间刻度与横线
This commit is contained in:
@@ -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;/)
|
||||
|
||||
|
||||
@@ -355,6 +355,7 @@
|
||||
height: 1rpx;
|
||||
background: rgba(203, 220, 213, 0.72);
|
||||
pointer-events: none;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.lane-head {
|
||||
|
||||
Reference in New Issue
Block a user