inleft
2022-08-26 fa1bd95d533444d7360d1ada127b7a3279a3901f
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
68
69
<template>
    <div class="blog-main">
        <div class="edit-main">
            <div class="edit-info">
                <div class="edit-info-head">
                    头
                </div>
                <div class="edit-info-body">
                    信息
                </div>
            </div>
            <div class="edit-write">
                <div class="edit-write-input">输入区</div>
                <div class="edit-write-preview">对比区</div>
            </div>
        </div>
    </div>
</template>
 
<script>
</script>
 
<style lang="less">
    .edit-main {
        min-height: 860px;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(11, 1fr);
    }
 
    .edit-info {
        grid-column-start: 1;
        grid-column-end: 4;
        display: flex;
        flex-direction: column;
    }
 
    .edit-info-head,
    .edit-info-body {
        width: 100%;
    }
 
    .edit-info-head {
        height: 200px;
        background-color: #aa55ff;
    }
 
    .edit-info-body {
        background-color: #aa007f;
        height: 100%;
    }
 
    .edit-write {
        grid-column-start: 4;
        grid-column-end: 12;
        background-color: #ffaaff;
        display: flex;
    }
 
    .edit-write-input {
        width: 100%;
        background-color: #aa557f;
    }
 
    .edit-write-preview {
        width: 100%;
        background-color: #55007f;
    }
</style>