zkx 2 年之前
父節點
當前提交
481380d348
共有 1 個文件被更改,包括 18 次插入1 次删除
  1. 18 1
      pagesFinance/statistics/index.vue

+ 18 - 1
pagesFinance/statistics/index.vue

@@ -16,7 +16,11 @@
 				</view>
 			</view>
 		</view>
-
+		<view class="viewgun" v-if="indexData3&&type_head==1">
+			<view class="viewspan" >充电枪:<span style="color: red;">{{indexData3.gunWorkNum}}</span>支</view>
+			<view class="viewspan">空闲枪:<span style="color: red;">{{indexData3.gunFreeNum}}</span>支</view>
+			<view class="viewspan">故障枪:<span style="color: red;">{{indexData3.gunFaultNum}}</span>支</view>
+		</view>
 		<view class="statisticsData">
 
 			<view class="detailstableHead" style="
@@ -1316,6 +1320,19 @@
 </style>
 
 <style lang="scss" scoped>
+	
+	.viewgun{
+		position: relative;
+		
+		top: 200px;
+		text-align: center;
+		.viewspan{
+			width: 30%;
+			margin-left: 16rpx;
+			display: inline;
+		}
+	}
+	
 	.headbotton1:after {
 		border-radius: 15px 0 0 15px;
 	}