fix(dealer-orders):修复三级分销商显示逻辑并调整布局- 修正三级分销商信息显示条件,确保仅在有效用户ID时展示
- 调整结算月份文本的布局间距,增加顶部边距
This commit is contained in:
@@ -148,7 +148,7 @@ const DealerOrder: React.FC = () => {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
{/* 三级分销商 */}
|
{/* 三级分销商 */}
|
||||||
{(order.thirdUserId && order.thirdUserId == 0) && (
|
{(order.thirdUserId !== undefined && order.thirdUserId > 0) && (
|
||||||
<Text className="text-sm text-gray-400 block">
|
<Text className="text-sm text-gray-400 block">
|
||||||
联盟收益补贴:{order.thirdNickname || `用户${order.thirdUserId}`} (¥{order.thirdMoney || '0.00'})
|
联盟收益补贴:{order.thirdNickname || `用户${order.thirdUserId}`} (¥{order.thirdMoney || '0.00'})
|
||||||
</Text>
|
</Text>
|
||||||
@@ -162,7 +162,7 @@ const DealerOrder: React.FC = () => {
|
|||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
<View className="flex justify-between items-center">
|
<View className="flex justify-between items-center mt-2">
|
||||||
<Text className="text-sm text-gray-400">
|
<Text className="text-sm text-gray-400">
|
||||||
结算月份:{order.month}
|
结算月份:{order.month}
|
||||||
</Text>
|
</Text>
|
||||||
|
|||||||
Reference in New Issue
Block a user