fix : 修复首页待立项等区域显示

This commit is contained in:
2024-09-12 22:33:16 +08:00
parent fa977c5134
commit 68897bbabf
5 changed files with 22 additions and 11 deletions

BIN
public/home1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 750 KiB

BIN
public/home2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 736 KiB

BIN
public/home3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 743 KiB

BIN
public/home4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 KiB

View File

@@ -179,9 +179,8 @@
</div>
</div>
</div>
<div class="fund-pie" style="text-align: left;margin-left: 60px">研发投入资金统计图</div>
<div class="fund-pie" style="text-align: left;margin-left: 60px;margin-top: 10px">研发投入资金统计图</div>
</div>
</div>
</el-col>
<el-col :xs="24" :sm="24" :md="24" :lg="10" :xl="10">
@@ -652,6 +651,7 @@ const fundPieOption = ref({
height: 70
},
left: 'center',
right: 'center',
top: '42%',
}]
},
@@ -661,6 +661,7 @@ const fundPieOption = ref({
radius: [75, 100],
center: ['50%', '50%'],
top: '10%',
left:'8',
label: {
show: false,
},
@@ -696,6 +697,7 @@ const fundPieOption = ref({
name: '',
type: 'pie',
top: '10%',
left:'8',
clockWise: false,
hoverAnimation: false,
radius: ['80%', '80%'],//边框大小
@@ -723,6 +725,7 @@ const fundPieOption = ref({
})
const moneyPieOption = ref({
tooltip: {
show:false,
trigger: 'item'
},
color: colorList,
@@ -800,7 +803,7 @@ const clickGotoListPage = (item) => {
}
const getImgUrl = (name) => {
return new URL('../../assets/home/' + name, import.meta.url).href
return new URL('/' + name, import.meta.url).href
}
const handleDetail = (row) => {
@@ -930,26 +933,25 @@ const handleView = (row) => {
}
.money-container {
height: calc((100vh / 2) - 200px);
//height: calc((100vh / 2) - 200px);
display: flex;
justify-content: center;
align-items: center;
margin-top: 40px;
margin-top: 49px;
width: 250px;
> div {
height: 300px;
height: 250px;
flex: 1;
}
}
.container {
height: calc((100vh / 2) - 200px);
//height: calc((100vh / 2) - 200px);
display: flex;
justify-content: center;
align-items: center;
margin-top: 40px;
margin-top: 10px;
> div {
height: 300px;
@@ -974,9 +976,15 @@ const handleView = (row) => {
:deep(.el-tabs__new-tab ) {
width: auto !important;
border: none !important;
margin-left: -93px !important;
color: #1476E3;
font-size: 14px;
line-height: 51px!important;
height: 51px!important;
margin: 0 0 0 -93px !important;
z-index: 99;
&:hover{
text-decoration: underline;
}
}
:deep(.el-card) {
@@ -1011,6 +1019,9 @@ const handleView = (row) => {
:deep(.el-table) {
height: 300px !important;
}
.todo-bg {
margin-top: 10px;
}
}
@media only screen and (max-width: 1000px) {
@@ -1353,7 +1364,7 @@ const handleView = (row) => {
font-size: 14px;
color: rgba(0, 0, 0, 0.5);
text-align: center;
margin-top: 15px;
//margin-top: 15px;
}
.title-block {