Browse Source

晋能发电场站生产实时运营管理平台APP,增加消息推送页面,增加风场列表页面;

SunZehao 1 year ago
parent
commit
637e768bb4

+ 32 - 29
App.vue

@@ -1,34 +1,37 @@
 <script>
-  import config from './config'
-  import store from '@/store'
-  import { getAccessToken } from '@/utils/auth'
+	import config from './config'
+	import store from '@/store'
+	import {
+		getAccessToken
+	} from '@/utils/auth'
 
-  export default {
-    onLaunch: function() {
-      this.initApp()
-    },
-    methods: {
-      // 初始化应用
-      initApp() {
-        // 初始化应用配置
-        this.initConfig()
-        // 检查用户登录状态
-        //#ifdef H5
-        this.checkLogin()
-        //#endif
-      },
-      initConfig() {
-        this.globalData.config = config
-      },
-      checkLogin() {
-        if (!getAccessToken()) {
-          this.$tab.reLaunch('/pages/login')
-        }
-      }
-    }
-  }
+	export default {
+		onLaunch: function() {
+			this.initApp()
+			plus.screen.lockOrientation('portrait-primary');
+		},
+		methods: {
+			// 初始化应用
+			initApp() {
+				// 初始化应用配置
+				this.initConfig()
+				// 检查用户登录状态
+				//#ifdef H5
+				this.checkLogin()
+				//#endif
+			},
+			initConfig() {
+				this.globalData.config = config
+			},
+			checkLogin() {
+				if (!getAccessToken()) {
+					this.$tab.reLaunch('/pages/login')
+				}
+			}
+		}
+	}
 </script>
 
 <style lang="scss">
-  @import '@/static/scss/index.scss'
-</style>
+	@import '@/static/scss/index.scss'
+</style>

+ 61 - 41
pages.json

@@ -1,47 +1,67 @@
 {
 	"pages": [{
-		"path": "pages/login/login",
-		"style": {
-			"navigationBarTitleText": "登录",
-			"navigationStyle": "custom"
-		}
-	}, {
-		"path": "pages/home/index",
-		"style": {
-			"navigationBarTitleText": "首页",
-			"navigationStyle": "custom"
-		}
-	}, {
-		"path": "pages/power/index",
-		"style": {
-			"navigationBarTitleText": "电量预测",
-			"navigationStyle": "custom"
-		}
-	}, {
-		"path": "pages/type/index",
-		"style": {
-			"navigationBarTitleText": "故障分类",
-			"navigationStyle": "custom"
-		}
-	}, {
-		"path": "pages/report/index",
-		"style": {
-			"navigationBarTitleText": "数据简报",
-			"navigationStyle": "custom"
-		}
-	}, {
-		"path": "pages/warn/index",
-		"style": {
-			"navigationBarTitleText": "故障预警",
-			"navigationStyle": "custom"
-		}
-	}, {
-		"path": "pages/common/uniNavBar",
-		"style": {
-			"navigationBarTitleText": "消息",
-			"navigationStyle": "custom"
+			"path": "pages/login/login",
+			"style": {
+				"navigationBarTitleText": "登录",
+				"navigationStyle": "custom"
+			}
+		}, {
+			"path": "pages/home/index",
+			"style": {
+				"navigationBarTitleText": "首页",
+				"navigationStyle": "custom"
+			}
+		}, {
+			"path": "pages/home/stationIndex",
+			"style": {
+				"navigationBarTitleText": "场站首页",
+				"navigationStyle": "custom"
+			}
+		}, {
+			"path": "pages/power/index",
+			"style": {
+				"navigationBarTitleText": "电量预测",
+				"navigationStyle": "custom"
+			}
+		}, {
+			"path": "pages/type/index",
+			"style": {
+				"navigationBarTitleText": "故障分类",
+				"navigationStyle": "custom"
+			}
+		}, {
+			"path": "pages/report/index",
+			"style": {
+				"navigationBarTitleText": "数据简报",
+				"navigationStyle": "custom"
+			}
+		}, {
+			"path": "pages/warn/index",
+			"style": {
+				"navigationBarTitleText": "故障预警",
+				"navigationStyle": "custom"
+			}
+		}, {
+			"path": "pages/common/messagePage",
+			"style": {
+				"navigationBarTitleText": "消息",
+				"navigationStyle": "custom"
+			}
+		}, {
+			"path": "pages/common/stationListPage",
+			"style": {
+				"navigationBarTitleText": "场站",
+				"navigationStyle": "custom"
+			}
+		},
+		{
+			"path": "pages/common/stationTab",
+			"style": {
+				"navigationBarTitleText": "场站导航",
+				"enablePullDownRefresh": false
+			}
 		}
-	}],
+	],
 	"tabBar": {
 		"color": "#6A98CB",
 		"selectedColor": "#FF8902",

pages/common/uniNavBar.vue → pages/common/messagePage.vue


+ 132 - 0
pages/common/stationListPage.vue

@@ -0,0 +1,132 @@
+<template>
+	<view class="stationList">
+		<view class="stationList_top" @click="back">
+			<text>退出</text>
+		</view>
+		<view class="stationList_logo flex justify-end">
+			<view class="stationList_logo_sty flex">
+				<image src="../../static/jnImage/loginPage/logo.png" mode=""></image>
+				<text>请选择风场</text>
+			</view>
+		</view>
+		<view class="stationList_List">
+			<uni-list>
+				<uni-list-item title="宝龙山风电场" thumb="../../static/jnImage/commonPage/wind.png" thumb-size="sm" clickable
+					@click="onClick('宝龙山风电场')" />
+				<uni-list-item title="乌力吉风电场" thumb="../../static/jnImage/commonPage/wind.png" thumb-size="sm" />
+				<uni-list-item title="浩日格吐风电场" thumb="../../static/jnImage/commonPage/wind.png" thumb-size="sm" />
+				<uni-list-item title="开鲁风电场" thumb="../../static/jnImage/commonPage/wind.png" thumb-size="sm" />
+				<uni-list-item title="景观风电场" thumb="../../static/jnImage/commonPage/wind.png" thumb-size="sm" />
+				<uni-list-item title="高力板风电场" thumb="../../static/jnImage/commonPage/wind.png" thumb-size="sm" />
+			</uni-list>
+		</view>
+		<view class="stationListback flex justify-center">
+			<image src="../../static/jnImage/commonPage/closed.png" mode="" @click="back"></image>
+		</view>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {}
+		},
+		methods: {
+			back() {
+				this.$tab.navigateBack()
+			},
+			onClick(name) {
+				this.$tab.navigateTo('/pages/home/stationIndex?stationName=' + name)
+			},
+		}
+	}
+</script>
+
+<style lang="scss">
+	page {
+		background-color: #202246;
+	}
+
+	.stationList {
+		width: 100vw;
+		background: url('../../static/jnImage/loginPage/windBack.png'), url('../../static/jnImage/loginPage/backWav.png');
+		background-repeat: no-repeat, repeat;
+		background-size: 100% 260px, 100% 5px;
+
+		.stationList_top {
+			width: 100vw;
+			height: 60px;
+			line-height: 60px;
+
+			text {
+				margin-left: 30px;
+				font-size: 36upx;
+				color: #4287FF;
+			}
+		}
+
+		.stationList_logo {
+			margin-bottom: 40px;
+
+			.stationList_logo_sty {
+				height: 80px;
+				width: 60%;
+				background: url('../../static/jnImage/commonPage/stationBack.png');
+				background-size: cover;
+				position: relative;
+
+				image {
+					width: 60px;
+					height: 45px;
+					position: absolute;
+					top: 20px;
+					left: 20px;
+				}
+
+				text {
+					color: #4287FF;
+					font-size: 34upx;
+					position: absolute;
+					top: 50px;
+					left: 80px;
+					font-style: italic;
+				}
+			}
+		}
+
+		.stationList_List {
+			.uni-list {
+
+				.uni-list--border-top,
+				.uni-list--border-bottom {
+					background-color: rgba(255, 255, 255, 0.3) !important;
+				}
+
+				.uni-list--border:after {
+					background-color: rgba(255, 255, 255, 0.3) !important;
+				}
+
+				.uni-list-item {
+					background-color: #021D64 !important;
+
+					.uni-list-item__container {
+						.uni-list-item__content {
+							.uni-list-item__content-title {
+								color: #fff;
+							}
+						}
+					}
+				}
+			}
+		}
+
+		.stationListback {
+			margin-top: 30px;
+
+			image {
+				width: 30px;
+				height: 30px;
+			}
+		}
+	}
+</style>

+ 73 - 0
pages/common/stationTab.vue

@@ -0,0 +1,73 @@
+<template>
+	<view class="stationBar flex justify-between">
+		<view class="stationBarItem" @click="changeTab('首页')">
+			<image src="../../static/jnImage/indexPage/homeS.png" mode="" v-if="showTab === '首页'"></image>
+			<image src="../../static/jnImage/indexPage/home.png" mode="" v-else></image>
+			<view class="stationBarText" :style="showTab === '首页' ? 'color: #FF8902' : ''">首页</view>
+		</view>
+		<view class="stationBarItem" @click="changeTab('电量预测')">
+			<image src="../../static/jnImage/indexPage/powerS.png" mode="" v-if="showTab === '电量预测'"></image>
+			<image src="../../static/jnImage/indexPage/power.png" mode="" v-else></image>
+			<view class="stationBarText" :style="showTab === '电量预测' ? 'color: #FF8902' : ''">电量预测</view>
+		</view>
+		<view class="stationBarItem" @click="changeTab('故障分类')">
+			<image src="../../static/jnImage/indexPage/typeS.png" mode="" v-if="showTab === '故障分类'"></image>
+			<image src="../../static/jnImage/indexPage/type.png" mode="" v-else></image>
+			<view class="stationBarText" :style="showTab === '故障分类' ? 'color: #FF8902' : ''">故障分类</view>
+		</view>
+		<view class="stationBarItem" @click="changeTab('数据简报')">
+			<image src="../../static/jnImage/indexPage/reportS.png" mode="" v-if="showTab === '数据简报'"></image>
+			<image src="../../static/jnImage/indexPage/report.png" mode="" v-else></image>
+			<view class="stationBarText" :style="showTab === '数据简报' ? 'color: #FF8902' : ''">数据简报</view>
+		</view>
+		<view class="stationBarItem" @click="changeTab('故障预警')">
+			<image src="../../static/jnImage/indexPage/warnS.png" mode="" v-if="showTab === '故障预警'"></image>
+			<image src="../../static/jnImage/indexPage/warn.png" mode="" v-else></image>
+			<view class="stationBarText" :style="showTab === '故障预警' ? 'color: #FF8902' : ''">故障预警</view>
+		</view>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				showTab: '首页'
+			};
+		},
+		methods: {
+			changeTab(it) {
+				this.showTab = it
+				this.$emit('stationTab', it)
+			}
+		}
+	}
+</script>
+
+<style lang="scss">
+	.stationBar {
+		padding: 0 20px;
+		height: 50px;
+		width: 100vw;
+		background-color: #000;
+		position: fixed;
+		bottom: 0;
+
+		.stationBarItem {
+			text-align: center;
+			position: relative;
+			top: 6px;
+
+			image {
+				width: 20px;
+				height: 20px;
+			}
+
+			.stationBarText {
+				color: #6A98CB;
+				font-size: 26upx;
+
+			}
+		}
+	}
+</style>

+ 7 - 6
pages/home/index.vue

@@ -7,7 +7,7 @@
 			<view class="header_title">
 				<text class="titleName">发电场站生产实时运营管理平台</text>
 			</view>
-			<view class="header_more">
+			<view class="header_more" @click="changeStation">
 				<image src="../../static/jnImage/indexPage/moreNew.png"></image>
 			</view>
 		</view>
@@ -254,14 +254,12 @@
 </template>
 </template>
 <script>
-	import leftIcon from '../../static/jnImage/indexPage/alarmSet.png'
 	export default {
 		onLoad: function() {},
 		data() {
 			return {
 				mesExData: [],
-				windPowerData: [],
-				leftIcon: leftIcon
+				windPowerData: []
 			}
 		},
 		created() {
@@ -328,7 +326,10 @@
 		},
 		methods: {
 			changeMsg() {
-				this.$tab.navigateTo('/pages/common/uniNavBar')
+				this.$tab.navigateTo('/pages/common/messagePage')
+			},
+			changeStation() {
+				this.$tab.navigateTo('/pages/common/stationListPage')
 			}
 		}
 	}
@@ -592,7 +593,7 @@
 							width: 120px;
 							height: 45px;
 							// background: #333976;
-							background: linear-gradient(90deg, #333976, #202246);
+							background: linear-gradient(90deg, #333976, transparent);
 							align-items: center;
 
 							image {

+ 428 - 0
pages/home/stationIndex.vue

@@ -0,0 +1,428 @@
+<template>
+	<view class="home">
+		<view class="box-bg">
+			<uni-nav-bar :fixed="true" dark left-icon="left" background-color='#202246' :title="stationName"
+				@clickLeft="back" />
+		</view>
+		<view class="home_main">
+			<view class="main_time">
+				<view class="mesTime">
+					<image src="../../static/jnImage/indexPage/time.png"></image>
+					<text>2023年11月20日</text>
+					<text>星期一</text>
+					<text>09:19</text>
+				</view>
+				<view class="mesAll">
+					<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>
+						</uni-col>
+					</uni-row>
+					<view class="windMsg">
+						<view class="flex justify-center" style="margin-bottom: 6px;">
+							<view class="windMsg_title">
+								<image src="../../static/jnImage/indexPage/wancheng.png" mode=""></image>
+								<text>风机状态</text>
+							</view>
+						</view>
+						<view class="windMsg_main">
+							<view class="windMsg_main_msg flex justify-between">
+								<view class="windMsgSty flex">
+									<view class="windMsgSty_left">
+										<image src="../../static/jnImage/indexPage/yunxingNew.png" mode=""></image>
+										<!-- <view class="windMsgCom" style="background-color: #c2c2c2">
+										</view> -->
+										<text>接入</text>
+									</view>
+									<view class="windMsgSty_right flex justify-between">
+										<text>600</text>
+										<text>台</text>
+									</view>
+								</view>
+								<view class="windMsgSty flex">
+									<view class="windMsgSty_left">
+										<image src="../../static/jnImage/indexPage/daijiNew.png" mode=""></image>
+										<text>待机</text>
+									</view>
+									<view class="windMsgSty_right flex justify-between">
+										<text>600</text>
+										<text>台</text>
+									</view>
+								</view>
+							</view>
+							<view class="windMsg_main_msg flex justify-between">
+								<view class="windMsgSty flex">
+									<view class="windMsgSty_left">
+										<image src="../../static/jnImage/indexPage/qidongNew.png" mode=""></image>
+										<text>启动</text>
+									</view>
+									<view class="windMsgSty_right flex justify-between">
+										<text>600</text>
+										<text>台</text>
+									</view>
+								</view>
+								<view class="windMsgSty flex">
+									<view class="windMsgSty_left">
+										<image src="../../static/jnImage/indexPage/gzdjNew.png" mode=""></image>
+										<text class="fourFont">故障\n待机</text>
+									</view>
+									<view class="windMsgSty_right flex justify-between">
+										<text>600</text>
+										<text>台</text>
+									</view>
+								</view>
+							</view>
+							<view class="windMsg_main_msg flex justify-between">
+								<view class="windMsgSty flex">
+									<view class="windMsgSty_left">
+										<image src="../../static/jnImage/indexPage/tingjiNew.png" mode=""></image>
+										<text>停机</text>
+									</view>
+									<view class="windMsgSty_right flex justify-between">
+										<text>600</text>
+										<text>台</text>
+									</view>
+								</view>
+								<view class="windMsgSty flex">
+									<view class="windMsgSty_left">
+										<image src="../../static/jnImage/indexPage/lixianNew.png" mode=""></image>
+										<text>离线</text>
+									</view>
+									<view class="windMsgSty_right flex justify-between">
+										<text>600</text>
+										<text>台</text>
+									</view>
+								</view>
+							</view>
+						</view>
+					</view>
+
+					<view class="matrix">
+						<view class="matrixItem" v-for="(item,index) in 2" :key="index">
+							<view class="matrixText">乌力吉一期</view>
+							<uni-row class="matrixItemRow">
+								<uni-col :span="3" v-for="(item,index) in 45" :key="index">
+									<view class="matrixItemRowOne">A01</view>
+								</uni-col>
+							</uni-row>
+						</view>
+					</view>
+				</view>
+			</view>
+		</view>
+		<station-bar @stationTab="stationTabXY"></station-bar>
+	</view>
+</template>
+</template>
+<script>
+	import stationBar from '../common/stationTab.vue'
+	export default {
+		onLoad: function(e) {
+			this.stationName = e.stationName
+		},
+		components: {
+			stationBar
+		},
+		data() {
+			return {
+				stationName: '',
+				stationTab: '',
+				mesExData: [],
+				windPowerData: []
+			}
+		},
+		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 = [{
+					leftName: '容量',
+					leftValue: 282.3,
+					leftCode: '(WM)',
+				},
+				{
+					leftName: '安全天数',
+					leftValue: 20,
+					leftCode: '(天)',
+				},
+				{
+					leftName: '日发电量',
+					leftValue: 282.3,
+					leftCode: '(万kWh)'
+				},
+				{
+					leftName: '预测电量',
+					leftValue: 282.3,
+					leftCode: '(万kWh)'
+				},
+				{
+					leftName: '月发电量',
+					leftValue: 282.3,
+					leftCode: '(万kWh)'
+				},
+				{
+					leftName: '年发电量',
+					leftValue: 282.3,
+					leftCode: '(万kWh)'
+				},
+			]
+		},
+		methods: {
+			changeMsg() {
+				this.$tab.navigateTo('/pages/common/uniNavBar')
+			},
+			back() {
+				this.$tab.switchTab('/pages/home/index')
+			},
+			changeStation() {
+				this.$tab.navigateTo('/pages/common/stationListPage')
+			},
+			stationTabXY(it) {
+				this.stationTab = it
+			}
+		}
+	}
+</script>
+
+<style lang="scss">
+	page {
+		background-color: #202246;
+	}
+
+	.home {
+		width: 100vw;
+		background: url('../../static/jnImage/loginPage/windBack.png'), url('../../static/jnImage/loginPage/backWav.png');
+		background-repeat: no-repeat, repeat;
+		background-size: 100% 260px, 100% 5px;
+
+		.box-bg {
+			width: 100vw;
+			padding: 5px 0;
+		}
+
+		.home_main {
+			padding: 0 20px;
+
+			.main_time {
+				margin-top: 10px;
+
+				.mesTime {
+					display: flex;
+					padding: 3px 0;
+					border-bottom: 1px solid rgba(255, 255, 255, 0.25);
+
+					image {
+						width: 20px;
+						height: 20px;
+					}
+
+					text {
+						font-size: 34upx;
+						color: #fff;
+						margin-left: 15px;
+					}
+
+					text:nth-of-type(3) {
+						position: relative;
+						top: 3px;
+					}
+
+				}
+
+				.mesAll {
+					padding-bottom: 60px;
+
+					.mesEx {
+						// display: flex;
+						line-height: 30px;
+						color: #fff;
+
+						.mesEx_left {
+							width: 100%;
+							border-bottom: 1px solid rgba(255, 255, 255, 0.25);
+							padding: 3px 0;
+
+							.mesEx_left_top {
+								width: 40%;
+								font-size: 28upx;
+
+								.nameSty {
+									width: 100%;
+									display: inline-block;
+									position: relative;
+									text-align-last: justify;
+									text-align: justify;
+
+								}
+							}
+
+							.mesEx_left_end {
+								width: 56%;
+								margin: 0 10px;
+								display: flex;
+								justify-content: space-between;
+
+								text:nth-of-type(1) {
+									font-size: 34upx;
+								}
+
+								text:nth-of-type(2) {
+									font-size: 20upx;
+									color: #92949B;
+								}
+							}
+
+						}
+
+
+					}
+
+
+
+					.windMsg {
+						margin-top: 15px;
+
+						.windMsg_title {
+							width: 40%;
+							height: 30px;
+							display: flex;
+							justify-content: center;
+							align-items: center;
+							padding: 6px 13px;
+							background: rgba(51, 57, 118, 0.7);
+							border-radius: 5px;
+
+							image {
+								width: 18px;
+								height: 18px;
+							}
+
+							text {
+								margin-left: 5px;
+								font-size: 34upx;
+								color: #fff;
+
+							}
+						}
+
+						.windMsg_main {
+							.windMsg_main_msg {
+								margin-bottom: 8px;
+
+								.windMsgSty {
+									padding: 5px 8px;
+									width: 49%;
+									background: #3F4572;
+									border-radius: 5px;
+
+									.windMsgSty_left {
+										width: 49%;
+										height: 32px;
+
+										image {
+											width: 32px;
+											height: 32px;
+										}
+
+										text {
+											width: 100px;
+											display: inline-block;
+											color: #9A9BA6;
+											font-size: 28upx;
+											margin-left: 10px;
+											position: relative;
+											top: -26px;
+											left: 28px;
+										}
+
+										.fourFont {
+											top: -38px;
+										}
+									}
+
+									.windMsgSty_right {
+										width: 49%;
+										position: relative;
+										top: 9px;
+
+										text:nth-of-type(1) {
+											margin-left: 5px;
+											width: 50%;
+											font-size: 34upx;
+											color: #fff;
+										}
+
+										text:nth-of-type(2) {
+											font-size: 28upx;
+											color: #9A9BA6;
+										}
+									}
+								}
+							}
+						}
+					}
+
+					.matrix {
+						.matrixItem {
+							margin-top: 10px;
+
+							.matrixText {
+								font-size: 32upx;
+								color: #9A9BA6;
+							}
+
+							.matrixItemRow {
+								.matrixItemRowOne {
+									width: 100%;
+									height: 30px;
+									background-color: #2675F6;
+									text-align: center;
+									line-height: 30px;
+									color: #fff;
+									font-size: 24upx;
+									border-radius: 5px;
+									// margin: 1px 2px;
+									border: 1px solid #202246;
+								}
+							}
+						}
+					}
+				}
+			}
+		}
+	}
+</style>

+ 9 - 6
pages/power/index.vue

@@ -8,7 +8,7 @@
 				<!-- <image src="../../static/jnImage/loginPage/logo.png" mode=""></image> -->
 				<text class="titleName">发电场站生产实时运营管理平台</text>
 			</view>
-			<view class="header_more">
+			<view class="header_more" @click="changeStation">
 				<image src="../../static/jnImage/indexPage/moreNew.png"></image>
 			</view>
 		</view>
@@ -202,7 +202,10 @@
 		},
 		methods: {
 			changeMsg() {
-				this.$tab.navigateTo('/pages/common/uniNavBar')
+				this.$tab.navigateTo('/pages/common/messagePage')
+			},
+			changeStation() {
+				this.$tab.navigateTo('/pages/common/stationListPage')
 			},
 			getPowerBar() {
 				let opts = {
@@ -464,7 +467,7 @@
 
 				image {
 					width: 25px;
-					height: 15px;
+					height: 18px;
 				}
 			}
 		}
@@ -491,7 +494,7 @@
 					height: 45px;
 					padding-left: 10px;
 					margin-top: 10px;
-					background: linear-gradient(90deg, #333976, #202246);
+					background: linear-gradient(90deg, #333976, transparent);
 					align-items: center;
 
 					image {
@@ -581,7 +584,7 @@
 					height: 45px;
 					padding-left: 10px;
 					margin-top: 10px;
-					background: linear-gradient(90deg, #333976, #202246);
+					background: linear-gradient(90deg, #333976, transparent);
 					align-items: center;
 
 					image {
@@ -682,7 +685,7 @@
 					height: 45px;
 					padding-left: 10px;
 					margin-top: 10px;
-					background: linear-gradient(90deg, #333976, #202246);
+					background: linear-gradient(90deg, #333976, transparent);
 					align-items: center;
 
 					image {

+ 6 - 3
pages/report/index.vue

@@ -8,7 +8,7 @@
 				<!-- <image src="../../static/jnImage/loginPage/logo.png" mode=""></image> -->
 				<text class="titleName">发电场站生产实时运营管理平台</text>
 			</view>
-			<view class="header_more">
+			<view class="header_more" @click="changeStation">
 				<image src="../../static/jnImage/indexPage/moreNew.png"></image>
 			</view>
 		</view>
@@ -129,7 +129,10 @@
 				return `width: ${item.progress};`
 			},
 			changeMsg() {
-				this.$tab.navigateTo('/pages/common/uniNavBar')
+				this.$tab.navigateTo('/pages/common/messagePage')
+			},
+			changeStation() {
+				this.$tab.navigateTo('/pages/common/stationListPage')
 			},
 			changeYearTab(item) {
 				this.yearData.forEach(it => {
@@ -206,7 +209,7 @@
 
 				image {
 					width: 25px;
-					height: 15px;
+					height: 18px;
 				}
 			}
 		}

+ 7 - 4
pages/type/index.vue

@@ -8,7 +8,7 @@
 				<!-- <image src="../../static/jnImage/loginPage/logo.png" mode=""></image> -->
 				<text class="titleName">发电场站生产实时运营管理平台</text>
 			</view>
-			<view class="header_more">
+			<view class="header_more" @click="changeStation">
 				<image src="../../static/jnImage/indexPage/moreNew.png"></image>
 			</view>
 		</view>
@@ -340,7 +340,10 @@
 				this.chartData = JSON.parse(JSON.stringify(res));
 			},
 			changeMsg() {
-				this.$tab.navigateTo('/pages/common/uniNavBar')
+				this.$tab.navigateTo('/pages/common/messagePage')
+			},
+			changeStation() {
+				this.$tab.navigateTo('/pages/common/stationListPage')
 			},
 			getPieBarwxss() {
 				let proColor = ['#5CB2EF', '#3E78C5', '#00299D', '#3EAD9F', '#3F3A99', '#5EAC88', '#5D56D0', '#CD8D23',
@@ -463,7 +466,7 @@
 
 				image {
 					width: 25px;
-					height: 15px;
+					height: 18px;
 				}
 			}
 		}
@@ -492,7 +495,7 @@
 					height: 45px;
 					padding-left: 10px;
 					margin-top: 10px;
-					background: linear-gradient(90deg, #333976, #202246);
+					background: linear-gradient(90deg, #333976, transparent);
 					align-items: center;
 
 					image {

+ 7 - 4
pages/warn/index.vue

@@ -8,7 +8,7 @@
 				<!-- <image src="../../static/jnImage/loginPage/logo.png" mode=""></image> -->
 				<text class="titleName">发电场站生产实时运营管理平台</text>
 			</view>
-			<view class="header_more">
+			<view class="header_more" @click="changeStation">
 				<image src="../../static/jnImage/indexPage/moreNew.png"></image>
 			</view>
 		</view>
@@ -164,8 +164,11 @@
 		},
 		methods: {
 			changeMsg() {
-				this.$tab.navigateTo('/pages/common/uniNavBar')
-			}
+				this.$tab.navigateTo('/pages/common/messagePage')
+			},
+			changeStation() {
+				this.$tab.navigateTo('/pages/common/stationListPage')
+			},
 		}
 	}
 </script>
@@ -232,7 +235,7 @@
 
 				image {
 					width: 25px;
-					height: 15px;
+					height: 18px;
 				}
 			}
 		}