refactor(component): 重构组件模板与样式结构
将公共样式提取至public.css,优化组件模板结构 添加图片资源与组件模板同步脚本 调整组件样式与布局,统一风格
This commit is contained in:
@@ -181,6 +181,9 @@ body {
|
||||
#homepage-other .head-navigation .text:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
#homepage-other .matter {
|
||||
align-items: flex-start;
|
||||
}
|
||||
#homepage-other .matter .card-user {
|
||||
width: 320px;
|
||||
background: -webkit-linear-gradient(270.06444514deg, #ffffff 0%, #eef8f9 100%);
|
||||
@@ -192,6 +195,7 @@ body {
|
||||
flex-direction: column;
|
||||
padding-top: 39px;
|
||||
padding-bottom: 40px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
#homepage-other .matter .card-user .avatar {
|
||||
width: 120px;
|
||||
@@ -252,12 +256,13 @@ body {
|
||||
color: #000000;
|
||||
}
|
||||
#homepage-other .matter .matter-content .message-box {
|
||||
height: 452px;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #e9eef2;
|
||||
border-radius: 10px;
|
||||
padding-left: 95px;
|
||||
padding-bottom: 5px;
|
||||
padding-right: 40px;
|
||||
padding-bottom: 31px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
#homepage-other .matter .matter-content .message-box .header {
|
||||
border-bottom: 1px dotted #d7d7d7;
|
||||
@@ -312,3 +317,83 @@ body {
|
||||
color: #ffffff;
|
||||
background-color: #04b0d5;
|
||||
}
|
||||
#homepage-other .matter .matter-content .message-box .stats {
|
||||
padding-top: 20px;
|
||||
padding-bottom: 21px;
|
||||
font-size: 14px;
|
||||
}
|
||||
#homepage-other .matter .matter-content .message-box .stats .item .text {
|
||||
color: #7f7f7f;
|
||||
margin-right: 5px;
|
||||
}
|
||||
#homepage-other .matter .matter-content .message-box .stats .item .num {
|
||||
font-family: "Arial-BoldMT", "Arial Bold", "Arial", sans-serif;
|
||||
font-weight: 700;
|
||||
color: #04b0d5;
|
||||
}
|
||||
#homepage-other .matter .matter-content .message-box .stats .line {
|
||||
color: #d7d7d7;
|
||||
margin: 0 14px;
|
||||
}
|
||||
#homepage-other .matter .matter-content .message-box .tags {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
#homepage-other .matter .matter-content .message-box .tags .item {
|
||||
padding: 0 10px;
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
height: 24px;
|
||||
background-color: #f6f6f6;
|
||||
border: 1px solid #f0f1ec;
|
||||
border-radius: 5px;
|
||||
margin-right: 20px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
#homepage-other .matter .matter-content .message-box .tags .item .icon {
|
||||
height: 13px;
|
||||
margin-right: 7px;
|
||||
}
|
||||
#homepage-other .matter .matter-content .list-area {
|
||||
width: 860px;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #e9eef2;
|
||||
border-radius: 10px;
|
||||
padding-left: 95px;
|
||||
padding-right: 40px;
|
||||
}
|
||||
#homepage-other .matter .matter-content .list-area .classify {
|
||||
padding-top: 39px;
|
||||
padding-bottom: 23px;
|
||||
}
|
||||
#homepage-other .matter .matter-content .list-area .classify .item {
|
||||
width: 50px;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
text-align: center;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #f2f2f2;
|
||||
border-radius: 12px;
|
||||
color: #333333;
|
||||
cursor: pointer;
|
||||
}
|
||||
#homepage-other .matter .matter-content .list-area .classify .item.pitch {
|
||||
background-color: #d35110;
|
||||
color: #ffffff;
|
||||
}
|
||||
#homepage-other .matter .matter-content .list-area .classify .item:not(:last-child) {
|
||||
margin-right: 10px;
|
||||
}
|
||||
#homepage-other .matter .matter-content .list-area .issue-data {
|
||||
color: #7f7f7f;
|
||||
font-size: 14px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
#homepage-other .matter .matter-content .list-area .issue-data .num {
|
||||
font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
color: #000000;
|
||||
margin: 0 5px;
|
||||
}
|
||||
#homepage-other .matter .matter-content .list-area .list-box .item-box {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user