Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
C
country-energy-ecological-construction
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
范加坤
country-energy-ecological-construction
Commits
87f66fcb
Commit
87f66fcb
authored
Jul 28, 2021
by
范加坤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
home
parent
11783928
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
53 additions
and
24 deletions
+53
-24
App.vue
src/App.vue
+12
-1
bg.png
src/assets/img/bg.png
+0
-0
index.vue
src/pages/methaneUpgrade/index.vue
+1
-2
index.js
src/router/index.js
+1
-1
Home.vue
src/views/Home.vue
+39
-20
No files found.
src/App.vue
View file @
87f66fcb
...
@@ -26,6 +26,17 @@ body {
...
@@ -26,6 +26,17 @@ body {
height: 100%;
height: 100%;
}
}
#app {
#app {
height: 100%;
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
background: url("./assets/img/bg.png") no-repeat;
background-size: 100% 100%;
background-position: center;
background-attachment: fixed;
width: 100vw;
height: 100vh;
overflow: hidden;
}
}
</
style
>
</
style
>
src/assets/img/bg.png
0 → 100644
View file @
87f66fcb
This diff is collapsed.
Click to expand it.
src/pages/methaneUpgrade/index.vue
View file @
87f66fcb
<
template
>
<
template
>
<!-- 农村沼气转型升级 -->
<!-- 农村沼气转型升级 -->
<div
class=
"contain"
>
<div
class=
"contain"
>
asdfasdf
<div
class=
"header"
>
<div
class=
"header"
>
<img
src=
"../../assets/img/logo.png"
alt
/>
<h3>
农村沼气转型升级
</h3>
<div
class=
"time-info"
>
<div
class=
"time-info"
>
<el-date-picker
<el-date-picker
ref=
"datePicker"
ref=
"datePicker"
...
...
src/router/index.js
View file @
87f66fcb
...
@@ -6,7 +6,7 @@ Vue.use(VueRouter);
...
@@ -6,7 +6,7 @@ Vue.use(VueRouter);
const
routes
=
[
const
routes
=
[
{
{
path
:
"/
home
"
,
path
:
"/"
,
name
:
"Home"
,
name
:
"Home"
,
component
:
Home
,
component
:
Home
,
children
:
[
children
:
[
...
...
src/views/Home.vue
View file @
87f66fcb
...
@@ -2,31 +2,31 @@
...
@@ -2,31 +2,31 @@
<div
class=
"body"
>
<div
class=
"body"
>
<div
class=
"contain"
>
<div
class=
"contain"
>
<div
class=
"header"
>
<div
class=
"header"
>
<div
class
>
<div
class
=
"header-left"
>
<img
src=
"../assets/img/logo.png"
alt
/>
<img
src=
"../assets/img/logo.png"
alt
/>
<h3>
农村农业生态建设
</h3>
<h3>
农村农业生态建设
</h3>
</div>
</div>
<div
class=
"menu"
>
<div
class=
"menu"
>
<div
class=
"a-menu"
@
click=
"$router.push('/
home/
methane_upgrade')"
>
<div
class=
"a-menu"
@
click=
"$router.push('/methane_upgrade')"
>
11111
沼气
</div>
</div>
<div
<div
class=
"a-menu"
class=
"a-menu"
@
click=
"$router.push('/
home/
biomass_energy_warm')"
@
click=
"$router.push('/biomass_energy_warm')"
>
>
22222
生物
</div>
</div>
<div
<div
class=
"a-menu"
class=
"a-menu"
@
click=
"$router.push('/
home/
biogas_manure_eco_agriculture')"
@
click=
"$router.push('/biogas_manure_eco_agriculture')"
>
>
33333
沼肥
</div>
</div>
<div
<div
class=
"a-menu"
class=
"a-menu"
@
click=
"$router.push('/
home/
renewable_energy_village')"
@
click=
"$router.push('/renewable_energy_village')"
>
>
444444
示范村
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
<div
class=
"content-cont"
>
<div
class=
"content-cont"
>
<div
style=
"width: 100%; height: 100%"
>
<div
style=
"width: 100%; height: 100%"
>
<!--
<keep-alive>
-->
<!--
<keep-alive>
-->
<
!--
<router-view
/>
--
>
<
router-view
/
>
<!--
</keep-alive>
-->
<!--
</keep-alive>
-->
</div>
</div>
</div>
</div>
...
@@ -81,6 +81,9 @@ export default {
...
@@ -81,6 +81,9 @@ export default {
justify-content: space-between;
justify-content: space-between;
align-items: center;
align-items: center;
z-index: 500;
z-index: 500;
.header-left {
display: flex;
align-items: center;
img {
img {
height: 6vh;
height: 6vh;
margin-right: 1vh;
margin-right: 1vh;
...
@@ -94,6 +97,22 @@ export default {
...
@@ -94,6 +97,22 @@ export default {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
}
}
}
.menu {
display: flex;
align-items: center;
margin-right: 40px;
.a-menu {
width:50px ;
height:50px ;
background-color: @main-color;
margin-right: 20px;
border-radius: 50%;
line-height: 50px;
text-align: center;
color: aliceblue;
}
}
}
}
}
}
}
</
style
>
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment