Commit c57e7d15 by 王志慧

Merge branch 'dev_v1.0.0' of http://192.168.3.233:8090/gh/data-view into dev_v1.0.0

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