Ver código fonte

样式修改

lilei 4 anos atrás
pai
commit
f29c6ea778

+ 3 - 2
pages/spotCheckConfigure/evaluateItem.vue

@@ -15,10 +15,11 @@
 						<checkbox :value="item.id" :checked="item.checked" />
 					</view>
 				</view>
+				<u-empty style="height: auto;padding-top: 10vh;" text="暂无指标" img-width="120" v-if="!childItems.length&&items.length" mode="list"></u-empty>
 			</view>
 		</view>
-		<view style="flex-grow: 1;" v-if="items.length==0">
-			<u-empty text="暂无考评指标" mode="list"></u-empty>
+		<view style="flex-grow: 1;height: 100%;" v-if="items.length==0">
+			<u-empty style="height: auto;padding-top: 10vh;" text="暂无考评项" mode="list"></u-empty>
 		</view>
 		<!-- 选择按钮 -->
 		<view class="kp-ok" @click="kpOk">

+ 3 - 4
pages/toDoList/chooseEvaluateItem.vue

@@ -15,13 +15,12 @@
 						<radio :checked="item.checked" :value="item.id" />
 					</view>
 				</view>
-				<u-empty text="暂无数据" img-width="120" v-if="!childItems.length&&items.length" mode="list"></u-empty>
+				<u-empty style="height: auto;padding-top: 10vh;" text="暂无指标" img-width="120" v-if="!childItems.length&&items.length" mode="list"></u-empty>
 			</view>
 		</view>
-		<view style="flex-grow: 1;" v-if="items.length==0">
-			<u-empty text="暂无考评指标" mode="list"></u-empty>
+		<view style="flex-grow: 1;height: 100%;" v-if="items.length==0">
+			<u-empty style="height: auto;padding-top: 10vh;" text="暂无考评项" mode="list"></u-empty>
 		</view>
-		
 	</view>
 </template>