optimize pagefooter layout
parent
b603ad24b3
commit
39dd945020
|
|
@ -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>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue