diff --git a/css/projectList.css b/css/projectList.css index bf3f30d..ec38d3a 100644 --- a/css/projectList.css +++ b/css/projectList.css @@ -99,6 +99,8 @@ color: #7f7f7f; text-align: right; font-size: 13px; + cursor: pointer; + user-select: none; } .boxbox .content .content-left .message .only .icon { width: 14px; @@ -142,12 +144,20 @@ color: #7f7f7f; line-height: 20px; } +.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; @@ -169,6 +179,7 @@ .boxbox .content .screen-box { width: 360px; background-color: #fff; + border-radius: 0 0 12px 0; } .boxbox .content .screen-box .head { font-weight: 650; @@ -178,7 +189,7 @@ border-bottom: 1px dotted #ebebeb; text-align: center; padding: 38px 0 22px; - margin: 0 30px; + margin: 0 30px 21px; } .boxbox .content .screen-box .head .icon { width: 18px; @@ -194,6 +205,7 @@ font-style: normal; font-size: 14px; color: #000000; + margin-bottom: 15px; } .boxbox .content .screen-box .screen-item .title .dot { width: 6px; @@ -203,12 +215,119 @@ border-radius: 5px; margin-right: 15px; } +.boxbox .content .screen-box .screen-item .list { + margin-left: 21px; + margin-bottom: 20px; + flex-wrap: wrap; +} .boxbox .content .screen-box .screen-item .list .item { + width: max-content; height: 32px; + line-height: 32px; background-color: #f6f6f6; border-radius: 48px; font-family: "PingFangSC-Regular", "PingFang SC", sans-serif; font-weight: 400; font-size: 14px; padding: 0 20px; + color: #333333; + cursor: pointer; + margin-bottom: 10px; +} +.boxbox .content .screen-box .screen-item .list .item.pitch { + background-color: #fff; + border: 1px solid #6fc16d; + color: #6fc16d; +} +.boxbox .content .screen-box .screen-item .list .item:not(:last-of-type) { + margin-right: 10px; +} +.boxbox .content .screen-box .screen-item.major { + margin: 0 0 0 30px; +} +.boxbox .content .screen-box .screen-item.major .title { + margin-bottom: 0; +} +.boxbox .content .screen-box .screen-item.major .major-box { + padding: 15px 0 15px 11px; + margin-left: 10px; + z-index: 1; + position: relative; +} +.boxbox .content .screen-box .screen-item.major .major-box .major-text { + width: 281px; + height: 32px; + background-color: #f6f6f6; + border-radius: 48px; + font-size: 14px; + color: #aaaaaa; + justify-content: space-between; + padding: 0 15px; + cursor: pointer; +} +.boxbox .content .screen-box .screen-item.major .major-box .major-text.pitch { + background-color: #ffffff; +} +.boxbox .content .screen-box .screen-item.major .major-box .major-text.have { + color: #000000; +} +.boxbox .content .screen-box .screen-item.major .major-box .major-list { + position: absolute; + z-index: -1; + background-color: #f2f2f2; + box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.17254902); + border-radius: 15px; + top: 0; + left: 0; + width: 100%; +} +.boxbox .content .screen-box .screen-item.major .major-box .major-list .major-list-mask { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: transparent; + z-index: -1; +} +.boxbox .content .screen-box .screen-item.major .major-box .major-list .major-list-list { + margin: 64px 11px 20px; + overflow: auto; + height: 400px; +} +.boxbox .content .screen-box .screen-item.major .major-box .major-list .major-item { + line-height: 26px; + font-size: 14px; + color: #333333; + cursor: pointer; + width: max-content; + padding: 0 15px; + border-radius: 75px; + width: 100%; +} +.boxbox .content .screen-box .screen-item.major .major-box .major-list .major-item:hover { + background-color: #fff; + color: #6fc16d; +} +.boxbox .content .screen-box .screen-item.major .major-box .major-list .major-item.pitch { + color: #6fc16d; +} +.boxbox .content .screen-box .btn-box { + border-top: 1px dotted #ebebeb; + padding-top: 30px; + margin: 0 30px 21px; +} +.boxbox .content .screen-box .btn-box .btn { + width: 200px; + height: 32px; + line-height: 32px; + text-align: center; + margin: 0 auto; + background-color: #6fc16d; + border-radius: 6px; + font-family: "PingFangSC-Regular", "PingFang SC", sans-serif; + font-weight: 400; + font-size: 15px; + color: #ffffff; + cursor: pointer; } diff --git a/css/projectList.less b/css/projectList.less index 8ca8e21..9ede363 100644 --- a/css/projectList.less +++ b/css/projectList.less @@ -116,6 +116,8 @@ color: #7f7f7f; text-align: right; font-size: 13px; + cursor: pointer; + user-select: none; } } @@ -161,12 +163,21 @@ } } + .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; @@ -195,6 +206,7 @@ .screen-box { width: 360px; background-color: #fff; + border-radius: 0 0 12px 0; .head { .icon { @@ -210,7 +222,7 @@ border-bottom: 1px dotted #ebebeb; text-align: center; padding: 38px 0 22px; - margin: 0 30px; + margin: 0 30px 21px; } .screen-item { @@ -230,19 +242,135 @@ font-style: normal; font-size: 14px; color: #000000; + margin-bottom: 15px; } .list { + margin-left: 21px; + margin-bottom: 20px; + flex-wrap: wrap; .item { + width: max-content; height: 32px; + line-height: 32px; background-color: rgba(246, 246, 246, 1); border-radius: 48px; font-family: "PingFangSC-Regular", "PingFang SC", sans-serif; font-weight: 400; font-size: 14px; padding: 0 20px; + color: #333333; + cursor: pointer; + margin-bottom: 10px; + + &.pitch { + background-color: #fff; + border: 1px solid rgba(111, 193, 109, 1); + color: #6fc16d; + } + + &:not(:last-of-type) { + margin-right: 10px; + } } } + + &.major { + margin: 0 0 0 30px; + .title { + margin-bottom: 0; + } + .major-box { + padding: 15px 0 15px 11px; + margin-left: 10px; + z-index: 1; + position: relative; + .major-text { + width: 281px; + height: 32px; + background-color: rgba(246, 246, 246, 1); + + border-radius: 48px; + font-size: 14px; + color: #aaaaaa; + justify-content: space-between; + padding: 0 15px; + cursor: pointer; + + &.pitch { + background-color: rgba(255, 255, 255, 1); + } + + &.have { + color: #000000; + } + } + .major-list { + position: absolute; + z-index: -1; + background-color: rgba(242, 242, 242, 1); + box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.172549019607843); + border-radius: 15px; + top: 0; + left: 0; + width: 100%; + + .major-list-mask { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: transparent; + z-index: -1; + } + .major-list-list { + margin: 64px 11px 20px; + overflow: auto; + height: 400px; + } + .major-item { + line-height: 26px; + font-size: 14px; + color: #333333; + cursor: pointer; + width: max-content; + padding: 0 15px; + border-radius: 75px; + width: 100%; + &:hover { + background-color: #fff; + color: #6fc16d; + } + + &.pitch { + color: #6fc16d; + } + } + } + } + } + } + + .btn-box { + border-top: 1px dotted #ebebeb; + padding-top: 30px; + margin: 0 30px 21px; + + .btn { + width: 200px; + height: 32px; + line-height: 32px; + text-align: center; + margin: 0 auto; + background-color: rgba(111, 193, 109, 1); + border-radius: 6px; + font-family: "PingFangSC-Regular", "PingFang SC", sans-serif; + font-weight: 400; + font-size: 15px; + color: #ffffff; + cursor: pointer; + } } } } diff --git a/html/projectList.html b/html/projectList.html index 818aa23..fa2b3cb 100644 --- a/html/projectList.html +++ b/html/projectList.html @@ -26,8 +26,8 @@