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

55 lines
925 B

  1. <template>
  2. <uv-textarea
  3. :value="value"
  4. @input="$emit('input', $event)"
  5. :placeholder="placeholder"
  6. :count="count"
  7. :maxlength="maxlength"
  8. height="187rpx"
  9. border="none"
  10. :customStyle="{
  11. backgroundColor: '#F4F6F8',
  12. borderRadius: '12rpx',
  13. }"
  14. :placeholderStyle="{
  15. color: '#999999',
  16. fontSize: '28rpx',
  17. }"
  18. :countStyle="{
  19. backgroundColor: 'transparent',
  20. color: '#999999',
  21. fontSize: '28rpx',
  22. }"
  23. ></uv-textarea>
  24. </template>
  25. <script>
  26. export default {
  27. props: {
  28. value: {
  29. default: null
  30. },
  31. placeholder: {
  32. type: String,
  33. default: '请输入'
  34. },
  35. count: {
  36. type: Boolean,
  37. default: true,
  38. },
  39. maxlength: {
  40. type: Number,
  41. default: 200,
  42. }
  43. },
  44. data() {
  45. return {
  46. }
  47. },
  48. methods: {
  49. },
  50. }
  51. </script>
  52. <style scoped lang="scss">
  53. </style>