numberinput

This commit is contained in:
2025-05-30 17:36:59 +08:00
parent c768b659f9
commit 0b888ad75e
6 changed files with 552 additions and 274 deletions

View File

@@ -0,0 +1,24 @@
<template>
<view class="container">
<number-input
v-model="numberValue"
:min="0.01"
:max="999.999"
input-class="filter_input"
/>
<text>当前值: {{ numberValue }}</text>
</view>
</template>
<script>
import NumberInput from '@/components/NumberInput.vue';
export default {
components: { NumberInput },
data() {
return {
numberValue: 1.0
};
}
};
</script>