WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2021-03-17 54f1f35024c29f1cadc77d17ad7d5e66e644fb23
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
70
71
72
73
74
75
76
77
78
79
/**
 * CInfiniteScroll
 * @author Tevin
 */
 
@import "../../common/sassMixin";
 
.c-infinite-scroll {
    .c-infinite-top {
        position: relative;
        width: 100%;
        height: 0;
        overflow: hidden;
        transition-duration: 0.3s;
        &.touching {
            transition-duration: 0s;
        }
        .inner {
            @include position(absolute, n 0 0 n);
            width: 100%;
            height: 234px;
            padding-top: 155px;
            text-align: center;
            box-sizing: border-box;
            .at-activity-indicator {
                display: inline-block;
                height: 40px;
                margin-right: 9px;
                vertical-align: middle;
            }
            .text {
                vertical-align: middle;
            }
            background-color: #fcfcfc;
        }
        .tips {
            .text:nth-child(3) {
                display: none;
            }
            .at-icon {
                margin-right: 9px;
                font-size: 33px;
                vertical-align: middle;
                transition-duration: 0.3s;
            }
            .text {
                vertical-align: middle;
            }
            &.release {
                .at-icon {
                    transform: rotate(180deg);
                }
                .text:nth-child(2) {
                    display: none;
                }
                .text:nth-child(3) {
                    display: inline-block;
                }
            }
        }
    }
    .c-infinite-bottom {
        text-align: center;
        .c-infinite-loading {
            height: 94px;
            color: #666;
            line-height: 84px;
        }
        .c-infinite-ended {
            height: 94px;
            color: #999;
            line-height: 84px;
        }
        .c-infinite-empty {
            line-height: 234px;
            color: #999;
        }
    }
}