@@ -517,7 +517,7 @@ function CollectionCard({
|
||||
<p className="text-sm text-muted-foreground text-center py-4">暂无股票</p>
|
||||
) : (
|
||||
<div className="space-y-1">
|
||||
{stocks.slice(0, 10).map((stock) => (
|
||||
{stocks.slice(0, 20).map((stock) => (
|
||||
<StockRowItem
|
||||
key={stock.id}
|
||||
stock={stock}
|
||||
@@ -526,8 +526,8 @@ function CollectionCard({
|
||||
swipeResetKey={swipeResetKey}
|
||||
/>
|
||||
))}
|
||||
{stocks.length > 10 && (
|
||||
<p className="text-xs text-muted-foreground text-center pt-1">还有 {stocks.length - 10} 只股票...</p>
|
||||
{stocks.length > 20 && (
|
||||
<p className="text-xs text-muted-foreground text-center pt-1">还有 {stocks.length - 20} 只股票...</p>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user