Blame view

public/scss/cart/bundle.scss 3.08 KB
郭成尧 authored
1
.bundle > .bundle-title {
郭成尧 authored
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
    height: 80px;
    display: flex;
    overflow: hidden;

    .opt {
        width: 100px;
        display: flex;
        align-items: center;
        justify-content: center;

        .select {
            display: block;
        }

        .edit {
            display: none;
        }

        .disable {
            background-color: #7f7f7f;
        }
    }

    .title {
郭成尧 authored
26
        width: 650px;
郭成尧 authored
27 28 29
        display: flex;
        align-items: center;
郭成尧 authored
30
        .title-tag {
郭成尧 authored
31
            height: 40px;
郭成尧 authored
32
            margin-right: 30px;
郭成尧 authored
33 34 35 36 37 38
            padding: 4px;
            font-size: 16px;
            background-color: #d1021c;
            color: #fff;
            border-radius: 5px;
        }
郭成尧 authored
39 40

        .title-text {
郭成尧 authored
41
            width: 465px;
郭成尧 authored
42 43 44 45 46
            white-space: nowrap;
            text-overflow: ellipsis;
            word-break: keep-all;
            overflow: hidden;
        }
郭成尧 authored
47 48 49 50

        .bundle-num {
            color: #999;
        }
郭成尧 authored
51 52 53
    }
}
郭成尧 authored
54
.bundle > .bundle-nums {
郭成尧 authored
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 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
    height: 80px;
    display: none;
    overflow: hidden;

    .label {
        width: 284px;
        height: 80px;
        display: flex;
        align-items: center;

        span {
            padding-left: 100px;
        }
    }

    .num-opt {
        border: solid 1PX #dfdfdf;
        border-radius: 5px;
        display: flex;
        align-items: center;
        overflow: hidden;

        .btn {
            width: 78px;
            display: block;
            height: 100%;
            text-align: center;
            line-height: 74px;

            .iconfont {
                color: #444;
            }

            &.disabled {
                .iconfont {
                    color: #b0b0b0;
                }
            }

            &.btn-opt-minus {
                border-right: 1PX solid #dfdfdf;

                .iconfont:before {
                    content: "\e625";
                }
            }

            &.btn-opt-plus {
                border-left: 1px solid #dfdfdf;

                .iconfont:before {
                    content: "\e624";
                }
            }
        }

        .good-num {
            width: 120px;
            text-align: center;
            color: #444;
            font-size: 32px;
            background-color: #fff;
            border: none;
            line-height: 74px;
            height: 74px;

            &:disabled {
                color: initial;
            }
        }
    }

    .count {
        width: 155px;
        text-align: right;
        margin-right: 30px;
        line-height: 80px;
        color: #999;
    }
}
郭成尧 authored
136 137 138 139 140 141 142 143 144 145
.edit {
    .bundle-title {
        .opt {
            .select {
                display: none;
            }

            .edit {
                display: block;
            }
郭成尧 authored
146 147 148 149

            .disable {
                display: none;
            }
郭成尧 authored
150
        }
郭成尧 authored
151 152 153 154

        .bundle-num {
            display: none;
        }
郭成尧 authored
155 156 157 158 159 160 161 162
    }

    .bundle-nums {
        display: flex;
    }
}

.bundle > .good-list > .good-item {
郭成尧 authored
163 164 165 166 167 168 169 170
    .opt {
        .chk {
            visibility: hidden;
        }

        .disable {
            visibility: hidden;
        }
郭成尧 authored
171
    }
郭成尧 authored
172
}