新增项目库组件item-project,包含学校、专业、学费等信息的展示 优化搜索页面样式,调整分类项宽度和间距 修复搜索页面滚动定位问题,完善分页和URL参数处理 添加本地开发服务器脚本serve.ps1 更新public.css和public.less样式文件
475 lines
15 KiB
Plaintext
475 lines
15 KiB
Plaintext
#homepage-me {
|
|
width: 1200px;
|
|
margin: 0 auto;
|
|
|
|
.matter {
|
|
align-items: flex-start;
|
|
.card-user {
|
|
width: 320px;
|
|
background: -webkit-linear-gradient(270.064445137829deg, rgba(255, 255, 255, 1) 0%, rgba(238, 248, 249, 1) 100%);
|
|
background: -moz-linear-gradient(179.935554862171deg, rgba(255, 255, 255, 1) 0%, rgba(238, 248, 249, 1) 100%);
|
|
background: linear-gradient(179.935554862171deg, rgba(255, 255, 255, 1) 0%, rgba(238, 248, 249, 1) 100%);
|
|
box-sizing: border-box;
|
|
border: 1px solid rgba(233, 238, 242, 1);
|
|
border-radius: 10px;
|
|
flex-direction: column;
|
|
padding-top: 39px;
|
|
padding-bottom: 38px;
|
|
margin-right: 20px;
|
|
position: sticky;
|
|
top: 10px;
|
|
|
|
.avatar-box {
|
|
position: relative;
|
|
margin-bottom: 20px;
|
|
|
|
.avatar {
|
|
width: 120px;
|
|
height: 120px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.pen-box {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 50%;
|
|
background-color: #ffffff;
|
|
cursor: pointer;
|
|
position: absolute;
|
|
right: 3px;
|
|
bottom: 3px;
|
|
.pen-icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.name-area {
|
|
margin-bottom: 40px;
|
|
|
|
.username {
|
|
font-size: 15px;
|
|
color: #333;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.uid {
|
|
color: #7f7f7f;
|
|
font-size: 13px;
|
|
.icon {
|
|
width: 14px;
|
|
height: 14px;
|
|
margin-left: 9px;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
.bi-box {
|
|
width: 260px;
|
|
height: 65px;
|
|
position: relative;
|
|
width: 260px;
|
|
height: 65px;
|
|
background: linear-gradient(255.75deg, rgb(255, 189, 21) 0%, rgb(255, 245, 209) 99%);
|
|
border-radius: 12px;
|
|
z-index: 1;
|
|
justify-content: space-between;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
margin-bottom: 40px;
|
|
|
|
.bi-masking {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 260px;
|
|
height: 65px;
|
|
z-index: -1;
|
|
}
|
|
|
|
.bi-icon {
|
|
width: 50px;
|
|
height: 56px;
|
|
margin-right: 7px;
|
|
}
|
|
|
|
.bi-content {
|
|
flex-direction: column;
|
|
|
|
.bi-sum {
|
|
font-family: Arial-Black, "Arial Black", sans-serif;
|
|
font-weight: 900;
|
|
font-style: normal;
|
|
font-size: 16px;
|
|
color: #000000;
|
|
}
|
|
|
|
.bi-text {
|
|
font-size: 13px;
|
|
letter-spacing: normal;
|
|
color: #333333;
|
|
}
|
|
}
|
|
|
|
.bi-btn {
|
|
width: 98px;
|
|
height: 26px;
|
|
background-color: rgb(255, 246, 216);
|
|
border-radius: 60px;
|
|
box-shadow: rgba(0, 0, 0, 0.145) 0px 0px 5px;
|
|
font-size: 15px;
|
|
color: rgb(171, 119, 19);
|
|
line-height: 26px;
|
|
|
|
font-size: 13px;
|
|
color: rgb(171, 119, 19);
|
|
text-decoration: none;
|
|
|
|
.bi-question {
|
|
width: 14px;
|
|
height: 14px;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
&:hover {
|
|
.bi-pop {
|
|
display: flex;
|
|
}
|
|
}
|
|
}
|
|
|
|
.bi-pop {
|
|
width: 260px;
|
|
box-sizing: border-box;
|
|
position: absolute;
|
|
background-color: #f6f7f7;
|
|
top: 58px;
|
|
left: 0;
|
|
z-index: 1;
|
|
border-radius: 12px;
|
|
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.35);
|
|
flex-direction: column;
|
|
padding: 10px;
|
|
color: #555;
|
|
display: none;
|
|
|
|
.bi-coin-title {
|
|
font-weight: 650;
|
|
font-size: 16px;
|
|
color: #000000;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.bi-coin-hint {
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.bi-url {
|
|
text-decoration: underline;
|
|
color: #04b0d5;
|
|
}
|
|
}
|
|
|
|
&::before {
|
|
content: "";
|
|
width: 10px;
|
|
height: 10px;
|
|
position: absolute;
|
|
top: -19px;
|
|
right: 40px;
|
|
width: 0;
|
|
height: 0;
|
|
transform: translateX(-50%);
|
|
border: 10px solid #000;
|
|
border-top-color: transparent;
|
|
border-bottom-color: #f6f7f7;
|
|
border-left-color: transparent;
|
|
border-right-color: transparent;
|
|
}
|
|
|
|
&::after {
|
|
content: "";
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 20px;
|
|
display: block;
|
|
z-index: -1;
|
|
top: -15px;
|
|
left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.medal-area {
|
|
margin: 0 30px;
|
|
align-self: self-start;
|
|
|
|
.title {
|
|
font-size: 14px;
|
|
color: #7f7f7f;
|
|
margin-bottom: 13px;
|
|
}
|
|
|
|
.list {
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
|
|
.item {
|
|
height: 30px;
|
|
max-width: 30px;
|
|
margin-right: 8px;
|
|
margin-bottom: 8px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.matter-content {
|
|
.message-box {
|
|
background-color: rgba(255, 255, 255, 1);
|
|
border: 1px solid rgba(233, 238, 242, 1);
|
|
border-radius: 10px;
|
|
padding-left: 95px;
|
|
padding-right: 40px;
|
|
padding-bottom: 31px;
|
|
margin-bottom: 20px;
|
|
|
|
.header {
|
|
border-bottom: 1px dotted #d7d7d7;
|
|
padding-top: 46px;
|
|
padding-bottom: 19px;
|
|
position: relative;
|
|
|
|
.avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
position: absolute;
|
|
top: 40px;
|
|
left: -55px;
|
|
}
|
|
|
|
.username {
|
|
font-size: 14px;
|
|
color: #333333;
|
|
}
|
|
|
|
.icon {
|
|
height: 20px;
|
|
margin-left: 8px;
|
|
}
|
|
}
|
|
|
|
.info-list {
|
|
flex-flow: wrap;
|
|
padding-top: 20px;
|
|
border-bottom: 1px dotted #d7d7d7;
|
|
|
|
.item {
|
|
width: 50%;
|
|
margin-bottom: 15px;
|
|
.label {
|
|
font-size: 14px;
|
|
color: #7f7f7f;
|
|
width: 87px;
|
|
}
|
|
.value {
|
|
font-size: 14px;
|
|
color: #000000;
|
|
}
|
|
|
|
.status {
|
|
color: #555555;
|
|
font-size: 13px;
|
|
padding: 0 6px;
|
|
height: 20px;
|
|
line-height: 20px;
|
|
background-color: rgba(240, 241, 236, 1);
|
|
border-radius: 23px;
|
|
margin-left: 10px;
|
|
|
|
&.blue {
|
|
color: #ffffff;
|
|
background-color: rgba(4, 176, 213, 1);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.stats {
|
|
padding-top: 20px;
|
|
padding-bottom: 21px;
|
|
font-size: 14px;
|
|
|
|
.item {
|
|
.text {
|
|
color: #7f7f7f;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.num {
|
|
font-family: "Arial-BoldMT", "Arial Bold", "Arial", sans-serif;
|
|
font-weight: 700;
|
|
color: #04b0d5;
|
|
}
|
|
}
|
|
|
|
.line {
|
|
color: #d7d7d7;
|
|
margin: 0 14px;
|
|
}
|
|
}
|
|
|
|
.tags {
|
|
flex-wrap: wrap;
|
|
.item {
|
|
padding: 0 10px;
|
|
font-size: 14px;
|
|
color: #333333;
|
|
height: 24px;
|
|
background-color: rgba(246, 246, 246, 1);
|
|
border: 1px solid rgba(240, 241, 236, 1);
|
|
border-radius: 5px;
|
|
margin-right: 20px;
|
|
margin-bottom: 10px;
|
|
|
|
.icon {
|
|
height: 13px;
|
|
margin-right: 7px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.list-area {
|
|
width: 860px;
|
|
background-color: rgba(255, 255, 255, 1);
|
|
border: 1px solid rgba(233, 238, 242, 1);
|
|
border-radius: 10px;
|
|
|
|
.operation-box {
|
|
padding-top: 40px;
|
|
padding-left: 95px;
|
|
padding-right: 40px;
|
|
padding-bottom: 18px;
|
|
font-size: 18px;
|
|
color: rgb(127, 127, 127);
|
|
border-bottom: 1px dotted #d7d7d7;
|
|
|
|
.operation-item {
|
|
position: relative;
|
|
cursor: pointer;
|
|
&:not(:last-child) {
|
|
margin-right: 40px;
|
|
}
|
|
|
|
&.pitch {
|
|
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
|
|
font-weight: 650;
|
|
font-style: normal;
|
|
font-size: 18px;
|
|
color: #000000;
|
|
|
|
&::after {
|
|
content: "";
|
|
width: 100%;
|
|
height: 6px;
|
|
background-color: rgb(80, 227, 194);
|
|
border-radius: 26px;
|
|
position: absolute;
|
|
bottom: -21px;
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.classify {
|
|
padding-top: 37px;
|
|
padding-bottom: 23px;
|
|
padding-left: 95px;
|
|
padding-right: 40px;
|
|
.item {
|
|
width: 50px;
|
|
height: 32px;
|
|
line-height: 32px;
|
|
text-align: center;
|
|
background-color: rgba(255, 255, 255, 1);
|
|
border: 1px solid rgba(242, 242, 242, 1);
|
|
border-radius: 12px;
|
|
color: #333333;
|
|
cursor: pointer;
|
|
font-size: 15px;
|
|
|
|
&.pitch {
|
|
background-color: rgba(211, 81, 16, 1);
|
|
color: #ffffff;
|
|
}
|
|
|
|
&:not(:last-child) {
|
|
margin-right: 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.issue-data {
|
|
color: #7f7f7f;
|
|
font-size: 14px;
|
|
margin-bottom: 20px;
|
|
padding-left: 95px;
|
|
padding-right: 40px;
|
|
|
|
.num {
|
|
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
|
font-weight: 650;
|
|
color: #000000;
|
|
margin: 0 5px;
|
|
}
|
|
}
|
|
|
|
.list-box {
|
|
padding-left: 95px;
|
|
padding-right: 40px;
|
|
.item-box {
|
|
margin-bottom: 20px;
|
|
}
|
|
}
|
|
|
|
.empty {
|
|
width: 725px;
|
|
height: 360px;
|
|
background-color: rgba(255, 255, 255, 1);
|
|
border: 1px solid rgba(233, 238, 242, 1);
|
|
border-radius: 10px;
|
|
flex-direction: column;
|
|
margin-bottom: 20px;
|
|
margin-left: 95px;
|
|
margin-right: 40px;
|
|
|
|
.empty-icon {
|
|
width: 80px;
|
|
height: 94px;
|
|
}
|
|
|
|
.empty-text {
|
|
font-size: 14px;
|
|
color: #7f7f7f;
|
|
margin-top: 10px;
|
|
}
|
|
}
|
|
|
|
.load-more {
|
|
padding: 20px 0 40px;
|
|
color: #7f7f7f;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|