This commit is contained in:
张成
2025-11-15 23:51:38 +08:00
parent 6519cb8eec
commit 4b5c677856
14 changed files with 78 additions and 32 deletions

View File

@@ -159,19 +159,22 @@
flex-shrink: 0;
position: relative;
background: transparent;
box-sizing: border-box;
// 使用伪元素实现真正的 0.5px 边框
&::before {
content: '';
position: absolute;
top: 0;
left: 0;
top: -50%;
left: -50%;
right: -50%;
bottom: -50%;
width: 200%;
height: 200%;
border: 1px solid #000000;
border-radius: 40px; // 20px * 2
transform: scale(0.5);
transform-origin: 0 0;
transform-origin: center center;
pointer-events: none;
box-sizing: border-box;
}

View File

@@ -222,7 +222,7 @@ const NewFollow = () => {
refresherTriggered={refreshing}
onRefresherRefresh={handleRefresh}
>
{followList.length > 0 ? (
{!loading && followList.length > 0 ? (
<View className="follow-list">
{followList.map(renderFollowItem)}
@@ -231,9 +231,9 @@ const NewFollow = () => {
<Text className="tip-text"></Text>
</View>
</View>
) : (
) : !loading ? (
<EmptyState text="暂无新增关注" />
)}
) : null}
</ScrollView>
</View>
);