普兆健康管家前端代码仓库
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.

46 lines
824 B

2 months ago
2 months ago
  1. <template>
  2. <uv-input
  3. :type="type"
  4. :inputAlign="inputAlign"
  5. :value="value"
  6. @input="$emit('input', $event)"
  7. :placeholder="placeholder"
  8. placeholderStyle="color: #C6C6C6; font-size: 32rpx; font-weight: 400;"
  9. :customStyle="{
  10. backgroundColor: 'transparent',
  11. padding: '0',
  12. boxSizing: 'border-box',
  13. fontSize: '32rpx',
  14. border: 'none',
  15. transform: 'translateX(-4px)'
  16. }"
  17. fontSize="32rpx"
  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. type: {
  31. type: String,
  32. default: 'text'
  33. },
  34. inputAlign: {
  35. type: String,
  36. default: 'left'
  37. },
  38. },
  39. data() {
  40. return {
  41. }
  42. },
  43. }
  44. </script>