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

fix: 统一模块的样式

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