我的样式

main
king 1 year ago
parent 77a58a6135
commit 7322114d0e
  1. 2
      src/pages/my/components/header/header.tsx
  2. 2
      src/pages/my/components/header/time.tsx

@ -11,7 +11,7 @@ const Header = () => {
<View className='flex'> <View className='flex'>
<Image src={avatar} className={styles.avatar}/> <Image src={avatar} className={styles.avatar}/>
<View className='flex-1'> <View className='flex-1'>
<View className='font-32 font-weight'>{user?.name}</View> <View className='font-32'>{user?.name}</View>
<View className='login font-24 mt-2 text-secondary flex justify-between content-start'> <View className='login font-24 mt-2 text-secondary flex justify-between content-start'>
<Text>{user?.phone_number}</Text> <Text>{user?.phone_number}</Text>
</View> </View>

@ -50,7 +50,7 @@ const Time:FC = () => {
return ( return (
<View className={'flex justify-between ' + styles.timeBox} key={d.title}> <View className={'flex justify-between ' + styles.timeBox} key={d.title}>
<View> <View>
<View className='font-weight mb-2'>{d.title}</View> <View className='mb-2'>{d.title}</View>
<View className='text-muted font-26'>{d.time}</View> <View className='text-muted font-26'>{d.time}</View>
</View> </View>
<Image src={d.src} mode='aspectFit' className={styles.timeImag}/> <Image src={d.src} mode='aspectFit' className={styles.timeImag}/>

Loading…
Cancel
Save