feat(web-admin): mobile-friendly OA money field for phone preview

Add decimal inputmode, taller touch targets under 768px, and wrapping uppercase; document phase-1 vs phase-2 mobile scope.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-07-30 11:15:40 +08:00
1 parent 221a6fd360
commit be41e8f202
3 files changed
+67 -6

No files matched your search

@@ -4,6 +4,7 @@
:placeholder="placeholder"
:disabled="disabled"
:clearable="clearable"
:inputmode="inputmode"
style="width: 100%"
@focus="handleFocus"
@blur="handleBlur"
@@ -29,6 +30,8 @@
placeholder?: string
disabled?: boolean
clearable?: boolean
/** 移动端数字键盘提示,如 decimal;不传则不设置 */
inputmode?: string
}
const props = withDefaults(defineProps<Props>(), {
@@ -37,7 +40,8 @@
precision: 2,
placeholder: '',
disabled: false,
clearable: true
clearable: true,
inputmode: undefined
})
const emit = defineEmits<{