Commit 0ae2a45e by yuanfeng

update

parent 352cb7c8
...@@ -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>
...@@ -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
...@@ -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
...@@ -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
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