Browse Source

添加库点监控页面跳转

gjy 2 years ago
parent
commit
42d8926fd1
2 changed files with 13 additions and 4 deletions
  1. 7 0
      pages.json
  2. 6 4
      pages/user/depotMonitoring.vue

+ 7 - 0
pages.json

@@ -210,6 +210,13 @@
 				"navigationBarTitleText": "加油申请审核"
 			}
 		},
+		{
+			"path": "pages/user/mintor",
+			"style": {
+				"enablePullDownRefresh": false,
+				"navigationBarTitleText": "查看监控"
+			}
+		},
 		{
 			"path": "pages/task/sale_details",
 			"style": {

+ 6 - 4
pages/user/depotMonitoring.vue

@@ -16,13 +16,15 @@
 				<view class=" cu-list grid col-3 no-border">
 					<view class="cu-item" style='text-align:center;' v-for="(item,index) in videoList"
 						@click="gridClick(item)">
+						<view style='height:40px;'>{{item.Name}}</view>
+						
 						<view v-if="item.Status == 'ON'">
 							<image v-if="item.SnapURL" :src="'https://live.eliangeyun.com'+item.SnapURL" class="sign1">
 							</image>
-							<view v-else style="background-color: #008000;" class="sign1">
-								<image src="../../static/img/play-btn.png"
-									style="width: 80rpx;height: 80rpx;margin-top: 40rpx;"></image>
-							</view>
+						</view>
+						<view v-if="item.Status=='OFF'" style="background-color: #008000;margin:0 auto;" class="sign1">
+							<image src="../../static/img/play-btn.png"
+								style="width: 80rpx;height: 80rpx;margin-top: 40rpx;"></image>
 						</view>
 					</view>
 				</view>