Commit 42276ef2 by tungnq

TODO: Đã hoàn thiện giao diện màn hình báo nghỉ

parent 89bcaa81
...@@ -24,7 +24,7 @@ function MyStack(props) { ...@@ -24,7 +24,7 @@ function MyStack(props) {
headerStatusBarHeight: 0, headerStatusBarHeight: 0,
}} }}
headerMode={'none'} headerMode={'none'}
initialRouteName={ScreenName.ABSENCELISTBYCOURSE}> initialRouteName={ScreenName.TABNAVIGATOR}>
<Stack.Screen name={ScreenName.HOMESCREEN} component={Home} /> <Stack.Screen name={ScreenName.HOMESCREEN} component={Home} />
<Stack.Screen name={ScreenName.TABNAVIGATOR} component={TabNavigator} /> <Stack.Screen name={ScreenName.TABNAVIGATOR} component={TabNavigator} />
<Stack.Screen name={ScreenName.DETAILNOTIFICATION} component={NotificationDetail} /> <Stack.Screen name={ScreenName.DETAILNOTIFICATION} component={NotificationDetail} />
......
...@@ -61,6 +61,17 @@ const styles = StyleSheet.create({ ...@@ -61,6 +61,17 @@ const styles = StyleSheet.create({
justifyContent: 'center', justifyContent: 'center',
}, },
btnRight: {}, btnRight: {},
btnRegister:{
borderRadius:10,
alignItems:'center',
justifyContent:'center',
marginHorizontal:15,
marginVertical:10,
backgroundColor:R.colors.blue,
borderRadius:10,
padding:5
}
}); });
export default styles; export default styles;
...@@ -13,7 +13,7 @@ const ListRestReportView = props => { ...@@ -13,7 +13,7 @@ const ListRestReportView = props => {
return ( return (
<TouchableOpacity <TouchableOpacity
onPress={() => { onPress={() => {
navigation.navigate(ScreenName.DETAILRESTREPORT); navigation.navigate(ScreenName.ABSENCELISTBYCOURSE);
}} }}
style={styles.containerCard}> style={styles.containerCard}>
<View> <View>
...@@ -64,6 +64,9 @@ const ListRestReportView = props => { ...@@ -64,6 +64,9 @@ const ListRestReportView = props => {
vertical vertical
keyExtractor={(item, index) => `${index}`} keyExtractor={(item, index) => `${index}`}
/> />
<TouchableOpacity style={styles.btnRegister} onPress={ () => navigation.navigate(ScreenName.REGISTERABSENCE)}>
<Text style={[styles.text, {color:R.colors.white}]}>Đăng kí báo ngh</Text>
</TouchableOpacity>
</View> </View>
</View> </View>
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment