xg-project-library/index/index.less
2024-10-29 19:14:25 +08:00

761 lines
24 KiB
Plaintext

* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
.flexflex {
display: flex;
}
.flexcenter {
display: flex;
justify-content: center;
align-items: center;
}
.flexjcenter {
display: flex;
justify-content: center;
}
.flexacenter {
display: flex;
align-items: center;
}
.flex1 {
flex: 1;
}
.flexcolumn {
display: flex;
flex-direction: column;
}
body {
background-color: rgba(238, 242, 245, 1);
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
}
.main {
width: 1200px;
margin: 0 auto;
.index-icon {
width: 184px;
height: 42px;
margin-top: 37px;
margin-bottom: 40px;
}
.header-box {
width: 100%;
height: 130px;
padding: 0 50px;
border-radius: 12px;
justify-content: space-between;
position: relative;
margin-bottom: 20px;
&:before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 12px;
background-image: linear-gradient(to right, rgba(60, 26, 94, 0.717647), rgba(53, 60, 90, 0.886275));
z-index: -1;
}
.bj {
position: absolute;
top: 0;
left: 0;
z-index: -2;
}
.search {
width: 610px;
height: 48px;
background-color: rgba(255, 255, 255, 0.4);
border-radius: 183px;
padding: 0 20px;
cursor: pointer;
.input {
height: 48px;
line-height: 48px;
background-color: transparent;
color: #ffffff;
}
.search-icon {
width: 22px;
height: 22px;
}
}
.btn {
.item {
width: 160px;
height: 40px;
background: -webkit-linear-gradient(194.036243467926deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
background: -moz-linear-gradient(255.963756532074deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
background: linear-gradient(255.963756532074deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
border-radius: 70px;
margin-left: 20px;
font-size: 16px;
color: #000000;
cursor: pointer;
.icon {
height: 22px;
margin-right: 8px;
}
}
}
}
.screen {
margin-bottom: 20px;
.block {
// height: 250px;
background-color: rgba(255, 255, 255, 1);
border-radius: 12px;
padding: 24px 34px 32px;
.title {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-size: 18px;
color: #000000;
margin-bottom: 26px;
.icon {
width: 40px;
height: 40px;
border-radius: 50%;
margin-right: 10px;
.img {
width: 24px;
}
}
}
.list {
.item {
width: fit-content;
height: 36px;
line-height: 36px;
background-color: rgba(251, 251, 251, 1);
border: 1px solid rgba(235, 235, 235, 1);
border-radius: 12px;
font-size: 14px;
color: #333;
cursor: pointer;
}
}
&.school {
width: 500px;
margin-right: 20px;
.title {
.icon {
background-color: rgb(213, 241, 247);
}
}
.list {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 10px;
.item {
width: 78px;
}
}
}
&.subject {
padding-bottom: 22px;
.title {
.icon {
background-color: rgb(253, 239, 188);
}
}
.list {
flex-wrap: wrap;
.item {
padding: 0 17px;
margin-right: 10px;
margin-bottom: 10px;
}
}
}
}
}
.fate {
width: 100%;
background-color: rgba(255, 255, 255, 1);
border-radius: 12px;
margin-bottom: 20px;
padding: 31px 37px 10px;
.title {
justify-content: space-between;
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-size: 18px;
color: #000000;
margin-bottom: 6px;
.btn {
font-weight: 400;
color: #555555;
font-size: 14px;
cursor: pointer;
.icon {
width: 16px;
height: 16px;
margin-right: 8px;
}
}
}
.list {
justify-content: space-between;
flex-wrap: wrap;
.item {
width: 530px;
margin-left: 20px;
padding-top: 22px;
padding-bottom: 22px;
justify-content: space-between;
&:not(:nth-last-child(-n + 2)) {
border-bottom: 1px dotted rgb(235, 235, 235);
}
.left {
.name {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-size: 16px;
color: #000000;
margin-bottom: 6px;
position: relative;
&::after {
content: "";
position: absolute;
top: 50%;
left: -20px;
transform: translateY(-50%);
width: 8px;
height: 8px;
background-color: rgba(242, 242, 242, 1);
border: 1px solid rgba(215, 215, 215, 1);
border-radius: 39px;
}
}
.message {
color: #7f7f7f;
font-size: 14px;
.virgule {
color: #d7d7d7;
}
}
}
.btn {
width: 110px;
height: 32px;
background: -webkit-linear-gradient(196.220193695603deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
background: -moz-linear-gradient(253.779806304397deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
background: linear-gradient(253.779806304397deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
border-radius: 61px;
font-size: 14px;
color: #000000;
cursor: pointer;
.add {
width: 24px;
height: 24px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(219, 227, 253, 1);
border-radius: 20px;
margin: 0 3px;
.icon {
width: 10px;
height: 10px;
}
}
}
}
}
}
.recruit {
width: 100%;
height: 502px;
background: linear-gradient(-36.4940455615096deg, rgba(207, 224, 249, 1) -23%, rgba(241, 242, 223, 1) 39%, rgba(238, 247, 245, 1) 114%);
border: 1px solid rgba(235, 235, 235, 1);
border-radius: 16px;
padding: 24px 30px 24px;
margin-bottom: 20px;
.title {
justify-content: space-between;
margin-bottom: 20px;
.img {
width: 100px;
height: 26px;
}
.btn {
font-size: 14px;
color: #333333;
cursor: pointer;
.icon {
width: 16px;
height: 16px;
margin-left: 7px;
transform: rotate(270deg);
}
}
}
.list {
overflow: hidden;
margin-bottom: 20px;
.list-item {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
}
.item {
width: 565px;
height: 180px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(235, 235, 235, 1);
border-radius: 12px;
// padding-top: 25px;
padding: 25px 24px;
align-items: flex-start;
position: relative;
.avatar {
width: 32px;
object-fit: contain;
margin-right: 10px;
}
.info {
.school {
font-size: 14px;
color: #333333;
margin-bottom: 10px;
}
.name {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-size: 16px;
color: #000000;
margin-bottom: 10px;
}
.name-en {
font-size: 14px;
color: #7f7f7f;
margin-bottom: 15px;
}
.aq {
width: 477px;
height: 36px;
line-height: 36px;
background-color: rgba(249, 248, 248, 1);
border-radius: 3px;
padding: 0 10px;
.text {
font-size: 14px;
color: #e4c762;
margin-right: 10px;
}
.value {
font-size: 15px;
color: #333333;
}
.icon {
width: 20px;
height: 20px;
}
}
}
.operate {
// height: 80px;
position: relative;
position: absolute;
top: 24px;
right: 24px;
.circle {
position: relative;
z-index: 1;
cursor: pointer;
width: 28px;
height: 28px;
background-color: rgba(219, 227, 253, 1);
border: 1px solid rgba(175, 181, 202, 1);
border-radius: 20px;
.img-add {
width: 12px;
height: 12px;
}
.img-dot {
width: 18px;
height: 8px;
}
}
.select {
position: absolute;
right: -24px;
top: -24px;
background-color: rgba(251, 251, 251, 1);
border-radius: 8px;
-moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.180392156862745);
-webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.180392156862745);
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.180392156862745);
flex-direction: column;
transition: all 0.3s;
overflow: hidden;
opacity: 0;
height: 0;
width: 300px;
&.show {
height: 180px;
opacity: 1;
}
flex-direction: column;
align-items: center;
// .top {
// flex-direction: column;
.title {
.dot {
width: 8px;
height: 8px;
border-radius: 50%;
border: 1px solid rgb(202, 177, 87);
background-color: rgb(253, 223, 109);
margin-right: 5px;
}
font-size: 14px;
color: #7f7f7f;
margin-top: 75px;
margin-bottom: 19px;
}
.btn {
cursor: pointer;
width: 144px;
height: 36px;
background: -webkit-linear-gradient(194.036243467926deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
background: -moz-linear-gradient(255.963756532074deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
background: linear-gradient(255.963756532074deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
border-radius: 158px;
font-size: 14px;
color: #333333;
.img {
width: 16px;
height: 16px;
margin-right: 8px;
}
}
// }
}
.already {
font-size: 14px;
color: #7f7f7f;
.tick-box {
width: 20px;
height: 20px;
background-color: rgba(246, 246, 246, 1);
border: 1px solid rgba(215, 215, 215, 1);
border-radius: 20px;
margin-right: 5px;
.img-tick {
width: 10px;
height: 8px;
}
}
}
}
}
}
.indicate {
line-height: 12px;
.icon {
width: 7px;
height: 12px;
cursor: pointer;
}
.text {
color: #555555;
font-size: 13px;
margin: 0 12px;
}
}
}
.data {
.fall {
width: 285px;
display: block;
}
.item {
width: 285px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(235, 235, 235, 1);
border-radius: 12px;
padding: 21px 15px 0;
.school {
.img {
height: 20px;
margin-right: 8px;
}
font-size: 14px;
color: #333333;
margin-bottom: 12px;
}
.name {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 16px;
color: #000000;
margin-bottom: 12px;
}
.name-en {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 14px;
color: #555555;
margin-bottom: 12px;
}
.introduce {
color: #555555;
font-size: 14px;
margin-bottom: 12px;
.quantity {
font-family: "Arial-Black", "Arial Black", sans-serif;
font-weight: 900;
color: #000000;
margin-left: 8px;
}
.line {
color: #d7d7d7;
margin: 0 10px;
}
}
.word {
background-color: rgba(249, 248, 248, 1);
border-radius: 3px;
padding: 10px 15px;
font-size: 14px;
color: #7f7f7f;
margin-bottom: 12px;
}
.tag {
.tag-item {
width: fit-content;
height: 24px;
line-height: 24px;
background-color: rgba(249, 248, 248, 1);
border: 1px solid rgba(170, 170, 170, 1);
border-radius: 6px;
padding: 0 9px;
font-size: 14px;
color: #7f7f7f;
margin-right: 10px;
&.gray {
background-color: rgba(51, 51, 51, 1);
color: #ffffff;
}
&.semester {
color: #ffffff;
background-color: rgba(249, 93, 93, 1);
}
}
}
.operate {
height: 80px;
position: relative;
.circle {
position: relative;
z-index: 1;
cursor: pointer;
width: 28px;
height: 28px;
background-color: rgba(219, 227, 253, 1);
border: 1px solid rgba(175, 181, 202, 1);
border-radius: 20px;
.img-add {
width: 12px;
height: 12px;
}
.img-dot {
width: 18px;
height: 8px;
}
}
.select {
position: absolute;
bottom: 0;
width: 285px;
background-color: rgba(251, 251, 251, 1);
border-radius: 8px;
-moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.180392156862745);
-webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.180392156862745);
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.180392156862745);
flex-direction: column;
transition: all 0.3s;
overflow: hidden;
opacity: 0;
height: 0;
&.show {
height: 211px;
opacity: 1;
}
.top {
flex-direction: column;
.title {
.dot {
width: 8px;
height: 8px;
border-radius: 50%;
border: 1px solid rgb(202, 177, 87);
background-color: rgb(253, 223, 109);
margin-right: 5px;
}
font-size: 14px;
color: #7f7f7f;
margin-bottom: 19px;
}
.btn {
cursor: pointer;
width: 144px;
height: 36px;
background: -webkit-linear-gradient(194.036243467926deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
background: -moz-linear-gradient(255.963756532074deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
background: linear-gradient(255.963756532074deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
border-radius: 158px;
font-size: 14px;
color: #333333;
.img {
width: 16px;
height: 16px;
margin-right: 8px;
}
}
}
.bottom {
border-top: 1px dotted #ebebeb;
height: 80px;
}
}
.already {
font-size: 14px;
color: #7f7f7f;
.tick-box {
width: 20px;
height: 20px;
background-color: rgba(246, 246, 246, 1);
border: 1px solid rgba(215, 215, 215, 1);
border-radius: 20px;
margin-right: 5px;
.img-tick {
width: 10px;
height: 8px;
}
}
}
}
}
}
.base {
width: 640px;
height: 60px;
background-color: rgba(123, 140, 211, 1);
border-radius: 153px;
position: fixed;
bottom: 15px;
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);
}
.img {
width: 20px;
height: 20px;
}
}
.rigth {
width: 175px;
height: 50px;
background-color: #fff;
border-radius: 15px 153px 153px 15px;
padding-left: 19px;
.img {
width: 25px;
height: 22px;
margin-right: 5px;
}
.text {
font-size: 16px;
color: #333333;
margin-right: 9px;
}
.number {
height: 20px;
line-height: 20px;
background-color: rgba(242, 242, 242, 1);
border-radius: 150px;
font-size: 13px;
color: #f95d5d;
padding: 0 8px;
}
}
}
}