feat: 组件01
This commit is contained in:
@@ -92,14 +92,21 @@
|
|||||||
item.toolCall.componentName === CompName.mapCard
|
item.toolCall.componentName === CompName.mapCard
|
||||||
"
|
"
|
||||||
/>
|
/>
|
||||||
<GeneratorPhotoComponent
|
<!-- <GeneratorPhotoComponent
|
||||||
v-else-if="
|
v-else-if="
|
||||||
item.toolCall &&
|
item.toolCall &&
|
||||||
item.toolCall.componentName ===
|
item.toolCall.componentName ===
|
||||||
CompName.aigcPhotoGeneratorCard
|
CompName.aigcPhotoGeneratorCard
|
||||||
"
|
"
|
||||||
:toolCall="item.toolCall"
|
:toolCall="item.toolCall"
|
||||||
|
/> -->
|
||||||
|
<ZModuleC01
|
||||||
|
v-else-if="
|
||||||
|
item.toolCall &&
|
||||||
|
item.toolCall.componentName === CompName.aigcPhotoGeneratorCard
|
||||||
|
"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Feedback
|
<Feedback
|
||||||
v-else-if="
|
v-else-if="
|
||||||
item.toolCall &&
|
item.toolCall &&
|
||||||
@@ -221,6 +228,8 @@ import OpenMapComponent from "../../ChatModule/OpenMapComponent/index.vue";
|
|||||||
import AnswerComponent from "../../ChatModule/AnswerComponent/index.vue";
|
import AnswerComponent from "../../ChatModule/AnswerComponent/index.vue";
|
||||||
import GeneratorPhotoComponent from "../../ChatModule/GeneratorPhotoComponent/index.vue";
|
import GeneratorPhotoComponent from "../../ChatModule/GeneratorPhotoComponent/index.vue";
|
||||||
|
|
||||||
|
import ZModuleC01 from "../../ChatModule/ZModuleC01/index.vue";
|
||||||
|
|
||||||
import CreateServiceOrder from "@/components/CreateServiceOrder/index.vue";
|
import CreateServiceOrder from "@/components/CreateServiceOrder/index.vue";
|
||||||
import Feedback from "@/components/Feedback/index.vue";
|
import Feedback from "@/components/Feedback/index.vue";
|
||||||
import AddCarCrad from "@/components/AddCarCrad/index.vue";
|
import AddCarCrad from "@/components/AddCarCrad/index.vue";
|
||||||
|
|||||||
21
src/pages/ChatModule/ZModuleBase/index.vue
Normal file
21
src/pages/ChatModule/ZModuleBase/index.vue
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<template>
|
||||||
|
<view class="container w-full border-box border-ff overflow-hidden rounded-24 flex flex-col">
|
||||||
|
<!-- 占位撑开 -->
|
||||||
|
<view class="w-vw"></view>
|
||||||
|
<view class="flex flex-col m-4 border-box rounded-24">
|
||||||
|
<slot name="content"></slot>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
.container {
|
||||||
|
background: rgba(255, 255, 255, 0.2);
|
||||||
|
box-shadow: 0px 9px 34px 0px rgba(27, 9, 91, 0.07);
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
12
src/pages/ChatModule/ZModuleC01/index.vue
Normal file
12
src/pages/ChatModule/ZModuleC01/index.vue
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<template>
|
||||||
|
<ZModuleBase>
|
||||||
|
<template #content >
|
||||||
|
灌灌灌灌灌滚滚滚
|
||||||
|
</template>
|
||||||
|
</ZModuleBase>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
import ZModuleBase from "../ZModuleBase/index.vue";
|
||||||
|
|
||||||
|
</script>
|
||||||
Reference in New Issue
Block a user