feat: 🎸 封装了一个滚动加载组件

This commit is contained in:
2025-08-20 16:29:11 +08:00
parent 95a099f613
commit 3f590f21b2
9 changed files with 152 additions and 15 deletions

View File

@@ -13,6 +13,8 @@
box-sizing: border-box;
padding: 20px;
overflow: hidden;
display: flex;
flex-direction: column;
.user-portfolio-search-area {
width: 100%;
@@ -31,9 +33,7 @@
}
}
}
.user-portfolio-list {
width: 100%;
overflow-y: auto;
box-sizing: border-box;
display: flex;
@@ -63,7 +63,8 @@
align-items: flex-start;
flex-direction: column;
> span {
.user-portfolio-item-title {
width: 100%;
border: 1px solid #2c7aff;
background-color: #e8f3ff;
height: 20px;
@@ -73,7 +74,11 @@
color: #2c7aff;
font-size: 12px;
font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
> div {
width: 100%;
height: 24px;