6 changed files with 536 additions and 542 deletions
@ -1,319 +1,309 @@ |
|||
<template> |
|||
<div class='TrafficFlow'> |
|||
<section class="foot"> |
|||
|
|||
<div class="item keep-ratio" v-for="(item, index) in topDatas"> |
|||
<div class="line"> |
|||
</div> |
|||
<div class="item-title"> |
|||
<span> {{ item.eventName }} <span class="num">{{ item.total }}</span>起</span> |
|||
</div> |
|||
<div class="item-body"> |
|||
<div class="icon-left" |
|||
:style="{ backgroundImage: `url(${require(`@screen/images/layer/${active}/${item.eventName}.svg`)})`, '--bgColor': `rgba(0, 209, 255, 10%)` }"> |
|||
</div> |
|||
|
|||
<div class="text-right"> |
|||
<div class="text"> |
|||
已处理 <span class="num">{{ item.finished }}</span> 起 |
|||
</div> |
|||
<div class="text"> |
|||
处理中 <span class="num">{{ item.processing }}</span> 起 |
|||
</div> |
|||
<div class="text"> |
|||
待处理 <span class="num">{{ item.unconfirmed }}</span> 起 |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="TrafficFlow"> |
|||
<section class="foot"> |
|||
<div class="item keep-ratio" v-for="(item, index) in topDatas"> |
|||
<div class="line"></div> |
|||
<div class="item-title"> |
|||
<span> |
|||
{{ item.eventName }} <span class="num">{{ item.total }}</span |
|||
>起</span |
|||
> |
|||
</div> |
|||
<div class="item-body"> |
|||
<div |
|||
class="left" |
|||
:style="{ |
|||
backgroundImage: `url(${require(`@screen/images/layer/${active}/${item.eventName}.svg`)})`, |
|||
'--bgColor': `rgba(0, 209, 255, 10%)`, |
|||
}" |
|||
></div> |
|||
|
|||
<div class="text-right"> |
|||
<div class="text"> |
|||
已处理 <span class="num">{{ item.finished }}</span> 起 |
|||
</div> |
|||
<div class="text"> |
|||
处理中 <span class="num">{{ item.processing }}</span> 起 |
|||
</div> |
|||
</section> |
|||
</div> |
|||
<div class="text"> |
|||
待处理 <span class="num">{{ item.unconfirmed }}</span> 起 |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
</div> |
|||
</template> |
|||
|
|||
|
|||
<script> |
|||
import { eventStatusNum } from "@/api/event/governanceAnalysis" |
|||
import { eventStatusNum } from "@/api/event/governanceAnalysis"; |
|||
export default { |
|||
name: 'publicService', |
|||
components: { |
|||
|
|||
}, |
|||
data() { |
|||
return { |
|||
active: "事件专题", |
|||
activeName: "first", |
|||
topDatas: [] |
|||
// topDatas: [{ |
|||
// text: "其他事件", |
|||
// textEnd: "起", |
|||
// textNum: 9, |
|||
// icon: require("./assets/其他事件.png"), |
|||
// reviewed: 4, |
|||
// noReviewed: 5 |
|||
// }, { |
|||
// text: "路障清除", |
|||
// textEnd: "起", |
|||
// textNum: 9, |
|||
// icon: require("./assets/路障清除.png"), |
|||
// reviewed: 4, |
|||
// noReviewed: 5 |
|||
// }, { |
|||
// text: "车辆故障", |
|||
// textEnd: "起", |
|||
// textNum: 9, |
|||
// icon: require("./assets/车辆故障.png"), |
|||
// reviewed: 4, |
|||
// noReviewed: 5 |
|||
// }, { |
|||
// text: "服务区异常", |
|||
// textEnd: "起", |
|||
// textNum: 9, |
|||
// icon: require("./assets/服务区异常.png"), |
|||
// reviewed: 4, |
|||
// noReviewed: 5 |
|||
// }, { |
|||
// text: "交通管制", |
|||
// textEnd: "起", |
|||
// textNum: 9, |
|||
// icon: require("./assets/交通管制.png"), |
|||
// reviewed: 4, |
|||
// noReviewed: 5 |
|||
// }, { |
|||
// text: "交通拥堵", |
|||
// textEnd: "起", |
|||
// textNum: 9, |
|||
// icon: require("./assets/交通拥堵.png"), |
|||
// reviewed: 4, |
|||
// noReviewed: 5 |
|||
// }, { |
|||
// text: "施工建设", |
|||
// textEnd: "起", |
|||
// textNum: 9, |
|||
// icon: require("./assets/施工建设.png"), |
|||
// reviewed: 4, |
|||
// noReviewed: 5 |
|||
// }, { |
|||
// text: "异常天气", |
|||
// textEnd: "起", |
|||
// textNum: 9, |
|||
// icon: require("./assets/异常天气.png"), |
|||
// reviewed: 4, |
|||
// noReviewed: 5 |
|||
// }, { |
|||
// text: "交通事故", |
|||
// textEnd: "起", |
|||
// textNum: 9, |
|||
// icon: require("./assets/交通事故.png"), |
|||
// reviewed: 4, |
|||
// noReviewed: 5 |
|||
// } |
|||
|
|||
// ] |
|||
} |
|||
}, |
|||
methods: { |
|||
getEventStatusNum() { |
|||
eventStatusNum().then(response => { |
|||
this.topDatas = response.data |
|||
}) |
|||
}, |
|||
changeTabs() { |
|||
|
|||
} |
|||
name: "publicService", |
|||
components: {}, |
|||
data() { |
|||
return { |
|||
active: "事件专题", |
|||
activeName: "first", |
|||
topDatas: [], |
|||
// topDatas: [{ |
|||
// text: "其他事件", |
|||
// textEnd: "起", |
|||
// textNum: 9, |
|||
// icon: require("./assets/其他事件.png"), |
|||
// reviewed: 4, |
|||
// noReviewed: 5 |
|||
// }, { |
|||
// text: "路障清除", |
|||
// textEnd: "起", |
|||
// textNum: 9, |
|||
// icon: require("./assets/路障清除.png"), |
|||
// reviewed: 4, |
|||
// noReviewed: 5 |
|||
// }, { |
|||
// text: "车辆故障", |
|||
// textEnd: "起", |
|||
// textNum: 9, |
|||
// icon: require("./assets/车辆故障.png"), |
|||
// reviewed: 4, |
|||
// noReviewed: 5 |
|||
// }, { |
|||
// text: "服务区异常", |
|||
// textEnd: "起", |
|||
// textNum: 9, |
|||
// icon: require("./assets/服务区异常.png"), |
|||
// reviewed: 4, |
|||
// noReviewed: 5 |
|||
// }, { |
|||
// text: "交通管制", |
|||
// textEnd: "起", |
|||
// textNum: 9, |
|||
// icon: require("./assets/交通管制.png"), |
|||
// reviewed: 4, |
|||
// noReviewed: 5 |
|||
// }, { |
|||
// text: "交通拥堵", |
|||
// textEnd: "起", |
|||
// textNum: 9, |
|||
// icon: require("./assets/交通拥堵.png"), |
|||
// reviewed: 4, |
|||
// noReviewed: 5 |
|||
// }, { |
|||
// text: "施工建设", |
|||
// textEnd: "起", |
|||
// textNum: 9, |
|||
// icon: require("./assets/施工建设.png"), |
|||
// reviewed: 4, |
|||
// noReviewed: 5 |
|||
// }, { |
|||
// text: "异常天气", |
|||
// textEnd: "起", |
|||
// textNum: 9, |
|||
// icon: require("./assets/异常天气.png"), |
|||
// reviewed: 4, |
|||
// noReviewed: 5 |
|||
// }, { |
|||
// text: "交通事故", |
|||
// textEnd: "起", |
|||
// textNum: 9, |
|||
// icon: require("./assets/交通事故.png"), |
|||
// reviewed: 4, |
|||
// noReviewed: 5 |
|||
// } |
|||
|
|||
// ] |
|||
}; |
|||
}, |
|||
methods: { |
|||
getEventStatusNum() { |
|||
eventStatusNum().then((response) => { |
|||
this.topDatas = response.data; |
|||
}); |
|||
}, |
|||
mounted() { |
|||
this.getEventStatusNum() |
|||
}, |
|||
|
|||
} |
|||
changeTabs() {}, |
|||
}, |
|||
mounted() { |
|||
this.getEventStatusNum(); |
|||
}, |
|||
}; |
|||
</script> |
|||
|
|||
<style lang='scss' scoped> |
|||
|
|||
<style lang="scss" scoped> |
|||
::v-deep .el-tabs__item { |
|||
display: inline-flex; |
|||
justify-content: center; |
|||
font-size: 16px; |
|||
font-family: PingFang SC, PingFang SC; |
|||
font-weight: 500; |
|||
color: #FFFFFF; |
|||
min-width: 128px; |
|||
position: relative; |
|||
left: 10px; |
|||
display: inline-flex; |
|||
justify-content: center; |
|||
font-size: 16px; |
|||
font-family: PingFang SC, PingFang SC; |
|||
font-weight: 500; |
|||
color: #ffffff; |
|||
min-width: 128px; |
|||
position: relative; |
|||
left: 10px; |
|||
} |
|||
|
|||
::v-deep .el-tabs__active-bar { |
|||
min-width: 128px; |
|||
min-width: 128px; |
|||
} |
|||
|
|||
::v-deep .el-tabs__nav-wrap::after { |
|||
background-color: #133242; |
|||
opacity: 0.1; |
|||
background-color: #133242; |
|||
opacity: 0.1; |
|||
} |
|||
|
|||
.footTabs { |
|||
display: inline; |
|||
width: 99%; |
|||
|
|||
display: inline; |
|||
width: 99%; |
|||
} |
|||
|
|||
.TrafficFlow { |
|||
width: 100%; |
|||
height: 182px; |
|||
width: 100%; |
|||
height: 182px; |
|||
display: inline-flex; |
|||
position: relative; |
|||
z-index: 6; |
|||
color: white; |
|||
background: linear-gradient(180deg, rgba(6, 66, 88, 0) 0%, #06425804 93%); |
|||
border-radius: 0px 0px 0px 0px; |
|||
|
|||
.item:nth-child(11) .line { |
|||
display: none; |
|||
} |
|||
|
|||
.foot { |
|||
display: inline-flex; |
|||
position: relative; |
|||
z-index: 6; |
|||
color: white; |
|||
background: linear-gradient(180deg, rgba(6, 66, 88, 0) 0%, #06425804 93%); |
|||
border-radius: 0px 0px 0px 0px; |
|||
|
|||
.item:nth-child(11) .line { |
|||
display: none; |
|||
} |
|||
|
|||
.foot { |
|||
flex-direction: row; |
|||
width: 100%; |
|||
height: 100%; |
|||
background: linear-gradient(180deg, rgba(6, 66, 88, 0) 40%, #064258 93%); |
|||
|
|||
.item { |
|||
position: relative; |
|||
display: inline-flex; |
|||
width: calc(100% / 9); |
|||
height: 100%; |
|||
flex-direction: column; |
|||
justify-content: center; |
|||
align-items: center; |
|||
|
|||
.item-title { |
|||
position: relative; |
|||
display: inline-flex; |
|||
width: 162px; |
|||
height: 35px; |
|||
flex-direction: row; |
|||
width: 100%; |
|||
height: 100%; |
|||
background: linear-gradient(180deg, rgba(6, 66, 88, 0) 40%, #064258 93%); |
|||
|
|||
|
|||
.item { |
|||
position: relative; |
|||
display: inline-flex; |
|||
width: calc(100% / 9); |
|||
height: 100%; |
|||
flex-direction: column; |
|||
justify-content: center; |
|||
align-items: center; |
|||
|
|||
.item-title { |
|||
position: relative; |
|||
display: inline-flex; |
|||
width: 162px; |
|||
height: 35px; |
|||
flex-direction: row; |
|||
justify-content: center; |
|||
align-items: center; |
|||
background: linear-gradient(180deg, rgba(3, 60, 82, 0) 0%, #033C52 100%); |
|||
border-radius: 4px 4px 4px 4px; |
|||
font-size: 16px; |
|||
font-family: PingFang SC, PingFang SC; |
|||
font-weight: 500; |
|||
color: #FFFFFF; |
|||
|
|||
span.num { |
|||
font-size: 22px; |
|||
font-family: PangMenZhengDao; |
|||
font-weight: 400; |
|||
color: #E2B066; |
|||
position: relative; |
|||
display: inline-flex; |
|||
top: 2px; |
|||
left: -2px; |
|||
} |
|||
} |
|||
|
|||
.item-body { |
|||
position: relative; |
|||
display: inline-flex; |
|||
width: 162px; |
|||
// height: 100%; |
|||
flex-direction: row; |
|||
justify-content: center; |
|||
align-items: center; |
|||
font-size: 14px; |
|||
font-family: PingFang SC, PingFang SC; |
|||
font-weight: 400; |
|||
color: #FFFFFF; |
|||
margin: 20px 0; |
|||
|
|||
.icon-left { |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
// position: absolute; |
|||
// transition: all .15s linear; |
|||
// top: 0; |
|||
// width: 100%; |
|||
width: 47px; |
|||
height: 47px; |
|||
margin-left: -8px; |
|||
margin-right: 10px; |
|||
background-repeat: no-repeat; |
|||
background-size: auto; |
|||
background-position: center; |
|||
transition: all .18s linear; |
|||
|
|||
&::before { |
|||
content: ""; |
|||
position: absolute; |
|||
width: 45px; |
|||
height: 45px; |
|||
border: 1px solid rgba(0, 209, 255, .5); |
|||
background-color: var(--bgColor); |
|||
border-radius: 50%; |
|||
z-index: -1; |
|||
} |
|||
} |
|||
|
|||
|
|||
|
|||
.text-right { |
|||
display: inline-flex; |
|||
flex-direction: column; |
|||
align-items: center; |
|||
justify-content: space-between; |
|||
|
|||
.text { |
|||
margin-top: 7px; |
|||
// margin: 5px; |
|||
} |
|||
} |
|||
|
|||
|
|||
|
|||
|
|||
span.num { |
|||
font-size: 18px; |
|||
font-family: PangMenZhengDao; |
|||
font-weight: 400; |
|||
color: #E2B066; |
|||
} |
|||
|
|||
} |
|||
|
|||
justify-content: center; |
|||
align-items: center; |
|||
background: linear-gradient( |
|||
180deg, |
|||
rgba(3, 60, 82, 0) 0%, |
|||
#033c52 100% |
|||
); |
|||
border-radius: 4px 4px 4px 4px; |
|||
font-size: 16px; |
|||
font-family: PingFang SC, PingFang SC; |
|||
font-weight: 500; |
|||
color: #ffffff; |
|||
|
|||
span.num { |
|||
font-size: 22px; |
|||
font-family: PangMenZhengDao; |
|||
font-weight: 400; |
|||
color: #e2b066; |
|||
position: relative; |
|||
display: inline-flex; |
|||
top: 2px; |
|||
left: -2px; |
|||
} |
|||
} |
|||
|
|||
.line { |
|||
.item-body { |
|||
position: relative; |
|||
display: inline-flex; |
|||
width: 162px; |
|||
// height: 100%; |
|||
flex-direction: row; |
|||
justify-content: center; |
|||
align-items: center; |
|||
font-size: 14px; |
|||
font-family: PingFang SC, PingFang SC; |
|||
font-weight: 400; |
|||
color: #ffffff; |
|||
margin: 20px 0; |
|||
|
|||
.left { |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
// position: absolute; |
|||
// transition: all .15s linear; |
|||
// top: 0; |
|||
// width: 100%; |
|||
width: 47px; |
|||
height: 47px; |
|||
margin-left: -8px; |
|||
margin-right: 10px; |
|||
background-repeat: no-repeat; |
|||
background-size: auto; |
|||
background-position: center; |
|||
transition: all 0.18s linear; |
|||
|
|||
&::before { |
|||
content: ""; |
|||
position: absolute; |
|||
width: 2px; |
|||
height: 120px; |
|||
top: 25px; |
|||
left: 180px; |
|||
background: url("~@screen/images/divide.svg"); |
|||
background-repeat: no-repeat; |
|||
background-size: 100% 100%; |
|||
width: 45px; |
|||
height: 45px; |
|||
border: 1px solid rgba(0, 209, 255, 0.5); |
|||
background-color: var(--bgColor); |
|||
border-radius: 50%; |
|||
z-index: -1; |
|||
} |
|||
} |
|||
|
|||
.text-right { |
|||
display: inline-flex; |
|||
flex-direction: column; |
|||
align-items: center; |
|||
justify-content: space-between; |
|||
|
|||
.text { |
|||
margin-top: 7px; |
|||
// margin: 5px; |
|||
} |
|||
} |
|||
|
|||
// .item::after { |
|||
// content: ""; |
|||
// position: absolute; |
|||
// display: inline-flex; |
|||
// top: 20px; |
|||
// right: 0px; |
|||
// width: 1px; |
|||
// height: 116px; |
|||
// background: linear-gradient(90deg, rgba(8, 135, 182, 0.2), rgba(0, 100, 137, 1), rgba(3, 60, 81, 0.2)); |
|||
// opacity: 1; |
|||
// flex-direction: row; |
|||
// justify-content: center; |
|||
// align-items: center; |
|||
// } |
|||
span.num { |
|||
font-size: 18px; |
|||
font-family: PangMenZhengDao; |
|||
font-weight: 400; |
|||
color: #e2b066; |
|||
} |
|||
} |
|||
} |
|||
|
|||
.line { |
|||
position: absolute; |
|||
width: 2px; |
|||
height: 120px; |
|||
top: 25px; |
|||
left: 180px; |
|||
background: url("~@screen/images/divide.svg"); |
|||
background-repeat: no-repeat; |
|||
background-size: 100% 100%; |
|||
} |
|||
|
|||
// .item::after { |
|||
// content: ""; |
|||
// position: absolute; |
|||
// display: inline-flex; |
|||
// top: 20px; |
|||
// right: 0px; |
|||
// width: 1px; |
|||
// height: 116px; |
|||
// background: linear-gradient(90deg, rgba(8, 135, 182, 0.2), rgba(0, 100, 137, 1), rgba(3, 60, 81, 0.2)); |
|||
// opacity: 1; |
|||
// flex-direction: row; |
|||
// justify-content: center; |
|||
// align-items: center; |
|||
// } |
|||
} |
|||
} |
|||
</style> |
|||
|
@ -1,246 +1,252 @@ |
|||
<template> |
|||
<div class='TrafficFlow'> |
|||
<section class="foot"> |
|||
<div class="item keep-ratio" v-for="(item,index) in topDatas" > |
|||
<div class="item-title" > |
|||
<span> {{ item.text }} <span class="num">{{ item.textNum }}</span>{{ item.textEnd }}</span> |
|||
<div class="TrafficFlow"> |
|||
<section class="foot"> |
|||
<div class="item keep-ratio" v-for="(item, index) in topDatas"> |
|||
<div class="item-title"> |
|||
<span> |
|||
{{ item.text }} <span class="num">{{ item.textNum }}</span |
|||
>{{ item.textEnd }}</span |
|||
> |
|||
</div> |
|||
<div class="item-body"> |
|||
<div class=""> |
|||
<img :src="item.icon" /> |
|||
</div> |
|||
<div class="text-right"> |
|||
<div class="topText"> |
|||
已审核 <span class="num">{{ item.reviewed }}</span> 起 |
|||
</div> |
|||
<div class="item-body" > |
|||
<div class="icon-left" > |
|||
<img :src="item.icon" /> |
|||
</div> |
|||
<div class="text-right" > |
|||
<div class="topText" > |
|||
已审核 <span class="num">{{ item.reviewed }}</span> 起 |
|||
</div> |
|||
<div class="bottomText" > |
|||
未审核 <span class="num" >{{ item.noReviewed }}</span> 起 |
|||
</div> |
|||
</div> |
|||
<div class="bottomText"> |
|||
未审核 <span class="num">{{ item.noReviewed }}</span> 起 |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
|
|||
export default { |
|||
name: 'publicService', |
|||
components: { |
|||
|
|||
}, |
|||
data(){ |
|||
return { |
|||
activeName:"first", |
|||
topDatas:[ { |
|||
text:"其他事件", |
|||
textEnd:"起", |
|||
textNum:9, |
|||
icon:require("./assets/其他事件.png"), |
|||
reviewed:4, |
|||
noReviewed:5 |
|||
},{ |
|||
text:"路障清除", |
|||
textEnd:"起", |
|||
textNum:9, |
|||
icon:require("./assets/路障清除.png"), |
|||
reviewed:4, |
|||
noReviewed:5 |
|||
},{ |
|||
text:"车辆故障", |
|||
textEnd:"起", |
|||
textNum:9, |
|||
icon:require("./assets/车辆故障.png"), |
|||
reviewed:4, |
|||
noReviewed:5 |
|||
},{ |
|||
text:"服务区异常", |
|||
textEnd:"起", |
|||
textNum:9, |
|||
icon:require("./assets/服务区异常.png"), |
|||
reviewed:4, |
|||
noReviewed:5 |
|||
},{ |
|||
text:"交通管制", |
|||
textEnd:"起", |
|||
textNum:9, |
|||
icon:require("./assets/交通管制.png"), |
|||
reviewed:4, |
|||
noReviewed:5 |
|||
},{ |
|||
text:"交通拥堵", |
|||
textEnd:"起", |
|||
textNum:9, |
|||
icon:require("./assets/交通拥堵.png"), |
|||
reviewed:4, |
|||
noReviewed:5 |
|||
},{ |
|||
text:"施工建设", |
|||
textEnd:"起", |
|||
textNum:9, |
|||
icon:require("./assets/施工建设.png"), |
|||
reviewed:4, |
|||
noReviewed:5 |
|||
},{ |
|||
text:"异常天气", |
|||
textEnd:"起", |
|||
textNum:9, |
|||
icon:require("./assets/异常天气.png"), |
|||
reviewed:4, |
|||
noReviewed:5 |
|||
},{ |
|||
text:"交通事故", |
|||
textEnd:"起", |
|||
textNum:9, |
|||
icon:require("./assets/交通事故.png"), |
|||
reviewed:4, |
|||
noReviewed:5 |
|||
} |
|||
|
|||
] |
|||
} |
|||
}, |
|||
methods:{ |
|||
changeTabs(){ |
|||
|
|||
} |
|||
} |
|||
|
|||
} |
|||
</script> |
|||
|
|||
<style lang='scss' scoped> |
|||
|
|||
::v-deep .el-tabs__item{ |
|||
</div> |
|||
</section> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: "publicService", |
|||
components: {}, |
|||
data() { |
|||
return { |
|||
activeName: "first", |
|||
topDatas: [ |
|||
{ |
|||
text: "其他事件", |
|||
textEnd: "起", |
|||
textNum: 9, |
|||
icon: require("./assets/其他事件.png"), |
|||
reviewed: 4, |
|||
noReviewed: 5, |
|||
}, |
|||
{ |
|||
text: "路障清除", |
|||
textEnd: "起", |
|||
textNum: 9, |
|||
icon: require("./assets/路障清除.png"), |
|||
reviewed: 4, |
|||
noReviewed: 5, |
|||
}, |
|||
{ |
|||
text: "车辆故障", |
|||
textEnd: "起", |
|||
textNum: 9, |
|||
icon: require("./assets/车辆故障.png"), |
|||
reviewed: 4, |
|||
noReviewed: 5, |
|||
}, |
|||
{ |
|||
text: "服务区异常", |
|||
textEnd: "起", |
|||
textNum: 9, |
|||
icon: require("./assets/服务区异常.png"), |
|||
reviewed: 4, |
|||
noReviewed: 5, |
|||
}, |
|||
{ |
|||
text: "交通管制", |
|||
textEnd: "起", |
|||
textNum: 9, |
|||
icon: require("./assets/交通管制.png"), |
|||
reviewed: 4, |
|||
noReviewed: 5, |
|||
}, |
|||
{ |
|||
text: "交通拥堵", |
|||
textEnd: "起", |
|||
textNum: 9, |
|||
icon: require("./assets/交通拥堵.png"), |
|||
reviewed: 4, |
|||
noReviewed: 5, |
|||
}, |
|||
{ |
|||
text: "施工建设", |
|||
textEnd: "起", |
|||
textNum: 9, |
|||
icon: require("./assets/施工建设.png"), |
|||
reviewed: 4, |
|||
noReviewed: 5, |
|||
}, |
|||
{ |
|||
text: "异常天气", |
|||
textEnd: "起", |
|||
textNum: 9, |
|||
icon: require("./assets/异常天气.png"), |
|||
reviewed: 4, |
|||
noReviewed: 5, |
|||
}, |
|||
{ |
|||
text: "交通事故", |
|||
textEnd: "起", |
|||
textNum: 9, |
|||
icon: require("./assets/交通事故.png"), |
|||
reviewed: 4, |
|||
noReviewed: 5, |
|||
}, |
|||
], |
|||
}; |
|||
}, |
|||
methods: { |
|||
changeTabs() {}, |
|||
}, |
|||
}; |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
::v-deep .el-tabs__item { |
|||
display: inline-flex; |
|||
justify-content: center; |
|||
font-size: 16px; |
|||
font-family: PingFang SC, PingFang SC; |
|||
font-weight: 500; |
|||
color: #ffffff; |
|||
min-width: 128px; |
|||
position: relative; |
|||
left: 10px; |
|||
} |
|||
|
|||
::v-deep .el-tabs__active-bar { |
|||
min-width: 128px; |
|||
} |
|||
|
|||
::v-deep .el-tabs__nav-wrap::after { |
|||
background-color: #133242; |
|||
opacity: 0.1; |
|||
} |
|||
|
|||
.footTabs { |
|||
display: inline; |
|||
width: 99%; |
|||
} |
|||
|
|||
.TrafficFlow { |
|||
width: 100%; |
|||
height: 182px; |
|||
display: inline-flex; |
|||
position: relative; |
|||
z-index: 6; |
|||
color: white; |
|||
background: linear-gradient(180deg, rgba(6, 66, 88, 0) 0%, #06425804 93%); |
|||
border-radius: 0px 0px 0px 0px; |
|||
|
|||
.foot { |
|||
display: inline-flex; |
|||
justify-content: center; |
|||
font-size: 16px; |
|||
font-family: PingFang SC, PingFang SC; |
|||
font-weight: 500; |
|||
color: #FFFFFF; |
|||
min-width:128px; |
|||
position: relative; |
|||
left:10px; |
|||
} |
|||
|
|||
::v-deep .el-tabs__active-bar { |
|||
min-width:128px; |
|||
} |
|||
|
|||
::v-deep .el-tabs__nav-wrap::after { |
|||
background-color: #133242; |
|||
opacity: 0.1; |
|||
} |
|||
|
|||
.footTabs { |
|||
display: inline; |
|||
width:99%; |
|||
|
|||
} |
|||
|
|||
.TrafficFlow { |
|||
flex-direction: row; |
|||
width: 100%; |
|||
height: 182px; |
|||
display: inline-flex; |
|||
position: relative; |
|||
z-index: 6; |
|||
color: white; |
|||
background: linear-gradient(180deg, rgba(6,66,88,0) 0%, #06425804 93%); |
|||
border-radius: 0px 0px 0px 0px; |
|||
|
|||
.foot { |
|||
height: 100%; |
|||
|
|||
.item { |
|||
position: relative; |
|||
display: inline-flex; |
|||
width: calc(100% / 9); |
|||
height: 100%; |
|||
flex-direction: column; |
|||
justify-content: center; |
|||
align-items: center; |
|||
|
|||
.item-title { |
|||
position: relative; |
|||
display: inline-flex; |
|||
width: 162px; |
|||
height: 35px; |
|||
flex-direction: row; |
|||
width:100%; |
|||
height:100%; |
|||
|
|||
.item { |
|||
position: relative; |
|||
display: inline-flex; |
|||
width: calc(100% / 9); |
|||
height:100%; |
|||
flex-direction: column; |
|||
justify-content: center; |
|||
align-items: center; |
|||
|
|||
.item-title { |
|||
position: relative; |
|||
display: inline-flex; |
|||
width: 162px; |
|||
height:35px; |
|||
flex-direction: row; |
|||
justify-content: center; |
|||
align-items: center; |
|||
background: linear-gradient(180deg, rgba(3,60,82,0) 0%, #033C52 100%); |
|||
border-radius: 4px 4px 4px 4px; |
|||
font-size: 16px; |
|||
font-family: PingFang SC, PingFang SC; |
|||
font-weight: 500; |
|||
color: #FFFFFF; |
|||
|
|||
span.num { |
|||
font-size: 22px; |
|||
font-family: PangMenZhengDao; |
|||
font-weight: 400; |
|||
color: #E2B066; |
|||
display: inline-flex; |
|||
position: relative; |
|||
left:-2px; |
|||
top:1px; |
|||
} |
|||
} |
|||
|
|||
.item-body { |
|||
position: relative; |
|||
display: inline-flex; |
|||
width: 162px; |
|||
height:100%; |
|||
flex-direction: row; |
|||
justify-content: center; |
|||
align-items: center; |
|||
font-size: 14px; |
|||
font-family: PingFang SC, PingFang SC; |
|||
font-weight: 400; |
|||
color: #FFFFFF; |
|||
margin-top:15px; |
|||
|
|||
img { |
|||
width:47px; |
|||
height:47px; |
|||
margin:0 10px; |
|||
margin-right:20px; |
|||
} |
|||
|
|||
|
|||
span.num { |
|||
font-size: 18px; |
|||
font-family: PangMenZhengDao; |
|||
font-weight: 400; |
|||
color: #E2B066; |
|||
} |
|||
|
|||
} |
|||
justify-content: center; |
|||
align-items: center; |
|||
background: linear-gradient( |
|||
180deg, |
|||
rgba(3, 60, 82, 0) 0%, |
|||
#033c52 100% |
|||
); |
|||
border-radius: 4px 4px 4px 4px; |
|||
font-size: 16px; |
|||
font-family: PingFang SC, PingFang SC; |
|||
font-weight: 500; |
|||
color: #ffffff; |
|||
|
|||
span.num { |
|||
font-size: 22px; |
|||
font-family: PangMenZhengDao; |
|||
font-weight: 400; |
|||
color: #e2b066; |
|||
display: inline-flex; |
|||
position: relative; |
|||
left: -2px; |
|||
top: 1px; |
|||
} |
|||
} |
|||
|
|||
.item-body { |
|||
position: relative; |
|||
display: inline-flex; |
|||
width: 162px; |
|||
height: 100%; |
|||
flex-direction: row; |
|||
justify-content: center; |
|||
align-items: center; |
|||
font-size: 14px; |
|||
font-family: PingFang SC, PingFang SC; |
|||
font-weight: 400; |
|||
color: #ffffff; |
|||
margin-top: 15px; |
|||
|
|||
img { |
|||
width: 47px; |
|||
height: 47px; |
|||
margin: 0 10px; |
|||
margin-right: 20px; |
|||
} |
|||
|
|||
.item::after { |
|||
content: ""; |
|||
position: absolute; |
|||
display: inline-flex; |
|||
top:20px; |
|||
right:0px; |
|||
width: 1px; |
|||
height: 116px; |
|||
background: linear-gradient(90deg, rgba(8, 135, 182, 0.2), rgba(0, 100, 137, 1), rgba(3, 60, 81, 0.2)); |
|||
opacity: 1; |
|||
flex-direction: row; |
|||
justify-content: center; |
|||
align-items: center; |
|||
span.num { |
|||
font-size: 18px; |
|||
font-family: PangMenZhengDao; |
|||
font-weight: 400; |
|||
color: #e2b066; |
|||
} |
|||
} |
|||
} |
|||
|
|||
.item::after { |
|||
content: ""; |
|||
position: absolute; |
|||
display: inline-flex; |
|||
top: 20px; |
|||
right: 0px; |
|||
width: 1px; |
|||
height: 116px; |
|||
background: linear-gradient( |
|||
90deg, |
|||
rgba(8, 135, 182, 0.2), |
|||
rgba(0, 100, 137, 1), |
|||
rgba(3, 60, 81, 0.2) |
|||
); |
|||
opacity: 1; |
|||
flex-direction: row; |
|||
justify-content: center; |
|||
align-items: center; |
|||
} |
|||
|
|||
} |
|||
</style> |
|||
|
|||
} |
|||
</style> |
|||
|
Loading…
Reference in new issue