feat: 组件样式分离

This commit is contained in:
duanshuwen
2025-09-13 22:13:38 +08:00
parent 8dc27ec9fa
commit 9e931e0a1f
4 changed files with 56 additions and 41 deletions

View File

@@ -0,0 +1,5 @@
.container {
width: 100%;
flex: 1;
margin-bottom: 12px;
}

View File

@@ -0,0 +1,33 @@
.container {
.container-scroll {
display: flex;
flex-direction: row;
overflow-x: auto;
margin-top: 4px;
.mk-card-item {
display: flex;
flex-direction: column;
align-items: start;
width: 188px;
height: 154px;
background-color: #ffffff;
border-radius: 10px;
margin-right: 8px;
position: relative;
.card-img {
width: 188px;
height: 112px;
}
.card-text {
padding: 12px;
text-align: center;
font-weight: 500;
font-size: 12px;
color: #333333;
}
}
}
}