ViewContent.vue
761 Bytes
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
<template>
<div class="content">
<view-content-left />
<view-content-right />
</div>
</template>
<script>
export default {
name: 'ViewContent',
props: {
},
data () {
return {
}
},
methods: {
}
}
</script>
<style scoped lang='scss'>
.content {
width: 100%;
height: 100%;
box-sizing: border-box;
position: relative;
padding: 1vh 24px 1.1vh;
// display: grid;
// grid-template-columns: 688px 680px;
gap: 0 24px;
display: flex;
justify-content: space-between;
> div {
height: 100%;
flex: 1;
}
&::after {
content: '';
position: absolute;
top: 1vh;
left: 50%;
transform: translateX(-50%);
background: rgba(55, 55, 57, 0.5);
width: 1px;
height: 91.2vh;
}
}
</style>