This commit is contained in:
@@ -149,7 +149,12 @@ export default function ProjectDetail() {
|
||||
<View className='file-list'>
|
||||
{project.files.map((file, index) => (
|
||||
<View key={index} className='file-item' onClick={() => handleOpenFile(file)}>
|
||||
<Text className='file-name'>{file.name || '附件 ' + (index + 1)}</Text>
|
||||
<View style={{ flex: 1 }}>
|
||||
<Text className='file-name'>{file.name || '附件 ' + (index + 1)}</Text>
|
||||
{file.file_size_display && (
|
||||
<Text style={{ fontSize: '12px', color: '#999' }}>{file.file_size_display}</Text>
|
||||
)}
|
||||
</View>
|
||||
<Text className='file-action'>查看</Text>
|
||||
</View>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user