search-result.scss 1.51 KB
Newer Older
zhanghaozhe committed
1
.search-result {
zhanghaozhe committed
2 3
    padding-top: 44px;

FE committed
4 5 6
    .search-head {
        // position: absolute;
        position: fixed;
zhanghaozhe committed
7 8 9 10
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10;
FE committed
11 12 13 14 15
        transition: top 0.5 ease;

        &.hide {
            top: -44px;
        }
zhanghaozhe committed
16 17
    }

zhanghaozhe committed
18 19 20
    ul {
        list-style: none;
    }
zhanghaozhe committed
21

zhanghaozhe committed
22 23 24 25 26 27
    .v-list-item{
        .content{
            width: 100%;
        }
    }

zhanghaozhe committed
28 29 30
    .info {
        display: flex;
        flex-wrap: wrap;
zhanghaozhe committed
31
        width: 50%;
zhanghaozhe committed
32

zhanghaozhe committed
33 34
        .title{
            overflow: hidden;
FE committed
35
            font-size: $font_14;
zhanghaozhe committed
36 37
            white-space: nowrap;
            text-overflow: ellipsis;
zhanghaozhe committed
38

zhanghaozhe committed
39 40
        }

zhanghaozhe committed
41
        .des {
FE committed
42
            font-size: $font_12;
zhanghaozhe committed
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
            line-height: 16px;
            align-self: flex-start;

        }

        .price {
            color: $red;
            font-size: $font_16;
            margin-right: 14px;
        }

        .stale-price {
            text-decoration: line-through;
            color: $color_999;
            font-size: $font_12;
        }
zhanghaozhe committed
59 60

        .bottom {
zhanghaozhe committed
61 62 63
            align-self: flex-end;
        }
    }
zhanghaozhe committed
64 65 66 67 68 69

    .empty {
        font-size: 12px;
        color: $color_666;
        padding: 30px 0;
        text-align: center;
zhanghaozhe committed
70
        background-color: #f5f5f5;
zhanghaozhe committed
71 72 73 74 75
    }

    .status {
        width: 100%;
        position: absolute;
zhanghaozhe committed
76
        bottom: -2px;
zhanghaozhe committed
77 78 79 80 81 82
        left: 0;
        height: 24px;
        text-align: center;
        line-height: 24px;
        font-size: 13px;
        color: $white;
zhanghaozhe committed
83
        background-color: rgba(224, 46, 36, 0.6);
zhanghaozhe committed
84
    }
zhanghaozhe committed
85
}