forked from LokerL/tts-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.vue
67 lines (65 loc) · 1.46 KB
/
App.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<script setup lang="ts">
import { useTtsStore } from "@/store/store";
// This starter template is using Vue 3 <script setup> SFCs
// Check out https://vuejs.org/api/sfc-script-setup.html#script-setup
import Header from "./components/header/Header.vue";
import Aside from "./components/aside/Aside.vue";
import Main from "./components/main/Main.vue";
import Footer from "./components/footer/Footer.vue";
const ttsStore = useTtsStore();
ttsStore.genFormConfig();
ttsStore.setSSMLValue();
ttsStore.showDisclaimers();
</script>
<template>
<div class="app">
<el-container>
<el-header><Header /></el-header>
<el-container class="container">
<el-aside><Aside /></el-aside>
<el-container class="main-footer">
<el-main><Main /></el-main>
<el-footer><Footer /></el-footer>
</el-container>
</el-container>
</el-container>
</div>
</template>
<style>
body {
margin: 0;
/* height: 570px; */
}
.app {
background-color: #f2f3f5;
border-radius: 10px;
}
.el-header {
border: 0 !important;
margin: 0 !important;
padding: 0 !important;
height: auto !important;
-webkit-app-region: drag;
}
.el-aside {
width: auto !important;
overflow: hidden !important;
}
.container {
margin-top: 5px;
height: calc(100vh - 35px);
}
.el-main,
.el-footer {
border: 0 !important;
padding: 0 !important;
margin-left: 5px;
}
.main-footer {
height: 100%;
display: flex;
}
.el-button {
-webkit-app-region: no-drag;
}
</style>