Files
PCAdmissionOfficer/H5/h5.less
DESKTOP-RQ919RC\Pc d638dade41 no message
2025-07-18 18:56:24 +08:00

881 lines
25 KiB
Plaintext

body {
margin: 0;
background-color: rgba(246, 246, 246, 1);
overscroll-behavior: contain; /* 防止滚动溢出时的回弹效果 */
-webkit-overflow-scrolling: touch; /* 保持iOS上的平滑滚动 */
}
.admission-officer {
min-height: 100vh;
background-color: rgba(246, 246, 246, 1);
.one-line-display {
word-break: keep-all;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
scroll-behavior: smooth;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
}
.flexflex {
display: flex;
}
.flexcenter {
display: flex;
justify-content: center;
align-items: center;
}
.flexacenter {
display: flex;
align-items: center;
}
.flex1 {
flex: 1;
}
img {
object-fit: cover;
}
a {
text-decoration: none;
}
.header-box {
width: 100vw;
// height: 6.5333rem;
height: 4.7rem;
position: relative;
z-index: 1;
margin-bottom: 1.16rem;
.header-bj {
width: 10rem;
height: 4.52rem;
position: absolute;
top: 0;
z-index: 2;
}
.bj-green {
width: 10rem;
height: 4.62rem;
position: absolute;
top: 0.08rem;
left: 0;
z-index: 1;
}
.header-img {
// width: 3.56rem;
height: 0.92rem;
position: absolute;
bottom: 0.98rem;
left: 50%;
transform: translateX(-50%);
z-index: 3;
width: 4.46rem;
// height: 1rem;
}
}
.list {
.item {
width: 9rem;
position: relative;
margin: 0 auto;
&:not(:last-of-type) {
margin: 0 auto 1.2rem;
}
.aa {
fill: #0170fe;
}
.header {
margin-bottom: 0.24rem;
position: relative;
.img {
width: 9rem;
// height: .8rem;
border-radius: 0.2rem;
display: block;
}
.abbreviation {
position: absolute;
top: 0;
left: 0;
width: 2rem;
height: 0.96rem;
.school-other {
position: absolute;
top: -0.0133rem;
left: -0.0133rem;
width: 2rem;
height: 0.96rem;
z-index: 1;
}
.text {
width: 1.56rem;
height: 0.52rem;
line-height: 0.52rem;
text-align: center;
background-color: rgba(125, 40, 130, 1);
border-radius: 1.72rem;
font-family: "Arial", "Arial-Black", "Arial Black", sans-serif;
font-weight: 900;
font-style: normal;
color: #ffffff;
font-size: 0.26rem;
position: absolute;
top: 0;
left: 0;
z-index: 2;
}
}
.header-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
min-height: 1.28rem;
background-color: rgba(255, 255, 255, 0.929411764705882);
border-radius: 0.2rem;
width: max-content;
padding: 0.14rem 0.18rem;
max-width: 95%;
min-height: 0.78rem;
.school-img {
// width: 1rem;
height: 0.78rem;
margin-right: 0.2rem;
}
.school-name {
font-weight: 650;
font-size: 0.48rem;
color: #000000;
// line-height: 0.48rem;
margin-bottom: 0.08rem;
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 0.36rem;
color: #000000;
.arrow {
margin-left: 0.1333rem;
width: 0.24rem;
height: 0.24rem;
// transform: rotate(180deg);
}
}
.school-english {
font-size: 0.26rem;
color: #555555;
}
}
}
.introduction {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
// font-size: .28rem;
font-size: 0.28rem;
color: #555555;
line-height: 0.48rem;
margin-bottom: 0.44rem;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
text-overflow: ellipsis;
}
.year {
background-color: rgba(235, 235, 235, 1);
border-radius: 0.16rem;
display: inline-flex;
margin-bottom: 0.4rem;
.year-item {
width: 1.8rem;
height: 0.56rem;
line-height: 0.56rem;
text-align: center;
font-size: 0.28rem;
color: #333333;
border-radius: 0.16rem;
position: relative;
&.pitch {
background-color: rgba(125, 40, 130, 1);
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
color: #ffffff;
}
.triangle {
// width: .18rem;
// height: .1rem;
margin-left: 0.19rem;
transition: all 0.3s;
width: 0;
height: 0;
border-left: 0.09rem solid transparent;
border-right: 0.09rem solid transparent;
border-top: 0.1rem solid #000;
}
&.more {
&.pitch {
.triangle {
border-top: 0.1rem solid #fff;
}
}
&.unfold {
color: #fff;
background-color: #76c45e;
border-radius: 0.16rem 0.16rem 0 0;
.triangle {
border-top: 0.1rem solid #fff;
transform: translateY(-50%) rotate(180deg);
}
.more-mask,
.more-box {
display: block;
}
}
}
.more-mask {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: none;
// background-color: #0170fe;
z-index: 102;
}
.more-box {
display: none;
background: #fff;
position: absolute;
top: 0.56rem;
left: 0;
width: 100%;
background-color: rgba(118, 196, 94, 1);
border-radius: 0 0 0.2rem 0.2rem;
z-index: 102;
&::after {
content: "";
width: 100%;
height: 0.1333rem;
display: block;
top: 0;
position: absolute;
transform: translateY(-100%);
z-index: -1;
}
.more-item {
height: 0.6667rem;
line-height: 0.6667rem;
font-size: 0.28rem;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
}
}
}
}
.title-box {
margin-bottom: 0.36rem;
.title-item {
margin-bottom: 0.2rem;
background-color: #ffffff;
flex-direction: column;
width: 9rem;
border: 0.0133rem solid rgba(242, 242, 242, 1);
border-radius: 0.2rem;
padding: 0.24rem 0.2rem;
.icon {
background-color: #f3f4f8;
border-radius: 50%;
width: 0.56rem;
height: 0.56rem;
margin-right: 0.2rem;
.img {
width: 0.4rem;
height: 0.4rem;
}
}
.name {
width: 100%;
font-size: 0.32rem;
color: #333333;
margin-bottom: 0.2rem;
.text {
line-height: 0.56rem;
display: inline;
}
.label {
height: 0.52rem;
line-height: 0.52rem;
background-color: #3c7de9;
border-radius: 0.06rem;
position: relative;
color: #ffffff;
font-size: 0.26rem;
font-family: "ArialMT", "Arial", sans-serif;
padding: 0 0.12rem;
margin-left: 0.24rem;
display: inline-flex;
.arrows {
width: 0.18rem;
height: 0.32rem;
position: absolute;
top: 50%;
transform: translateY(-50%) rotate(180deg);
left: -0.08rem;
}
}
}
.bottom {
width: 100%;
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 0.28rem;
color: #000000;
justify-content: space-between;
.btn {
width: 1.4rem;
height: 0.64rem;
background-color: rgba(125, 40, 130, 1);
font-size: 0.28rem;
color: #ffffff;
border-radius: 1.72rem;
font-family: "Arial", "Arial-Black", "Arial Black", sans-serif;
font-weight: 900;
font-style: normal;
color: #ffffff;
.arrows {
width: 0.24rem;
height: 0.24rem;
margin-left: 0.1rem;
}
}
}
}
}
}
}
.end {
font-size: 0.26rem;
color: #d7d7d7;
text-align: center;
padding-top: 0.2667rem;
padding-bottom: 0.6667rem;
}
.interview-box {
width: 9rem;
height: 5.06rem;
position: relative;
margin: 0 auto 0.54rem;
z-index: 1;
.head {
position: absolute;
top: 0;
left: 0;
width: 3.48rem;
height: 1.24rem;
.icon {
width: 0.54rem;
height: 0.72rem;
position: absolute;
top: 0;
left: 0;
z-index: 2;
}
.name {
width: 2.22rem;
height: 0.64rem;
position: absolute;
top: 0;
left: 0.6rem;
z-index: 2;
}
.head-bj {
position: absolute;
top: -0.0133rem;
left: -0.0133rem;
width: 3.48rem;
height: 1.24rem;
z-index: 1;
}
}
.ok {
position: absolute;
top: -1.96rem;
right: 0.38rem;
width: 1.58rem;
height: 2rem;
z-index: -1;
}
.img {
width: 9rem;
height: 5.06rem;
border-radius: 0.2rem;
}
.bottom {
position: absolute;
color: #ffffff;
left: 0;
bottom: 0;
width: 9rem;
height: 1.4rem;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.047) 0%, #000000 100%);
border-radius: 0 0 0.2rem 0.2rem;
padding: 0.24rem 0.44rem 0.22rem;
.title {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 0.36rem;
margin-bottom: 0.04rem;
}
.subtitle {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 0.28rem;
}
}
.play {
width: 1rem;
height: 1rem;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
.interview-list {
width: 100vw;
box-sizing: border-box;
white-space: nowrap;
margin-bottom: 1.2rem;
overflow: auto;
.item {
display: inline-flex;
flex-direction: column;
width: 3.92rem;
margin-right: 0.2rem;
&:first-of-type {
margin-left: 0.5rem;
}
&:last-of-type {
margin-right: 0.5rem;
}
.img {
width: 3.92rem;
height: 2.2rem;
border-radius: 0.2rem;
margin-bottom: 0.2rem;
}
.title {
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
font-weight: 650;
font-style: normal;
font-size: 0.32rem;
margin-bottom: 0.1rem;
}
.subtitle {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 0.26rem;
color: #7f7f7f;
}
}
}
.preach-box {
width: 9rem;
// height: 5.88rem;
position: relative;
margin: 0 auto 0.54rem;
background: linear-gradient(123.157923884672deg, rgba(223, 234, 234, 1) 0%, rgba(251, 249, 245, 1) 100%);
border: 0.0133rem solid rgba(232, 239, 238, 1);
border-radius: 0.4rem;
padding-top: 1.04rem;
// padding-bottom: .42rem;
.head {
position: absolute;
top: 0;
left: 0;
width: 3.68rem;
height: 1.24rem;
.icon {
width: 0.52rem;
height: 0.36rem;
position: absolute;
top: 0.16rem;
left: 0;
z-index: 2;
}
.name {
width: 2.22rem;
height: 0.64rem;
position: absolute;
top: 0;
left: 0.68rem;
z-index: 2;
}
.head-bj {
position: absolute;
top: -0.0133rem;
left: -0.0133rem;
width: 3.68rem;
height: 1.24rem;
z-index: 1;
}
}
.swiper {
width: 9rem;
// width: 7.8rem;
// margin: 0 .6rem .2933rem .8rem;
margin: 0 auto 0.2933rem;
// flex-direction: column;
display: flex;
white-space: nowrap;
// 隐藏滚动条
overflow-x: auto;
-ms-overflow-style: none;
scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
}
.swiper-item {
display: flex;
flex-direction: column;
width: 9rem;
.item {
height: 1.36rem;
padding-top: 0.3rem;
padding-left: 0.8rem;
padding-right: 0.6rem;
position: relative;
&:not(:last-of-type) {
border-bottom: 0.0133rem dotted #d7d7d7;
}
.title {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 0.32rem;
color: #000000;
margin-bottom: 0.06rem;
position: relative;
width: 9rem;
&::after {
content: "";
width: 0.16rem;
height: 0.16rem;
border-radius: 50%;
position: absolute;
top: 50%;
left: -0.44rem;
transform: translateY(-50%);
background-color: #76c45e;
border: 0.0133rem solid #406f30;
}
.text {
max-width: 7.0133rem;
}
.arrow {
width: 0.24rem;
height: 0.24rem;
margin-left: 0.2rem;
// transform: rotate(180deg);
}
}
.time {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-style: normal;
color: #555555;
font-size: 0.26rem;
}
}
}
}
.indicator {
margin: 0 auto 0.42rem;
.item {
width: 0.2rem;
height: 0.08rem;
background-color: rgba(215, 215, 215, 1);
border-radius: 0.4rem;
&.pitch {
background: rgba(211, 81, 16, 1);
}
&:not(:last-of-type) {
margin-right: 0.08rem;
}
}
}
}
.paly-box-mask {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.4);
z-index: 100;
.svg {
width: 1.3333rem;
height: 1.3333rem;
// 写个动画 无效旋转
animation: rotate 1s linear infinite;
@keyframes rotate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
}
.paly-box {
// position: relative;
.close {
position: absolute;
top: -0.8667rem;
right: 0;
width: 0.8667rem;
height: 0.8667rem;
cursor: pointer;
}
.paly-video {
position: absolute;
top: -7rem;
left: 0;
width: 94vw;
height: 6.3333rem;
background-color: rgba(0, 0, 0, 1);
border-radius: 0.1333rem;
.art-video-player,
video {
border-radius: 0.1333rem;
overflow: hidden;
}
}
}
}
}
.page-header {
display: flex;
height: 60px;
padding: 0 0 0 15px;
align-items: center;
justify-content: space-between;
background: #3c7de9;
position: absolute;
z-index: 2;
width: 100vw;
box-sizing: border-box;
.logo {
display: inline-flex;
width: 116px;
height: 30px;
background-size: 100%;
}
.r {
display: inline-flex;
background: url(../img/menu.png) no-repeat center;
background-size: 19px 15px;
width: 49px;
height: 60px;
}
}
.nav-container {
position: fixed;
left: 0;
top: 0px;
width: 100vw;
height: 100vh;
z-index: 100;
display: none;
.page-header {
position: relative;
.logo {
// background: url(../img/helloofficer-logo.png) no-repeat;
}
}
.r {
background-color: rgba(255, 255, 255, 0.2);
}
.nav-list {
padding: 0 23px;
width: 100vw;
height: calc(100vh - 60px);
background: #fff;
position: relative;
left: 100vw;
.item {
border-bottom: 1px solid #ededed;
position: relative;
font-size: 16px;
color: #333;
a {
color: inherit;
height: 66px;
display: flex;
padding-left: 17px;
align-items: center;
justify-content: space-between;
}
.arrow {
display: inline-flex;
flex: 0 0 7px;
width: 7px;
height: 12px;
background: url(../img/arrow-grey.png) no-repeat;
background-size: 100%;
}
&:last-child {
border-bottom: none;
}
}
.active {
color: #0170fe;
font-weight: bold;
.arrow {
background: #ffffff;
}
&:after {
content: "";
display: block;
position: absolute;
left: 0;
top: 25px;
width: 3px;
height: 16px;
background-color: #0170fe;
}
}
}
.close {
position: fixed;
left: calc(50vw - 25px);
bottom: 50px;
width: 50px;
height: 50px;
background: url(../img/helloofficer-close.png) no-repeat center;
background-size: 30px 30px;
}
}
.active-nav {
display: block;
}
.active-nav .nav-list {
animation: toleft 0.3s forwards;
}
@keyframes toleft {
0% {
left: 100vw;
}
100% {
left: 0;
}
}