裂变星小程序-25.03.04
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
674 B

  1. <template>
  2. <view class="number-box">
  3. <uv-number-box
  4. :value="value"
  5. @input="$emit('input', $event)"
  6. :min="min"
  7. integer
  8. :inputWidth="inputWidth"
  9. button-size="60rpx"
  10. bgColor="#F3F3F3"
  11. color="#000000"
  12. ></uv-number-box>
  13. </view>
  14. </template>
  15. <script>
  16. export default {
  17. props: {
  18. value: {
  19. default: null
  20. },
  21. min: {
  22. type: Number,
  23. default: 0,
  24. },
  25. inputWidth: {
  26. default: '50rpx'
  27. },
  28. },
  29. data() {
  30. return {
  31. }
  32. },
  33. }
  34. </script>
  35. <style scoped lang="scss">
  36. .number-box {
  37. background-color: #F3F3F3;
  38. border-radius: 30rpx;
  39. overflow: hidden;
  40. }
  41. </style>