推拿小程序前端代码仓库
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.

37 lines
628 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: 'transparent',
  12. padding: '0 20rpx 0 0',
  13. boxSizing: 'border-box',
  14. fontSize: '28rpx',
  15. border: 'none',
  16. }"
  17. inputAlign="right"
  18. ></uv-input>
  19. </template>
  20. <script>
  21. export default {
  22. props: {
  23. value: {
  24. default: null
  25. },
  26. placeholder: {
  27. type: String,
  28. default: '请输入'
  29. },
  30. },
  31. data() {
  32. return {
  33. }
  34. },
  35. }
  36. </script>