123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 |
- @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);
- }
- }
|