Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
ZhangJianFrontEnd
Overview
Overview
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
vue-project
ZhangJian
ZhangJianFrontEnd
Commits
0ae2a45e
Commit
0ae2a45e
authored
Aug 09, 2021
by
yuanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
352cb7c8
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
38 additions
and
6 deletions
+38
-6
App.vue
src/App.vue
+1
-1
Center.vue
src/pages/index/Center.vue
+0
-2
Left.vue
src/pages/index/Left.vue
+35
-2
Right.vue
src/pages/index/Right.vue
+2
-1
distBg.png
static/images/index/distBg.png
+0
-0
leftBg.png
static/images/index/leftBg.png
+0
-0
rightBg.png
static/images/index/rightBg.png
+0
-0
No files found.
src/App.vue
View file @
0ae2a45e
...
@@ -38,7 +38,6 @@ export default {
...
@@ -38,7 +38,6 @@ export default {
body
{
body
{
background-color
:
#011428
;
background-color
:
#011428
;
background
:
url('../static/images/index/bg.png')
no-repeat
left
top
;
}
}
#app
{
#app
{
...
@@ -49,5 +48,6 @@ body {
...
@@ -49,5 +48,6 @@ body {
overflow
:
hidden
;
overflow
:
hidden
;
user-select
:
none
;
user-select
:
none
;
background-position
:
center
bottom
;
background-position
:
center
bottom
;
background
:
url('../static/images/index/bg.png')
no-repeat
left
top
;
}
}
</
style
>
</
style
>
src/pages/index/Center.vue
View file @
0ae2a45e
...
@@ -18,6 +18,5 @@ export default {
...
@@ -18,6 +18,5 @@ export default {
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.managePlatform-center
{
.managePlatform-center
{
height
:
500px
;
}
}
</
style
>
</
style
>
\ No newline at end of file
src/pages/index/Left.vue
View file @
0ae2a45e
...
@@ -43,8 +43,8 @@
...
@@ -43,8 +43,8 @@
<!-- 党派分布/民族分布 -->
<!-- 党派分布/民族分布 -->
<div
class=
"distribution"
>
<div
class=
"distribution"
>
<div
class=
"title"
>
<div
class=
"title"
>
<p
:class=
"distShowKey === 'party' ? 'curr' : ''"
>
党派分布
</p>
<p
:class=
"distShowKey === 'party' ? 'curr' : ''"
@
click=
"changeDist('party')"
>
党派分布
</p>
<p
:class=
"distShowKey === 'ethnic' ? 'curr' : ''"
>
民族分布
</p>
<p
:class=
"distShowKey === 'ethnic' ? 'curr' : ''"
@
click=
"changeDist('ethnic')"
>
民族分布
</p>
</div>
</div>
<ul>
<ul>
<li
v-for=
"(item, index) in distribution[distShowKey]"
:key=
"index"
>
<li
v-for=
"(item, index) in distribution[distShowKey]"
:key=
"index"
>
...
@@ -206,6 +206,10 @@ export default {
...
@@ -206,6 +206,10 @@ export default {
]
]
}
}
}
}
},
// 党派/民族分布
changeDist
(
type
)
{
this
.
distShowKey
=
type
}
}
}
}
}
}
...
@@ -214,6 +218,7 @@ export default {
...
@@ -214,6 +218,7 @@ export default {
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.managePlatform-left
{
.managePlatform-left
{
padding-top
:
14px
;
padding-top
:
14px
;
background
:
url('../../../static/images/index/leftBg.png')
no-repeat
right
top
;
.partTitle
{
.partTitle
{
font-size
:
18px
;
font-size
:
18px
;
font-family
:
Microsoft
YaHei
;
font-family
:
Microsoft
YaHei
;
...
@@ -297,6 +302,7 @@ export default {
...
@@ -297,6 +302,7 @@ export default {
}
}
}
}
.distribution
{
.distribution
{
margin-top
:
10px
;
.title
{
.title
{
display
:
flex
;
display
:
flex
;
font-size
:
16px
;
font-size
:
16px
;
...
@@ -315,6 +321,32 @@ export default {
...
@@ -315,6 +321,32 @@ export default {
}
}
}
}
}
}
ul
{
display
:
flex
;
justify-content
:
space-between
;
margin-top
:
10px
;
li
{
width
:
91px
;
height
:
62px
;
background
:
url(../../../static/images/index/distBg.png)
no-repeat
left
top
;
p
{
font-size
:
16px
;
font-family
:
Microsoft
YaHei
;
font-weight
:
400
;
color
:
#6DCDFF
;
line-height
:
37px
;
padding-left
:
10px
;
}
span
{
font-size
:
20px
;
font-family
:
CenturyGothic
;
font-weight
:
400
;
color
:
#FFFFFF
;
line-height
:
20px
;
padding-left
:
10px
;
}
}
}
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
src/pages/index/Right.vue
View file @
0ae2a45e
...
@@ -18,6 +18,6 @@ export default {
...
@@ -18,6 +18,6 @@ export default {
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.managePlatform-right
{
.managePlatform-right
{
height
:
500px
;
background
:
url('../../../static/images/index/rightBg.png')
no-repeat
left
top
;
}
}
</
style
>
</
style
>
\ No newline at end of file
static/images/index/
形状641
.png
→
static/images/index/
distBg
.png
View file @
0ae2a45e
File moved
static/images/index/
左
.png
→
static/images/index/
leftBg
.png
View file @
0ae2a45e
File moved
static/images/index/
右
.png
→
static/images/index/
rightBg
.png
View file @
0ae2a45e
File moved
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