
diff --git a/css/index.css b/css/index.css index e19d435..b59a554 100644 --- a/css/index.css +++ b/css/index.css @@ -431,6 +431,82 @@ height: 16px; margin-left: 8px; } +.ranking { + width: 1200px; + height: 239px; + background-color: #ffffff; + border-radius: 12px; + padding-left: 30px; +} +.ranking .synthesize { + width: 256px; + margin-right: 65px; +} +.ranking .major { + width: 821px; +} +.ranking .major .head { + justify-content: space-between; +} +.ranking .major .head .more { + font-size: 16px; + color: #333333; + font-weight: 400; +} +.ranking .major .head .more .icon { + width: 16px; + height: 16px; + margin-left: 7px; + transform: rotate(270deg); +} +.ranking .major .list { + flex-wrap: wrap; + justify-content: space-between; +} +.ranking .major .list .item { + width: 371px; +} +.ranking .major .list .item .organ { + font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; + font-weight: 650; + font-size: 14px; + color: #000000; +} +.ranking .major .list .item .arrows { + width: 12px; + height: 12px; + margin: 0 6px; +} +.ranking .major .list .item .text { + max-width: 195px; +} +.ranking .head { + height: 52px; + line-height: 52px; + font-weight: 650; + font-size: 16px; + color: #000000; + border-bottom: 1px solid #ebebeb; +} +.ranking .list { + padding-top: 11px; +} +.ranking .list .item { + font-size: 14px; + color: #333; + line-height: 24px; +} +.ranking .list .item .dot { + width: 8px; + height: 8px; + background-color: #fddf6d; + border: 1px solid #cab157; + border-radius: 39px; + margin-right: 13px; +} +.ranking .list .item:not(:last-of-type) { + margin-bottom: 8px; +} .recruit { width: 100%; border: 1px solid #ebebeb; diff --git a/css/index.less b/css/index.less index befb238..6fd40d4 100644 --- a/css/index.less +++ b/css/index.less @@ -490,6 +490,88 @@ } } +.ranking { + width: 1200px; + height: 239px; + background-color: rgba(255, 255, 255, 1); + border-radius: 12px; + padding-left: 30px; + .synthesize { + width: 256px; + margin-right: 65px; + } + + .major { + width: 821px; + .head { + justify-content: space-between; + .more { + font-size: 16px; + color: #333333; + font-weight: 400; + .icon { + width: 16px; + height: 16px; + margin-left: 7px; + transform: rotate(270deg); + } + } + } + .list { + flex-wrap: wrap; + justify-content: space-between; + .item { + width: 371px; + .organ { + font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; + font-weight: 650; + font-size: 14px; + color: #000000; + } + + .arrows { + width: 12px; + height: 12px; + margin: 0 6px; + } + .text { + max-width: 195px; + } + } + } + } + .head { + height: 52px; + line-height: 52px; + font-weight: 650; + font-size: 16px; + color: #000000; + border-bottom: 1px solid #ebebeb; + } + + .list { + padding-top: 11px; + + .item { + .dot { + width: 8px; + height: 8px; + background-color: rgba(253, 223, 109, 1); + border: 1px solid rgba(202, 177, 87, 1); + border-radius: 39px; + margin-right: 13px; + } + font-size: 14px; + color: #333; + line-height: 24px; + + &:not(:last-of-type) { + margin-bottom: 8px; + } + } + } +} + .recruit { width: 100%; // height: 502px; @@ -624,7 +706,6 @@ font-size: 14px; padding: 0 8px; - .img-add { width: 12px; height: 12px; diff --git a/css/projectList.css b/css/projectList.css index ec38d3a..6f47378 100644 --- a/css/projectList.css +++ b/css/projectList.css @@ -126,44 +126,38 @@ color: #000000; width: 62px; } -.boxbox .content .content-left .list .item .info .name { +.boxbox .content .content-left .list .item .info .head { + justify-content: space-between; + align-items: flex-start; +} +.boxbox .content .content-left .list .item .info .head .name { font-weight: 650; font-style: normal; font-size: 16px; color: #000000; margin-bottom: 5px; } +.boxbox .content .content-left .list .item .info .head .grade { + font-size: 14px; + color: #aaaaaa; + text-align: right; + width: max-content; +} +.boxbox .content .content-left .list .item .info .head .grade .sum { + font-weight: 650; + color: #333333; +} .boxbox .content .content-left .list .item .info .name-en { font-size: 13px; line-height: 20px; color: #333333; margin-bottom: 6px; } -.boxbox .content .content-left .list .item .info .city { - font-size: 14px; - color: #7f7f7f; - line-height: 20px; +.boxbox .content .content-left .list .item .info .bottom { + justify-content: space-between; + align-items: flex-start; } -.boxbox .content .content-left .list .item .right { - align-items: flex-end; - position: relative; -} -.boxbox .content .content-left .list .item .grade { - font-size: 14px; - line-height: 28px; - color: #aaaaaa; - margin-bottom: 16px; - text-align: right; - position: absolute; - top: 0; - right: 0; - width: max-content; -} -.boxbox .content .content-left .list .item .grade .sum { - font-weight: 650; - color: #333333; -} -.boxbox .content .content-left .list .item .btn { +.boxbox .content .content-left .list .item .info .bottom .btn { width: 108px; height: 30px; background-color: #f95d5d; @@ -171,11 +165,16 @@ font-size: 14px; color: #ffffff; } -.boxbox .content .content-left .list .item .btn .icon { +.boxbox .content .content-left .list .item .info .bottom .btn .icon { width: 16px; height: 16px; margin-left: 7px; } +.boxbox .content .content-left .list .item .info .bottom .city { + font-size: 14px; + color: #7f7f7f; + line-height: 20px; +} .boxbox .content .screen-box { width: 360px; background-color: #fff; @@ -291,10 +290,30 @@ z-index: -1; } .boxbox .content .screen-box .screen-item.major .major-box .major-list .major-list-list { - margin: 64px 11px 20px; + margin: 64px 0 20px 11px; overflow: auto; height: 400px; } +.boxbox .content .screen-box .screen-item.major .major-box .major-list .major-list-list::-webkit-scrollbar { + width: 0; + height: 0; +} +.boxbox .content .screen-box .screen-item.major .major-box .major-list .initial { + flex-direction: column; + margin-top: 64px; + font-size: 12px; + text-align: center; + line-height: 17px; + color: #aaaaaa; +} +.boxbox .content .screen-box .screen-item.major .major-box .major-list .initial .select { + font-weight: 650; + color: #000000; +} +.boxbox .content .screen-box .screen-item.major .major-box .major-list .initial .item { + padding: 0 7px; + cursor: pointer; +} .boxbox .content .screen-box .screen-item.major .major-box .major-list .major-item { line-height: 26px; font-size: 14px; diff --git a/css/projectList.less b/css/projectList.less index 9ede363..da94846 100644 --- a/css/projectList.less +++ b/css/projectList.less @@ -143,12 +143,34 @@ } .info { - .name { - font-weight: 650; - font-style: normal; - font-size: 16px; - color: #000000; - margin-bottom: 5px; + .head { + justify-content: space-between; + align-items: flex-start; + + .name { + font-weight: 650; + font-style: normal; + font-size: 16px; + color: #000000; + margin-bottom: 5px; + } + + .grade { + font-size: 14px; + // line-height: 28px; + color: #aaaaaa; + // margin-bottom: 16px; + text-align: right; + // position: absolute; + // top: 0; + // right: 0; + width: max-content; + + .sum { + font-weight: 650; + color: #333333; + } + } } .name-en { font-size: 13px; @@ -156,49 +178,36 @@ color: #333333; margin-bottom: 6px; } - .city { - font-size: 14px; - color: #7f7f7f; - line-height: 20px; + + .bottom { + justify-content: space-between; + align-items: flex-start; + .btn { + width: 108px; + height: 30px; + background-color: rgba(249, 93, 93, 1); + border-radius: 95px; + font-size: 14px; + color: #ffffff; + + .icon { + width: 16px; + height: 16px; + margin-left: 7px; + } + } + .city { + font-size: 14px; + color: #7f7f7f; + line-height: 20px; + } } } - .right { - align-items: flex-end; - position: relative; - } - - .grade { - font-size: 14px; - line-height: 28px; - color: #aaaaaa; - margin-bottom: 16px; - text-align: right; - position: absolute; - top: 0; - right: 0; - width: max-content; - - .sum { - font-weight: 650; - color: #333333; - } - } - - .btn { - width: 108px; - height: 30px; - background-color: rgba(249, 93, 93, 1); - border-radius: 95px; - font-size: 14px; - color: #ffffff; - - .icon { - width: 16px; - height: 16px; - margin-left: 7px; - } - } + // .right { + // align-items: flex-end; + // position: relative; + // } } } } @@ -325,9 +334,33 @@ z-index: -1; } .major-list-list { - margin: 64px 11px 20px; + margin: 64px 0 20px 11px; overflow: auto; height: 400px; + + &::-webkit-scrollbar { + width: 0; + height: 0; + } + } + + .initial { + flex-direction: column; + margin-top: 64px; + font-size: 12px; + text-align: center; + line-height: 17px; + color: #aaaaaa; + + .select { + font-weight: 650; + color: #000000; + } + + .item { + padding: 0 7px; + cursor: pointer; + } } .major-item { line-height: 26px; diff --git a/html/index.html b/html/index.html index 568e4ae..e93b3ec 100644 --- a/html/index.html +++ b/html/index.html @@ -20,7 +20,6 @@