dcc
2024-06-13 24e2c4a6983d3ed1c67080b460f7e28f5e2e55f9
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
<template>
    <div id="cryptos">
        <div class="loading w-full h-full flex justify-center items-center loading">
            <van-loading />
        </div>
    </div>
</template>
 
<script>
import { Loading } from 'vant';
export default {
    name: 'LoadingComp',
    components: {
        [Loading.name]: Loading
    }
}
</script>
 
<style lang="scss" scoped>
#cryptos {
    .loading {
        background: rgba(0, 0, 0, 0.6);
    }
}
</style>