feat: 新增用户主页和个人主页功能
新增用户主页和个人主页的HTML、CSS和JS文件 添加相关图片资源 重构sectionIndex页面为section-index.html 更新sectionIndex.js以支持组件导入
This commit is contained in:
@@ -333,12 +333,13 @@ body {
|
||||
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: 22px;
|
||||
margin-bottom: 13px;
|
||||
background-color: #f68251;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box .head-top .icon {
|
||||
@@ -355,7 +356,7 @@ body {
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box .list {
|
||||
flex-wrap: wrap;
|
||||
padding: 0 5px;
|
||||
padding: 0 50px 0 5px;
|
||||
justify-content: space-between;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box .list .item {
|
||||
@@ -364,6 +365,10 @@ body {
|
||||
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;
|
||||
@@ -375,6 +380,180 @@ body {
|
||||
#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 {
|
||||
width: 100%;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #e9eef2;
|
||||
border-radius: 10px;
|
||||
padding: 18px 20px 0;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .item-head {
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .item-head .avatar {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 50%;
|
||||
margin-right: 8px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .item-head .name {
|
||||
font-style: normal;
|
||||
color: #555555;
|
||||
font-size: 14px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .item-head .group {
|
||||
height: 15px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .item-head .time {
|
||||
font-size: 13px;
|
||||
color: #aaaaaa;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .item-head .view {
|
||||
font-size: 12px;
|
||||
color: #aaaaaa;
|
||||
margin-right: 15px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .item-head .view .icon {
|
||||
width: 13px;
|
||||
height: 8px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .item-head .btn {
|
||||
width: 24px;
|
||||
height: 16px;
|
||||
background-color: #f2f2f2;
|
||||
border-radius: 150px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .item-head .btn .icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .label {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .label .item {
|
||||
font-size: 14px;
|
||||
color: #555555;
|
||||
padding: 0 9px;
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
background-color: #f2f2f2;
|
||||
border-radius: 6px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .label .item.icon {
|
||||
padding: 0;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .label .item:not(:last-child) {
|
||||
margin-right: 10px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .label .item.blue {
|
||||
color: #ffffff;
|
||||
background-color: #04b0d5;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .title {
|
||||
font-weight: 650;
|
||||
font-size: 20px;
|
||||
color: #000000;
|
||||
line-height: 36px;
|
||||
margin-bottom: 7px;
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .message {
|
||||
font-size: 14px;
|
||||
color: #555555;
|
||||
white-space: pre-wrap;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .comment {
|
||||
height: 40px;
|
||||
background-color: #f6f6f6;
|
||||
border-radius: 10px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .comment .icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 50%;
|
||||
margin-right: 10px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .comment .text {
|
||||
font-size: 14px;
|
||||
color: #7f7f7f;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .bottom {
|
||||
height: 55px;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .bottom .bottom-item {
|
||||
cursor: pointer;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .bottom .bottom-item:not(:last-child) {
|
||||
margin-right: 60px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .bottom .bottom-item .icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .bottom .bottom-item .text {
|
||||
color: #aaaaaa;
|
||||
font-size: 13px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .list-box .item-box .bottom .bottom-item.like .icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .side-box {
|
||||
width: 291px;
|
||||
height: 300px;
|
||||
|
||||
Reference in New Issue
Block a user