| | |
| | | <div class="w100 h100 overflow-hidden"> |
| | | <div class="pc-chatRoom w100 h100"> |
| | | <div class="homeBox w100 h-full"> |
| | | <div class="flex items-center flex-column mt-20"> |
| | | <div class="flex items-center h-full overflow-hidden"> |
| | | <div class="flex items-center flex-column"> |
| | | <waterTop /> |
| | | <waterCenter /> |
| | | <waterCenter |
| | | @advanceExampleClick="advanceExampleClick" |
| | | :isShowAdvanceExample="state.isShowAdvanceExample" |
| | | ref="waterCenterRef" |
| | | /> |
| | | <waterBottom /> |
| | | </div> |
| | | |
| | | <CustomDrawer |
| | | :isShowAdvanceExample="state.isShowAdvanceExample" |
| | | @closeExampleClick="closeExampleClick" |
| | | :rightBox="state.rightBox" |
| | | @advanceExampleClick="advanceExampleClick" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <!-- <p class="declare"> |
| | |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import { reactive, ref } from 'vue'; |
| | | import waterBottom from './component/waterRight/bottom.vue'; |
| | | import waterCenter from './component/waterRight/center.vue'; |
| | | import waterTop from './component/waterRight/top.vue'; |
| | | import CustomDrawer from '/@/components/drawer/CustomDrawer.vue'; |
| | | let state = reactive({ |
| | | isShowAdvanceExample: false, |
| | | rightBox: 0, |
| | | }); |
| | | const waterCenterRef = ref(null); |
| | | 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 { |
| | |
| | | width: 100%; |
| | | padding: 18px; |
| | | } |
| | | |
| | | .layout-logo-medium-img { |
| | | width: 28px; |
| | | margin-right: 7px; |