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

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;/)
@@ -355,6 +355,7 @@
height: 1rpx;
background: rgba(203, 220, 213, 0.72);
pointer-events: none;
transform: translateY(-50%);
}
.lane-head {
+1
View File
@@ -4,6 +4,7 @@
- 规划日视图时间轴放大为每分钟4rpx,使30分钟预约卡片获得完整信息高度;收紧日期控制区和视图切换区的垂直留白。
- 日视图整点横线与时间标签共用同一组刻度数据逐条绘制,避免背景渐变重复间距造成偏移。
- 时间标签以刻度中心定位,横线同步居中绘制,确保视觉基准一致。
- 客户新增姓名必填、微信号和手机号选填并按姓名/微信号/手机号排列;客户可重名或复用联系方式,仅姓名、微信号、手机号组合完全相同时禁止建档,联系方式匹配按密文解密后的精确值校验。
- 客户精确手机号匹配兼容历史未加密数据;新建美甲师微信号改为选填,店长微信号仍为必填。
- 修复日历映射员工专属颜色时遗漏 `StringUtils` 导入导致的 Core 编译失败。