提交 312068b2 authored 作者: Your Name's avatar Your Name

fix(自适应): 支持最小屏幕宽度1920

上级 5c013be6
...@@ -78,6 +78,9 @@ export default defineComponent({ ...@@ -78,6 +78,9 @@ export default defineComponent({
cursor: pointer; cursor: pointer;
transition: all 0.2s; transition: all 0.2s;
box-shadow: 2px 2px 10px #eee; box-shadow: 2px 2px 10px #eee;
flex: 1;
height: 100%;
box-sizing: border-box;
} }
.map-warpper { .map-warpper {
......
...@@ -558,7 +558,8 @@ export default defineComponent({ ...@@ -558,7 +558,8 @@ export default defineComponent({
} }
.economic-construct { .economic-construct {
flex: 1; flex: 1;
height: 150px; min-height: 150px;
height: calc( 100% - 200px);
box-sizing: border-box; box-sizing: border-box;
margin-top: 10px; margin-top: 10px;
} }
......
...@@ -326,7 +326,8 @@ export default defineComponent({ ...@@ -326,7 +326,8 @@ export default defineComponent({
} }
.incom-distribution { .incom-distribution {
flex: 1; flex: 1;
height: 150px; min-height: 150px;
height: calc(100% - 200px);
box-sizing: border-box; box-sizing: border-box;
margin-top: 10px; margin-top: 10px;
} }
......
...@@ -91,7 +91,7 @@ export default defineComponent({ ...@@ -91,7 +91,7 @@ export default defineComponent({
grid: { grid: {
left: "-5%", left: "-5%",
right: "5%", right: "5%",
bottom: "3%", bottom: "5%",
containLabel: true, containLabel: true,
}, },
yAxis: { yAxis: {
...@@ -179,7 +179,8 @@ export default defineComponent({ ...@@ -179,7 +179,8 @@ export default defineComponent({
.target-bar { .target-bar {
flex: 1; flex: 1;
height: 260px; height: calc(100% - 120px);
min-height: 260px;
box-sizing: border-box; box-sizing: border-box;
margin-top: 10px; margin-top: 10px;
} }
......
...@@ -82,6 +82,9 @@ export default defineComponent({ ...@@ -82,6 +82,9 @@ export default defineComponent({
cursor: pointer; cursor: pointer;
transition: all 0.2s; transition: all 0.2s;
box-shadow: 2px 2px 10px #eee; box-shadow: 2px 2px 10px #eee;
flex: 1;
height: 100%;
box-sizing: border-box;
} }
.map-warpper { .map-warpper {
...@@ -93,7 +96,8 @@ export default defineComponent({ ...@@ -93,7 +96,8 @@ export default defineComponent({
.footer-warpper { .footer-warpper {
margin-top: 20px; margin-top: 20px;
.business-extend { .business-extend {
height: 430px; min-height: 430px;
height: 100%;
} }
} }
</style> </style>
...@@ -184,31 +184,33 @@ export default defineComponent({ ...@@ -184,31 +184,33 @@ export default defineComponent({
position: relative; position: relative;
.money-logo { .money-logo {
top: 40%; top: 40%;
left: 32%; left: 34%;
position: absolute; position: absolute;
text-align: center; text-align: center;
transform: scale(1.2);
div { div {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 24px; font-size: 22px;
color: #333; color: #333;
span { span {
font-size: 18px; font-size: 16px;
color: #666; color: #666;
} }
img { img {
width: 40px; width: 35px;
} }
} }
.mony-number{ .mony-number{
font-size: 44px; font-size: 36px;
color: #4198ff; color: #4198ff;
} }
} }
} }
.business-income { .business-income {
flex: 1; flex: 1;
height: 400px; height: 100%;
min-height: 400px;
box-sizing: border-box; box-sizing: border-box;
margin-top: 10px; margin-top: 10px;
} }
......
...@@ -221,7 +221,8 @@ export default defineComponent({ ...@@ -221,7 +221,8 @@ export default defineComponent({
} }
.incom-distribution { .incom-distribution {
flex: 1; flex: 1;
height: 315px; min-height: 315px;
height: calc( 100% - 70px);
box-sizing: border-box; box-sizing: border-box;
margin-top: 10px; margin-top: 10px;
} }
......
...@@ -121,7 +121,7 @@ export default defineComponent({ ...@@ -121,7 +121,7 @@ export default defineComponent({
top: 0, top: 0,
left: "0%", left: "0%",
right: "5%", right: "5%",
bottom: "3%", bottom: "9%",
containLabel: true, containLabel: true,
}, },
yAxis: { yAxis: {
...@@ -166,7 +166,7 @@ export default defineComponent({ ...@@ -166,7 +166,7 @@ export default defineComponent({
<style lang="scss" scoped> <style lang="scss" scoped>
.incom-echarts-line { .incom-echarts-line {
flex: 1; flex: 1;
height: calc(100% - 195px); height: calc(100% - 190px);
box-sizing: border-box; box-sizing: border-box;
} }
.describes { .describes {
......
...@@ -182,7 +182,8 @@ export default defineComponent({ ...@@ -182,7 +182,8 @@ export default defineComponent({
.target-bar { .target-bar {
flex: 1; flex: 1;
height: 250px; min-height: 250px;
height: 100%;
box-sizing: border-box; box-sizing: border-box;
margin-top: 10px; margin-top: 10px;
} }
......
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
<div class="performance-com card-item"><Performance /></div> <div class="performance-com card-item"><Performance /></div>
<div class="card-item rank-list"><RankList /></div> <div class="card-item rank-list"><RankList /></div>
</el-col> </el-col>
<el-col :span="10"> <el-col :span="9">
<div class="map-middle"> <div class="map-middle">
<div class="card-item map-item"><Map /></div> <div class="card-item map-item"><Map /></div>
</div> </div>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="7">
<div class="map-right"> <div class="map-right">
<div class="performance-com card-item"><InvestmentProgress /></div> <div class="performance-com card-item"><InvestmentProgress /></div>
<div class="card-item incom-graphic"><Income /></div> <div class="card-item incom-graphic"><Income /></div>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论