WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2025-03-24 5582ece6bad3fe6002732de1731d3a56c0501374
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
/**
 * CCard
 * @author Tevin
 */
 
@import "../../common/sassMixin";
 
.c-card {
    margin: 0 16px 16px;
    background-color: #fff;
    border-radius: 8px;
    .c-card-title {
        @include flexbox(flex, space-between center);
        padding: 0 20px;
    }
    .c-card-title-title {
        flex: 1;
        padding: 16px 12px 16px 0;
    }
    .c-card-title-extra {
        white-space: nowrap;
        view,
        text,
        taro-view-core,
        taro-text-core {
            vertical-align: middle;
        }
        .at-button__text {
            vertical-align: baseline;
        }
    }
    .c-card-content {
        width: 100%;
        padding: 12px 20px;
        box-sizing: border-box;
    }
    .c-card-action {
        width: 100%;
        height: 96px;
        padding: 12px 16px;
        box-sizing: border-box;
        text-align: right;
        white-space: nowrap;
        line-height: 0;
        font-size: 0;
        >.at-button:first-child {
            margin-left: 0;
        }
        .at-button {
            min-width: 184px;
            height: 70px;
            padding: 0px 18px;
            margin-left: 16px;
            line-height: 68px;
            .at-icon {
                vertical-align: baseline;
            }
        }
    }
}