feat: 加载中动画调整

This commit is contained in:
2025-09-02 20:42:53 +08:00
parent 537b7521e1
commit 514d9ab944
3 changed files with 55 additions and 27 deletions

View File

@@ -2,13 +2,14 @@
<view class="container">
<view class="chat-ai">
<view class="loading-container">
<!-- <image
<image
v-if="isLoading"
class="loading-img"
src="/static/msg_loading.svg"
/> -->
<loading v-if="isLoading" />
/>
<!-- <loading v-if="isLoading" /> -->
<ChatMarkdown :key="textKey" :text="processedText" />
<DotLoading v-if="isLoading" />
</view>
<slot name="content"></slot>
</view>
@@ -20,6 +21,7 @@
import { defineProps, computed, ref, watch } from "vue";
import ChatMarkdown from "./ChatMarkdown.vue";
import loading from "@/pages/loading/loading.vue";
import DotLoading from "@/pages/loading/DotLoading.vue";
const props = defineProps({
text: {