Commit 69a7e0f1 by 李伟康

修改样式

1 parent ca0f01b2
......@@ -72,6 +72,7 @@ img {
.box {
background: #1d1c1c;
overflow: hidden;
}
.inline {
display: inline-block;
......
......@@ -23,10 +23,16 @@ export default {
height: 100%;
box-sizing: border-box;
position: relative;
padding: 1vh 24px 2vh;
display: grid;
grid-template-columns: repeat(2, 1fr);
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;
......
......@@ -11,9 +11,9 @@
</div>
<div class="bottom">
<view-sub-title title="销售数据总览" />
<view-line-group height="14.9vh">
<div slot="1"><Flow height="14.9"></Flow></div>
<div slot="2"><Trend height="14.9"></Trend></div>
<view-line-group height="15.9vh">
<div slot="1"><Flow height="15.9"></Flow></div>
<div slot="2"><Trend height="15.9"></Trend></div>
</view-line-group>
<view-pie-group>
<div slot="1"><EnterCategory :height="defaultHeight"></EnterCategory></div>
......@@ -68,7 +68,7 @@ export default {
}
.bottom {
// height: calc(41% - 16px);
height: 35.9vh;
height: 36.8vh;
margin-top: auto;
}
}
......
......@@ -20,9 +20,9 @@
<div slot="1"><First :height="defaultHeight"></First></div>
<div slot="2"><Sadayasu :height="defaultHeight"></Sadayasu></div>
</view-line-group>
<view-line-group height="25.6vh" hideMargin>
<div slot="1"><Analyze height="25.6"></Analyze></div>
<div slot="2"><Mileage height="25.6"></Mileage></div>
<view-line-group height="26.5vh" hideMargin>
<div slot="1"><Analyze height="26.5"></Analyze></div>
<div slot="2"><Mileage height="26.5"></Mileage></div>
</view-line-group>
</div>
</template>
......
......@@ -30,7 +30,7 @@ export default {
<style scoped lang="scss">
.tabs {
margin-bottom: 0.5vh;
margin-bottom: 0.6vh;
.tab {
height: 7.8vh;
display: grid;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!