add support for rendering ui on various devices

This commit is contained in:
Dawn1Ocean
2024-03-19 11:31:23 +08:00
parent f20a38af9b
commit 3c2b613d87
16 changed files with 64 additions and 55 deletions
+3 -3
View File
@@ -3,8 +3,8 @@ import { AtDivider } from 'taro-ui';
import pt from '@/plain-text';
export default () => {
const blankHeightUpper = 15;
const blankHeightLower = 110;
const blankHeightUpper = '30rpx';
const blankHeightLower = '220rpx';
return (
<View>
<View style={{ height: blankHeightUpper }}></View>
@@ -16,7 +16,7 @@ export default () => {
/>
</View>
<View className='at-row at-row__justify--center'>
<Text style='color:#dddddd;'>© 2024 EVA Tech</Text>
<Text style='color:#dddddd; fontSize:32rpx'>© 2024 EVA Tech</Text>
</View>
<View style={{ height: blankHeightLower }}></View>
</View>