DESKTOP-RQ919RC\Pc 39073eabdf feat: 新增宣讲会模块和学校详情弹窗
新增宣讲会模块的HTML结构和样式
添加学校详情弹窗的HTML、CSS和交互逻辑
更新学校列表和回顾部分的样式和交互
新增多个SVG图标资源
2025-07-10 18:54:55 +08:00

1156 lines
42 KiB
Plaintext

* {
padding: 0;
margin: 0;
box-sizing: border-box;
scroll-behavior: smooth;
}
.admission-officer {
min-height: 100vh;
background-color: rgba(246, 246, 246, 1);
.flexflex {
display: flex;
}
.flexcenter {
display: flex;
justify-content: center;
align-items: center;
}
.flexacenter {
display: flex;
align-items: center;
}
.flex1 {
flex: 1;
}
.admission-head {
width: 100%;
height: 144px;
background-color: rgba(60, 125, 233, 1);
position: relative;
.admission-head-logo {
width: 223px;
height: 50px;
position: absolute;
top: 60px;
left: calc((100vw - 1200px) / 2);
}
.admission-head-box {
min-width: 1200px;
height: 216px;
position: relative;
top: 0;
left: 50%;
transform: translateX(-50%);
overflow: hidden;
}
.admission-head-gray {
position: absolute;
top: 122px;
left: 50%;
transform: translateX(-50%);
width: 1920px;
height: 91px;
z-index: 1;
&::after {
content: "";
position: absolute;
top: 0;
right: 1px;
height: 91px;
width: calc((100vw - 1920px) / 2);
background-color: #f6f6f6;
transform: translateX(100%);
}
&::before {
content: "";
position: absolute;
top: 0;
left: 1px;
height: 91px;
width: calc((100vw - 1920px) / 2);
background-color: #f6f6f6;
transform: translateX(-100%);
}
}
.admission-head-1 {
position: absolute;
top: 122px;
left: 50%;
transform: translateX(-50%);
width: 1920px;
height: 68px;
}
.admission-head-2 {
position: absolute;
top: 122px;
left: 50%;
transform: translateX(-50%);
width: 1920px;
height: 91px;
}
}
.admission-body {
width: 1200px;
margin: 0 auto;
padding-top: 54px;
position: relative;
.interview-box {
width: 100%;
height: 435px;
margin: 0 auto 22px;
position: relative;
z-index: 1;
.bj {
width: 100%;
height: 435px;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
.left {
padding-top: 14px;
padding-left: 20px;
margin-right: 20px;
.head {
margin-bottom: 11px;
.icon {
width: 38px;
height: 50px;
margin-right: 1px;
}
.name {
width: 125px;
height: 36px;
}
}
.content {
width: 592px;
height: 333px;
position: relative;
border-radius: 10px;
overflow: hidden;
.img {
width: 592px;
height: 333px;
}
.play-btn {
width: 50px;
height: 50px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.bottom {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.047) 0%, rgba(0, 0, 0, 1) 100%);
padding: 17px 22px 13px;
transition: all 0.3s;
.title {
font-weight: 650;
font-style: normal;
font-size: 16px;
color: #ffffff;
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
margin-bottom: 5px;
}
.subtitle {
font-size: 13px;
color: #ffffff;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
}
}
}
}
.focus-box {
width: 552px;
height: 293px;
background-color: rgba(251, 251, 251, 1);
border-radius: 10px;
margin-top: 115px;
position: relative;
.ok {
width: 101px;
height: 127px;
position: absolute;
top: -122px;
right: 45px;
z-index: -1;
}
.head {
width: 100%;
height: 36px;
background-color: rgba(220, 238, 213, 1);
border-radius: 10px 10px 0 0;
.arrows {
width: 24px;
height: 24px;
}
.name {
width: 79px;
height: 27px;
margin: 0 31px;
}
}
.content {
height: 257px;
.info {
border-right: 1px solid #ebebeb;
width: 193px;
padding: 25px 24px;
.label {
position: relative;
z-index: 1;
width: 72px;
height: 21px;
font-weight: 650;
font-style: normal;
font-size: 15px;
color: #ffffff;
margin-bottom: 20px;
.icon {
position: absolute;
z-index: -1;
width: 72px;
height: 21px;
}
}
.name {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 20px;
color: #000000;
margin-bottom: 11px;
.professional {
font-size: 14px;
color: #555555;
display: flex;
align-items: flex-end;
font-weight: 400;
margin-left: 6px;
}
}
.subheading {
font-size: 14px;
color: #555555;
margin-bottom: 11px;
}
}
.introduce-box {
flex-direction: column;
justify-content: space-between;
padding-bottom: 20px;
padding-top: 13px;
.introduce-list {
padding-left: 49px;
.introduce-item {
width: 291px;
font-size: 14px;
line-height: 33px;
color: #333333;
padding: 10px 0;
position: relative;
&::after {
content: "";
width: 6px;
height: 6px;
background-color: #000000;
border-radius: 50%;
position: absolute;
top: 24px;
left: -16px;
}
&:not(:last-child) {
border-bottom: 1px dotted #d7d7d7;
}
}
}
.play-btn {
width: 126px;
height: 34px;
background-color: rgba(211, 81, 16, 1);
border-radius: 86px;
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 16px;
color: #ffffff;
margin-left: auto;
.icon {
width: 20px;
height: 20px;
margin-left: 6px;
}
}
}
}
}
}
.preach-box {
width: 100%;
height: 435px;
margin: 0 auto 22px;
position: relative;
z-index: 1;
.bj {
width: 100%;
height: 435px;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
.left {
padding-top: 14px;
padding-left: 20px;
margin-right: 20px;
.head {
margin-bottom: 11px;
.icon {
width: 38px;
height: 50px;
margin-right: 1px;
}
.name {
width: 125px;
height: 36px;
}
}
}
}
.interview-more {
margin-bottom: 102px;
.case {
width: 139px;
height: 200px;
background-color: rgba(118, 196, 94, 1);
border-radius: 10px;
flex-direction: column;
margin-right: 10px;
.name {
font-weight: 650;
font-style: normal;
font-size: 20px;
color: #ffffff;
margin-bottom: 9px;
}
.english {
font-size: 14px;
color: #ffffff;
text-align: center;
}
}
.swiper-box {
position: relative;
.btn {
width: 40px;
height: 40px;
background-color: rgba(255, 255, 255, 0.8);
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 1;
border-radius: 50%;
cursor: pointer;
user-select: none;
&.left {
left: 10px;
}
&.right {
right: 10px;
transform: translateY(-50%) rotate(180deg);
}
.arrows {
width: 13px;
height: 20px;
}
}
.swiper {
width: 1052px;
overflow: hidden;
.swiper-item {
width: 356px;
height: 200px;
position: relative;
border-radius: 10px;
// overflow-x: auto;
&:not(:last-child) {
margin-right: 10px;
}
.img {
width: 356px;
height: 200px;
}
.bottom {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.047) 0%, rgba(0, 0, 0, 1) 100%);
padding: 17px 22px 13px;
border-radius: 0 0 10px 10px;
.title {
font-weight: 650;
font-style: normal;
font-size: 16px;
color: #ffffff;
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
margin-bottom: 5px;
}
.subtitle {
font-size: 13px;
color: #ffffff;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
}
}
}
}
}
}
.school-list {
margin-bottom: 90px;
.school-item {
&:not(:last-child) {
margin-bottom: 102px;
}
.left {
position: relative;
margin-right: 45px;
z-index: 3;
width: 505px;
.abbreviation {
width: 100px;
height: 32px;
line-height: 32px;
background-color: rgba(125, 40, 130, 1);
border-radius: 86px;
font-family: "Arial-Black", "Arial Black", sans-serif;
font-weight: 900;
font-style: normal;
color: #ffffff;
font-size: 13px;
display: inline-flex;
position: absolute;
top: 0;
left: 0;
z-index: 2;
text-align: center;
}
.icon {
width: 130px;
height: 62px;
position: absolute;
top: 0;
left: 0;
z-index: 1;
}
.img {
width: 505px;
}
}
.right {
width: 651px;
z-index: 2;
.info {
padding-bottom: 24px;
border-bottom: 1px dotted #d7d7d7;
.img {
width: 60px;
height: 47px;
margin-right: 10px;
}
.name {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 20px;
color: #000000;
margin-bottom: 6px;
.arrows {
width: 12px;
height: 12px;
margin-left: 10px;
}
}
.english {
color: #555555;
font-size: 13px;
font-family: "ArialMT", "Arial", sans-serif;
}
}
.introduce {
font-size: 14px;
color: #555555;
padding-top: 19px;
padding-bottom: 24px;
}
.content {
padding-top: 27px;
padding-right: 20px;
padding-bottom: 31px;
position: relative;
z-index: 1;
&::after {
content: "";
width: 1051px;
height: 100%;
background: -webkit-linear-gradient(0deg, rgba(214, 229, 229, 1) 0%, rgba(246, 242, 234, 1) 100%);
background: -moz-linear-gradient(90deg, rgba(214, 229, 229, 1) 0%, rgba(246, 242, 234, 1) 100%);
background: linear-gradient(90deg, rgba(214, 229, 229, 1) 0%, rgba(246, 242, 234, 1) 100%);
border-radius: 20px;
display: block;
position: absolute;
top: 0;
right: 0;
z-index: -1;
}
.year {
margin-bottom: 24px;
.item {
width: 100px;
height: 28px;
line-height: 28px;
position: relative;
font-size: 14px;
color: #333333;
text-align: center;
z-index: 1;
cursor: pointer;
.svg {
width: 100px;
height: 28px;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
&.pitch {
color: #ffffff;
font-weight: 650;
.svg {
fill: #7d2882;
}
}
.arrows {
transform: translateY(-50%);
width: 9px;
height: 5px;
margin-left: 5px;
vertical-align: middle;
transition: all 0.3s;
}
&.more {
&.unfold {
color: #fff;
.svg {
fill: #76c45e;
}
.arrows {
fill: #fff;
transform: translateY(-50%) rotate(180deg);
}
.more-mask {
display: block;
}
.more-box {
display: block;
}
}
}
.more-mask {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
cursor: none;
display: none;
}
.more-box {
display: none;
background: #fff;
position: absolute;
top: 28px;
left: 0;
width: 92px;
background-color: rgba(118, 196, 94, 1);
border-radius: 0 0 10px 10px;
padding-top: 6px;
&::after {
content: "";
width: 100%;
height: 10px;
display: block;
top: 0;
position: absolute;
transform: translateY(-100%);
z-index: -1;
}
.more-item {
height: 32px;
line-height: 32px;
font-size: 14px;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
&:hover {
text-decoration: underline;
}
}
}
}
}
.course-list {
.item {
padding: 12px 10px 10px 20px;
background-color: #ffffff;
border-radius: 10px;
&:not(:last-child) {
margin-bottom: 10px;
}
.icon {
width: 28px;
height: 28px;
background-color: #f3f4f8;
border-radius: 50%;
margin-right: 10px;
.img {
width: 20px;
height: 20px;
}
}
.name {
font-size: 16px;
color: #333333;
margin-bottom: 8px;
.label {
width: 120px;
height: 26px;
line-height: 26px;
background-color: rgba(60, 125, 233, 1);
border-radius: 3px;
position: relative;
color: #ffffff;
font-size: 13px;
font-family: "ArialMT", "Arial", sans-serif;
padding: 0 6px;
margin-left: 12px;
.arrows {
position: absolute;
width: 9px;
height: 16px;
top: 50%;
transform: translateY(-50%) rotate(180deg);
left: -4px;
}
}
}
.bottom {
justify-content: space-between;
.time {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 14px;
color: #000000;
}
.btn {
width: 100px;
height: 32px;
line-height: 32px;
background-color: rgba(125, 40, 130, 1);
border-radius: 86px;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 14px;
color: #ffffff;
cursor: pointer;
.arrows {
width: 12px;
height: 12px;
margin-left: 7px;
}
}
}
}
}
}
}
}
}
.retrospect {
padding-bottom: 108px;
.more-icon {
width: 112px;
height: 40px;
margin-bottom: 30px;
}
.list {
flex-wrap: wrap;
margin-bottom: 29px;
.item {
width: 392px;
height: 180px;
border-radius: 15px;
align-items: flex-start;
padding: 20px;
margin-right: 12px;
&:not(:nth-last-child(-n + 3)) {
margin-bottom: 12px;
}
position: relative;
z-index: 1;
&::after {
content: "";
background: linear-gradient(90deg, #d6e5e5 0%, rgba(246, 242, 234, 0.976));
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: block;
border-radius: 15px;
z-index: -1;
}
&:nth-child(3n) {
margin-right: 0;
}
.bg {
position: absolute;
top: 0;
right: 0;
height: 180px;
display: block;
z-index: -2;
}
.img {
width: 47px;
margin-right: 10px;
}
.right {
.name {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 20px;
color: #000000;
margin-bottom: 2px;
}
.english {
color: #555555;
font-size: 13px;
margin-bottom: 22px;
}
.year {
flex-wrap: wrap;
.year-item {
width: 80px;
height: 24px;
line-height: 24px;
position: relative;
font-size: 14px;
color: #333333;
text-align: center;
z-index: 1;
cursor: pointer;
margin-bottom: 10px;
.svg {
width: 80px;
height: 24px;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
.arrows {
transform: translateY(-50%);
width: 9px;
height: 5px;
margin-left: 5px;
vertical-align: middle;
}
}
}
}
}
}
.pages {
.arrows {
width: 7px;
height: 12px;
margin: 0 24px;
cursor: pointer;
&.rotate180 {
transform: rotate(180deg);
}
}
.item {
width: 24px;
height: 24px;
line-height: 24px;
border-radius: 50%;
font-size: 14px;
color: #555555;
margin: 0 2px;
cursor: pointer;
&.pitch {
background-color: #3c7de9;
color: #fff;
}
}
}
}
.more-school-mask {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.2);
z-index: 100;
.more-school {
width: 706px;
border-radius: 20px;
overflow: hidden;
background: linear-gradient(90deg, rgba(214, 229, 229, 1) 0%, rgba(246, 242, 234, 1) 100%);
border-radius: 20px;
position: relative;
.close {
width: 12px;
height: 12px;
position: absolute;
top: 20px;
right: 20px;
cursor: pointer;
}
.head {
width: 100%;
height: 100px;
padding-left: 36px;
background-color: rgba(255, 255, 255, 1);
.img {
height: 47px;
margin-right: 10px;
}
.info {
.name {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 20px;
color: #000000;
margin-bottom: 4px;
.icon {
width: 12px;
height: 12px;
margin-left: 10px;
}
}
.english {
color: #555555;
font-size: 13px;
}
}
}
.content {
padding: 29px 13px 31px 36px;
.year {
margin-bottom: 24px;
.item {
width: 100px;
height: 28px;
line-height: 28px;
position: relative;
font-size: 14px;
color: #333333;
text-align: center;
z-index: 1;
cursor: pointer;
.svg {
width: 100px;
height: 28px;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
&.pitch {
color: #ffffff;
font-weight: 650;
.svg {
fill: #3c7de9;
}
}
.arrows {
transform: translateY(-50%);
width: 9px;
height: 5px;
margin-left: 5px;
vertical-align: middle;
transition: all 0.3s;
}
&.more {
&.unfold {
color: #fff;
.svg {
fill: #76c45e;
}
.arrows {
fill: #fff;
transform: translateY(-50%) rotate(180deg);
}
.more-mask {
display: block;
}
.more-box {
display: block;
}
}
}
.more-mask {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
cursor: none;
display: none;
}
.more-box {
display: none;
background: #fff;
position: absolute;
top: 28px;
left: 0;
width: 92px;
background-color: rgba(118, 196, 94, 1);
border-radius: 0 0 10px 10px;
padding-top: 6px;
&::after {
content: "";
width: 100%;
height: 10px;
display: block;
top: 0;
position: absolute;
transform: translateY(-100%);
z-index: -1;
}
.more-item {
height: 32px;
line-height: 32px;
font-size: 14px;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
&:hover {
text-decoration: underline;
}
}
}
}
}
.list {
height: 448px;
overflow: auto;
padding-right: 20px;
&::-webkit-scrollbar {
width: 7px;
}
&::-webkit-scrollbar-track {
background: transparent;
}
&::-webkit-scrollbar-thumb {
background: #d7d7d7;
border-radius: 3.5px;
}
&::-webkit-scrollbar-thumb:hover {
background: #c4c4c4;
}
.item {
padding: 12px 10px 10px 20px;
background-color: #ffffff;
border-radius: 10px;
&:not(:last-child) {
margin-bottom: 10px;
}
.icon {
width: 28px;
height: 28px;
background-color: #f3f4f8;
border-radius: 50%;
margin-right: 10px;
.img {
width: 20px;
height: 20px;
}
}
.name {
font-size: 16px;
color: #333333;
margin-bottom: 8px;
.label {
width: 120px;
height: 26px;
line-height: 26px;
background-color: rgba(60, 125, 233, 1);
border-radius: 3px;
position: relative;
color: #ffffff;
font-size: 13px;
font-family: "ArialMT", "Arial", sans-serif;
padding: 0 6px;
margin-left: 12px;
.arrows {
position: absolute;
width: 9px;
height: 16px;
top: 50%;
transform: translateY(-50%) rotate(180deg);
left: -4px;
}
}
}
.bottom {
justify-content: space-between;
.time {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 14px;
color: #000000;
}
.btn {
width: 100px;
height: 32px;
line-height: 32px;
background-color: rgba(118, 196, 94, 1);
border-radius: 86px;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 14px;
color: #ffffff;
cursor: pointer;
.arrows {
width: 12px;
height: 12px;
margin-left: 7px;
}
}
}
}
}
}
}
}
}
}