|
@@ -1,15 +1,14 @@
|
|
<template>
|
|
<template>
|
|
<view class="home">
|
|
<view class="home">
|
|
<view class="home_header">
|
|
<view class="home_header">
|
|
- <view class="header_message">
|
|
|
|
- <image src="../../static/jnImage/indexPage/message.png"></image>
|
|
|
|
|
|
+ <view class="header_message" @click="changeMsg">
|
|
|
|
+ <image src="../../static/jnImage/indexPage/alarmSet.png"></image>
|
|
</view>
|
|
</view>
|
|
<view class="header_title">
|
|
<view class="header_title">
|
|
- <image src="../../static/jnImage/loginPage/logo.png" mode=""></image>
|
|
|
|
- <text class="titleName">晋能新能源蒙东分公司</text>
|
|
|
|
|
|
+ <text class="titleName">发电场站生产实时运营管理平台</text>
|
|
</view>
|
|
</view>
|
|
<view class="header_more">
|
|
<view class="header_more">
|
|
- <image src="../../static/jnImage/indexPage/more.png"></image>
|
|
|
|
|
|
+ <image src="../../static/jnImage/indexPage/moreNew.png"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="home_main">
|
|
<view class="home_main">
|
|
@@ -21,26 +20,36 @@
|
|
<text>09:19</text>
|
|
<text>09:19</text>
|
|
</view>
|
|
</view>
|
|
<view class="mesAll">
|
|
<view class="mesAll">
|
|
- <view class="mesEx" v-for="(item,index) in mesExData" :key="index">
|
|
|
|
- <view class="mesEx_left">
|
|
|
|
- <text class="mesEx_left_top">
|
|
|
|
- <text class="nameSty">{{item.leftName}}</text>
|
|
|
|
- </text>
|
|
|
|
- <view class=" mesEx_left_end">
|
|
|
|
- <text>{{item.leftValue}}</text>
|
|
|
|
- <text>{{item.leftCode}}</text>
|
|
|
|
|
|
+ <uni-row class="mesEx">
|
|
|
|
+ <uni-col :span="12" v-for="(item,index) in mesExData" :key="index">
|
|
|
|
+ <view class="mesEx_left flex">
|
|
|
|
+ <view class="mesEx_left_top">
|
|
|
|
+ <text class="nameSty">{{item.leftName}}</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="mesEx_left_end">
|
|
|
|
+ <text>{{item.leftValue}}</text>
|
|
|
|
+ <text>{{item.leftCode}}</text>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <view class="mesEx_left">
|
|
|
|
- <text class="mesEx_left_top">
|
|
|
|
- <text class="nameSty">{{item.rightName}}</text>
|
|
|
|
- </text>
|
|
|
|
- <view class="mesEx_left_end">
|
|
|
|
- <text>{{item.rightValue}}</text>
|
|
|
|
- <text>{{item.rightCode}}</text>
|
|
|
|
|
|
+ </uni-col>
|
|
|
|
+ </uni-row>
|
|
|
|
+ <uni-row class="windpowerCl">
|
|
|
|
+ <uni-col :span="12" v-for="(item,index) in windPowerData" :key="index">
|
|
|
|
+ <view class="windpowerMsg">
|
|
|
|
+ <view class="windpowerMsg_com flex justify-between">
|
|
|
|
+ <text style="font-size: 28upx">{{item.name}}</text>
|
|
|
|
+ <text>{{item.code}}</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="windpowerMsg_Data">
|
|
|
|
+ <text>{{item.value}}</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="windpowerMsg_com flex justify-between">
|
|
|
|
+ <text>min:{{item.min}}</text>
|
|
|
|
+ <text>max:{{item.max}}</text>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
|
|
+ </uni-col>
|
|
|
|
+ </uni-row>
|
|
<view class="windMsg">
|
|
<view class="windMsg">
|
|
<view class="flex justify-center" style="margin-bottom: 6px;">
|
|
<view class="flex justify-center" style="margin-bottom: 6px;">
|
|
<view class="windMsg_title">
|
|
<view class="windMsg_title">
|
|
@@ -52,7 +61,9 @@
|
|
<view class="windMsg_main_msg flex justify-between">
|
|
<view class="windMsg_main_msg flex justify-between">
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty_left">
|
|
<view class="windMsgSty_left">
|
|
- <image src="../../static/jnImage/indexPage/jieru.png" mode=""></image>
|
|
|
|
|
|
+ <image src="../../static/jnImage/indexPage/yunxingNew.png" mode=""></image>
|
|
|
|
+ <!-- <view class="windMsgCom" style="background-color: #c2c2c2">
|
|
|
|
+ </view> -->
|
|
<text>接入</text>
|
|
<text>接入</text>
|
|
</view>
|
|
</view>
|
|
<view class="windMsgSty_right flex justify-between">
|
|
<view class="windMsgSty_right flex justify-between">
|
|
@@ -62,7 +73,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty_left">
|
|
<view class="windMsgSty_left">
|
|
- <image src="../../static/jnImage/indexPage/daiji.png" mode=""></image>
|
|
|
|
|
|
+ <image src="../../static/jnImage/indexPage/daijiNew.png" mode=""></image>
|
|
<text>待机</text>
|
|
<text>待机</text>
|
|
</view>
|
|
</view>
|
|
<view class="windMsgSty_right flex justify-between">
|
|
<view class="windMsgSty_right flex justify-between">
|
|
@@ -74,8 +85,8 @@
|
|
<view class="windMsg_main_msg flex justify-between">
|
|
<view class="windMsg_main_msg flex justify-between">
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty_left">
|
|
<view class="windMsgSty_left">
|
|
- <image src="../../static/jnImage/indexPage/yunxing.png" mode=""></image>
|
|
|
|
- <text>运行</text>
|
|
|
|
|
|
+ <image src="../../static/jnImage/indexPage/qidongNew.png" mode=""></image>
|
|
|
|
+ <text>启动</text>
|
|
</view>
|
|
</view>
|
|
<view class="windMsgSty_right flex justify-between">
|
|
<view class="windMsgSty_right flex justify-between">
|
|
<text>600</text>
|
|
<text>600</text>
|
|
@@ -84,8 +95,8 @@
|
|
</view>
|
|
</view>
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty_left">
|
|
<view class="windMsgSty_left">
|
|
- <image src="../../static/jnImage/indexPage/guzhang.png" mode=""></image>
|
|
|
|
- <text>故障</text>
|
|
|
|
|
|
+ <image src="../../static/jnImage/indexPage/gzdjNew.png" mode=""></image>
|
|
|
|
+ <text class="fourFont">故障\n待机</text>
|
|
</view>
|
|
</view>
|
|
<view class="windMsgSty_right flex justify-between">
|
|
<view class="windMsgSty_right flex justify-between">
|
|
<text>600</text>
|
|
<text>600</text>
|
|
@@ -96,8 +107,8 @@
|
|
<view class="windMsg_main_msg flex justify-between">
|
|
<view class="windMsg_main_msg flex justify-between">
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty_left">
|
|
<view class="windMsgSty_left">
|
|
- <image src="../../static/jnImage/indexPage/weihu.png" mode=""></image>
|
|
|
|
- <text>维护</text>
|
|
|
|
|
|
+ <image src="../../static/jnImage/indexPage/tingjiNew.png" mode=""></image>
|
|
|
|
+ <text>停机</text>
|
|
</view>
|
|
</view>
|
|
<view class="windMsgSty_right flex justify-between">
|
|
<view class="windMsgSty_right flex justify-between">
|
|
<text>600</text>
|
|
<text>600</text>
|
|
@@ -106,7 +117,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty_left">
|
|
<view class="windMsgSty_left">
|
|
- <image src="../../static/jnImage/indexPage/lixian.png" mode=""></image>
|
|
|
|
|
|
+ <image src="../../static/jnImage/indexPage/lixianNew.png" mode=""></image>
|
|
<text>离线</text>
|
|
<text>离线</text>
|
|
</view>
|
|
</view>
|
|
<view class="windMsgSty_right flex justify-between">
|
|
<view class="windMsgSty_right flex justify-between">
|
|
@@ -128,7 +139,7 @@
|
|
<view class="windMsg_main_msg flex justify-between">
|
|
<view class="windMsg_main_msg flex justify-between">
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty_left">
|
|
<view class="windMsgSty_left">
|
|
- <image src="../../static/jnImage/indexPage/jieruP.png" mode=""></image>
|
|
|
|
|
|
+ <image src="../../static/jnImage/indexPage/yunxingGFNew.png" mode=""></image>
|
|
<text>接入</text>
|
|
<text>接入</text>
|
|
</view>
|
|
</view>
|
|
<view class="windMsgSty_right flex justify-between">
|
|
<view class="windMsgSty_right flex justify-between">
|
|
@@ -160,7 +171,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty_left">
|
|
<view class="windMsgSty_left">
|
|
- <image src="../../static/jnImage/indexPage/guzhang.png" mode=""></image>
|
|
|
|
|
|
+ <image src="../../static/jnImage/indexPage/guzhangNew.png" mode=""></image>
|
|
<text>故障</text>
|
|
<text>故障</text>
|
|
</view>
|
|
</view>
|
|
<view class="windMsgSty_right flex justify-between">
|
|
<view class="windMsgSty_right flex justify-between">
|
|
@@ -172,7 +183,7 @@
|
|
<view class="windMsg_main_msg flex justify-between">
|
|
<view class="windMsg_main_msg flex justify-between">
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty_left">
|
|
<view class="windMsgSty_left">
|
|
- <image src="../../static/jnImage/indexPage/weihu.png" mode=""></image>
|
|
|
|
|
|
+ <image src="../../static/jnImage/indexPage/gzwhNew.png" mode=""></image>
|
|
<text>维护</text>
|
|
<text>维护</text>
|
|
</view>
|
|
</view>
|
|
<view class="windMsgSty_right flex justify-between">
|
|
<view class="windMsgSty_right flex justify-between">
|
|
@@ -182,7 +193,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty flex">
|
|
<view class="windMsgSty_left">
|
|
<view class="windMsgSty_left">
|
|
- <image src="../../static/jnImage/indexPage/lixian.png" mode=""></image>
|
|
|
|
|
|
+ <image src="../../static/jnImage/indexPage/lixianNew.png" mode=""></image>
|
|
<text>离线</text>
|
|
<text>离线</text>
|
|
</view>
|
|
</view>
|
|
<view class="windMsgSty_right flex justify-between">
|
|
<view class="windMsgSty_right flex justify-between">
|
|
@@ -243,50 +254,82 @@
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
|
|
+ import leftIcon from '../../static/jnImage/indexPage/alarmSet.png'
|
|
export default {
|
|
export default {
|
|
onLoad: function() {},
|
|
onLoad: function() {},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- mesExData: []
|
|
|
|
|
|
+ mesExData: [],
|
|
|
|
+ windPowerData: [],
|
|
|
|
+ leftIcon: leftIcon
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
|
|
+ this.windPowerData = [{
|
|
|
|
+ name: '实际风速',
|
|
|
|
+ value: 7,
|
|
|
|
+ code: '(m/s)',
|
|
|
|
+ min: 6,
|
|
|
|
+ max: 8
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ name: '预测风速',
|
|
|
|
+ value: 10,
|
|
|
|
+ code: '(m/s)',
|
|
|
|
+ min: 6,
|
|
|
|
+ max: 20
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ name: '实际功率',
|
|
|
|
+ value: 191,
|
|
|
|
+ code: '(万kW)',
|
|
|
|
+ min: 0,
|
|
|
|
+ max: 200
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ name: '理论功率',
|
|
|
|
+ value: 459,
|
|
|
|
+ code: '(万kW)',
|
|
|
|
+ min: 0,
|
|
|
|
+ max: 500
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
this.mesExData = [{
|
|
this.mesExData = [{
|
|
leftName: '容量',
|
|
leftName: '容量',
|
|
leftValue: 282.3,
|
|
leftValue: 282.3,
|
|
leftCode: '(WM)',
|
|
leftCode: '(WM)',
|
|
- rightName: '安全天数',
|
|
|
|
- rightValue: 20,
|
|
|
|
- rightCode: '(天)',
|
|
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- leftName: '风速',
|
|
|
|
- leftValue: 282.3,
|
|
|
|
- leftCode: '(m/s)',
|
|
|
|
- rightName: '功率',
|
|
|
|
- rightValue: 20,
|
|
|
|
- rightCode: '(MW)',
|
|
|
|
|
|
+ leftName: '安全天数',
|
|
|
|
+ leftValue: 20,
|
|
|
|
+ leftCode: '(天)',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
leftName: '日发电量',
|
|
leftName: '日发电量',
|
|
leftValue: 282.3,
|
|
leftValue: 282.3,
|
|
- leftCode: '(万kWh)',
|
|
|
|
- rightName: '理论功率',
|
|
|
|
- rightValue: 20,
|
|
|
|
- rightCode: '(MW)',
|
|
|
|
|
|
+ leftCode: '(万kWh)'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ leftName: '预测电量',
|
|
|
|
+ leftValue: 282.3,
|
|
|
|
+ leftCode: '(万kWh)'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ leftName: '月发电量',
|
|
|
|
+ leftValue: 282.3,
|
|
|
|
+ leftCode: '(万kWh)'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
leftName: '年发电量',
|
|
leftName: '年发电量',
|
|
leftValue: 282.3,
|
|
leftValue: 282.3,
|
|
- leftCode: '(万kWh)',
|
|
|
|
- rightName: '月发电量',
|
|
|
|
- rightValue: 20,
|
|
|
|
- rightCode: '(万kWh)',
|
|
|
|
|
|
+ leftCode: '(万kWh)'
|
|
},
|
|
},
|
|
]
|
|
]
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
-
|
|
|
|
|
|
+ changeMsg() {
|
|
|
|
+ this.$tab.navigateTo('/pages/common/uniNavBar')
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
@@ -315,17 +358,17 @@
|
|
|
|
|
|
image {
|
|
image {
|
|
position: relative;
|
|
position: relative;
|
|
- top: 0px;
|
|
|
|
|
|
+ top: 5px;
|
|
left: 10px;
|
|
left: 10px;
|
|
- width: 30px;
|
|
|
|
- height: 30px;
|
|
|
|
|
|
+ width: 25px;
|
|
|
|
+ height: 25px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.header_title {
|
|
.header_title {
|
|
width: 70%;
|
|
width: 70%;
|
|
position: relative;
|
|
position: relative;
|
|
- left: 10px;
|
|
|
|
|
|
+ left: 5px;
|
|
|
|
|
|
image {
|
|
image {
|
|
width: 28px;
|
|
width: 28px;
|
|
@@ -336,24 +379,24 @@
|
|
|
|
|
|
.titleName {
|
|
.titleName {
|
|
line-height: 20px;
|
|
line-height: 20px;
|
|
- margin-left: 5px;
|
|
|
|
font-size: 36upx;
|
|
font-size: 36upx;
|
|
font-family: FZZhengHeiS-M-GB;
|
|
font-family: FZZhengHeiS-M-GB;
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
- letter-spacing: 2px;
|
|
|
|
color: #fff;
|
|
color: #fff;
|
|
|
|
+ position: relative;
|
|
|
|
+ top: 8px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.header_more {
|
|
.header_more {
|
|
width: 15%;
|
|
width: 15%;
|
|
position: relative;
|
|
position: relative;
|
|
- top: 5px;
|
|
|
|
|
|
+ top: 10px;
|
|
left: 10px;
|
|
left: 10px;
|
|
|
|
|
|
image {
|
|
image {
|
|
- width: 30px;
|
|
|
|
- height: 20px;
|
|
|
|
|
|
+ width: 25px;
|
|
|
|
+ height: 18px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -389,15 +432,14 @@
|
|
|
|
|
|
.mesAll {
|
|
.mesAll {
|
|
.mesEx {
|
|
.mesEx {
|
|
- display: flex;
|
|
|
|
- padding: 3px 0;
|
|
|
|
- border-bottom: 1px solid rgba(255, 255, 255, 0.25);
|
|
|
|
|
|
+ // display: flex;
|
|
line-height: 30px;
|
|
line-height: 30px;
|
|
color: #fff;
|
|
color: #fff;
|
|
|
|
|
|
.mesEx_left {
|
|
.mesEx_left {
|
|
- display: flex;
|
|
|
|
- width: 50%;
|
|
|
|
|
|
+ width: 100%;
|
|
|
|
+ border-bottom: 1px solid rgba(255, 255, 255, 0.25);
|
|
|
|
+ padding: 3px 0;
|
|
|
|
|
|
.mesEx_left_top {
|
|
.mesEx_left_top {
|
|
width: 40%;
|
|
width: 40%;
|
|
@@ -434,6 +476,30 @@
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ .windpowerCl {
|
|
|
|
+ .windpowerMsg {
|
|
|
|
+ margin-top: 10px;
|
|
|
|
+ padding: 5px 10px;
|
|
|
|
+ color: #fff;
|
|
|
|
+ background-image: url('../../static/jnImage/indexPage/windpower.png');
|
|
|
|
+ background-repeat: no-repeat;
|
|
|
|
+ background-size: cover;
|
|
|
|
+
|
|
|
|
+ .windpowerMsg_com {
|
|
|
|
+ text {
|
|
|
|
+ font-size: 24upx;
|
|
|
|
+ color: #AFB2C1;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .windpowerMsg_Data {
|
|
|
|
+ margin: 5px;
|
|
|
|
+ text-align: center;
|
|
|
|
+ font-size: 40upx;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
.windMsg,
|
|
.windMsg,
|
|
.powerMsg {
|
|
.powerMsg {
|
|
margin-top: 15px;
|
|
margin-top: 15px;
|
|
@@ -490,6 +556,10 @@
|
|
top: -26px;
|
|
top: -26px;
|
|
left: 28px;
|
|
left: 28px;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ .fourFont {
|
|
|
|
+ top: -38px;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
.windMsgSty_right {
|
|
.windMsgSty_right {
|