<script lang="ts" setup>
import Aside from './aside/Aside.vue'
import Content from './content/Content.vue'
import Robot from '@/components/Robot/index.vue'
import {ref} from 'vue';
const contentRef:any = ref(null)

const showLoginModal = ()=>{
  contentRef.value.showLoginSuccessModal();
}

</script>

<template>
  <div class="main">
    <!-- 侧边 -->
    <Aside />

    <!-- 内容 -->
    <Content ref="contentRef"/>

    <!-- 机器人 -->
    <!-- <Robot :canClick="true" @click="showLoginModal"/> -->
  </div>
</template>

<style lang="less" scoped>
.main {
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  width: 100%;
}
</style>
