| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="hide-sidebar" @click="toggleSidebar" v-if="!isSharePage"> |
| | | <!-- <div class="hide-sidebar" @click="toggleSidebar" v-if="!isSharePage"> |
| | | <i class="text-[#fff] transition-all ywifont ywicon-zuoyoujiantou"></i> |
| | | </div> |
| | | </div> --> |
| | | |
| | | <div class="aside_center"> |
| | | <ChatRecord /> |
| | |
| | | import { computed } from 'vue'; |
| | | import ChatRecord from './components/ChatRecord.vue'; |
| | | import MenuList from './components/MenuList.vue'; |
| | | import { isSharePage } from '/@/stores/chatRoom'; |
| | | const emit = defineEmits(['toggleSidebar']); |
| | | |
| | | const prop = defineProps(['isShow']); |
| | | const leftBox = computed(() => (prop.isShow ? 252 : 198)); |
| | | const toggleSidebar = () => { |
| | | emit('toggleSidebar', false); |
| | | }; |
| | | |
| | | |
| | | |
| | | </script> |
| | | |
| | | <style scoped lang="scss"> |