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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
| .cl-loading-mask__wrap {
| position: relative;
|
| .cl-loading-mask {
| position: absolute;
| z-index: $cl-zIndex;
| margin: 0;
| top: 0;
| right: 0;
| bottom: 0;
| left: 0;
| height: 100%;
| width: 100%;
| opacity: 0;
| transition: opacity 0.3s;
| pointer-events: none;
|
| &.is-show {
| opacity: 1;
| pointer-events: auto;
| }
|
| &.is-fullscreen {
| position: fixed;
| }
|
| &__content {
| display: flex;
| flex-direction: column;
| justify-content: center;
| align-items: center;
| position: absolute;
| top: 0;
| right: 0;
| bottom: 0;
| left: 0;
| width: 100%;
| }
|
| &__text {
| font-size: 26rpx;
| margin-top: 16rpx;
| letter-spacing: 1rpx;
| color: $cl-color-primary;
| }
|
| &__border {
| display: flex;
| flex-direction: column;
| align-items: center;
| justify-content: center;
| }
|
| &.is-border {
| .cl-loading-mask__border {
| background-color: rgba(0, 0, 0, 0.5);
| border-radius: 20rpx;
| width: 200rpx;
| padding: 40rpx 20rpx;
| }
|
| .cl-loading-mask__text {
| color: #fff;
| margin-top: 30rpx;
| text-align: center;
| }
| }
| }
| }
|
|