/* plate-input.wxss */ .plate-container { flex: 1; display: flex; align-items: center; overflow: hidden; } /* 车牌格子区域 */ .plate-body { display: flex; align-items: center; background: #f5f7fa; border: 2rpx solid #dce3ec; border-radius: 12rpx; padding: 8rpx 16rpx; height: 72rpx; flex: 1; min-width: 0; overflow: hidden; } .plate-cell { width: 56rpx; height: 56rpx; display: flex; align-items: center; justify-content: center; font-size: 30rpx; border-radius: 8rpx; margin: 0 4rpx; flex-shrink: 0; transition: all 0.2s; } .plate-cell.empty { color: #b8c9db; background: #eaf0f7; font-size: 24rpx; } .plate-cell.filled { color: #2c3e50; background: #ffffff; border: 1rpx solid #dce3ec; font-weight: 600; } .plate-cell.num { width: 44rpx; } .plate-cell.num.extra { border-style: dashed; border-color: #c8d6e5; } .plate-sep { font-size: 32rpx; color: #b8c9db; margin: 0 6rpx; font-weight: bold; } /* 隐藏输入框(用于唤起键盘) */ .plate-hidden-input { position: absolute; left: -9999rpx; width: 0; height: 0; opacity: 0; } /* 清除按钮 */ .plate-clear { flex-shrink: 0; font-size: 24rpx; color: #ff4d4f; padding: 8rpx 12rpx; margin-left: 12rpx; } /* 弹窗遮罩 */ .popup-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); z-index: 999; display: flex; align-items: flex-end; } /* 弹窗面板 */ .popup-panel { width: 100%; background: #fff; border-radius: 24rpx 24rpx 0 0; padding: 32rpx; padding-bottom: 0; } .popup-title { font-size: 30rpx; font-weight: 600; color: #2c3e50; margin-bottom: 24rpx; text-align: center; } .popup-scroll { max-height: 400rpx; padding-bottom: 16rpx; } .popup-grid { display: flex; flex-wrap: wrap; gap: 16rpx; padding: 0 8rpx; } .popup-item { width: calc((100% - 96rpx) / 7); height: 72rpx; display: flex; align-items: center; justify-content: center; background: #f5f7fa; border-radius: 12rpx; font-size: 30rpx; color: #2c3e50; border: 1rpx solid #dce3ec; transition: all 0.15s; } .popup-item:active { background: #5b9bd5; color: #fff; border-color: #5b9bd5; } .popup-cancel { text-align: center; font-size: 28rpx; color: #999; padding: 24rpx 0; padding-bottom: calc(24rpx + env(safe-area-inset-bottom)); border-top: 1rpx solid #f0f0f0; margin-top: 16rpx; }