| | |
| | | "@life-payment/core-vue": "workspace:^", |
| | | "@nutui/icons-vue-taro": "0.0.9", |
| | | "@nutui/nutui-taro": "4.3.13", |
| | | "@tarojs/taro": "3.6.20", |
| | | "@vitejs/plugin-vue": "^5.1.4", |
| | | "@vitejs/plugin-vue-jsx": "^4.0.1", |
| | | "vite": "5.4.3", |
| | |
| | | "peerDependencies": { |
| | | "@life-payment/core-vue": "*", |
| | | "@nutui/nutui-taro": "*", |
| | | "@tarojs/taro": "*", |
| | | "vue": "*" |
| | | } |
| | | } |
| | |
| | | <template> |
| | | <nut-input type="number" :formatter="formatter" formatTrigger="onBlur" v-model="innerModelValue"> |
| | | <NutInput type="number" :formatter="formatter" formatTrigger="onBlur" v-model="innerModelValue"> |
| | | <template #right> |
| | | <slot name="right"></slot> |
| | | </template> |
| | | </nut-input> |
| | | </NutInput> |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import { computed } from 'vue'; |
| | | import { Input as NutInput } from '@nutui/nutui-taro'; |
| | | |
| | | defineOptions({ |
| | | name: 'NumberInput', |