裂变星小程序-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
736 B

  1. <template>
  2. <uv-input
  3. :value="value"
  4. @input="$emit('input', value)"
  5. :placeholder="placeholder"
  6. :placeholderStyle="{
  7. color: '#999999',
  8. fontSize: '28rpx',
  9. }"
  10. :customStyle="{
  11. backgroundColor: '#F3F3F3',
  12. width,
  13. height: '60rpx',
  14. padding: '16rpx 20rpx',
  15. boxSizing: 'border-box',
  16. fontSize: '28rpx',
  17. borderRadius: '30rpx',
  18. border: 'none',
  19. }"
  20. ></uv-input>
  21. </template>
  22. <script>
  23. export default {
  24. props: {
  25. value: {
  26. default: null
  27. },
  28. placeholder: {
  29. type: String,
  30. default: '请输入'
  31. },
  32. width: {
  33. type: String,
  34. default: 'auto',
  35. }
  36. },
  37. data() {
  38. return {
  39. }
  40. },
  41. }
  42. </script>