Browse Source

空白提示页

DESKTOP-O04BTUJ\muzen 3 years ago
parent
commit
f7ac29892c
1 changed files with 16 additions and 0 deletions
  1. 16 0
      src/components/noData/noData.vue

+ 16 - 0
src/components/noData/noData.vue

@@ -0,0 +1,16 @@
+<template>
+  <view class="no-data">
+    <slot />
+  </view>
+</template>
+
+<style lang="scss" scoped>
+.no-data {
+  height: calc(100% - 92rpx);
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  font-size: 32rpx;
+  color: #bbb;
+}
+</style>