Browse Source

空数据高度修改

htc 2 months ago
parent
commit
726c4fff37

+ 1 - 1
pagesHome/airConditioner/index.vue

@@ -25,7 +25,7 @@
 			</div>
 			</div>
 		</div>
 		</div>
 		<template v-else>
 		<template v-else>
-			<page-empty :height="'calc(100vh - '+(mt+65)+'px)'" marginTop="65px"></page-empty>
+			<page-empty :height="'calc(100vh - 200px)'"></page-empty>
 		</template>
 		</template>
 		<u-popup :show="show" mode="bottom" :round="40" @close="ktClose">
 		<u-popup :show="show" mode="bottom" :round="40" @close="ktClose">
 			<div class="kt_info">
 			<div class="kt_info">

+ 1 - 1
pagesHome/employee/index.vue

@@ -18,7 +18,7 @@
 			</div>
 			</div>
 		</div>
 		</div>
 		<template v-else>
 		<template v-else>
-			<page-empty :height="'calc(100vh - '+mt+'px)'"></page-empty>
+			<page-empty :height="'calc(100vh - 100px)'"></page-empty>
 		</template>
 		</template>
 	</view>
 	</view>
 </template>
 </template>

+ 1 - 1
pagesHome/energyMeter/index.vue

@@ -21,7 +21,7 @@
 			</div>
 			</div>
 		</div>
 		</div>
 		<template v-else>
 		<template v-else>
-			<page-empty :height="'calc(100vh - '+(mt+65)+'px)'" marginTop="65px"></page-empty>
+			<page-empty :height="'calc(100vh - 200px)'"></page-empty>
 		</template>
 		</template>
 	</view>
 	</view>
 </template>
 </template>

+ 1 - 1
pagesHome/entranceGuard/index.vue

@@ -19,7 +19,7 @@
 			</div>
 			</div>
 		</div>
 		</div>
 		<template v-else>
 		<template v-else>
-			<page-empty :height="'calc(100vh - '+mt+'px)'"></page-empty>
+			<page-empty :height="'calc(100vh - 100px)'"></page-empty>
 		</template>
 		</template>
 	</view>
 	</view>
 </template>
 </template>

+ 1 - 1
pagesHome/video/index.vue

@@ -24,7 +24,7 @@
 			</div>
 			</div>
 		</div>
 		</div>
 		<template v-else>
 		<template v-else>
-			<page-empty :height="'calc(100vh - '+(mt+65)+'px)'" marginTop="65px"></page-empty>
+			<page-empty :height="'calc(100vh - 200px)'"></page-empty>
 		</template>
 		</template>
 	</view>
 	</view>
 </template>
 </template>

+ 1 - 1
pagesInspection/record/index.vue

@@ -35,7 +35,7 @@
 			</div>
 			</div>
 		</div>
 		</div>
 		<template v-else>
 		<template v-else>
-			<page-empty :height="'calc(100vh - '+(mt+150)+'px)'" marginTop="150px"></page-empty>
+			<page-empty :height="'calc(100vh - 200px)'"></page-empty>
 		</template>
 		</template>
 		<u-picker :show="placeShow" :columns="placeColumns" keyName="orgName" @cancel="placeShow=false" @change="changeHandler" @confirm="placeConfirm" ref="uPicker"></u-picker>
 		<u-picker :show="placeShow" :columns="placeColumns" keyName="orgName" @cancel="placeShow=false" @change="changeHandler" @confirm="placeConfirm" ref="uPicker"></u-picker>
 		<!-- <u-picker :show="timeShow" :columns="timeColumns" title="巡检时间" @cancel="timeShow=false" @confirm="e=>paramsConfirm(e,'')"></u-picker> -->
 		<!-- <u-picker :show="timeShow" :columns="timeColumns" title="巡检时间" @cancel="timeShow=false" @confirm="e=>paramsConfirm(e,'')"></u-picker> -->

+ 1 - 1
pagesInspection/waitOrder/index.vue

@@ -15,7 +15,7 @@
 			</div>
 			</div>
 		</div>
 		</div>
 		<template v-else>
 		<template v-else>
-			<page-empty :height="'calc(100vh - '+(mt+60)+'px)'" marginTop="60px"></page-empty>
+			<page-empty :height="'calc(100vh - 100px)'"></page-empty>
 		</template>
 		</template>
 	</view>
 	</view>
 </template>
 </template>

+ 1 - 1
pagesStorage/checkStorage/goods.vue

@@ -23,7 +23,7 @@
 			</div>
 			</div>
 		</div>
 		</div>
 		<template v-else>
 		<template v-else>
-			<page-empty :height="'calc(100vh - '+(mt+70)+'px)'"></page-empty>
+			<page-empty :height="'calc(100vh - 100px)'"></page-empty>
 		</template>
 		</template>
 		<div class="btn">
 		<div class="btn">
 			<div class="left">
 			<div class="left">

+ 1 - 1
pagesStorage/checkStorage/index.vue

@@ -32,7 +32,7 @@
 			<page-loading :loading="isLoading"></page-loading>
 			<page-loading :loading="isLoading"></page-loading>
 		</div>
 		</div>
 		<template v-else>
 		<template v-else>
-			<page-empty :height="'calc(100vh - '+(mt+51+74+25)+'px)'" marginTop="51px"></page-empty>
+			<page-empty :height="'calc(100vh - 200px)'"></page-empty>
 		</template>
 		</template>
 		<div class="add">
 		<div class="add">
 			<div class="btn" @tap="show=true">盘库</div>
 			<div class="btn" @tap="show=true">盘库</div>

+ 1 - 1
pagesStorage/inStorage/goods.vue

@@ -23,7 +23,7 @@
 			</div>
 			</div>
 		</div>
 		</div>
 		<template v-else>
 		<template v-else>
-			<page-empty :height="'calc(100vh - '+(mt+70)+'px)'"></page-empty>
+			<page-empty :height="'calc(100vh - 100px)'"></page-empty>
 		</template>
 		</template>
 		<div class="btn">
 		<div class="btn">
 			<div class="left">
 			<div class="left">

+ 1 - 1
pagesStorage/inStorage/index.vue

@@ -60,7 +60,7 @@
 			<page-loading :loading="isLoading"></page-loading>
 			<page-loading :loading="isLoading"></page-loading>
 		</div>
 		</div>
 		<template v-else>
 		<template v-else>
-			<page-empty :height="'calc(100vh - '+(mt+51+74+25)+'px)'" marginTop="51px"></page-empty>
+			<page-empty :height="'calc(100vh - 200px)'"></page-empty>
 		</template>
 		</template>
 		<div class="add">
 		<div class="add">
 			<div class="btn" @tap="addReceipt">新增入库单</div>
 			<div class="btn" @tap="addReceipt">新增入库单</div>

+ 1 - 1
pagesStorage/inventoryStatistics/index.vue

@@ -37,7 +37,7 @@
 				</u-list>
 				</u-list>
 			</template>
 			</template>
 			<template v-else>
 			<template v-else>
-				<page-empty height="100vh"></page-empty>
+				<page-empty :height="'calc(100vh - 200px)'"></page-empty>
 			</template>
 			</template>
 		</div>
 		</div>
 		<u-picker title="仓库" :show="warehouseShow" :columns="warehouseList" keyName="warehouseName" 
 		<u-picker title="仓库" :show="warehouseShow" :columns="warehouseList" keyName="warehouseName" 

+ 1 - 1
pagesStorage/moveStorage/goods.vue

@@ -26,7 +26,7 @@
 			</div>
 			</div>
 		</div>
 		</div>
 		<template v-else>
 		<template v-else>
-			<page-empty :height="'calc(100vh - '+(mt+70)+'px)'"></page-empty>
+			<page-empty :height="'calc(100vh - 100px)'"></page-empty>
 		</template>
 		</template>
 		<div class="btn">
 		<div class="btn">
 			<div class="left">
 			<div class="left">

+ 1 - 1
pagesStorage/moveStorage/index.vue

@@ -56,7 +56,7 @@
 			<page-loading :loading="isLoading"></page-loading>
 			<page-loading :loading="isLoading"></page-loading>
 		</div>
 		</div>
 		<template v-else>
 		<template v-else>
-			<page-empty :height="'calc(100vh - '+(mt+51+74+25)+'px)'" marginTop="51px"></page-empty>
+			<page-empty :height="'calc(100vh - 200px)'"></page-empty>
 		</template>
 		</template>
 		<div class="add">
 		<div class="add">
 			<div class="btn" @tap="addReceipt">新增移库单</div>
 			<div class="btn" @tap="addReceipt">新增移库单</div>

+ 1 - 1
pagesStorage/outStorage/goods.vue

@@ -23,7 +23,7 @@
 			</div>
 			</div>
 		</div>
 		</div>
 		<template v-else>
 		<template v-else>
-			<page-empty :height="'calc(100vh - '+(mt+70)+'px)'"></page-empty>
+			<page-empty :height="'calc(100vh - 100px)'"></page-empty>
 		</template>
 		</template>
 		<div class="btn">
 		<div class="btn">
 			<div class="left">
 			<div class="left">

+ 1 - 1
pagesStorage/outStorage/index.vue

@@ -60,7 +60,7 @@
 			<page-loading :loading="isLoading"></page-loading>
 			<page-loading :loading="isLoading"></page-loading>
 		</div>
 		</div>
 		<template v-else>
 		<template v-else>
-			<page-empty :height="'calc(100vh - '+(mt+51+74+25)+'px)'" marginTop="51px"></page-empty>
+			<page-empty :height="'calc(100vh - 200px)'"></page-empty>
 		</template>
 		</template>
 		<div class="add">
 		<div class="add">
 			<div class="btn" @tap="addReceipt">新增出库单</div>
 			<div class="btn" @tap="addReceipt">新增出库单</div>

+ 1 - 1
pagesStorage/storage/index.vue

@@ -17,7 +17,7 @@
 			</div>
 			</div>
 		</template>
 		</template>
 		<template v-else>
 		<template v-else>
-			<page-empty :height="'calc(100vh - '+mt+'px)'"></page-empty>
+			<page-empty :height="'calc(100vh - 20px)'"></page-empty>
 		</template>
 		</template>
 	</view>
 	</view>
 </template>
 </template>

+ 1 - 1
pagesStorage/storageRecord/index.vue

@@ -68,7 +68,7 @@
 				</u-list>
 				</u-list>
 			</template>
 			</template>
 			<template v-else>
 			<template v-else>
-				<page-empty height="100vh"></page-empty>
+				<page-empty :height="'calc(100vh - 200px)'"></page-empty>
 			</template>
 			</template>
 		</div>
 		</div>
 		<u-picker title="仓库" :show="warehouseShow" :columns="warehouseList" keyName="warehouseName" 
 		<u-picker title="仓库" :show="warehouseShow" :columns="warehouseList" keyName="warehouseName" 

+ 1 - 1
pagesStorage/units/index.vue

@@ -42,7 +42,7 @@
 			</div>
 			</div>
 		</template>
 		</template>
 		<template v-else>
 		<template v-else>
-			<page-empty :height="'calc(100vh - '+(mt+50)+'px)'" marginTop="50px"></page-empty>
+			<page-empty :height="'calc(100vh - 100px)'"></page-empty>
 		</template>
 		</template>
 	</view>
 	</view>
 </template>
 </template>