- 添加edit.html编辑页面及相关CSS样式 - 实现内容编辑区的富文本功能 - 为item-bottom组件添加分享功能,包括复制链接和微信转发 - 更新多个组件的链接跳转地址 - 优化CSS样式,包括圆角、阴影和hover效果 - 修复部分样式问题和布局错位 - 移除不再使用的section-index.html文件
288 lines
8.0 KiB
CSS
288 lines
8.0 KiB
CSS
#sectionIndex {
|
|
width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
#sectionIndex .matter {
|
|
align-items: flex-start;
|
|
}
|
|
#sectionIndex .matter .sidebar {
|
|
width: 150px;
|
|
background-color: #08353e;
|
|
border: 1px solid #e9eef2;
|
|
border-radius: 10px;
|
|
margin-right: 15px;
|
|
}
|
|
#sectionIndex .matter .sidebar .title {
|
|
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
|
font-weight: 650;
|
|
font-style: normal;
|
|
font-size: 17px;
|
|
color: #badee6;
|
|
padding-top: 29px;
|
|
padding-bottom: 27px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.24705882);
|
|
margin-left: 20px;
|
|
margin-right: 20px;
|
|
}
|
|
#sectionIndex .matter .sidebar .list {
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
margin-left: 20px;
|
|
margin-right: 20px;
|
|
}
|
|
#sectionIndex .matter .sidebar .list .line {
|
|
height: 1px;
|
|
background-color: rgba(255, 255, 255, 0.24705882);
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
#sectionIndex .matter .sidebar .list .item {
|
|
height: 50px;
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
z-index: 1;
|
|
cursor: pointer;
|
|
}
|
|
#sectionIndex .matter .sidebar .list .item .text {
|
|
z-index: 1;
|
|
position: relative;
|
|
}
|
|
#sectionIndex .matter .sidebar .list .item.pitch {
|
|
position: relative;
|
|
}
|
|
#sectionIndex .matter .sidebar .list .item.pitch .text {
|
|
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
|
font-weight: 650;
|
|
font-style: normal;
|
|
font-size: 14px;
|
|
color: #08353e;
|
|
}
|
|
#sectionIndex .matter .sidebar .list .item.pitch::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: calc(100% + 20px);
|
|
height: 32px;
|
|
background: inherit;
|
|
background-color: #ecf9fa;
|
|
border: none;
|
|
border-radius: 16px;
|
|
z-index: -1;
|
|
}
|
|
#sectionIndex .matter .matter-content .info-box {
|
|
width: 1035px;
|
|
background: -webkit-linear-gradient(270.53908529deg, #ffffff 2%, #ebf8f9 98%);
|
|
background: -moz-linear-gradient(179.46091471deg, #ffffff 2%, #ebf8f9 98%);
|
|
background: linear-gradient(179.46091471deg, #ffffff 2%, #ebf8f9 98%);
|
|
border: 1px solid #e9eef2;
|
|
border-radius: 10px;
|
|
padding-left: 30px;
|
|
padding-top: 30px;
|
|
padding-bottom: 34px;
|
|
margin-bottom: 20px;
|
|
}
|
|
#sectionIndex .matter .matter-content .info-box .img {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 10px;
|
|
margin-right: 20px;
|
|
}
|
|
#sectionIndex .matter .matter-content .info-box .right .title {
|
|
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
|
font-weight: 650;
|
|
font-style: normal;
|
|
font-size: 24px;
|
|
color: #000000;
|
|
margin-bottom: 15px;
|
|
margin-top: 4px;
|
|
}
|
|
#sectionIndex .matter .matter-content .info-box .right .link {
|
|
flex-wrap: wrap;
|
|
border-top: 1px dotted #d7d7d7;
|
|
border-bottom: 1px dotted #d7d7d7;
|
|
margin-right: 20px;
|
|
margin-bottom: 28px;
|
|
width: fit-content;
|
|
}
|
|
#sectionIndex .matter .matter-content .info-box .right .link .item {
|
|
padding: 12px 0;
|
|
}
|
|
#sectionIndex .matter .matter-content .info-box .right .link .item:not(:last-child) {
|
|
margin-right: 72px;
|
|
}
|
|
#sectionIndex .matter .matter-content .info-box .right .link .item .text {
|
|
font-size: 14px;
|
|
color: #333333;
|
|
margin-right: 8px;
|
|
}
|
|
#sectionIndex .matter .matter-content .info-box .right .link .item .icon {
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
#sectionIndex .matter .matter-content .info-box .right .bottom {
|
|
justify-content: space-between;
|
|
margin-right: 20px;
|
|
}
|
|
#sectionIndex .matter .matter-content .info-box .right .bottom .data {
|
|
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
|
|
font-weight: 400;
|
|
color: #555555;
|
|
font-size: 13px;
|
|
}
|
|
#sectionIndex .matter .matter-content .info-box .right .bottom .data .sum {
|
|
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
|
font-weight: 650;
|
|
color: #000000;
|
|
margin: 0 5px;
|
|
}
|
|
#sectionIndex .matter .matter-content .info-box .right .bottom .btn {
|
|
width: 125px;
|
|
height: 32px;
|
|
background-color: #50e3c2;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
color: #333;
|
|
cursor: pointer;
|
|
}
|
|
#sectionIndex .matter .matter-content .info-box .right .bottom .btn .icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-right: 3px;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .content-box {
|
|
margin-right: 12px;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box {
|
|
width: 100%;
|
|
background-color: #ffffff;
|
|
border: 1px solid #e9eef2;
|
|
border-radius: 10px;
|
|
padding: 19px 14px;
|
|
margin-bottom: 20px;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box .head-top {
|
|
width: 64px;
|
|
height: 24px;
|
|
border-radius: 20px 20px 20px 0;
|
|
margin-bottom: 13px;
|
|
background-color: #f68251;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box .head-top .icon {
|
|
width: 15px;
|
|
height: 12px;
|
|
margin-right: 3px;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box .head-top .text {
|
|
font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
color: #ffffff;
|
|
font-size: 14px;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box .list {
|
|
flex-wrap: wrap;
|
|
padding: 0 50px 0 5px;
|
|
justify-content: space-between;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box .list .item {
|
|
font-size: 14px;
|
|
color: #555555;
|
|
line-height: 20px;
|
|
margin-bottom: 12px;
|
|
position: relative;
|
|
cursor: pointer;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box .list .item:hover {
|
|
color: #000000;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box .list .item .dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background-color: #f68251;
|
|
margin-right: 10px;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box .list .item .text {
|
|
width: 265px;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .content-box .red-tag {
|
|
width: 732px;
|
|
background-color: #ffffff;
|
|
border: 1px solid #e9eef2;
|
|
border-radius: 10px;
|
|
padding-top: 21px;
|
|
padding-bottom: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .content-box .red-tag .title {
|
|
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
|
font-weight: 650;
|
|
font-style: normal;
|
|
font-size: 16px;
|
|
color: #000000;
|
|
padding: 0 21px;
|
|
margin-bottom: 12px;
|
|
position: relative;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .content-box .red-tag .title .icon {
|
|
width: 10px;
|
|
height: 18px;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 0;
|
|
transform: translateY(-50%);
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .content-box .red-tag .list {
|
|
flex-wrap: wrap;
|
|
display: flex;
|
|
padding: 0 21px;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .content-box .red-tag .list .item {
|
|
height: 32px;
|
|
background-color: #f6f6f6;
|
|
border: 1px solid #f2f2f2;
|
|
border-radius: 16px;
|
|
line-height: 36px;
|
|
font-size: 14px;
|
|
color: #333333;
|
|
padding: 0 21px;
|
|
margin-right: 10px;
|
|
margin-bottom: 14px;
|
|
cursor: pointer;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .content-box .list-box {
|
|
width: 732px;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box {
|
|
margin-bottom: 12px;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .adv {
|
|
display: block;
|
|
width: 291px;
|
|
height: 220px;
|
|
margin-bottom: 12px;
|
|
cursor: pointer;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .adv .adv-icon {
|
|
width: 291px;
|
|
height: 220px;
|
|
border-radius: 10px;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .side-box {
|
|
padding: 17px 10px 10px;
|
|
margin-bottom: 12px;
|
|
width: 291px;
|
|
border-radius: 10px;
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .side-box.offer-side-box {
|
|
background: linear-gradient(154.12772232deg, #c7edf2 1%, #d3f2f5 100%);
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .side-box.vote-side-box {
|
|
background: linear-gradient(151.77562139deg, #c6f4d9 1%, #d9f7e5 100%);
|
|
}
|
|
#sectionIndex .matter .matter-content .details-box .side-box.interviewexperience-side-box {
|
|
background: linear-gradient(158.64328877deg, #d3e1fb 1%, #dee6f9 100%);
|
|
}
|