Pārlūkot izejas kodu

空白提示页

DESKTOP-O04BTUJ\muzen 3 gadi atpakaļ
vecāks
revīzija
f7ac29892c
1 mainītis faili ar 16 papildinājumiem un 0 dzēšanām
  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>