Commit 4808c373 by tungnq

TODO: Chỉnh sửa lại giao diện

parent dabc2997
...@@ -29,6 +29,12 @@ const styles = StyleSheet.create({ ...@@ -29,6 +29,12 @@ const styles = StyleSheet.create({
fontFamily:R.fonts.fontRegular, fontFamily:R.fonts.fontRegular,
color:R.colors.black, color:R.colors.black,
}, },
text_3:{
fontSize: R.fontsize.fontSizeContent,
fontWeight: '600',
fontFamily:R.fonts.fontMedium,
color:R.colors.black,
},
containerDropdown:{ containerDropdown:{
marginBottom:10, marginBottom:10,
position: 'relative', position: 'relative',
......
...@@ -43,10 +43,10 @@ const EditSendDocumentView = props => { ...@@ -43,10 +43,10 @@ const EditSendDocumentView = props => {
return ( return (
<View style={{marginVertical: 7.5 ,}}> <View style={{marginVertical: 7.5 ,}}>
<View style={{flexDirection: 'row', marginBottom: 5}}> <View style={{flexDirection: 'row', marginBottom: 5}}>
<Text style={styles.text}>{item.author} - </Text> <Text style={styles.text_3}>{item.author} - </Text>
<Text style={styles.text}>{item.code} </Text> <Text style={styles.text_3}>{item.code} </Text>
<Text style={styles.text}>{item.time} </Text> <Text style={styles.text_3}>{item.time} </Text>
<Text style={styles.text}>{item.date}</Text> <Text style={styles.text_3}>{item.date}</Text>
</View> </View>
<View style={styles.containerContent}> <View style={styles.containerContent}>
<Text style={styles.text_2}>{item.content}</Text> <Text style={styles.text_2}>{item.content}</Text>
...@@ -267,6 +267,7 @@ const EditSendDocumentView = props => { ...@@ -267,6 +267,7 @@ const EditSendDocumentView = props => {
paddingVertical={3} paddingVertical={3}
fontSize={R.fontsize.fontSizeContent} fontSize={R.fontsize.fontSizeContent}
containerMarginBottom={10} containerMarginBottom={10}
height={30}
/> />
</View> </View>
<View style={{flex: 0.1}}></View> <View style={{flex: 0.1}}></View>
...@@ -276,8 +277,8 @@ const EditSendDocumentView = props => { ...@@ -276,8 +277,8 @@ const EditSendDocumentView = props => {
onPress={() => {}} onPress={() => {}}
backgroundColor={R.colors.blue} backgroundColor={R.colors.blue}
textColor={R.colors.white} textColor={R.colors.white}
height={30}
borderRadius={15} borderRadius={15}
paddingVertical={3}
fontSize={R.fontsize.fontSizeContent} fontSize={R.fontsize.fontSizeContent}
containerMarginBottom={10} containerMarginBottom={10}
/> />
......
...@@ -13,8 +13,8 @@ const styles = StyleSheet.create({ ...@@ -13,8 +13,8 @@ const styles = StyleSheet.create({
cardTabView:{ cardTabView:{
}, },
itemTabView:{ itemTabView:{
width:110, width:103,
height:35, height:30,
borderRadius:10, borderRadius:10,
marginTop:10, marginTop:10,
backgroundColor:R.colors.gray, backgroundColor:R.colors.gray,
......
...@@ -104,9 +104,9 @@ const ListSendView = (props) => { ...@@ -104,9 +104,9 @@ const ListSendView = (props) => {
backgroundColor={R.colors.orange} backgroundColor={R.colors.orange}
textColor={R.colors.white} textColor={R.colors.white}
width={150} width={150}
height={25} height={30}
borderRadius={15} borderRadius={15}
fontSize={11} fontSize={R.sizes.sm}
fontWeight={'600'} fontWeight={'600'}
fontFamily={R.fonts.fontMedium} fontFamily={R.fonts.fontMedium}
paddingHorizontal={15} paddingHorizontal={15}
...@@ -122,7 +122,8 @@ const ListSendView = (props) => { ...@@ -122,7 +122,8 @@ const ListSendView = (props) => {
onPress={() => navigation.navigate(ScreenName.STATUSSENDDOCUMENT)} onPress={() => navigation.navigate(ScreenName.STATUSSENDDOCUMENT)}
backgroundColor={R.colors.orange} backgroundColor={R.colors.orange}
textColor={R.colors.white} textColor={R.colors.white}
height={25} height={30}
width={160}
borderRadius={15} borderRadius={15}
fontSize={R.sizes.sm} fontSize={R.sizes.sm}
fontWeight={'600'} fontWeight={'600'}
...@@ -138,10 +139,10 @@ const ListSendView = (props) => { ...@@ -138,10 +139,10 @@ const ListSendView = (props) => {
onPress={() => navigation.navigate(ScreenName.DETAILSENDDOCUMENT)} onPress={() => navigation.navigate(ScreenName.DETAILSENDDOCUMENT)}
backgroundColor={R.colors.blue} backgroundColor={R.colors.blue}
textColor={R.colors.white} textColor={R.colors.white}
height={25} height={30}
width={90} width={90}
borderRadius={15} borderRadius={15}
fontSize={11} fontSize={R.sizes.sm}
fontWeight={'600'} fontWeight={'600'}
fontFamily={R.fonts.fontMedium} fontFamily={R.fonts.fontMedium}
paddingHorizontal={15} paddingHorizontal={15}
......
...@@ -141,9 +141,8 @@ const styles = StyleSheet.create({ ...@@ -141,9 +141,8 @@ const styles = StyleSheet.create({
color: R.colors.black, color: R.colors.black,
}, },
fileName: { fileName: {
fontSize: 10, fontSize: R.sizes.xs,
color: R.colors.black, color: R.colors.black,
flex: 1,
}, },
deleteIcon: { deleteIcon: {
width: 20, width: 20,
......
...@@ -36,8 +36,9 @@ const styles = StyleSheet.create({ ...@@ -36,8 +36,9 @@ const styles = StyleSheet.create({
justifyContent: 'space-between', justifyContent: 'space-between',
borderRadius: 10, borderRadius: 10,
backgroundColor: R.colors.blue1, backgroundColor: R.colors.blue1,
padding: 10,
marginBottom: 5, marginBottom: 5,
height: 30,
paddingHorizontal:10
}, },
image: { image: {
width: 20, width: 20,
......
...@@ -65,8 +65,10 @@ const DetailListWorkView = props => { ...@@ -65,8 +65,10 @@ const DetailListWorkView = props => {
style={{ style={{
flexDirection: 'row', flexDirection: 'row',
backgroundColor: R.colors.blue1, backgroundColor: R.colors.blue1,
padding: 5, height:30,
borderRadius: 5, alignItems:'center',
paddingHorizontal:10,
borderRadius: 10,
marginBottom:10, marginBottom:10,
justifyContent: 'space-between', justifyContent: 'space-between',
}}> }}>
...@@ -159,7 +161,7 @@ const DetailListWorkView = props => { ...@@ -159,7 +161,7 @@ const DetailListWorkView = props => {
</View> </View>
<Text style={styles.text}>Tài liu đính kèm</Text> <Text style={styles.text}>Tài liu đính kèm</Text>
<TouchableOpacity style={styles.containerFile}> <TouchableOpacity style={styles.containerFile}>
<Text style={styles.text}> <Text style={[styles.text, {fontSize: R.sizes.xs}]}>
Quyết định thông báo đào to - QD347583 Quyết định thông báo đào to - QD347583
</Text> </Text>
<Image source={R.images.icDownload} style={styles.image} /> <Image source={R.images.icDownload} style={styles.image} />
......
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