feat(SAT): add SAT page and viewer component; update dependencies
Some checks failed
/ playwright (push) Blocked by required conditions
/ surge (push) Has been cancelled
/ depcheck (push) Has been cancelled
/ build-and-deploy-to-vercel (push) Has been cancelled

This commit is contained in:
严浩
2025-02-07 18:09:32 +08:00
parent 1d5a387ae0
commit d4b8585143
7 changed files with 1100 additions and 1078 deletions

View File

@ -0,0 +1,41 @@
<script setup lang="ts">
import Viewer from './Viewer.vue';
const $datatableShow = ref(false);
</script>
<template>
<div class="relative w-full h-full SAT">
<div id="container" class="absolute w-full h-full select-none">
<div class="viewer" :style="$datatableShow ? 'height:70%' : 'height: 100%'">
<Viewer />
</div>
<div
:class="[$datatableShow ? 'visible' : 'hidden', 'datatable absolute w-full b-0 l-0']"
:style="{
height: $datatableShow ? '30%' : '0',
overflow: 'hidden',
transition: 'height 0.3s ease',
}"
>
<!-- <DataTable /> -->
</div>
</div>
</div>
</template>
<style>
.layout-main {
display: flex;
flex-direction: column;
}
.layout-main .SAT {
flex: 1;
}
</style>
<style scoped>
#container {
background-color: pink;
}
</style>