@font-face { font-family: "iconfont"; /* Project id 2804499 */ src: url('//at.alicdn.com/t/font_2804499_pugszqiin7g.woff2?t=1635820816816') format('woff2'), url('//at.alicdn.com/t/font_2804499_pugszqiin7g.woff?t=1635820816816') format('woff'), url('//at.alicdn.com/t/font_2804499_pugszqiin7g.ttf?t=1635820816816') format('truetype'); } .iconfont { font-family: "iconfont" !important; font-size: 16px; font-style: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .icon-shangxiazhankai:before { content: "\eb13"; } #loading { display: none; } #loading > div { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.2); display: flex; align-items: center; justify-content: center; z-index: 999; } #loading > div > div { color: #fff; background-color: rgba(0, 0, 0, 0.8); padding: 10px; border-radius: 5px; } .body { margin-top: 95px; border-radius: 0; } .body .search { display: flex; } .body .search .input { width: 400px; border-radius: 5px; border: 1px solid #aaa; box-sizing: border-box; padding: 5px; } .body .search .input input { width: 100%; height: 100%; outline: none; padding: 0 5px; border: 0; } .body .search .button { display: inline-block; margin-left: 5px; width: 60px; background-color: #03c762; text-align: center; letter-spacing: 5px; line-height: 34px; color: #fff; border-radius: 5px; } .body .tips { color: #777; font-size: 14px; line-height: 30px; } .body .types { display: table; } .body .types .types-row { display: table-row; } .body .types .types-row .types-cell { display: table-cell; padding-bottom: 5px; } .body .types .types-row > .types-cell:first-child { width: 100px; font-weight: 600; } .body .types .types-row .types-item { margin: 0 5px; display: inline-block; } .body .types .types-row .checked { color: #03c762; font-weight: 600; } .body .school_list { margin-top: 20px; } .body .school_list .item { border-top: 1px solid #eaeaea; padding: 10px 0; display: flex; } .body .school_list .item .item-img { flex: 1; } .body .school_list .item .item-img img { width: 100%; } .body .school_list .item .item-desc { margin-left: 10px; flex: 4; } .body .school_list .item .item-desc p { margin-bottom: 5px; } .body .school_list .item .item-desc .item-desc-name { color: #333; font-size: 16px; } .body .school_list .item .item-desc .item-desc-z { color: #777; } .body .school_list .item .item-desc .item-desc-z span { display: inline-block; margin-right: 5px; } .body .school_list .item .item-desc .item-desc-desc { color: #777; overflow: hidden; text-overflow: ellipsis; text-align: justify; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } @media screen and (max-width: 768px) { .body > .search > .input { width: calc(100vw - 106px) !important; } .types { position: relative; display: flex !important; background-color: #000; } .types .types-row { flex: 1; position: relative; display: inline-block !important; vertical-align: middle; } .types .types-row .types-cell { display: block !important; } .types .types-row .types-cell:first-child { width: 100% !important; color: #fff; line-height: 30px; text-align: center; box-sizing: border-box; padding-bottom: 0px !important; } .types .types-row .types-cell:first-child::after { content: '\eb13'; display: inline-block; font-family: "iconfont" !important; font-size: 14px; font-style: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .types .types-row .types-cell:last-child { position: absolute; height: 0; box-sizing: border-box; overflow: hidden; width: calc(100vw - 40px); background-color: #fff; padding-bottom: 0px !important; transition: height 2s; } .types .types-row .active { height: auto !important; padding: 10px !important; } .types .types-row .active::after { content: ''; display: table; height: 10px; width: 100%; background-color: #fff; } .types .types-row:nth-child(2) .types-cell:last-child { left: calc(-100vw / 3 + 40px / 3); } .types .types-row:nth-child(3) .types-cell:last-child { left: calc(-100vw / 3 * 2 + 40px / 3 * 2); } }