From 9203a43facf5fd967aaafcfc41541a9f4565869a Mon Sep 17 00:00:00 2001
From: li-guang <153605324@qq.com>
Date: Thu, 07 Jan 2021 11:29:28 +0800
Subject: [PATCH] Merge branch 'master' of https://gitee.com/jyyforjava/hive-app

---
 hive-app/components/noRecord/index.vue |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/hive-app/components/noRecord/index.vue b/hive-app/components/noRecord/index.vue
index 00abe9b..4554110 100644
--- a/hive-app/components/noRecord/index.vue
+++ b/hive-app/components/noRecord/index.vue
@@ -1,6 +1,6 @@
 <template>
-	<view class="no-record" v-if="isShow">
-		<image src="../../static/images/no-data.png" :class="size==='mini'?'mini-img':'normal-img'" mode="widthFix"></image>
+	<view class="no-record" :class="size==='mini'?'mini':''" v-if="isShow">
+		<image src="../../static/images/no-data.png" mode="widthFix"></image>
 		<text>{{txt}}</text>
 	</view>
 </template>
@@ -26,16 +26,17 @@
 		text-align: center;
 		font-size: 14px;
 		color: rgb(171, 177, 204);
-		margin-top: 30%;
+		padding-top: 30%;
+	}
+	.no-record.mini{
+		padding-top: 0;
 	}
 	.no-record image{
 		display: block;
 		margin: 0 auto 10px;
-	}
-	.normal-img{
 		width: 160px;
 	}
-	.mini-img{
+	.no-record.mini image{
 		width: 100px;
 	}
 </style>

--
Gitblit v1.9.1