Commit 0f40e5f2 authored by 吕超's avatar 吕超

fix: 统一模块的样式

parent 3781c533
......@@ -167,8 +167,8 @@ export default {
right: 10px;
display: flex;
flex-wrap: wrap;
width: 550px;
height: calc(100vh - 100px - 37vh - 2vw);
width: 26vw;
height: calc(100vh - 95px - 27vh - 2vw);
.left-part-item {
height: 100%;
margin-bottom: 15px;
......
......@@ -4,7 +4,7 @@
<el-table
class="table"
ref="table"
height="33vh"
height="23vh"
:data="getDataOfType"
border
style="width: 100%"
......@@ -85,7 +85,7 @@ export default {
left: 1vw;
bottom: 1vw;
width: 31vw;
height: 37vh;
height: 27vh;
// height: 400px;
}
</style>
......@@ -7,7 +7,7 @@
:provinceCode="provinceCode"
></BiogasManureMap>
<StatusControl
:statusStyle="{ position: 'absolute', right: '600px', top: '100px' }"
:statusStyle="{ position: 'absolute', right: '27.7vw', top: '100px' }"
:list="statusControlList"
v-model="statusValue"
></StatusControl>
......@@ -199,14 +199,14 @@ export default {
bottom: 1vw;
right: 1vw;
left: calc(600px + 1vw);
height: 37vh;
height: 27vh;
.left-part-item {
width: 100%;
height: inherit;
}
.partItem {
height: 300px;
height: 24vh;
}
}
......@@ -214,7 +214,7 @@ export default {
position: absolute;
z-index: 11;
left: 300px;
bottom: 40.5vh;
bottom: 30.5vh;
}
}
</style>
......@@ -115,7 +115,7 @@ export default {
img {
flex: 1;
height: 400px;
height: 50vh;
object-fit: cover;
}
}
......
......@@ -10,7 +10,7 @@
<div
:class="[
'a-menu',
$route.path == '/methane_upgrade' ? 'active' : ''
$route.path == '/methane_upgrade' ? 'active' : '',
]"
@click="$router.push('/methane_upgrade')"
>
......@@ -19,7 +19,7 @@
<div
:class="[
'a-menu',
$route.path == '/biomass_energy_warm' ? 'active' : ''
$route.path == '/biomass_energy_warm' ? 'active' : '',
]"
@click="$router.push('/biomass_energy_warm')"
>
......@@ -28,7 +28,7 @@
<div
:class="[
'a-menu',
$route.path == '/biogas_manure_eco_agriculture' ? 'active' : ''
$route.path == '/biogas_manure_eco_agriculture' ? 'active' : '',
]"
@click="$router.push('/biogas_manure_eco_agriculture')"
>
......@@ -37,7 +37,7 @@
<div
:class="[
'a-menu',
$route.path == '/renewable_energy_village' ? 'active' : ''
$route.path == '/renewable_energy_village' ? 'active' : '',
]"
@click="$router.push('/renewable_energy_village')"
>
......@@ -58,16 +58,16 @@
<script>
export default {
name: 'Home',
name: "Home",
data() {
return {
// baseUrl: process.env.BASE_URL
}
};
},
components: {
// HelloWorld,
}
}
},
};
</script>
<style scoped lang="less">
......@@ -113,7 +113,7 @@ export default {
font-weight: 700;
letter-spacing: 0.1vh;
color: @main-color;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
}
.menu {
......@@ -134,9 +134,7 @@ export default {
box-sizing: border-box;
text-align: center;
color: @main-color;
&:hover {
// background-color: rgb(206, 206, 206);
}
cursor: pointer;
}
.active {
color: #fff;
......
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