<template>
  <view class="number-box">
    <uv-number-box
      :value="value" 
      @input="$emit('input', $event)" 
      :min="1" 
      integer
      :inputWidth="inputWidth"
      button-size="60rpx"
      bgColor="#F3F3F3"
      color="#000000"
    ></uv-number-box>
  </view>
</template>


<script>
	export default {
    props: {
			value: {
				default: null
			},
      min: {
        type: Number,
        default: 1,
      },
      inputWidth: {
				default: '50rpx'
			},
    },
		data() {
      return {
      }
    },
  }
</script>

<style scoped lang="scss">
.number-box {
  background-color: #F3F3F3;
  border-radius: 30rpx;
  overflow: hidden;
}
</style>