[fix]同步pc版本

main
huyuanxiang 2 years ago
parent 8e14a4abcc
commit 3709ffc13c

@ -38,31 +38,35 @@ export const STATION_LIST = {
{
id: '6',
stationName: '7# 厂房'
},{
id: '7',
stationName: '8# 厂房'
},
{
id: '8',
stationName: '15#-1 厂房'
}, {
id: '9',
stationName: '15#-2 厂房'
}],
// {
// id: '7',
// stationName: '8# 厂房'
// },
// {
// id: '8',
// stationName: '15#-1 厂房'
// }, {
// id: '9',
// stationName: '15#-2 厂房'
// },
],
'1052758020': [
{
id: '25',
stationName: '总装车间'
},
{
id: '26',
stationName: '综合车间'
},],
// {
// id: '26',
// stationName: '综合车间'
// },
],
'1052758021': [
// {
// id: '10',
// stationName: '红塔一期电房'
// },
{
id: '10',
stationName: '红塔一期电房'
},{
id: '11',
stationName: '红塔二期电房'
},],
@ -113,7 +117,7 @@ export const STATION_LIST = {
'1052758027': [
{
id: '2',
stationName: '悠口园区'
stationName: '悠口园区'
},],
'1052758028': [
{

@ -245,12 +245,12 @@
<script>
import { scrollSmoothTo } from '@/common/util/index.js'
import _mixin from './mixin.js'
import { AREA_SECOND_STATIONS, FIRST_STATIONS, UN_SHOW_STATIONS, END_NUM } from './config'
import { getBigScreenPowerInverterInfo, getBigScreenPowerInverterInfo2 } from '@/api/modules/station.js'
import { scrollSmoothTo } from '@/common/util/index.js'
import _mixin from './mixin.js'
import { AREA_SECOND_STATIONS, FIRST_STATIONS, UN_SHOW_STATIONS, END_NUM } from './config'
import { getBigScreenPowerInverterInfo, getBigScreenPowerInverterInfo2 } from '@/api/modules/station.js'
export default {
export default {
data() {
return {
modalName: null,
@ -402,7 +402,7 @@
v._sName = v.equipmentName.split(' ')[1]
return v
}).sort((a, b) => a._sName.localeCompare(b._sName, 'zh-CN'))
const num = mat.length ? mat[0] : 0
const num = mat && mat.length ? mat[0] : 0
return {
key: v,
num,
@ -450,11 +450,11 @@
}
}
}
}
</script>
<style lang="scss">
:root {
:root {
--c-green: #00d40e;
//--c-z1: #1d49a8;
--c-z1: #0c4ad1;
@ -462,41 +462,41 @@
--c-z3: #000;
--c-z4: #808080;
--c-z5: #fc6;
}
/deep/ .selected-list{
}
/deep/ .selected-list{
align-items: center;
}
/deep/ .u-collapse-item__content__text {
}
/deep/ .u-collapse-item__content__text {
background-color: rgba(0,0,0, 1);
}
/deep/ .second-class .u-collapse-item__content {
}
/deep/ .second-class .u-collapse-item__content {
height: auto !important;
}
/deep/ .first-class .u-collapse-item{
}
/deep/ .first-class .u-collapse-item{
&:nth-child(2) .u-collapse-item__content {
// height: 514.656px !important;
}
}
}
/deep/ .u-action-sheet {
/deep/ .u-action-sheet {
background: #000;
}
/deep/ .u-action-sheet__header__title {
}
/deep/ .u-action-sheet__header__title {
color: #000;
}
html, body {
}
html, body {
scroll-behavior:smooth;
}
.second-status {
}
.second-status {
&.z1 {
color:#00d40e;
}
&.z4 {
color: #808080;
}
}
.report-status {
}
.report-status {
// position: absolute;
// left: 68%;
// top: 2px;
@ -540,8 +540,8 @@
}
}
}
}
.report-pos-info {
}
.report-pos-info {
z-index: 1;
padding-bottom: 20upx;
color: #f5f5f5;
@ -589,7 +589,7 @@
width: 100upx;
}
}
}
}
.station-box {
// padding: 0 10px 10px 10px;
padding-top: 10px;

Loading…
Cancel
Save