<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>
|