zhengyiming
2025-04-01 074b4c463c4be9bf5df11fa08779a523fdb983b1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<template>
  <div class="no-data-wrapper">
    <img class="no-data-img" :src="NoDataImage" alt="" />
    <span class="no-data-text">暂无数据</span>
  </div>
</template>
 
<script lang="ts">
import { defineComponent } from 'vue';
 
import { NoDataImage } from '@life-payment/constants';
 
export default defineComponent({
  name: 'NoData',
 
  setup() {
    return {
      NoDataImage,
    };
  },
});
</script>
 
<style lang="scss">
.no-data-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
 
  .no-data-img {
    width: 284px;
    height: 202px;
  }
 
  .no-data-text {
    font-size: 20px;
    color: #333333;
    line-height: 2.4;
  }
}
</style>