add global plain text to main page

This commit is contained in:
2024-03-06 00:02:41 +08:00
parent a9d9415def
commit 08401dd64d
2 changed files with 17 additions and 24 deletions
+6 -1
View File
@@ -1,11 +1,16 @@
import { View } from '@tarojs/components';
import { AtDivider } from 'taro-ui';
import pt from '@/plain-text';
export default () => {
const blankHeight = 120;
return (
<View>
<AtDivider content='EVA Notify' fontColor='#dddddd' lineColor='#dddddd' />
<AtDivider
content={pt.get().pageFooter.dividerText}
fontColor='#dddddd'
lineColor='#dddddd'
/>
<View style={{ height: blankHeight }}></View>
</View>
);