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