min-project/pages/projectComparison/projectComparison.less
DESKTOP-RQ919RC\Pc c13931db5b 小修改
2025-04-11 18:59:50 +08:00

585 lines
14 KiB
Plaintext

view,
navigator {
box-sizing: border-box;
font-family: 'PingFangSC-Semibold', 'PingFang SC Semibold', 'PingFang SC', sans-serif;
word-break: break-word;
}
.container {
min-height: 100vh;
padding: 0 15rpx;
}
.lump {
.title {
font-size: 21rpx;
color: #7F7F7F;
margin-bottom: 15rpx;
}
.block {
.item {
// display: flex;
// justify-content: center;
// align-items: center;
}
}
}
.block {
background-color: rgba(251, 247, 249, 1);
border: 1rpx solid rgba(241, 241, 241, 1);
border-radius: 12rpx;
margin-bottom: 27rpx;
position: relative;
.title {
font-size: 21rpx;
color: #7F7F7F;
}
.item {
&:not(:last-of-type) {
border-right: 1rpx solid rgba(241, 241, 241, 1);
}
&:nth-of-type(2) {
background-color: rgba(245, 252, 253, 1);
}
&:nth-of-type(3) {
background-color: rgba(251, 251, 243, 1);
}
.mode1 {
// height: 60rpx;
line-height: 60rpx;
font-family: 'Arial', 'Arial-Black', 'Arial Black', sans-serif;
font-weight: 900;
font-size: 24rpx;
color: #000000;
}
.mode2 {
// height: 60rpx;
line-height: 60rpx;
font-size: 24rpx;
color: #000000;
font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
}
.mode3 {
// height: 60rpx;
line-height: 60rpx;
font-size: 21rpx;
color: #555555;
.amount {
font-family: 'Arial', 'Arial-Black', 'Arial Black', sans-serif;
font-weight: 900;
font-size: 24rpx;
color: #333333;
margin-right: 8rpx;
}
}
.mode4 {
font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
font-weight: 400;
font-size: 24rpx;
line-height: 42rpx;
padding: 18rpx 15rpx;
white-space: pre-line;
}
.mode7 {
flex-direction: column;
padding: 18rpx 15rpx;
.sum {
font-family: 'Arial', 'Arial-Black', 'Arial Black', sans-serif;
font-weight: 900;
font-style: normal;
font-size: 24rpx;
color: #000000;
text-align: center;
}
.major {
// display: flex;
// gap: 8px;
// align-items: flex-start;
// width: 100%;
color: #7F7F7F;
// line-height: 21rpx;
font-size: 19.5rpx;
font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
font-weight: 400;
font-style: normal;
text-align: center;
.text {
display: inline-flex;
justify-content: center;
}
.year {
flex-shrink: 0;
white-space: nowrap;
align-self: flex-end;
/* 年份底部对齐 */
}
}
}
}
&.show {
.item {
height: 200px;
overflow: hidden;
}
.more {
.more-icon {
transform: rotate(90deg) !important;
}
}
}
&.unfold {
padding-bottom: 75rpx;
.more {
display: flex;
.more-icon {
transform: rotate(-90deg);
}
}
}
.more {
position: absolute;
bottom: 0;
width: 100%;
height: 75rpx;
background-color: rgba(251, 251, 251, 1);
border-top: 1rpx solid rgba(241, 241, 241, 1);
border-radius: 12rpx;
display: none;
transition: all .3s;
.more-icon {
width: 27rpx;
height: 27rpx;
transform: rotate(90deg);
}
}
&.head-box {
position: sticky;
top: 86px;
z-index: 1;
&.briefness {
.item {
.name {
margin-bottom: 18rpx;
}
.english {
height: 0;
overflow: hidden;
margin-bottom: 0;
}
.operate {
height: 0;
overflow: hidden;
border-top-color: transparent;
}
}
}
.item {
padding-top: 24rpx;
.name {
width: calc(100vw / 3 - 30rpx);
font-weight: 650;
font-size: 24rpx;
color: #000000;
padding: 0 15rpx;
margin-bottom: 9rpx;
}
.english {
width: calc(100vw / 3 - 30rpx);
font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
font-size: 21rpx;
color: #7F7F7F;
line-height: 24rpx;
padding: 0 15rpx;
margin-bottom: 27rpx;
transition: all .3s;
}
.school {
padding: 0 15rpx;
.icon {
width: 24rpx;
height: 27rpx;
margin-right: 10rpx;
}
font-size: 24rpx;
margin-bottom: 16.5rpx;
.semester {
font-size: 21rpx;
color: #9A9D02;
text-align: right;
flex: 1;
}
}
.operate {
border-top: 1rpx solid #f1f1f1;
height: 73.5rpx;
position: relative;
transition: all .3s;
.operate-item {
height: 100%;
&:not(:last-of-type) {
// border-right: 1rpx solid #ebebeb;
}
.icon {
width: 27rpx;
height: 27rpx;
}
}
.increase {
position: absolute;
right: 0;
transform: translateX(50%);
&::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 73.5rpx;
height: 73.5rpx;
}
.icon {
width: 33rpx;
height: 33rpx;
}
}
}
}
}
}
.end {
padding: 45rpx 0 195rpx;
text-align: center;
font-size: 19.5rpx;
color: #D7D7D7;
}
.base {
position: fixed;
left: 0;
bottom: 0;
width: 100vw;
height: 150rpx;
background-color: rgba(246, 246, 246, 1);
border-top: 1rpx solid rgba(235, 235, 235, 1);
font-size: 24rpx;
color: #333333;
.icon {
width: 30rpx;
height: 30rpx;
margin-left: 15rpx;
margin-right: 28.5rpx;
}
.btn {
width: 255rpx;
height: 90rpx;
background-color: rgba(207, 247, 255, 1);
border: 1rpx solid rgba(186, 222, 230, 1);
border-radius: 172.5rpx;
font-family: 'PingFangSC-Semibold', 'PingFang SC Semibold', 'PingFang SC', sans-serif;
font-weight: 650;
font-style: normal;
font-size: 30rpx;
color: #026277;
}
}
.handle-project-mask {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.705882352941177);
display: flex;
align-items: flex-end;
z-index: 99;
.handle-project {
width: 100vw;
background-color: rgba(255, 255, 255, 1);
border-radius: 45rpx;
.title {
margin: 0 30rpx;
padding-top: 45rpx;
padding-bottom: 33rpx;
border-bottom: 1rpx dotted #ebebeb;
font-size: 24rpx;
color: #555555;
text-align: center;
}
.scroll-view {
.item {
padding-top: 31.5rpx;
padding-bottom: 30rpx;
margin: 0 30rpx;
justify-content: space-between;
&:not(:last-of-type) {
border-bottom: 1rpx dotted #ebebeb;
}
&:last-of-type {
padding-bottom: 100rpx;
}
.left {
.name {
font-family: 'PingFangSC-Semibold', 'PingFang SC Semibold', 'PingFang SC', sans-serif;
font-weight: 650;
font-size: 27rpx;
color: #000000;
margin-bottom: 6rpx;
}
.english {
font-size: 21rpx;
color: #7F7F7F;
margin-bottom: 18rpx;
}
.bottom {
.icon {
width: 27rpx;
height: 27rpx;
margin-right: 7.5rpx;
}
font-size: 24rpx;
color: #333333;
.line {
width: 1rpx;
height: 25.5rpx;
border-right: 1rpx solid #d7d7d7;
margin: 0 18rpx;
}
.state {
font-size: 22.5rpx;
color: #7F7F7F;
width: 60rpx;
height: 33rpx;
background-color: rgba(240, 241, 236, 1);
border: 1rpx solid rgba(235, 235, 235, 1);
border-radius: 9rpx;
}
}
}
.btn {
width: 60rpx;
height: 60rpx;
background-color: rgba(207, 247, 255, 1);
border: 1rpx solid rgba(186, 222, 230, 1);
border-radius: 52.5rpx;
.icon {
width: 30rpx;
height: 27rpx;
}
}
}
}
}
}
.empty {
margin: 0 30rpx 30rpx;
background-color: rgba(255, 255, 255, 1);
flex-direction: column;
height: 60vh;
.icon {
width: 120rpx;
height: 141rpx;
margin-bottom: 40.5rpx;
}
.text {
font-size: 24rpx;
color: #7F7F7F;
line-height: 45rpx;
}
}
.index-sidebar {
position: relative;
z-index: 99;
}
.QRcode {
.block {
background-color: rgba(251, 251, 251, 1);
padding: 30rpx 0;
}
.hint {
height: 70rpx;
}
.arrows {
width: 30rpx;
height: 12rpx;
margin: 10rpx;
margin-right: 40rpx;
margin-left: 18rpx;
}
.img {
width: 225rpx;
height: 225rpx;
background-color: rgba(255, 255, 255, 1);
border-radius: 15rpx;
box-shadow: 0 0 7.5rpx rgba(0, 0, 0, 0.152941176470588);
.icon {
width: 199.5rpx;
height: 199.5rpx;
}
}
}
.ranking-title {
height: 42rpx;
background-color: rgba(246, 246, 246, 1);
border-radius: 322rpx;
font-size: 22.5rpx;
color: #555555;
margin-bottom: 15rpx;
.icon {
width: 21rpx;
height: 12rpx;
margin-left: 10rpx;
}
}
.select-pop {
width: 100vw;
height: 100vh;
position: fixed;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.705882352941177);
z-index: 100;
align-items: flex-end;
.select-box {
width: 100%;
background-color: rgba(255, 255, 255, 1);
border-radius: 45rpx 45rpx 0 0;
padding-top: 70rpx;
padding-bottom: 120rpx;
.title {
font-weight: 650;
font-style: normal;
font-size: 30rpx;
color: #000000;
text-align: center;
margin-bottom: 50rpx;
}
.list {
max-height: 60vh;
.item {
padding-left: 37.5rpx;
height: 90rpx;
&:not(:last-of-type) {
.content {
border-bottom: 1rpx dotted #ebebeb;
}
}
font-size: 27rpx;
color: #555555;
&.pitch {
font-weight: 650;
color: #000000;
.content {
.img {
display: block;
}
}
}
.dot {
width: 12rpx;
height: 12rpx;
background-color: rgba(246, 246, 189, 1);
border: 1rpx solid rgba(204, 208, 3, 1);
border-radius: 58.5rpx;
margin-right: 33rpx;
}
.content {
height: 100%;
padding-right: 43.5rpx;
.img {
display: none;
width: 30rpx;
height: 30rpx;
}
}
}
}
}
}