优化界面

This commit is contained in:
lyswhut 2021-05-30 17:36:59 +08:00
parent aaef6bac6e
commit e95b4dc38e
2 changed files with 3 additions and 4 deletions

View File

@ -134,7 +134,7 @@ export function pushPlayDetailScreen(componentId, id) {
duration: 300, duration: 300,
}, },
translationY: { translationY: {
from: -16, // Animate translationY from 16dp to 0dp from: -32, // Animate translationY from 16dp to 0dp
duration: 300, duration: 300,
}, },
}, },
@ -145,7 +145,7 @@ export function pushPlayDetailScreen(componentId, id) {
duration: 300, duration: 300,
}, },
translationX: { translationX: {
from: -16, // Animate translationY from 16dp to 0dp from: -32, // Animate translationY from 16dp to 0dp
duration: 300, duration: 300,
}, },
}, },
@ -156,7 +156,7 @@ export function pushPlayDetailScreen(componentId, id) {
duration: 300, duration: 300,
}, },
translationY: { translationY: {
from: 16, // Animate translationY from 16dp to 0dp from: 32, // Animate translationY from 16dp to 0dp
duration: 300, duration: 300,
}, },
}, },

View File

@ -162,7 +162,6 @@ const styles = StyleSheet.create({
}, },
checkbox: { checkbox: {
marginTop: 5, marginTop: 5,
marginBottom: -5,
}, },
inputContent: { inputContent: {
flex: 1, flex: 1,