feat: 调整了目录结构
This commit is contained in:
27
src/pages/ChatMain/ChatMarkdown/index.vue
Normal file
27
src/pages/ChatMain/ChatMarkdown/index.vue
Normal file
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<zero-markdown-view :markdown="text" :aiMode="true"></zero-markdown-view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { defineProps } from "vue";
|
||||
|
||||
defineProps({
|
||||
text: {
|
||||
type: String,
|
||||
default: "",
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.container {
|
||||
width: 100%;
|
||||
}
|
||||
.container ::v-deep image,
|
||||
.container ::v-deep video,
|
||||
.container ::v-deep iframe {
|
||||
width: 100% !important;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user