Blame view

public/scss/guang/brand-cate/_brand.css 5.8 KB
zhangxiaoru authored
1 2 3 4 5 6 7
.brand-blk-page {
    .tab-box {
        top: 0;
        z-index: 9;
        width: 100%;
    }
zhangxiaoru authored
8 9 10 11 12 13 14 15
    .fastening {
        position: fixed;
    }

    .distance {
        margin-top: 170px;
    }
zhangxiaoru authored
16 17 18
    .brand-tab {
        max-width: inherit;
        height: 80px;
19
        font-size: 26px;
zhangxiaoru authored
20 21 22
        text-align: center;
        z-index: 10;
        background-color: #fff;
zhangxiaoru authored
23
        padding: 0 222px 84px;
zhangxiaoru authored
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
        border-bottom: 5px solid #e0e0e0;
        width: 100%;

        li {
            width: 120px;
            line-height: 80px;
            float: left;
            font-size: 28px;
            color: #b0b0b0;
        }

        li:first-child {
            margin-right: 60px;
        }

        .active {
            border-bottom: 4px solid #000;
            color: #000;
        }
    }

    .channel-tab {
        width: 100%;
        max-width: inherit;
48 49
        height: 80px;
        font-size: 26px;
zhangxiaoru authored
50 51 52 53 54 55 56 57 58
        text-align: center;
        position: relative;
        z-index: 10;
        background-color: #fff;
        top: 0;

        li {
            width: 50%;
            color: #b0b0b0;
59
            line-height: 80px;
zhangxiaoru authored
60 61 62 63
            float: left;
        }

        li:first-child {
64
            margin-left: -10px;
zhangxiaoru authored
65 66 67 68 69 70 71
        }

        .focus {
            color: #000;
        }
    }
zhangxiaoru authored
72
    .content-index {
zhangxiaoru authored
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 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
        .search {
            width: 100%;
            height: 88px;
            padding: 15px 16px;
            background-color: #f6f6f6;
            text-align: center;

            .input {
                margin-left: auto;
                margin-right: auto;
                background-color: #fff;
                text-align: center;
                color: #b0b0b0;
                height: 56px;
                font-size: 28px;
                padding: 5px 0;
                border-radius: 8px;

                .search-text {
                    margin-left: 16px;
                }
            }
        }

        .focus-left-right {
            padding: 30px 15px;
            width: 100%;
            overflow-x: auto;
            white-space: nowrap;
            font-size: 0;
            background: #fff;
            -webkit-overflow-scrolling: touch;

            &::-webkit-scrollbar {
                display: none;
            }

            a {
                display: inline-block;
                margin: 0 15px;
                width: 250px;
                height: 250px;
            }

            img {
                width: 100%;
                height: 100%;
            }
        }

        .brand-list-box {
            width: 100%;
            padding: 20px 0;
            background: #f6f6f6;
            border-top: 1px solid #eee;

            .brand-big-box {
                width: 100%;
            }

            .brand-box {
                width: 172px;
                height: 162px;
                float: left;
                overflow: hidden;
                text-align: center;
                margin-bottom: 20px;

                .brand-name {
                    width: 136px;
                    font-size: 18px;
                    color: #d0d0d0;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    display: inline-block;
                }
            }
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182

            .brand-logo {
                margin: 0 auto;
                width: 136px;
                height: 136px;
                overflow: hidden;

                img {
                    width: 100%;
                }
            }
        }

        .per-brand-box {
            background: #fff;
            padding: 0 30px;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
            overflow: hidden;

            &:not(:first-of-type) {
                margin-top: 20px;
            }

            .index {
                height: 60px;
                line-height: 60px;

                a {
                    font-size: 32px;
                }
            }
zhangxiaoru authored
183 184 185 186 187 188 189 190 191
        }

        .index-list {
            top: 90px !important;
        }
    }

    .list-box {
        position: fixed;
192
        width: 38px;
zhangxiaoru authored
193 194 195 196 197
        margin: 0;
        padding: 6px 0;
        right: 0;
        background: #fff;
        opacity: 0.8;
zhangxiaoru authored
198
        top: 270px;
zhangxiaoru authored
199 200 201 202 203 204 205 206 207
        overflow-y: auto;
        z-index: 10;

        li {
            list-style: none;
            text-align: center;
            width: 100%;

            a {
208
                font-size: 27px;
zhangxiaoru authored
209 210
                display: inline-block;
                width: 100%;
211
                padding: 1px 0;
zhangxiaoru authored
212 213 214 215
            }
        }
    }
zhangxiaoru authored
216
    .pagination-inner {
zhangxiaoru authored
217 218 219 220
        left: auto;
        -webkit-transform: none;
        transform: none;
        position: absolute;
zhangxiaoru authored
221
        bottom: 5px;
zhangxiaoru authored
222 223 224 225 226
        right: 30px;
    }

    .banner-top {
        .swiper-pagination {
郝肖肖 authored
227 228
            bottom: 0;
zhangxiaoru authored
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250
            .pagination-inner {
                background: none;
            }

            .swiper-pagination-bullet {
                width: 9px;
                height: 9px;
                background: #ccc;
                vertical-align: middle;
                display: inline-block;
                border-radius: 2px;
                margin: 0 5px;
            }

            .swiper-pagination-bullet-active {
                width: 12px;
                height: 12px;
                background: #fff;
                border-radius: 100%;
            }
        }
    }
zhangxiaoru authored
251 252 253 254 255 256 257 258 259

    .hide {
        display: none;
    }

    .resources {
        .recommend-content-five {
            margin-top: -1px;
            width: 100%;
zhangxiaoru authored
260
            overflow: hidden;
zhangxiaoru authored
261 262 263 264 265 266 267 268 269 270 271 272 273 274

            a {
                width: 50%;
                outline: none;
                color: #000;
                text-decoration: none;
                float: left;
            }
        }

        .focus-floor {
            overflow: hidden;
            width: 100%;
        }
275
    }
zhangxiaoru authored
276
}