119dc08ecS猫头猫import React from 'react'; 219dc08ecS猫头猫import {StyleSheet, View} from 'react-native'; 319dc08ecS猫头猫import rpx from '@/utils/rpx'; 419dc08ecS猫头猫import {ActivityIndicator, useTheme} from 'react-native-paper'; 519dc08ecS猫头猫import ThemeText from './themeText'; 619dc08ecS猫头猫 7*4060c00aS猫头猫export default function Loading() { 819dc08ecS猫头猫 const {colors} = useTheme(); 919dc08ecS猫头猫 1019dc08ecS猫头猫 return ( 1119dc08ecS猫头猫 <View style={style.wrapper}> 12*4060c00aS猫头猫 <ActivityIndicator animating color={colors.text} /> 13*4060c00aS猫头猫 <ThemeText 14*4060c00aS猫头猫 fontSize="title" 15*4060c00aS猫头猫 fontWeight="semibold" 16*4060c00aS猫头猫 style={style.text}> 17*4060c00aS猫头猫 加载中... 18*4060c00aS猫头猫 </ThemeText> 1919dc08ecS猫头猫 </View> 2019dc08ecS猫头猫 ); 2119dc08ecS猫头猫} 2219dc08ecS猫头猫 2319dc08ecS猫头猫const style = StyleSheet.create({ 2419dc08ecS猫头猫 wrapper: { 2519dc08ecS猫头猫 width: '100%', 2619dc08ecS猫头猫 flex: 1, 2719dc08ecS猫头猫 justifyContent: 'center', 2819dc08ecS猫头猫 alignItems: 'center', 2919dc08ecS猫头猫 }, 3019dc08ecS猫头猫 text: { 3119dc08ecS猫头猫 marginTop: rpx(48), 3219dc08ecS猫头猫 }, 3319dc08ecS猫头猫}); 34