.management{ width: 100%; height: 500px; position: relative; .management-center{ width: 1920px; margin: 0 auto; .selection{ width: 1200px; height: 500px; margin: 0 auto; nav{ display: flex; justify-content: space-between; align-items: center; height: 64px; padding: 10px 0; .logo-class{ display: flex; align-items: center; img{ width: 150px; height: 46px; } ul{ margin-left: 20px; display: flex; align-items: center; gap: 25px; li{ padding: 12px; span{ margin-left: 8px; } } .active{ color: #EF530E; } } } .btn-list{ display: flex; gap: 26px; button{ display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 5px; border-radius: 4px; font-size: 14px; font-weight: 500; background-color: transparent; &:first-of-type{ width: 127px; background-color: #333333; color: #fff; cursor: pointer; } &:nth-of-type(2){ width: 127px; background-color: #EF530E; color: #fff; } &:last-of-type{ width: 84px; border: 1px solid #E5E5E5; } } } } .bg{ width: 100%; height: 240px; background-color: #EF530E !important; position: absolute; left: 0; top: 64px; background: url("./image/bg.png") no-repeat center; background-size: cover; z-index: 0; .search{ position: absolute; left: 50%; transform: translateX(-50%); top: 63px; display: flex; flex-direction: column; gap: 20px; h1{ font-family: Source Han Sans; font-size: 40px; font-weight: bold; color: #fff; } .ipt{ width: 560px; height: 48px; background-color: #fff; position: relative; span{ position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font-size: 25px; } input{ width: calc(100% - 40px); height: 100%; position: absolute; left: 50px; } } .history{ display: flex; align-items: center; color: #fff; ul{ display: flex; align-items: center; gap: 10px; } } } } .screen{ margin-top: 240px; padding: 40px; font-size: 14px; position: relative; .popular{ width: 100%; border-bottom: 1px solid #E5E5E5; padding: 20px; display: flex; position: relative; .title{ text-align: center; margin-right: 15px; height: 30px; display: flex; align-items: center; p{ width: 100px; line-height: 30px; } span{ width: 85px; height: 30px; text-align: center; line-height: 30px; border-radius: 50px; margin-right: 16px; } .active{ color: #fff; background-color: #EF530E; } } .all{ display: flex; ul{ padding: 0 5px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-right: 10px; color: #333333; li{ height: 30px; line-height: 30px; padding: 0px 10px; border-radius: 20px; font-size: 16px; cursor: pointer; } .act{ background-color: #EF530E; color: #fff; } } } .more{ position: absolute; right: 20px; top: 30px; color: #EF530E; font-size: 14px; } } .brand{ width: 100%; border-bottom: 1px solid #E5E5E5; padding: 20px; display: flex; position: relative; .title{ text-align: center; height: 30px; display: flex; align-items: center; p{ width: 100px; } } .all{ .top{ display: flex; span{ width: 85px; height: 30px; text-align: center; line-height: 30px; border-radius: 50px; margin-right: 16px; } .allbrand{ background-color: #EF530E; color: #fff; } ul{ display: flex; align-items: center; gap: 3px; li{ padding: 5px 10px; cursor: pointer; } .brandActive{ background-color: #EF530E; color: #fff; } } } .bottom{ ul{ display: flex; flex-wrap: wrap; margin-top: 5px; li{ margin-top: 10px; width: 85px; height: 30px; text-align: center; line-height: 30px; border-radius: 20px; &:first-of-type{ color: #EF530E; border: 1px solid #EF530E; } } } } } .more{ position: absolute; right: 20px; top: 30px; color: #EF530E; font-size: 14px; } } } main{ .filter{ display: flex; align-items: center; justify-content: space-between; padding: 0 20px; box-sizing: border-box; .left{ display: flex; gap: 40px; color: #333333; ul{ display: flex; gap: 40px; li{ display: flex; align-items: center; position: relative; cursor: pointer; padding-bottom: 5px; &:hover .box{ display: block; } &:hover p{ color: #000000; } &:hover p span{ background-color: #000; } p{ margin-left: 7px; display: flex; flex-direction: column; color: #b8b6b6; span{ background-color: #b8b6b6; height: 1px; width: 10px; margin-left: 2.5px; } } .box{ width: 150px; padding: 10px 0; box-sizing: border-box; background-color: #ffffff; position: absolute; bottom: -120px; left: -50px; z-index: 9; display: none; p{ width: 100%; height: 50px; text-align: center; line-height: 50px; margin-left: 0; font-size: 16px; &:hover{ background-color: #EF530E; color: #fff; } } } } } } .right{ button{ padding: 10px 5px; background-color: #000; color: #fff; border-radius: 5px; } } } .card-list{ display: flex; flex-wrap: wrap; gap: 24px; margin-top: 35px; .card{ width: 215px; height: auto; border: 1px solid transparent; box-sizing: border-box; &:hover{ border: 1px solid #EF530E; border-radius: 10px; } &:hover .img-box .btn-list{ opacity: 1; } &:hover .price-bottom{ visibility: visible; } &:hover .card-content{ border-radius: 20px 20px 0 0 ; } .card-content{ background-color: #fff; border-radius: 20px; } .img-box{ width: 213px; height: 213px; margin: 0 auto; border-radius: 20px 20px 0 0; position: relative; img{ width: 100%; display: block } .btn-list{ width: 100%; position: absolute; left: 0; bottom: 0; display: flex; transition: all .5s ease; opacity: 0; button{ height: 32px; width: 50%; background-color: #EF530E; color: #fff; border-radius: 0; cursor: pointer; } .danger{ cursor: not-allowed; background-color: gray; } } } .text{ width: 220px; height: 40px; padding: 0px 8px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 16px; margin-top: 10px; } .price{ width: 85%; margin: 0 auto; display: -webkit-box; display: flex; padding-top: 10px; border-top: 1px dashed #e9e9e9; padding-bottom: 10px; .price-box{ width: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column; font-weight: 700; text-align: center; gap: 5px; &:first-of-type{ position: relative; &::after{ content: ""; width: 1px; height: 70%; background-color: #bdbdbd; position: absolute; right: 0; top: 50%; transform: translateY(-50%); } } p{ &:first-of-type{ color: #666666; } &:last-of-type{ color: #EF530E; } } } } .price-bottom{ padding: 10px 10px; visibility: hidden; background-color: #fff; border-radius:0 0 20px 20px; ul{ display: flex; justify-content: space-between; li{ display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; p{ color: #999999; } span{ color: #000; font-weight: 700; } } } } } .broadside{ width: 100px; position: fixed; top: 50%; transform: translateY(-50%); right: 10%; transform: translateX(10%); background-color: #fff; .enterprise{ background-color: #EF530E; height: 120px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; img{ width: 80px; height: 80px; } p{ color: #fff; } } ul{ padding: 0 20px; box-sizing: border-box; li{ display: flex; flex-direction: column; align-items: center; justify-content: center; color: #000000; padding: 15px 0px; border-top: 1px solid #E5E5E5; i{ font-size: 32px; } &:last-of-type{ color: #EF530E; } } } } } } footer{ display: flex; align-items: center; justify-content: center; padding-bottom: 100px; padding-top: 50px; } } } }