optimize pagefooter layout

yhy
Dawn_Ocean 2024-03-08 16:32:05 +08:00
parent b603ad24b3
commit 39dd945020
1 changed files with 15 additions and 8 deletions

View File

@ -1,17 +1,24 @@
import { View } from '@tarojs/components';
import { View, Text } from '@tarojs/components';
import { AtDivider } from 'taro-ui';
import pt from '@/plain-text';
export default () => {
const blankHeight = 120;
const blankHeightUpper = 25;
const blankHeightLower = 120;
return (
<View>
<View style={{ height: blankHeightUpper }}></View>
<View>
<AtDivider
content={pt.get().pageFooter.dividerText}
fontColor='#dddddd'
lineColor='#dddddd'
/>
<View style={{ height: blankHeight }}></View>
</View>
<View className='at-row at-row__justify--center'>
<Text style='color:#dddddd;'>© 2024 EVA Tech</Text>
</View>
<View style={{ height: blankHeightLower }}></View>
</View>
);
};