diff --git a/src/api/screen/cityScreen.js b/src/api/screen/cityScreen.js
new file mode 100644
index 00000000..08d68497
--- /dev/null
+++ b/src/api/screen/cityScreen.js
@@ -0,0 +1,85 @@
+import request from '@/utils/request'
+
+
+
+// 装备总数、价值、配置率、今日入库数、出库数
+export const getBasicHeadApi = (data) => {
+ return request({
+ url: '/material-mall/city_screen/getBasicHead',
+ method: 'GET',
+ params: data,
+ })
+}
+
+// 装备数量价值
+export const equipmentQuantityValueApi = (data) => {
+ return request({
+ url: '/material-mall/city_screen/equipmentQuantityValue',
+ method: 'GET',
+ params: data,
+ })
+}
+
+// 装备状态
+export const equipmentStatusApi = (data) => {
+ return request({
+ url: '/material-mall/city_screen/equipmentStatus',
+ method: 'GET',
+ params: data,
+ })
+}
+
+// 维保预警
+export const maintenanceAlarmApi = (data) => {
+ return request({
+ url: '/material-mall/city_screen/maintenanceAlarm',
+ method: 'GET',
+ params: data,
+ })
+}
+
+// 退役报警
+export const retirementAlarmApi = (data) => {
+ return request({
+ url: '/material-mall/city_screen/retirementAlarm',
+ method: 'GET',
+ params: data,
+ })
+}
+
+// 装备在用率
+export const equipmentInServiceRateApi = (data) => {
+ return request({
+ url: '/material-mall/city_screen/equipmentInServiceRate',
+ method: 'GET',
+ params: data,
+ })
+}
+
+// 装备周转率
+export const equipmentTurnoverRateApi = (data) => {
+ return request({
+ url: '/material-mall/city_screen/equipmentTurnoverRate',
+ method: 'GET',
+ params: data,
+ })
+}
+// 工程在用装备情况
+export const equipmentInUseInTheProjectApi = (data) => {
+ return request({
+ url: '/material-mall/city_screen/equipmentInUseInTheProject',
+ method: 'GET',
+ params: data,
+ })
+}
+
+
+// 电压等级下拉选
+export function getVoltageLevelApi(data) {
+ return request({
+ url: '/material-mall/decChange/getVoltageLevel',
+ method: 'post',
+ data: data,
+ })
+}
+
diff --git a/src/assets/cityScreen/tableHeader2.png b/src/assets/cityScreen/tableHeader2.png
new file mode 100644
index 00000000..fb51d9a5
Binary files /dev/null and b/src/assets/cityScreen/tableHeader2.png differ
diff --git a/src/assets/cityScreen/tableTr2.png b/src/assets/cityScreen/tableTr2.png
new file mode 100644
index 00000000..fd3ae0d4
Binary files /dev/null and b/src/assets/cityScreen/tableTr2.png differ
diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index b660b65c..99c847e4 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -114,6 +114,7 @@ const user = {
return getInfo()
.then(res => {
const user = res.user
+ sessionStorage.setItem('companyId', res.user.companyId)
const avatar = user.avatar ? user.avatar : require('@/assets/images/profile.jpg')
commit('SET_ROLES', res.roles && res.roles.length > 0 ? res.roles : ['ROLE_DEFAULT'])
commit('SET_PERMISSIONS', res.permissions)
diff --git a/src/views/screen/cityScreen/components/engineerUsing/index.vue b/src/views/screen/cityScreen/components/engineerUsing/index.vue
index 84b8ac22..9aa39b57 100644
--- a/src/views/screen/cityScreen/components/engineerUsing/index.vue
+++ b/src/views/screen/cityScreen/components/engineerUsing/index.vue
@@ -2,27 +2,42 @@
- 装备状态
+ 工程在用装备情况
+
+
+
+
项目数:
-
10
+
{{total}}
个
在用装备数:
-
10
+
{{useNum}}
台
@@ -38,26 +53,26 @@
-
+
{{ index+1 }}
- {{ item.major }}
+ {{ item.projectName }}
- {{ item.devicesNum }}
+ {{ item.useNum }}
- {{ item.amount }}
+ {{ (item.investAmount/10000).toFixed(2) }}
- {{ item.person }}
+ {{ item.scenePersonNum }}
{{ item.riskLevel }}
- {{ item.geography }}
+ {{ item.geoFeature }}
@@ -67,110 +82,67 @@
@@ -194,6 +166,30 @@ export default {
top: 23%;
left: 8%;
}
+.select-view{
+ width: 15%;
+ height: 54%;
+ position: absolute;
+ top: 21%;
+ right: 2%;
+}
+.select-box {
+ width: 70%; /*设置宽度确保内容 和 下拉icon的距离*/
+ height: 75%;
+ background: #113F67;
+ color: #ccc;
+ border: none;
+ border-radius: 10%;
+ border-color: #113F67;
+ font-size: 20px;
+ /*清除select聚焦时候的边框颜色*/
+ outline: none;
+ option {
+ font-size: 20px;
+ border: none;
+ }
+}
+
.content-view{
width: 100%;
height: 85%;
@@ -267,8 +263,8 @@ export default {
color: #ccc;
}
.icon{
- width: 60px;
- height: 60px;
+ width: 70px;
+ height: 70px;
}
.tableHeader{
@@ -281,12 +277,12 @@ export default {
}
.tableBox{
width: 100%;
- height: 78%;
+ height: 76%;
overflow-y: auto;
}
.tableTr{
width: 100%;
- height: 12%;
+ height: 18%;
background-image: url("../../../../../assets/cityScreen/tableTr.png");
background-size: 100% 100%;
margin-bottom: 2px;
@@ -313,7 +309,22 @@ export default {
justify-content: center;
font-size: 24px;
}
-@media screen and (min-width: 1920px) {
+::-webkit-scrollbar{
+ width: 4px;
+ height: 4px;
+}
+//定义背景颜色和圆角
+::-webkit-scrollbar-thumb{
+ border-radius: 1em;
+ background-color: rgba(50,50,50,.3);
+}
+//定义滚动条轨道 内阴影+圆角
+::-webkit-scrollbar-track{
+ border-radius: 1em;
+ background-color: rgba(50,50,50,.1);
+}
+
+@media screen and (min-width: 1080px) {
.title{
font-size: 10px;
}
@@ -326,20 +337,26 @@ export default {
margin: 0 2px;
}
.unit{
- font-size: 10px;
+ font-size: 8px;
}
.icon{
- width: 30px;
- height: 30px;
+ width: 35px;
+ height: 35px;
}
.text{
font-size: 10px;
}
.tableTd{
- font-size: 10px;
+ font-size: 8px;
}
.fs-24{
- font-size: 10px;
+ font-size: 8px;
+ }
+ .select-box {
+ font-size: 10px;
+ option {
+ font-size: 10px;
+ }
}
}
@media screen and (min-width: 3000px) {
@@ -347,22 +364,22 @@ export default {
font-size: 24px;
}
.header{
- font-size: 24px;
+ font-size: 26px;
}
.num{
color: #83D3F8;
- font-size: 24px;
+ font-size: 26px;
margin: 0 10px;
}
.unit{
- font-size: 20px;
+ font-size: 16px;
}
.icon{
- width: 60px;
- height: 60px;
+ width: 70px;
+ height: 70px;
}
.text{
- font-size: 20px;
+ font-size: 26px;
}
.tableTd{
font-size: 24px;
@@ -370,6 +387,12 @@ export default {
.fs-24{
font-size: 24px;
}
+ .select-box {
+ font-size: 20px;
+ option {
+ font-size: 20px;
+ }
+ }
}
diff --git a/src/views/screen/cityScreen/components/equiQuantity/index.vue b/src/views/screen/cityScreen/components/equiQuantity/index.vue
index 88c2dc6a..f6acbaa3 100644
--- a/src/views/screen/cityScreen/components/equiQuantity/index.vue
+++ b/src/views/screen/cityScreen/components/equiQuantity/index.vue
@@ -17,30 +17,32 @@
- 50
+ {{lineData.deviceQuantity}}
台
- 0.027
- 亿元
+ {{(lineData.totalValue/100000000).toFixed(3)}}
+ {{(lineData.totalValue/10000).toFixed(2)}}
+ 亿元
+ 万元
5年
- 30
- 73%
+ {{lineData.fiveYearCount}}
+ {{lineData.fiveYearRatio}}%
5-10年
- 15
- 23%
+ {{lineData.fiveToTenYearCount}}
+ {{lineData.fiveToTenYearRatio}}%
10年以上
- 15
- 0%
+ {{lineData.aboveTenYearCount}}
+ {{lineData.aboveTenYearRatio}}%
@@ -55,30 +57,32 @@
- 50
+ {{bdData.deviceQuantity}}
台
- 0.027
- 亿元
+ {{(bdData.totalValue/100000000).toFixed(3)}}
+ {{(bdData.totalValue/10000).toFixed(2)}}
+ 亿元
+ 万元
5年
- 30
- 73%
+ {{bdData.fiveYearCount}}
+ {{bdData.fiveYearRatio}}%
5-10年
- 15
- 23%
+ {{bdData.fiveToTenYearCount}}
+ {{bdData.fiveToTenYearRatio}}%
10年以上
- 15
- 0%
+ {{bdData.aboveTenYearCount}}
+ {{bdData.aboveTenYearRatio}}%
@@ -93,30 +97,32 @@
- 50
+ {{dlData.deviceQuantity}}
台
- 0.027
- 亿元
+ {{(dlData.totalValue/100000000).toFixed(3)}}
+ {{(dlData.totalValue/10000).toFixed(2)}}
+ 亿元
+ 万元
5年
- 30
- 73%
+ {{dlData.fiveYearCount}}
+ {{dlData.fiveYearRatio}}%
5-10年
- 15
- 23%
+ {{dlData.fiveToTenYearCount}}
+ {{dlData.fiveToTenYearRatio}}%
10年以上
- 15
- 0%
+ {{dlData.aboveTenYearCount}}
+ {{dlData.aboveTenYearRatio}}%
@@ -129,46 +135,107 @@
@@ -178,19 +97,21 @@ export default {
}
.tableBox{
width: 100%;
- height: 88%;
+ height: 84%;
overflow-y: auto;
}
.tableTr{
width: 100%;
- height: 12%;
+ height: 16%;
background-image: url("../../../../../assets/cityScreen/tableTr.png");
background-size: 100% 100%;
margin-bottom: 2px;
display: flex;
+ cursor: pointer;
}
.tableTd{
- width: 20%;
+ width: 18%;
+ margin: 0 1%;
height: 100%;
display: flex;
align-items: center;
@@ -203,14 +124,29 @@ export default {
}
.header{
color: #72B1F1;
- width: 20%;
+ width: 18%;
height: 100%;
+ margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
- font-size: 24px;
+ font-size: 26px;
}
-@media screen and (min-width: 1920px) {
+::-webkit-scrollbar{
+ width: 4px;
+ height: 4px;
+}
+//定义背景颜色和圆角
+::-webkit-scrollbar-thumb{
+ border-radius: 1em;
+ background-color: rgba(50,50,50,.3);
+}
+//定义滚动条轨道 内阴影+圆角
+::-webkit-scrollbar-track{
+ border-radius: 1em;
+ background-color: rgba(50,50,50,.1);
+}
+@media screen and (min-width: 1080px) {
.title{
font-size: 10px;
}
@@ -218,7 +154,7 @@ export default {
font-size: 10px;
}
.tableTd{
- font-size: 10px;
+ font-size: 8px;
}
}
@media screen and (min-width: 3000px) {
@@ -226,7 +162,7 @@ export default {
font-size: 24px;
}
.header{
- font-size: 24px;
+ font-size: 26px;
}
.tableTd{
font-size: 24px;
diff --git a/src/views/screen/cityScreen/components/equiUse/index.vue b/src/views/screen/cityScreen/components/equiUse/index.vue
index 8eaf103c..ded1358f 100644
--- a/src/views/screen/cityScreen/components/equiUse/index.vue
+++ b/src/views/screen/cityScreen/components/equiUse/index.vue
@@ -8,19 +8,19 @@
-
60%
+
{{allRate}}%
总体在用率
-
60%
+
{{rate1}}%
变电装备在用率
-
60%
+
{{rate2}}%
线路装备在用率
-
60%
+
{{rate3}}%
电缆装备在用率
@@ -29,17 +29,32 @@
@@ -104,7 +119,7 @@ export default {
font-size: 28px;
font-weight: 800;
position: absolute;
- top:38%;
+ top:39%;
left: 12%;
}
.line-box{
@@ -118,7 +133,7 @@ export default {
font-size: 28px;
font-weight: 800;
position: absolute;
- top:19%;
+ top:20%;
right: 0%;
}
.cable-box{
@@ -132,21 +147,21 @@ export default {
font-size: 28px;
font-weight: 800;
position: absolute;
- top:74%;
+ top:73%;
right: 0%;
}
-@media screen and (min-width: 1920px) {
+@media screen and (min-width: 1080px) {
.title{
font-size: 10px;
}
.title2{
- font-size: 10px;
- padding-top: 5px;
+ font-size: 8px;
+ padding-top: 2px;
}
.title3{
- font-size: 10px;
- padding-top: 10px;
+ font-size: 8px;
+ padding-top: 12px;
}
.all-box{
font-size: 12px;
@@ -171,7 +186,7 @@ export default {
}
.title3{
font-size: 20px;
- padding-top: 30px;
+ padding-top: 28px;
}
.all-box{
font-size: 28px;
diff --git a/src/views/screen/cityScreen/components/maintenance/index.vue b/src/views/screen/cityScreen/components/maintenance/index.vue
index 03935cb3..0f448a9e 100644
--- a/src/views/screen/cityScreen/components/maintenance/index.vue
+++ b/src/views/screen/cityScreen/components/maintenance/index.vue
@@ -9,81 +9,65 @@
装备预警总数:
-
10
+
{{totalNum}}
台
-
-
-
-
-
-
+
+
+
+
+ {{ index+1 }}
+
+
+ {{ item.procedureName }}
+
+
+ {{ item.deviceName }}
+
+
+ {{ item.situation }}
+ {{ item.situation }}
+
+
+
@@ -127,70 +111,72 @@ export default {
color: #ccc;
}
.icon{
- width: 60px;
- height: 60px;
-}
-/*最外层透明*/
-::v-deep .el-table,
-::v-deep .el-table__expanded-cell {
- background-color: transparent !important;
-}
-/* 表格内背景颜色 */
-::v-deep .el-table th,
-::v-deep .el-table tr,
-::v-deep .el-table td {
- background-color: transparent !important;
- border: 1px solid rgba(3, 40, 70, 0.9) !important;
-}
-/*去除底边框*/
-::v-deep.el-table td.el-table__cell {
- border: 0;
-}
-::v-deep.el-table th.el-table__cell.is-leaf {
- border: 0;
-}
-::v-deep.el-table::before {
- height: 0;
+ width: 70px;
+ height: 70px;
}
-/* 滚动条 */
-::v-deep .el-table__body-wrapper::-webkit-scrollbar {
- width: 6px;
- height: 6px;
+.tableHeader{
+ width: 100%;
+ height: 12%;
+ background-color: #082D6E;
+ opacity: 0.8;
+ display: flex;
+ align-items: center;
}
-::v-deep .el-table__body-wrapper::-webkit-scrollbar-thumb {
- background-color: #2893cc;
- border-radius: 3px;
+.tableBox{
+ width: 100%;
+ height: 84%;
+ overflow-y: auto;
+}
+.tableTr{
+ width: 100%;
+ height: 16%;
+ // background-image: url("../../../../../assets/cityScreen/tableTr2.png");
+ // background-size: 100% 100%;
+ border-bottom: 1px dashed #eee;
+ margin-bottom: 2px;
+ display: flex;
+ cursor: pointer;
+}
+.tableTd{
+ width: auto;
+ height: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 24px;
+ color: #ccc;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+.header{
+ color: #ccc;
+ width: 25%;
+ height: 100%;
+ margin: 0 auto;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 26px;
}
-/* 标题行 */
-::v-deep .el-table__header-wrapper {
- /* border: 1px solid #15c0ff !important; */
- background-color: rgba(65, 129, 255, 0.4);
+::-webkit-scrollbar{
+ width: 4px;
+ height: 4px;
+}
+//定义背景颜色和圆角
+::-webkit-scrollbar-thumb{
+ border-radius: 1em;
+ background-color: rgba(50,50,50,.3);
+}
+//定义滚动条轨道 内阴影+圆角
+::-webkit-scrollbar-track{
+ border-radius: 1em;
+ background-color: rgba(50,50,50,.1);
}
-::v-deep .el-table .cell {
- // color: #15c0ff !important;
- color: #fff;
- font-size: 10px!important;
-}
-::v-deep .el-table th.el-table__cell > .cell {
- color: #e1f1fe !important;
- font-size: 10px!important;
-}
-
-/* 高亮当前行 */
-::v-deep .el-table__body tr.current-row > td {
- background-color: #15c0ff20 !important;
-}
-::v-deep .el-table__body tr.current-row .cell {
- color: #ffffff !important;
-
-}
-::v-deep .el-table__body tr:hover > td {
- background-color: #15c0ff20 !important;
-}
-@media screen and (min-width: 1920px) {
+@media screen and (min-width: 1080px) {
.title{
font-size: 10px;
}
@@ -200,23 +186,20 @@ export default {
margin: 0 2px;
}
.unit{
- font-size: 10px;
+ font-size: 8px;
}
.icon{
- width: 30px;
- height: 30px;
+ width: 35px;
+ height: 35px;
}
.text{
font-size: 10px;
}
- ::v-deep .el-table .cell {
- // color: #15c0ff !important;
- color: #fff;
- font-size: 10px!important;
- }
- ::v-deep .el-table th.el-table__cell > .cell {
- color: #e1f1fe !important;
- font-size: 10px!important;
+ .header{
+ font-size: 10px;
+ }
+ .tableTd{
+ font-size: 8px;
}
}
@media screen and (min-width: 3000px) {
@@ -229,23 +212,20 @@ export default {
margin: 0 10px;
}
.unit{
- font-size: 20px;
+ font-size: 16px;
}
.icon{
- width: 60px;
- height: 60px;
+ width: 70px;
+ height: 70px;
}
.text{
- font-size: 20px;
+ font-size: 26px;
}
- ::v-deep .el-table .cell {
- // color: #15c0ff !important;
- color: #fff;
- font-size: 20px!important;
- }
- ::v-deep .el-table th.el-table__cell > .cell {
- color: #e1f1fe !important;
- font-size: 20px!important;
+ .header{
+ font-size: 26px;
+ }
+ .tableTd{
+ font-size: 24px;
}
}
diff --git a/src/views/screen/cityScreen/components/retire/index.vue b/src/views/screen/cityScreen/components/retire/index.vue
index 466b39a9..3a3b3d04 100644
--- a/src/views/screen/cityScreen/components/retire/index.vue
+++ b/src/views/screen/cityScreen/components/retire/index.vue
@@ -8,17 +8,33 @@

-
退役预警总数:
-
10
+
退役预警总数:
+
{{totalNum}}
台
-
-
-
-
-
-
+
+
+
+
+ {{ index+1 }}
+
+
+ {{ item.procedureName }}
+
+
+ {{ item.deviceName }}
+
+
+ {{ item.situation }}
+
+
+
@@ -26,65 +42,28 @@
@@ -92,7 +71,7 @@ export default {
.content{
width: 100%;
height: 100%;
- background-image: url("../../../../../assets/cityScreen/maintenanceBg.png");
+ background-image: url("../../../../../assets/cityScreen/retireBg.png");
background-size: 110% 100%;
}
@@ -113,9 +92,9 @@ export default {
height: 85%;
padding-left: 8%;
}
-.text{
+.label{
color: #C0C2C6;
- font-size: 26px;
+ font-size: 24px;
}
.num{
color: #83D3F8;
@@ -128,67 +107,58 @@ export default {
color: #ccc;
}
.icon{
- width: 60px;
- height: 60px;
-}
-/*最外层透明*/
-::v-deep .el-table,
-::v-deep .el-table__expanded-cell {
- background-color: transparent !important;
-}
-/* 表格内背景颜色 */
-::v-deep .el-table th,
-::v-deep .el-table tr,
-::v-deep .el-table td {
- background-color: transparent !important;
- border: 1px solid rgba(3, 40, 70, 0.9) !important;
-}
-/*去除底边框*/
-::v-deep.el-table td.el-table__cell {
- border: 0;
-}
-::v-deep.el-table th.el-table__cell.is-leaf {
- border: 0;
-}
-::v-deep.el-table::before {
- height: 0;
+ width: 70px;
+ height: 70px;
}
-/* 滚动条 */
-::v-deep .el-table__body-wrapper::-webkit-scrollbar {
- width: 6px;
- height: 6px;
+.tableHeader{
+ width: 100%;
+ height: 12%;
+ background-color: #082D6E;
+ opacity: 0.8;
+ display: flex;
+ align-items: center;
}
-::v-deep .el-table__body-wrapper::-webkit-scrollbar-thumb {
- background-color: #2893cc;
- border-radius: 3px;
+.tableBox{
+ width: 100%;
+ height: 84%;
+ overflow-y: auto;
+}
+.tableTr{
+ width: 100%;
+ height: 16%;
+ border-bottom: 1px dashed #eee;
+ // background-image: url("../../../../../assets/cityScreen/tableTr2.png");
+ // background-size: 100% 100%;
+ margin-bottom: 2px;
+ display: flex;
+ cursor: pointer;
+}
+.tableTd{
+ width: auto;
+ height: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 24px;
+ color: #ccc;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+.header{
+ color: #ccc;
+ width: 25%;
+ height: 100%;
+ margin: 0 auto;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 26px;
}
-/* 标题行 */
-::v-deep .el-table__header-wrapper {
- /* border: 1px solid #15c0ff !important; */
- background-color: rgba(65, 129, 255, 0.4);
-}
-::v-deep .el-table .cell {
- // color: #15c0ff !important;
- color: #fff;
-}
-::v-deep .el-table th.el-table__cell > .cell {
- color: #e1f1fe !important;
-}
-
-/* 高亮当前行 */
-::v-deep .el-table__body tr.current-row > td {
- background-color: #15c0ff20 !important;
-}
-::v-deep .el-table__body tr.current-row .cell {
- color: #ffffff !important;
-}
-::v-deep .el-table__body tr:hover > td {
- background-color: #15c0ff20 !important;
-}
-@media screen and (min-width: 1920px) {
+@media screen and (min-width: 1080px) {
.title{
font-size: 10px;
}
@@ -198,23 +168,20 @@ export default {
margin: 0 2px;
}
.unit{
- font-size: 10px;
+ font-size: 8px;
}
.icon{
- width: 30px;
- height: 30px;
+ width: 35px;
+ height: 35px;
}
- .text{
+ .label{
font-size: 10px;
}
- ::v-deep .el-table .cell {
- // color: #15c0ff !important;
- color: #fff;
- font-size: 10px!important;
- }
- ::v-deep .el-table th.el-table__cell > .cell {
- color: #e1f1fe !important;
- font-size: 10px!important;
+ .header{
+ font-size: 10px;
+ }
+ .tableTd{
+ font-size: 8px;
}
}
@media screen and (min-width: 3000px) {
@@ -227,23 +194,20 @@ export default {
margin: 0 10px;
}
.unit{
- font-size: 20px;
+ font-size: 16px;
}
.icon{
- width: 60px;
- height: 60px;
+ width: 70px;
+ height: 70px;
}
- .text{
- font-size: 20px;
+ .label{
+ font-size: 26px;
}
- ::v-deep .el-table .cell {
- // color: #15c0ff !important;
- color: #fff;
- font-size: 20px!important;
- }
- ::v-deep .el-table th.el-table__cell > .cell {
- color: #e1f1fe !important;
- font-size: 20px!important;
+ .header{
+ font-size: 26px;
+ }
+ .tableTd{
+ font-size: 24px;
}
}
diff --git a/src/views/screen/cityScreen/components/topIcons/index.vue b/src/views/screen/cityScreen/components/topIcons/index.vue
index d8bd06a7..949571ed 100644
--- a/src/views/screen/cityScreen/components/topIcons/index.vue
+++ b/src/views/screen/cityScreen/components/topIcons/index.vue
@@ -4,7 +4,7 @@
装备总量
- 73
+ {{totalCount}}
台
@@ -14,8 +14,10 @@
装备总价值
- 0.027
- 亿元
+ {{(totalValue/100000000).toFixed(3)}}
+ {{(totalValue/10000).toFixed(2)}}
+ 亿元
+ 万元
@@ -23,7 +25,7 @@
装备配置率
- 100
+ {{allocationRate}}
%
@@ -31,18 +33,31 @@
-
@@ -93,7 +108,7 @@ export default {
margin-left: 10px;
}
-@media screen and (min-width: 1920px) {
+@media screen and (min-width: 1080px) {
.title{
font-size: 12px;
}
diff --git a/src/views/screen/cityScreen/components/topIconsTwo/index.vue b/src/views/screen/cityScreen/components/topIconsTwo/index.vue
index fe15771a..97bb15a4 100644
--- a/src/views/screen/cityScreen/components/topIconsTwo/index.vue
+++ b/src/views/screen/cityScreen/components/topIconsTwo/index.vue
@@ -4,7 +4,7 @@
今日入库
- 5
+ {{enterNum}}
台
@@ -13,7 +13,7 @@
@@ -22,17 +22,27 @@
@@ -81,7 +91,7 @@ export default {
margin-left: 10px;
}
-@media screen and (min-width: 1920px) {
+@media screen and (min-width: 1080px) {
.title{
font-size: 12px;
}
diff --git a/src/views/screen/cityScreen/index.vue b/src/views/screen/cityScreen/index.vue
index 7514486e..388377e1 100644
--- a/src/views/screen/cityScreen/index.vue
+++ b/src/views/screen/cityScreen/index.vue
@@ -78,7 +78,7 @@ export default {
background-size: 100% 100%;
display: flex;
}
-@media screen and (min-width: 1920px) {
+@media screen and (min-width: 1080px) {
.main-view {
height: 60vh;
}
@@ -98,6 +98,7 @@ export default {
.center_view{
width: 36%;
height: 100%;
+ border: 1px solid red;
}
.right_view{
@@ -106,6 +107,19 @@ export default {
padding: 2%;
// border: 1px solid red;
}
-
+::-webkit-scrollbar{
+ width: 4px;
+ height: 4px;
+}
+//定义背景颜色和圆角
+::-webkit-scrollbar-thumb{
+ border-radius: 1em;
+ background-color: rgba(50,50,50,.3);
+}
+//定义滚动条轨道 内阴影+圆角
+::-webkit-scrollbar-track{
+ border-radius: 1em;
+ background-color: rgba(50,50,50,.1);
+}
diff --git a/src/views/screen/cityScreen/temp.vue b/src/views/screen/cityScreen/temp.vue
deleted file mode 100644
index 768fa8af..00000000
--- a/src/views/screen/cityScreen/temp.vue
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
-