Commit 89c7d43b authored by 徐来柯's avatar 徐来柯

update

parent 50d19d62
...@@ -47,7 +47,6 @@ body { ...@@ -47,7 +47,6 @@ body {
.main_wrap { .main_wrap {
height: calc(100% - 50px); height: calc(100% - 50px);
box-sizing: border-box; box-sizing: border-box;
border: 1px solid blue;
} }
.view { .view {
...@@ -55,13 +54,12 @@ body { ...@@ -55,13 +54,12 @@ body {
height: 85%; height: 85%;
position: absolute; position: absolute;
top: 80px; top: 80px;
background: rgba(11, 28, 56, 0.7); background: rgba(9, 16, 47, 0.4);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.view div { .view div {
flex: 1; flex: 1;
border: 1px solid red;
} }
.view_left { .view_left {
...@@ -69,4 +67,14 @@ body { ...@@ -69,4 +67,14 @@ body {
} }
.view_right { .view_right {
right: 40px; right: 40px;
}
.item_header {
height: 32px;
line-height: 32px;
}
.item_wrap {
height: calc(100% - 32px);
line-height: 32px;
} }
\ No newline at end of file
...@@ -18,7 +18,13 @@ ...@@ -18,7 +18,13 @@
<!-- 左右两侧内容 --> <!-- 左右两侧内容 -->
<div class="view view_left"> <div class="view view_left">
<div>1</div> <div class="item">
<div class="item_header" >
<img src="" alt="">
<span>文本标题</span>
</div>
<div class="item_wrap" ></div>
</div>
<div>2</div> <div>2</div>
<div>3</div> <div>3</div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment