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
+4 -4
View File
@@ -36,19 +36,19 @@ class Card extends Component {
style={{
display: 'flex',
alignItems: 'center',
marginBottom: 20,
marginBottom: '40rpx',
}}
>
<Image
src={iconsrc}
style={{
width: 24,
height: 24,
width: '48rpx',
height: '48rpx',
}}
/>
<View
style={{
marginLeft: 10,
marginLeft: '20rpx',
fontSize: '60rpx',
fontWeight: 'bold',
}}