diff --git a/04-details/details.css b/04-details/details.css index c93a547..1c65b1b 100644 --- a/04-details/details.css +++ b/04-details/details.css @@ -582,6 +582,7 @@ body { .main .content .details-box .link.brochure .img { width: 70px; height: 70px; + margin-right: 8px; } .main .content .details-box .link.brochure .title { font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; @@ -712,60 +713,227 @@ body { } .main .else { width: 290px; - height: 20px; + height: 2000px; + background: -webkit-linear-gradient(270.00883066deg, #f7fbf7 0%, #eaf6ea 100%); + background: -moz-linear-gradient(179.99116934deg, #f7fbf7 0%, #eaf6ea 100%); + background: linear-gradient(179.99116934deg, #f7fbf7 0%, #eaf6ea 100%); + border: none; + border-radius: 12px; + padding: 20px 10px 0; +} +.main .else .school { + margin-bottom: 20px; +} +.main .else .school .logo { + width: 50px; + height: 50px; + background-color: #ffffff; + border: 1px solid #f6f6f6; + border-radius: 8px; + margin-right: 10px; +} +.main .else .school .logo .img { + height: 30px; +} +.main .else .school .info .name { + font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; + font-weight: 650; + font-style: normal; + font-size: 18px; + color: #000000; + margin-bottom: 5px; +} +.main .else .school .info .name-en { + font-size: 13px; + color: #555555; +} +.main .else .case { + width: 270px; + background-color: #ffffff; + border-radius: 8px; +} +.main .else .case .head { + width: 270px; + height: 45px; + border-bottom: 1px dotted #ebebeb; + padding: 0 10px; + background: linear-gradient(to right, rgba(255, 255, 255, 0.501961), #d8f1d8); + overflow: hidden; +} +.main .else .case .head .dot { + width: 14px; + height: 14px; + background-color: #e7f7ee; + border: 1px solid #b7c4bd; + border-radius: 39px; + position: relative; + margin-right: 10px; +} +.main .else .case .head .dot::after { + content: ""; + width: 6px; + height: 6px; + display: block; + background-color: #72db86; + border: 1px solid #57a869; + border-radius: 39px; + box-sizing: border-box; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} +.main .else .case .head .text { + font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; + font-weight: 650; + font-style: normal; + font-size: 16px; + color: #000000; +} +.main .else .case .head .img { + width: 14px; + height: 14px; } .main .base { width: 640px; height: 60px; - background-color: #7b8cd3; border-radius: 153px; position: fixed; - bottom: 15px; + bottom: 30px; left: 50%; transform: translateX(-50%); + z-index: 2; } -.main .base .left { - width: 450px; +.main .base .type1 { + width: 100%; + height: 100%; + border-radius: 153px; + border: 1px solid #dbe0f2; + background: linear-gradient(to right, #eef7f5, #dbe3fd); + font-size: 15px; + color: #000000; +} +.main .base .type1 .btn { + line-height: 50px; + margin: 0 24px; +} +.main .base .type1 .btn .img { + height: 20px; + margin-right: 6px; +} +.main .base .type1 .line { + width: 1px; + height: 20px; + background-color: #d7d7d7; +} +.main .base .type1 .add { height: 50px; - background-color: #fff; - border-radius: 153px 15px 15px 153px; - margin-right: 5px; - padding: 0 20px; -} -.main .base .left .text { - font-family: "PingFangSC-Regular", "PingFang SC", sans-serif; + line-height: 50px; + text-align: center; + background-color: #7b8cd3; + border-radius: 158px; font-weight: 400; font-style: normal; - font-size: 16px; - color: rgba(170, 170, 170, 0.90196078); -} -.main .base .left .img { - width: 20px; - height: 20px; -} -.main .base .rigth { - width: 175px; - height: 50px; - background-color: #fff; - border-radius: 15px 153px 153px 15px; - padding-left: 19px; -} -.main .base .rigth .img { - width: 25px; - height: 22px; + font-size: 15px; + color: #ffffff; margin-right: 5px; } -.main .base .rigth .text { - font-size: 16px; - color: #333333; - margin-right: 9px; +.main .base .type1 .add .img { + width: 16px; + height: 16px; + margin-right: 10px; } -.main .base .rigth .number { - height: 20px; - line-height: 20px; +.main .base .type2 { + width: 100%; + height: 100%; background-color: #f2f2f2; - border-radius: 150px; - font-size: 13px; - color: #f95d5d; - padding: 0 8px; + border: 1px solid #d7d7d7; + border-radius: 153px; +} +.main .base .type2 .btn { + padding: 0 20px; + height: 100%; + margin-right: 20px; + border-right: 1px solid #d7d7d7; + cursor: pointer; + font-size: 15px; + color: #000000; +} +.main .base .type2 .btn .img { + width: 16px; + height: 16px; + margin-left: 7px; +} +.main .base .type2 .input-box { + width: 370px; + height: 40px; + margin-right: 10px; + background-color: #ffffff; + border-radius: 158px; + overflow: hidden; +} +.main .base .type2 .input-box .img { + width: 20px; + height: 20px; + margin-left: 12px; + margin-right: 6px; +} +.main .base .type2 .input-box .input { + height: 100%; + padding-right: 20px; + border: none; + outline: none; +} +.main .base .type2 .state-box .state-btn { + width: 100px; + height: 40px; + background-color: #f95d5d; + border-radius: 158px; + font-size: 15px; + color: #ffffff; + cursor: pointer; +} +.main .base .type2 .state-box .state-btn .img { + width: 11px; + height: 6px; + margin-left: 8px; +} +.main .base .type3 { + width: 100%; + height: 100%; + background-color: #f2f2f2; + border: 1px solid #d7d7d7; + border-radius: 153px; +} +.main .base .type3 .btn { + padding: 0 20px; + height: 100%; + margin-right: 20px; + border-right: 1px solid #d7d7d7; + cursor: pointer; + font-size: 15px; + color: #000000; +} +.main .base .type3 .btn .img { + width: 16px; + height: 16px; + margin-left: 7px; +} +.main .base .type3 .add-btn { + width: 235px; + height: 40px; + background-color: #7b8cd3; + font-size: 15px; + color: #ffffff; + border-radius: 158px; +} +.main .base .type3 .add-btn.already { + background-color: #fbfbfb; + font-size: 16px; + color: #aaaaaa; +} +.main .base .type3 .add-btn .img { + width: 16px; + height: 16px; + margin-right: 10px; } diff --git a/04-details/details.html b/04-details/details.html index 36a2581..9bb2600 100644 --- a/04-details/details.html +++ b/04-details/details.html @@ -358,19 +358,65 @@ -
+
+
+ +
+
香港大学
+
The University of Hong Kong
+
+
+ +
+
+
+
Offer
+ +
+
+
+
Asian Studies
+
MPhil | 24Fall | offer
+
+
+
+
-
-
搜索项目
- + -
- -
项目对比
-
16
+ + + +
+
我的项目
+
+ + 已加入对比单 +
+
+ + 加入对比单 +
diff --git a/04-details/details.less b/04-details/details.less index 6fd593a..e8fcd29 100644 --- a/04-details/details.less +++ b/04-details/details.less @@ -680,6 +680,7 @@ body { .img { width: 70px; height: 70px; + margin-right: 8px; } .title { font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; @@ -824,66 +825,253 @@ body { .else { width: 290px; - height: 20px; + height: 2000px; + + background: -webkit-linear-gradient(270.008830663227deg, rgba(247, 251, 247, 1) 0%, rgba(234, 246, 234, 1) 100%); + background: -moz-linear-gradient(179.991169336773deg, rgba(247, 251, 247, 1) 0%, rgba(234, 246, 234, 1) 100%); + background: linear-gradient(179.991169336773deg, rgba(247, 251, 247, 1) 0%, rgba(234, 246, 234, 1) 100%); + border: none; + border-radius: 12px; + padding: 20px 10px 0; + + .school { + margin-bottom: 20px; + + .logo { + width: 50px; + height: 50px; + background-color: rgba(255, 255, 255, 1); + border: 1px solid rgba(246, 246, 246, 1); + border-radius: 8px; + margin-right: 10px; + .img { + height: 30px; + } + } + .info { + .name { + font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; + font-weight: 650; + font-style: normal; + font-size: 18px; + color: #000000; + margin-bottom: 5px; + } + + .name-en { + font-size: 13px; + color: #555555; + } + } + } + + .case { + width: 270px; + background-color: #ffffff; + border-radius: 8px; + .head { + width: 270px; + height: 45px; + border-bottom: 1px dotted rgb(235, 235, 235); + padding: 0 10px; + background: linear-gradient(to right, rgba(255, 255, 255, 0.501961), #d8f1d8); + overflow: hidden; + .dot { + width: 14px; + height: 14px; + background-color: rgba(231, 247, 238, 1); + border: 1px solid rgba(183, 196, 189, 1); + border-radius: 39px; + position: relative; + margin-right: 10px; + &::after { + content: ""; + width: 6px; + height: 6px; + display: block; + background-color: rgba(114, 219, 134, 1); + border: 1px solid rgba(87, 168, 105, 1); + border-radius: 39px; + box-sizing: border-box; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + } + } + + .text { + font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif; + font-weight: 650; + font-style: normal; + font-size: 16px; + color: #000000; + } + + .img { + width: 14px; + height: 14px; + } + } + } } .base { width: 640px; height: 60px; - background-color: rgba(123, 140, 211, 1); + // background-color: rgba(123, 140, 211, 1); border-radius: 153px; position: fixed; - bottom: 15px; + bottom: 30px; left: 50%; transform: translateX(-50%); - .left { - width: 450px; - height: 50px; - background-color: #fff; - border-radius: 153px 15px 15px 153px; - margin-right: 5px; - padding: 0 20px; - .text { - font-family: "PingFangSC-Regular", "PingFang SC", sans-serif; - font-weight: 400; - font-style: normal; - font-size: 16px; - color: rgba(170, 170, 170, 0.901960784313726); + z-index: 2; + + .type1 { + width: 100%; + height: 100%; + border-radius: 153px; + border: 1px solid rgb(219, 224, 242); + background: linear-gradient(to right, rgb(238, 247, 245), rgb(219, 227, 253)); + font-size: 15px; + color: #000000; + + .btn { + line-height: 50px; + margin: 0 24px; + + .img { + height: 20px; + margin-right: 6px; + } } - .img { - width: 20px; + .line { + width: 1px; height: 20px; + background-color: rgb(215, 215, 215); + } + + .add { + height: 50px; + line-height: 50px; + text-align: center; + background-color: rgba(123, 140, 211, 1); + border-radius: 158px; + font-weight: 400; + font-style: normal; + font-size: 15px; + color: #ffffff; + margin-right: 5px; + .img { + width: 16px; + height: 16px; + margin-right: 10px; + } } } - .rigth { - width: 175px; - height: 50px; - background-color: #fff; - border-radius: 15px 153px 153px 15px; - padding-left: 19px; + .type2 { + width: 100%; + height: 100%; + background-color: rgba(242, 242, 242, 1); + border: 1px solid rgba(215, 215, 215, 1); + border-radius: 153px; - .img { - width: 25px; - height: 22px; - margin-right: 5px; + .btn { + padding: 0 20px; + height: 100%; + margin-right: 20px; + border-right: 1px solid rgb(215, 215, 215); + cursor: pointer; + font-size: 15px; + color: #000000; + .img { + width: 16px; + height: 16px; + margin-left: 7px; + } } - .text { - font-size: 16px; - color: #333333; - margin-right: 9px; + .input-box { + width: 370px; + height: 40px; + margin-right: 10px; + background-color: rgba(255, 255, 255, 1); + border-radius: 158px; + overflow: hidden; + .img { + width: 20px; + height: 20px; + margin-left: 12px; + margin-right: 6px; + } + .input { + height: 100%; + padding-right: 20px; + border: none; + outline: none; + } } - .number { - height: 20px; - line-height: 20px; - background-color: rgba(242, 242, 242, 1); - border-radius: 150px; - font-size: 13px; - color: #f95d5d; - padding: 0 8px; + .state-box { + .state-btn { + width: 100px; + height: 40px; + background-color: rgba(249, 93, 93, 1); + border-radius: 158px; + font-size: 15px; + color: #ffffff; + cursor: pointer; + .img { + width: 11px; + height: 6px; + margin-left: 8px; + } + } + } + } + + .type3 { + width: 100%; + height: 100%; + background-color: rgba(242, 242, 242, 1); + border: 1px solid rgba(215, 215, 215, 1); + border-radius: 153px; + + .btn { + padding: 0 20px; + height: 100%; + margin-right: 20px; + border-right: 1px solid rgb(215, 215, 215); + cursor: pointer; + font-size: 15px; + color: #000000; + + .img { + width: 16px; + height: 16px; + margin-left: 7px; + } + } + + .add-btn { + width: 235px; + height: 40px; + background-color: rgba(123, 140, 211, 1); + font-size: 15px; + color: #ffffff; + border-radius: 158px; + &.already { + background-color: rgba(251, 251, 251, 1); + font-size: 16px; + color: #aaaaaa; + } + .img { + width: 16px; + height: 16px; + margin-right: 10px; + } } } } diff --git a/img/add-circle-white.svg b/img/add-circle-white.svg new file mode 100644 index 0000000..3c701ea --- /dev/null +++ b/img/add-circle-white.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/img/arrows-circle-gray.svg b/img/arrows-circle-gray.svg new file mode 100644 index 0000000..1091432 --- /dev/null +++ b/img/arrows-circle-gray.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/img/arrows-circle-green.svg b/img/arrows-circle-green.svg new file mode 100644 index 0000000..6db532f --- /dev/null +++ b/img/arrows-circle-green.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/img/arrows-triangle-white.svg b/img/arrows-triangle-white.svg new file mode 100644 index 0000000..f4d9982 --- /dev/null +++ b/img/arrows-triangle-white.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/img/edit-icon.png b/img/edit-icon.png new file mode 100644 index 0000000..af69726 Binary files /dev/null and b/img/edit-icon.png differ diff --git a/img/manage-icon.png b/img/manage-icon.png new file mode 100644 index 0000000..342258a Binary files /dev/null and b/img/manage-icon.png differ