From 08b2db8f26e6b508c7ed9a59006cff3005db5895 Mon Sep 17 00:00:00 2001 From: cuiqian2004 <cuiqian2004@163.com> Date: 星期五, 06 六月 2025 16:03:39 +0800 Subject: [PATCH] test --- components/oi-form/list/input/index.vue | 22 +++++++++++++++++++++- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/components/oi-form/list/input/index.vue b/components/oi-form/list/input/index.vue index c212abe..47c85ff 100644 --- a/components/oi-form/list/input/index.vue +++ b/components/oi-form/list/input/index.vue @@ -38,6 +38,11 @@ default: false }, }, + data() { + return { + largeMode: getApp().globalData?.largeMode || false, + } + }, methods: { onChange(e) { this.$emit("on-change", e) @@ -47,7 +52,7 @@ this.onChange(e) }, onClick(e) { - this.$emit("click", e) + this.$emit("on-click", e) }, onFocus(e) { this.$emit("on-focus", e) @@ -119,4 +124,19 @@ .oi-form-input:hover { border: 1px solid rgb(41, 121, 255); } + + .large-mode { + .oi-form-input { + .oi-input { + font-size: 24px; + height: 36px; + } + + .form-input-icon { + font-size: 30px; + height: 36px; + width: 36px; + } + } + } </style> \ No newline at end of file -- Gitblit v1.9.1