You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ocr-web/src/views/task/index.vue

57 lines
1.0 KiB

<script lang="ts" setup>
import { ref } from 'vue'
import Aside from './aside/Aside.vue'
import Content from './content/Content.vue'
import DataHeader from '@/components/DataHeader/index.vue'
import Robot from '@/components/Robot/index.vue'
const asideRef: any = ref(null)
function setAsideItemName(text) {
asideRef.value.setAsideItemName(text)
}
</script>
<template>
<div style="width: 100%; ">
<div class="header">
<DataHeader />
</div>
<div class="main">
<!-- 侧边 -->
<Aside ref="asideRef" />
<!-- 内容 -->
<Content @set-aside-item-name="setAsideItemName" />
</div>
<Robot />
</div>
</template>
<style lang="less" scoped>
:deep(.wrapper){
top:0
}
:deep(.aside){
margin-right: 0;
margin-bottom: 16px;
}
:deep(.ip_box){
z-index: 50;
}
:deep(.header_wrap){
margin-top: 3px !important;
margin-left: 16px;
margin-right: 16px;
background: #FFFFFF;
}
.main {
display: flex;
flex-direction: row;
box-sizing: border-box;
width: 100%;
height: calc(100vh - 192px);
}
</style>