zzy
95b2f95452
fix(前端): 寻车/导航按钮禁止选中文字,长按才能进丢失模式
iOS 上长按按钮会先触发系统文本选择(弹「拷贝/查询」),正文被选中后
touchstart 长按计时器收不到,丢失模式进不去。给卡片顶部按钮加:
- user-select: none(含 -webkit/-moz/-ms 前缀)
- -webkit-touch-callout: none → iOS 长按不弹系统菜单
- -webkit-tap-highlight-color: transparent
- touch-action: manipulation
- 子元素(图标/文字 span)pointer-events: none + user-select: none,
长按时系统拿不到文本节点,只能落到按钮本身
实测(390px):按钮 computed userSelect=none、touchAction=manipulation、
span pointerEvents=none;点击仍正常触发 /api/find_bike;JS 异常 0
2026-11-16 13:09:26 +08:00
..
2026-11-16 13:09:26 +08:00
2026-11-16 11:14:59 +08:00
2026-11-16 11:52:34 +08:00
2026-10-29 15:20:39 +08:00
2026-10-29 15:20:39 +08:00
2026-10-29 15:20:39 +08:00
2026-10-29 15:20:39 +08:00
2026-10-29 15:20:39 +08:00
2026-10-29 15:20:39 +08:00
2026-10-29 15:20:39 +08:00
2026-10-29 15:20:39 +08:00
2026-10-29 15:20:39 +08:00