[fix]同步pc版本

main
huyuanxiang 2 years ago
parent 8e14a4abcc
commit 3709ffc13c

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

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

Loading…
Cancel
Save