jianda.vue 537 B

1234567891011121314151617181920212223
  1. <template>
  2. <view v-if="question" class="phone-jianda-box">
  3. <view class="phone-shiti-question">
  4. <view class="question-num">{{question.onlyNum}}、</view>
  5. <!-- 题干区域 -->
  6. <rich-text :nodes="question.name"></rich-text>
  7. </view>
  8. <!-- 选项区域 -->
  9. <textarea class="jianda-textarea-box" placeholder="请输入内容" v-model="question.reply" />
  10. </view>
  11. </template>
  12. <script setup>
  13. const props = defineProps({
  14. question: {
  15. type: Object,
  16. },
  17. showError: {
  18. type: Boolean,
  19. default: false
  20. }
  21. })
  22. </script>