#search { max-width: 1200px; margin: 0 auto; min-width: 320px; .search-box { width: 460px; height: 48px; background-color: rgba(255, 255, 255, 1); border: 1px solid rgba(215, 215, 215, 1); border-radius: 10px; padding: 0 16px; margin-bottom: 20px; .search-input { border: none; outline: none; height: 100%; font-size: 16px; } .search-icon { width: 20px; height: 20px; cursor: pointer; } } .classify { margin-bottom: 16px; .item { min-width: 50px; padding: 0 8px; height: 32px; line-height: 32px; text-align: center; background-color: rgba(255, 255, 255, 1); border: 1px solid rgba(242, 242, 242, 1); border-radius: 12px; color: #333333; cursor: pointer; font-size: 15px; &.pitch { background-color: rgba(211, 81, 16, 1); color: #ffffff; } &:not(:last-child) { margin-right: 10px; } } } .quantity { font-size: 14px; line-height: 26px; color: #555; margin-bottom: 14px; .line { width: 1px; height: 14px; background-color: #aaaaaa; margin: 0 10px; } .num { font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; font-weight: 650; color: #000000; margin: 0 10px; } } .matter { align-items: flex-start; &.bottom { align-items: flex-end; } .matter-content { min-width: 0; margin-right: 12px; position: sticky; z-index: 1; // &.fixed { // position: fixed; // left: calc((100% - 1200px) / 2); // bottom: 10px; // } .list-box { .item-box { margin-bottom: 12px; } } .empty { width: 100%; height: 70vh; background-color: rgba(255, 255, 255, 1); border: 1px solid rgba(233, 238, 242, 1); border-radius: 10px; flex-direction: column; margin-right: 12px; .empty-icon { width: 80px; height: 94px; } .empty-text { font-size: 14px; color: #7f7f7f; margin-top: 10px; } } .pages-box { padding-bottom: 60px; padding-top: 30px; .item { min-width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 50px; font-size: 14px; color: #555555; cursor: pointer; padding: 0 4px; &.pitch { background-color: #6fc16d; color: #ffffff; } } .arrows { width: 7px; height: 12px; margin: 0 30px; cursor: pointer; &.rotate180 { transform: rotate(180deg); } } } } .sidebar-box { width: 291px; position: sticky; // &.fixed { // position: fixed; // // right: calc((100% - 1200px) / 2); // // left: 909px; // left: calc((100% - 1200px) / 2 + 909px); // bottom: 10px; // } .recommend-and-essence { width: 291px; height: 64px; background-color: rgba(255, 255, 255, 1); border: 1px solid rgba(233, 238, 242, 1); border-radius: 10px; padding: 0 10px; justify-content: space-between; margin-bottom: 12px; .item { width: 130px; height: 40px; background-color: rgba(246, 246, 246, 1); border: 1px solid rgba(242, 242, 242, 1); border-radius: 65px; font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; font-weight: 650; font-style: normal; font-size: 16px; color: #000000; cursor: pointer; .icon { width: 20px; height: 24px; margin-right: 8px; } } } } } .search-no { .earth-icon { width: 239px; height: 180px; margin: 0 auto 20px; } .input-box { max-width: 903px; width: 100%; // width: 903px; height: 60px; background-color: rgba(255, 255, 255, 1); border: 1px solid rgba(233, 238, 242, 1); border-radius: 6px; margin: 0 auto 30px; padding-right: 10px; .input { font-size: 16px; border: none; outline: none; height: 100%; padding: 0 15px; border-radius: 6px; } .btn { width: 120px; height: 40px; line-height: 40px; text-align: center; background-color: rgba(211, 81, 16, 1); border-radius: 8px; font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; font-weight: 650; font-style: normal; font-size: 16px; color: #ffffff; cursor: pointer; } } .recommend-box { max-width: 903px; width: 100%; gap: 10px; margin: 0 auto; .recommend-head { font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; font-weight: 650; font-style: normal; font-size: 16px; color: #000000; margin-bottom: 15px; .icon { width: 10px; height: 18px; margin-right: 10px; } } .hot-box { // width: 291px; width: 100%; // height: 365px; background-color: rgba(255, 255, 255, 1); border: 1px solid rgba(233, 238, 242, 1); border-radius: 10px; padding-top: 20px; padding-bottom: 12px; .hot-list { flex-wrap: wrap; padding-left: 20px; padding-right: 12px; .item { font-size: 14px; color: #333333; height: 32px; line-height: 32px; padding: 0 13px; margin-bottom: 10px; background-color: rgba(246, 246, 246, 1); border: 1px solid rgba(242, 242, 242, 1); border-radius: 16px; margin-right: 8px; cursor: pointer; .icon { width: 17px; height: 20px; margin-right: 5px; } } } } .read-box { width: 291px; background-color: rgba(255, 255, 255, 1); border: 1px solid rgba(233, 238, 242, 1); border-radius: 10px; padding-top: 20px; padding-bottom: 12px; .read-list { padding-left: 20px; padding-right: 12px; .item { font-size: 14px; color: #555555; cursor: pointer; &:hover { color: #000000; } &:not(:last-of-type) { margin-bottom: 12px; } .dot { width: 6px; height: 6px; border-radius: 50%; background-color: #86d0b1; border: 1px solid #239f6c; margin-right: 10px; } } } } } } } @media screen and (max-width: 768px) { #search { .search-box { width: auto !important; margin: 0 10px 20px; height: 40px !important; } .classify { margin-left: 10px; margin-right: 10px; } .matter { .matter-content { margin: 0; } .sidebar-box { display: none; } .search-box { margin-left: 10px; margin-right: 10px; } } } #search { padding: 0 10px; } #search .search-no .earth-icon { width: 60%; max-width: 220px; height: auto; margin-bottom: 10px; } #search .search-no .input-box { width: 100%; height: 48px; margin-bottom: 20px; } #search .search-no .input-box .btn { width: 80px; height: 36px; line-height: 36px; font-size: 14px; } #search .search-no .recommend-box { width: 100%; flex-direction: column; height: auto; } #search .search-no .recommend-box .hot-box, #search .search-no .recommend-box .read-box { width: 100%; // margin-bottom: 15px; } .main-new { width: 100%; flex-direction: column; } .main-new .wp { width: 100%; min-width: 100%; margin-right: 0; } .main-new .rightright { width: 100%; } .item-box { padding: 15px 10px 0; } .side-box { width: 100%; } .head-top .input-box { width: 100%; } .head-top .input-box .placeholder { width: 100%; } } @media screen and (max-width: 500px) { #search .classify .item { min-width: inherit; font-size: 13px; height: 28px; line-height: 28px; border-radius: 8px; } } @media screen and (max-width: 450px) { #search .classify .item { padding: 0 5px; } }