ChatAsk.vue 601 B

123456789101112131415161718192021222324252627282930313233
  1. <script setup>
  2. // import { SvgIcon } from "@/components";
  3. defineProps({
  4. content: {
  5. type: String,
  6. default: ''
  7. },
  8. sessionId: {
  9. type: String,
  10. default: ''
  11. }
  12. })
  13. </script>
  14. <template>
  15. <div class="ask-inner flex items-center justify-start pl-[20px] mb-[20px]">
  16. <div class="chat-ask_icon">
  17. <svg-icon icon-class="avatar"/>
  18. </div>
  19. <p class="flex-1 ml-[16px] text-[15px] font-bold leading-[24px]" v-html="content"></p>
  20. </div>
  21. </template>
  22. <style scoped>
  23. .chat-ask_icon {
  24. font-size: 22px;
  25. padding: 5px;
  26. border: 1px solid #ccc;
  27. border-radius: 50%;
  28. }
  29. </style>