Compare commits

...

4 Commits

Author SHA1 Message Date
gongjiale dbdb6d7cea Merge branch 'hi-ucs-dev' of http://192.168.124.50:3000/wuhongjian/hi-ucs into hi-ucs-dev
# Conflicts:
#	front/src/views/assertReport/components/ReservoirBottom.vue
#	front/src/views/assertReport/components/ReservoirRight.vue
#	front/src/views/assertReport/components/ReservoirThumbnail.vue
#	front/src/views/assertReport/index.vue
2022-11-29 13:56:18 +08:00
gongjiale 4a6ea361b6 Merge branch 'hi-ucs-dev' of http://192.168.124.50:3000/wuhongjian/hi-ucs into hi-ucs-dev
# Conflicts:
#	front/src/views/assertReport/components/ReservoirBottom.vue
#	front/src/views/assertReport/components/ReservoirRight.vue
#	front/src/views/assertReport/components/ReservoirThumbnail.vue
#	front/src/views/assertReport/index.vue
2022-11-29 13:51:02 +08:00
gongjiale 9acaa0e8d3 修改大屏 2022-11-29 13:14:43 +08:00
gongjiale 1d5e82356e 111 2022-11-29 12:36:15 +08:00
3 changed files with 136 additions and 158 deletions

View File

@ -1,8 +1,11 @@
<template> <template>
<div class="right-survey"> <div class="right-survey">
<div class="platform-overview-bottom"> <div class="platform-overview-bottom">
<div class="top"><span class="title">资源汇聚总量</span></div> <div class="top"><span class="title">资源汇聚总量</span></div>
<div class="jiesheng"> <img src="../image/xing2.png" /><span style="padding-left:2px;">{{total}} </span><img src="../image/xing2.png" /></div>
<div class="bottom"> <div class="bottom">
<div <div
v-for="(item, index) in servicesNum" v-for="(item, index) in servicesNum"
:key="index" :key="index"
@ -17,127 +20,148 @@
</template> </template>
<script> <script>
import { selectTotal } from '@/api/assertReport' import {
export default { selectTotal
components: {}, } from '@/api/assertReport'
export default {
components: {},
mounted() { mounted() {
this.selectAllTotal() this.selectAllTotal()
}, },
data() { data() {
// //
return { return {
servicesNum: [], total:'',
} servicesNum: [],
}, }
},
methods: { methods: {
selectAllTotal() {
selectTotal().then((res) => { selectAllTotal(){
this.servicesNum = res.data.data.total.filter( selectTotal().then((res) => {
(item) => item.type !== '知识库' let result=res.data.data.total
) let now=[]
}) let num=0;
}, for(let i=0;i<result.length;i++){
}, if(result[i].type!=='知识库'){
} now.push(result[i])
num=num+Number(result[i].count)
}
}
this.servicesNum=now
this.total=num
})
}
}
}
</script> </script>
<style lang="less" scoped> <style lang='less' scoped>
@keyframes turn { @keyframes turn {
0% { 0% {
border-image: linear-gradient(to right, #003194, #00ffea) 1; border-image: linear-gradient(to right, #003194, #00ffea) 1;
}
25% {
border-image: linear-gradient(to bottom, #003194, #00ffea) 1;
}
50% {
border-image: linear-gradient(to left, #003194, #00ffea) 1;
}
75% {
border-image: linear-gradient(to top, #003194, #00ffea) 1;
}
100% {
border-image: linear-gradient(to right, #003194, #00ffea) 1;
}
} }
.top5-content::-webkit-scrollbar { 25% {
width: 6px; border-image: linear-gradient(to bottom, #003194, #00ffea) 1;
/*height: 4px;*/
} }
50% {
border-image: linear-gradient(to left, #003194, #00ffea) 1;
}
75% {
border-image: linear-gradient(to top, #003194, #00ffea) 1;
}
100% {
border-image: linear-gradient(to right, #003194, #00ffea) 1;
}
}
.jiesheng{
margin:8px 8px;
text-align: center;
color: #f4fcfe; border-color: #107bb0;
box-shadow: 1px 1px 5px 1px RGB(16, 123, 176, 0.8) inset
}
.top5-content::-webkit-scrollbar {
width: 6px;
/*height: 4px;*/
}
.top5-content::-webkit-scrollbar-thumb { .top5-content::-webkit-scrollbar-thumb {
background-color: #00deff; background-color: #00deff;
}
.map-search-result::-webkit-scrollbar-track,
.top5-content::-webkit-scrollbar-track {
background-color: #424748;
}
@keyframes topup50 {
from {
top: 50%;
} }
.map-search-result::-webkit-scrollbar-track, to {
.top5-content::-webkit-scrollbar-track { top: -100%;
background-color: #424748;
} }
@keyframes topup50 { }
from { .right-survey {
top: 50%;
}
to {
top: -100%;
}
}
.right-survey {
height: 100%;
color: #f0fafa;
font-size: 18px;
display: flex;
flex-direction: column;
.platform-overview-bottom { height: 100%;
color: #f0fafa;
font-size: 18px;
display: flex;
flex-direction: column;
.platform-overview-bottom {
margin-top: 5px;
width: 100%;
height: 1.78rem;
background: rgba(0, 108, 188, 0.2);
border-radius: 2px;
border: 1px solid rgba(0, 108, 188, 0.7);
text-decoration: none;
outline: none;
-webkit-transition: all 100ms ease-out;
-moz-transition: all 100ms ease-out;
transition: all 100ms ease-out;
.top {
font-size: 24px;
background: url('~@/assets/capabilityCloud/infrastructure_title.png') no-repeat;
background-size: 100% 100%;
text-align: center;
}
.bottom {
margin-top: 20px; margin-top: 20px;
width: 100%; display: flex;
height: 1.7rem; justify-content: space-between;
background: rgba(0, 108, 188, 0.2); align-items: center;
border-radius: 2px; padding: 0px 10px;
border: 1px solid rgba(0, 108, 188, 0.7); .component-services-content-right-left-content-son {
text-decoration: none; background: url('~@/assets/capabilityCloud/Component_services_snum.png')
outline: none;
-webkit-transition: all 100ms ease-out;
-moz-transition: all 100ms ease-out;
transition: all 100ms ease-out;
.top {
font-size: 24px;
background: url('~@/assets/capabilityCloud/infrastructure_title.png')
no-repeat; no-repeat;
background-size: 100% 100%; background-size: 1.1rem 0.59rem;
background-position: center;
text-align: center; text-align: center;
}
.bottom { & > p:first-child {
margin-top: 20px; color: #ffffff;
display: flex; font-size: 0.16rem;
justify-content: space-between; line-height: 0.16rem;
align-items: center; margin-bottom: 0.12rem;
padding: 0rem 0.2rem; }
.component-services-content-right-left-content-son { & > p:last-child {
background: url('~@/assets/capabilityCloud/Component_services_snum.png') color: #1ef6f5;
no-repeat; font-size: 0.28rem;
background-size: 1.1rem 0.59rem; line-height: 0.28rem;
background-position: center; padding-bottom: 0.24rem;
text-align: center; margin: 10px 45px;
& > p:first-child {
color: #ffffff;
font-size: 0.16rem;
line-height: 0.16rem;
margin-bottom: 0.12rem;
}
& > p:last-child {
color: #1ef6f5;
font-size: 0.28rem;
line-height: 0.28rem;
padding-bottom: 0.24rem;
margin: 10px 45px;
}
} }
} }
} }
.platform-overview-bottom:hover {
border: 2px solid;
animation: turn 5s linear infinite;
}
} }
.platform-overview-bottom:hover {
border: 2px solid;
animation: turn 5s linear infinite;
}
}
</style> </style>

View File

@ -14,6 +14,7 @@
<div class="left-list1">应用数</div> <div class="left-list1">应用数</div>
<div class="left-list1" style="color: #1ffefd">贡献金额</div> <div class="left-list1" style="color: #1ffefd">贡献金额</div>
</div> </div>
<div style=" height: 1.7rem; overflow-y: auto;overflow-x: hidden;width: 100%;">
<div class="left-list" v-for="(item, index) in top5DistrictList"> <div class="left-list" v-for="(item, index) in top5DistrictList">
<div class="left-list1" v-if="item.img"> <div class="left-list1" v-if="item.img">
<img :src="item.img" /> <img :src="item.img" />
@ -29,61 +30,12 @@
{{ item.applyPrice }} {{ item.applyPrice }}
</div> </div>
</div> </div>
</div>
</div> </div>
<!-- <div class="bottom-item">
<div class="inner-title">
<p style="width: 220px">市级部门审评节省资金排行</p>
</div>
<div class="left-list">
<div class="left-list1">排行</div>
<div class="left-list2">部门名称</div>
<div class="left-list1">应用数</div>
<div class="left-list1" style="color: #1ffefd">贡献金额</div>
</div>
<div class="left-list" v-for="(item, index) in top5DeptFundList">
<div class="left-list1" v-if="item.img">
<img :src="item.img" />
</div>
<div class="left-list1" v-else>{{ index + 1 }}</div>
<a-tooltip>
<template #title>{{ item.deptName }}</template>
<div class="left-list2">{{ item.deptName }}</div>
</a-tooltip>
<div class="left-list1">{{ item.applyCount }}</div>
<div class="left-list1" style="color: #1ffefd">
{{ item.applyPrice }}
</div>
</div>
</div> -->
</div> </div>
<div class="bottom1"> <div class="bottom1">
<!-- <div class="bottom-item">
<div class="inner-title">
<p style="width: 220px">市级部门共享贡献资金排行</p>
</div>
<div class="left-list">
<div class="left-list1">排行</div>
<div class="left-list2">部门名称</div>
<div class="left-list1">应用数</div>
<div class="left-list1" style="color: #1ffefd">贡献金额</div>
</div>
<div class="left-list" v-for="(item, index) in top5DistrictList">
<div class="left-list1" v-if="item.img">
<img :src="item.img" />
</div>
<div class="left-list1" v-else>{{ index + 1 }}</div>
<a-tooltip>
<template #title>{{ item.deptName }}</template>
<div class="left-list2">{{ item.deptName }}</div>
</a-tooltip>
<div class="left-list1">{{ item.resourceCount }}</div>
<div class="left-list1" style="color: #1ffefd">
{{ item.applyPrice }}
</div>
</div>
</div> -->
<div class="bottom-item"> <div class="bottom-item">
<div class="inner-title"> <div class="inner-title">
<p style="width: 220px">市级部门申请节省资金排行</p> <p style="width: 220px">市级部门申请节省资金排行</p>
@ -94,6 +46,7 @@
<div class="left-list1">应用数</div> <div class="left-list1">应用数</div>
<div class="left-list1" style="color: #1ffefd">贡献金额</div> <div class="left-list1" style="color: #1ffefd">贡献金额</div>
</div> </div>
<div style=" height: 1.7rem; overflow-y: auto;overflow-x: hidden;width: 100%;">
<div class="left-list" v-for="(item, index) in top5DeptFundList"> <div class="left-list" v-for="(item, index) in top5DeptFundList">
<div class="left-list1" v-if="item.img"> <div class="left-list1" v-if="item.img">
<img :src="item.img" /> <img :src="item.img" />
@ -108,6 +61,7 @@
<div class="left-list1" style="color: #1ffefd"> <div class="left-list1" style="color: #1ffefd">
{{ item.applyPrice }} {{ item.applyPrice }}
</div> </div>
</div>
</div> </div>
</div> </div>
</div> </div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 442 B