|
|
@@ -14,7 +14,7 @@ interface DocumentPhotosProps {
|
|
|
const DocumentPhotos: React.FC<DocumentPhotosProps> = ({ photos, loading }) => {
|
|
|
if (loading) {
|
|
|
return (
|
|
|
- <View className="bg-white rounded-lg p-4 mb-3">
|
|
|
+ <View className="bg-white rounded-lg p-4 mb-3 flex flex-col">
|
|
|
<View className="h-5 bg-gray-200 rounded w-24 mb-4 animate-pulse" />
|
|
|
<View className="grid grid-cols-2 gap-3">
|
|
|
{[1, 2, 3, 4].map((i) => (
|
|
|
@@ -27,7 +27,7 @@ const DocumentPhotos: React.FC<DocumentPhotosProps> = ({ photos, loading }) => {
|
|
|
|
|
|
if (!photos || photos.length === 0) {
|
|
|
return (
|
|
|
- <View className="bg-white rounded-lg p-4 mb-3">
|
|
|
+ <View className="bg-white rounded-lg p-4 mb-3 flex flex-col">
|
|
|
<Text className="text-base font-semibold text-gray-800 mb-4">证件照片</Text>
|
|
|
<Text className="text-gray-500 text-sm">暂无证件照片</Text>
|
|
|
</View>
|
|
|
@@ -35,7 +35,7 @@ const DocumentPhotos: React.FC<DocumentPhotosProps> = ({ photos, loading }) => {
|
|
|
}
|
|
|
|
|
|
return (
|
|
|
- <View className="bg-white rounded-lg p-4 mb-3">
|
|
|
+ <View className="bg-white rounded-lg p-4 mb-3 flex flex-col">
|
|
|
<Text className="text-base font-semibold text-gray-800 mb-4">证件照片</Text>
|
|
|
|
|
|
<View className="grid grid-cols-2 gap-3">
|