50 lines
1.2 KiB
TypeScript
50 lines
1.2 KiB
TypeScript
import { Ionicons } from '@expo/vector-icons';
|
|
import React from 'react';
|
|
import { StyleSheet, Text, View } from 'react-native';
|
|
|
|
export function MedicalRecordsTab() {
|
|
return (
|
|
<View style={styles.card}>
|
|
<View style={styles.emptyState}>
|
|
<Ionicons name="folder-open-outline" size={48} color="#E5E7EB" />
|
|
<Text style={styles.emptyText}>暂无就医资料</Text>
|
|
<Text style={styles.emptySubtext}>上传您的病历、处方单等资料</Text>
|
|
</View>
|
|
</View>
|
|
);
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
card: {
|
|
backgroundColor: '#FFFFFF',
|
|
borderRadius: 20,
|
|
padding: 40,
|
|
marginBottom: 16,
|
|
shadowColor: '#000',
|
|
shadowOffset: { width: 0, height: 2 },
|
|
shadowOpacity: 0.03,
|
|
shadowRadius: 6,
|
|
elevation: 1,
|
|
minHeight: 200,
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
},
|
|
emptyState: {
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
},
|
|
emptyText: {
|
|
marginTop: 16,
|
|
fontSize: 16,
|
|
fontWeight: '600',
|
|
color: '#374151',
|
|
fontFamily: 'AliBold',
|
|
},
|
|
emptySubtext: {
|
|
marginTop: 8,
|
|
fontSize: 13,
|
|
color: '#9CA3AF',
|
|
fontFamily: 'AliRegular',
|
|
},
|
|
});
|