PC-detailScreenshot/css/style.css
2024-09-02 11:11:45 +08:00

447 lines
9.9 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
}
.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;
}
#app {
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
}
.tab-box {
width: 490px;
display: flex;
align-items: center;
margin-top: 20px;
margin-bottom: 20px;
}
.tab-box .tab {
width: 150px;
height: 40px;
display: flex;
align-items: center;
margin: 0 auto;
border: 1px solid #eee;
border-radius: 20px;
}
.tab-box .tab .item {
flex: 1;
border-radius: 20px;
text-align: center;
line-height: 40px;
cursor: pointer;
}
.tab-box .tab .item.pitch {
background-color: #f7a60a;
color: #fff;
}
.operate {
width: 490px;
display: flex;
justify-content: center;
}
.operate input {
flex: 1;
height: 40px;
border: 1px solid #eee;
border-radius: 20px;
padding: 10px;
}
.operate .btn {
padding: 0 20px;
height: 40px;
border: 1px solid #eee;
border-radius: 20px;
margin-left: 20px;
text-align: center;
line-height: 40px;
cursor: pointer;
}
.main {
width: 450px;
padding: 20px 0 0;
}
.box {
position: relative;
z-index: 1;
margin-bottom: 50px;
}
.box .head {
display: flex;
justify-content: space-between;
align-items: center;
height: 77px;
}
.box .head .strip {
position: absolute;
top: 0;
right: 0;
height: 100%;
width: 232px;
background: linear-gradient(180deg, #5e47ef 0%, #9497fe 100%);
border-radius: 20px;
z-index: -1;
}
.box .head .left {
display: flex;
align-items: center;
}
.box .head .left .index {
width: 56px;
height: 65px;
margin-right: 12px;
}
.box .head .left .arrow {
display: flex;
}
.box .head .right {
font-family: "AlibabaPuHuiTiB", "Alibaba PuHuiTi Bold", "Alibaba PuHuiTi Heavy", "Alibaba PuHuiTi", sans-serif;
font-weight: 700;
font-style: normal;
font-size: 24px;
color: #ffffff;
text-align: center;
width: 232px;
height: 77px;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.box .head .right .right-text {
position: relative;
z-index: 1;
}
.box .head .right .right-text::after {
content: "";
width: 100%;
height: 12px;
background: linear-gradient(180deg, #f7a60a 0%, #ffe0a3 100%);
border: none;
border-radius: 150px;
display: block;
position: absolute;
bottom: 0;
z-index: -1;
}
.box .head .right.summary .right-text::after {
background: linear-gradient(180deg, #66c639 0%, #c7ed76 100%);
}
.box .content {
background: linear-gradient(269.73350992deg, #fcfeff 40%, #f6f6ff 100%);
border: 0.0133rem solid #ebebeb;
border-radius: 20px;
margin-right: 20px;
width: 430px;
}
.box .content.offer-details .details-header {
padding: 26px 20px 22px;
display: flex;
align-items: flex-start;
border-bottom: 1px solid #f2f2f2;
}
.box .content.offer-details .details-header .icon {
width: 36px;
height: 36px;
margin-right: 12px;
}
.box .content.offer-details .details-header .school .name {
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
font-weight: 400;
font-size: 24px;
color: #000000;
margin-bottom: 8px;
}
.box .content.offer-details .details-header .school .brief {
font-size: 15px;
color: #7f7f7f;
}
.box .content.offer-details .info {
padding: 22px 0 24px;
}
.box .content.offer-details .info .item {
display: flex;
align-items: center;
}
.box .content.offer-details .info .item:not(:last-of-type) {
margin-bottom: 20px;
}
.box .content.offer-details .info .item .name {
font-size: 16px;
color: #7f7f7f;
width: 105px;
padding-right: 20px;
text-align: right;
}
.box .content.offer-details .info .item .value {
flex: 1;
font-size: 18px;
color: #333333;
}
.box .content.bj {
padding: 0 20px 27px;
}
.box .content.bj .bj-title {
color: #555555;
font-size: 16px;
margin: 0 auto 24px;
padding-top: 30px;
}
.box .content.bj .bj-title div {
margin: 0 6px;
color: #d7d7d7;
}
.box .content.bj .background-item-title {
font-weight: 700;
font-size: 16px;
color: #000000;
margin-bottom: 16px;
}
.box .content.bj .offer-background-content {
border-radius: 15px;
background-color: #f6f6f6;
border: 1px solid #d7d7d7;
}
.box .content.bj .offer-background-content .grade-content-item {
overflow: hidden;
}
.box .content.bj .offer-background-content .grade-content-item:not(:last-of-type) .grade-content-key,
.box .content.bj .offer-background-content .grade-content-item:not(:last-of-type) .grade-content-value {
border-right: 1px solid #ebebeb;
}
.box .content.bj .offer-background-content .grade-content-item:last-of-type {
font-weight: 650;
font-size: 18px;
color: #000000;
}
.box .content.bj .offer-background-content.offer-background-content-text {
padding: 24px 17px;
word-break: break-word;
font-size: 18px;
color: #333333;
}
.box .content.bj .offer-background-content.offer-background-content1 {
height: 56px;
}
.box .content.bj .offer-background-content.offer-background-content1 .offer-background-content-left {
width: 116px;
height: 100%;
border-right: 1px solid #ebebeb;
}
.box .content.bj .offer-background-content.offer-background-content1 .offer-background-content-text {
color: #50e3c2;
}
.box .content.bj .offer-background-content.offer-background-content2 .offer-background-content-top {
border-bottom: 1px solid #ebebeb;
height: 42px;
width: 100%;
color: #555555;
}
.box .content.bj .offer-background-content.offer-background-content2 .offer-background-content-bottom .offer-background-content-left {
height: 42px;
width: 174px;
border-right: 1px solid #ebebeb;
}
.box .content.bj .offer-background-content.offer-background-content2 .offer-background-content-bottom .offer-background-content-text {
height: 42px;
color: #50e3c2;
}
.box .content.bj .background-content {
padding: 26px 0;
}
.box .content.bj .grade-content-key {
font-size: 14px;
color: #555555;
height: 39px;
border-bottom: 1px solid #ebebeb;
}
.box .content.bj .grade-content-value {
height: 42px;
font-size: 16px;
color: #000000;
text-align: center;
}
.box .content.bj .offer-background-item {
align-items: flex-start;
}
.box .content.bj .offer-background-item:not(:last-of-type) {
margin-bottom: 21px;
}
.box .content.bj .offer-background-item .offer-background-key {
width: 98px;
color: #7f7f7f;
font-size: 16px;
margin-right: 16px;
text-align: right;
}
.box .content.bj .offer-background-item .offer-background-value {
color: #333333;
font-size: 18px;
padding-right: 25px;
word-break: break-word;
flex: 1;
}
.box .content.bj .grade-item:not(:last-of-type) {
margin-bottom: 24px;
}
.box .content.mood {
padding: 16px 20px;
}
.box .content.mood .offer-mood-text {
color: #555555;
word-break: break-word;
white-space: break-spaces;
font-size: 18px;
line-height: 36px;
}
.box .content.mood .offer-mood-time {
margin: 20px 0;
font-size: 16px;
color: #aaaaaa;
}
.box .content.summaryInclude-item {
position: relative;
margin-bottom: 30px;
}
.box .content.summaryInclude-item .semicircle {
width: 48px;
height: 24px;
line-height: 24px;
position: absolute;
left: 50%;
transform: translate(-50%);
z-index: 1;
font-size: 14px;
color: #ffffff;
}
.box .content.summaryInclude-item .semicircle .semicircle-bj {
width: 48px;
height: 24px;
position: absolute;
top: 0;
left: 0;
transform: rotate(180deg);
z-index: -1;
}
.box .content.summaryInclude-item .header {
padding: 44px 0 20px;
margin: 0 20px;
border-bottom: 1px solid #f2f2f2;
}
.box .content.summaryInclude-item .header .schoolimg {
width: 36px;
height: 36px;
margin-right: 12px;
}
.box .content.summaryInclude-item .header .schoolname {
font-weight: 400;
font-style: normal;
font-size: 24px;
color: #000000;
}
.box .content.summaryInclude-item .summaryInclude-content {
padding: 25px 20px 0;
}
.box .content.summaryInclude-item .summaryInclude-content .item {
font-size: 16px;
margin-bottom: 17px;
align-items: flex-start;
}
.box .content.summaryInclude-item .summaryInclude-content .item .key {
color: #7f7f7f;
margin-right: 12px;
white-space: nowrap;
}
.box .content.summaryInclude-item .summaryInclude-content .item .value {
color: #333333;
word-break: break-word;
font-size: 18px;
}
.box .content.summaryInclude-item .summaryInclude-content .item .vertical-line {
background-color: #d7d7d7;
width: 1px;
height: 17px;
margin: 0 8px;
}
.box .content.summaryInclude-item .summaryInclude-content .item .normal {
color: #72db86;
height: 22px;
line-height: 22px;
padding: 0 7px;
border-radius: 37px;
font-size: 16px;
background-color: #f6f6f6;
}
.box .content.summaryInclude-item .summaryInclude-content .item .normal.results2 {
color: #a7c42e !important;
}
.box .content.summaryInclude-item .summaryInclude-content .item .normal.results3 {
color: #62b1ff !important;
}
.box .content.summaryInclude-item .summaryInclude-content .item .normal.results4 {
color: #f95d5d !important;
}
.box .content.summaryInclude-item .summaryInclude-content .item .normal.results5 {
color: #f59a23 !important;
}
.box .content.summaryInclude-item .summaryInclude-content .item .normal.results6 {
color: #8080ff !important;
}
.box .content.summaryInclude-item .summaryInclude-content .more-btn {
font-size: 16px;
color: #aaaaaa;
text-align: center;
line-height: 24px;
padding-bottom: 30px;
}
.box .content.summaryInclude-item .summaryInclude-content .more-btn .more-btn-icom {
margin-left: 6px;
width: 16px;
height: 16px;
transform: rotate(270deg);
}
.box .content.summary-text {
font-size: 18px;
color: #555555;
line-height: 36px;
padding: 16px 20px;
word-break: keep-all;
word-wrap: break-word;
}
.more {
font-weight: 650;
font-size: 20px;
color: #000000;
padding-bottom: 45px;
}
.more .more-icon {
width: 20px;
height: 20px;
margin-left: 6px;
}