wujingjing
2024-07-19 16b491229cc9f37547a5d30bfecf74bcdd53d31b
src/views/project/ch/home/Home.vue
@@ -7,7 +7,7 @@
                  <div class="homeBox w100 h-full">
                     <div class="flex items-center h-full overflow-hidden">
                        <div class="flex items-center flex-column">
                           <waterTop />
                           <waterTop ref="topRef"/>
                           <waterCenter
                              @advanceExampleClick="advanceExampleClick"
                              :isShowAdvanceExample="state.isShowAdvanceExample"
@@ -17,10 +17,8 @@
                        </div>
                        <CustomDrawer
                           :isShowAdvanceExample="state.isShowAdvanceExample"
                           @closeExampleClick="closeExampleClick"
                           :rightBox="state.rightBox"
                           @advanceExampleClick="advanceExampleClick"
                           v-model:isShow = "state.isShowAdvanceExample"
                           @updateChatInput="updateChatInput"
                        />
                     </div>
                  </div>
@@ -44,18 +42,18 @@
import CustomDrawer from '/@/components/drawer/CustomDrawer.vue';
let state = reactive({
   isShowAdvanceExample: false,
   rightBox: 0,
});
const topRef = ref(null);
const waterCenterRef = ref(null);
const updateChatInput = (val) => {
   topRef.value.updateChatInput(val)
};
const advanceExampleClick = (status: boolean) => {
   state.isShowAdvanceExample = status;
   state.rightBox = status ? 354 : 0;
};
//关闭高级示例
const closeExampleClick = (status: boolean) => {
   state.isShowAdvanceExample = status;
   state.rightBox = status ? 354 : 0;
};
</script>
<style scoped lang="scss">
.pc-chat_room {