Synopsis.vue 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <template>
  2. <view class="certification-card serve-main ">
  3. <view class="serve-box flex_c_s hr-solid">
  4. <view>个人简介</view>
  5. </view>
  6. <view class="skillDescribe-conten">
  7. <up-textarea placeholder="自身评价和优势" class="form-input" placeholder-class="form-placeholder"
  8. v-model="formData.skillDescribe" count border="none" maxlength="200" style="width: 100%;" autoHeight v-if="viewStatus"></up-textarea>
  9. <view v-else class="form-input">{{ formData.skillDescribe }}</view>
  10. </view>
  11. </view>
  12. </template>
  13. <script setup>
  14. import { computed, ref } from 'vue';
  15. import { provide, inject } from 'vue'
  16. const formData = inject('formData');
  17. const props = defineProps({
  18. viewStatus: {
  19. type: Boolean,
  20. default: true
  21. },
  22. })
  23. </script>
  24. <style lang="scss" scoped>
  25. @import "./index.scss";
  26. </style>
  27. <style>
  28. .form-input {
  29. font-family: PingFang SC;
  30. font-size: 32rpx;
  31. line-height: 44rpx;
  32. color: #130F26;
  33. width: 100% !important;
  34. }
  35. .form-placeholder {
  36. color: #C9CDD4;
  37. }
  38. .skillDescribe-conten {
  39. padding: 32rpx;
  40. }
  41. </style>