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

45 lines
803 B

  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. ></uv-input>
  18. </template>
  19. <script>
  20. export default {
  21. props: {
  22. value: {
  23. default: null
  24. },
  25. placeholder: {
  26. type: String,
  27. default: '请输入'
  28. },
  29. type: {
  30. type: String,
  31. default: 'text'
  32. },
  33. inputAlign: {
  34. type: String,
  35. default: 'left'
  36. },
  37. },
  38. data() {
  39. return {
  40. }
  41. },
  42. }
  43. </script>