index.less 3.44 KB
Newer Older
周宏民's avatar
周宏民 committed
1 2 3 4 5 6
@imgSrc: '@/assets/images/demonstration';

.right_item {
    .r_title_wrap {
        width: 100%;
        height: 123px;
7
        background: url('@{imgSrc}/新产品动态bg.png') no-repeat center center;
周宏民's avatar
周宏民 committed
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
        background-size: 100% 100%;
        padding: 30px 0 0 25px;

        .r_title_sub {
            background: url('@{imgSrc}/tip.png') no-repeat left center;
            background-size: 35px 36px;
            padding-left: 35px;
            font-size: 16px;
            height: 36px;
            line-height: 36px;
        }

        .r_title {
            font-size: 22px;
            font-family: Microsoft YaHei;
            font-weight: bold;
            color: #FFFFFF;
            padding-left: 5px;
            line-height: 32px;
            letter-spacing: 1px;
            background: linear-gradient(0deg, #92D2FF 0%, #FFFFFF 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
    }

    .r_list {
        height: 350px;
        overflow: hidden;

        .r_list_item[type='jump']:hover {
            // bottom: -8px;
周宏民's avatar
周宏民 committed
40
            filter: brightness(130%)
周宏民's avatar
周宏民 committed
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
        }

        .r_list_item[type='jump']:hover .r_list_item_tip {
            opacity: 1;
        }


        .r_list_item:not(:last-child) {
            margin-bottom: 10px;
        }

        .r_list_item {
            width: 370px;
            height: 48px;
            font-size: 16px;
56
            letter-spacing: 1px;
周宏民's avatar
周宏民 committed
57 58 59 60 61
            text-align: center;
            font-weight: bold;
            line-height: 46px;
            position: relative;
            left: 0;
62
            color: #fff;
周宏民's avatar
周宏民 committed
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
            transition: all 0.3s;
        }

        .r_list_item[type='jump'] {
            cursor: pointer;
        }

        .r_list_item[type='jump']:active {
            opacity: 0.8;
        }

        .r_list_item_tip {
            width: 37px;
            height: 40px;
            background: url('@{imgSrc}/新产品动态_选中.png') no-repeat center center;
            background-size: 100% 100%;
            position: absolute;
            transition: all 0.3s;
            top: 0;
            left: -30px;
            opacity: 0;

        }

        .r_list_item[rIndex='r_1'] {
            background: url('@{imgSrc}/bg1.png') no-repeat left center;
            background-size: 100% 100%;
        }


        .r_list_item[rIndex='r_2'] {
            background: url('@{imgSrc}/bg2.png') no-repeat left center;
            background-size: 100% 100%;
        }


        .r_list_item[rIndex='r_3'] {
            background: url('@{imgSrc}/bg3.png') no-repeat left center;
            background-size: 100% 100%;
        }


        .r_list_item[rIndex='r_4'] {
            background: url('@{imgSrc}/bg4.png') no-repeat left center;
            background-size: 100% 100%;
        }

周宏民's avatar
周宏民 committed
110
        .r_list_item[rIndex='r_5'] {
周宏民's avatar
周宏民 committed
111 112 113
            background: url('@{imgSrc}/bg5.png') no-repeat left center;
            background-size: 100% 100%;
        }
114

周宏民's avatar
周宏民 committed
115 116 117 118
        .r_list_item[rIndex='r_0'] {
            background: url('@{imgSrc}/bg6.png') no-repeat left center;
            background-size: 100% 100%;
        }
119

周宏民's avatar
周宏民 committed
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
        .r_list_item[name='敬请期待'] {
            background: url('@{imgSrc}/敬请期待.png') no-repeat left center;
            background-size: 100% 100%;
        }

    }



}

:global {
    .right_item {
        .swiper-wrapper {
            .swiper-slide {
                width: 100%;
                height: 58px;
            }
        }
    }

}