Commit 94be4c66 by tungnq

TODO: Đã sửa giao diện phần đăng kí chứng chỉ

parent 950479cc
...@@ -26,7 +26,7 @@ const DetailCertificateView = (props) => { ...@@ -26,7 +26,7 @@ const DetailCertificateView = (props) => {
</View> </View>
<View style={styles.card_item}> <View style={styles.card_item}>
<View style={styles.header_card_item}> <View style={styles.header_card_item}>
<Text style={styles.text_title}>Chng ch toeic</Text> <Text style={[styles.text_title , { fontFamily: R.fonts.InterMedium } ]}>Chng ch toeic</Text>
</View> </View>
...@@ -37,21 +37,34 @@ const DetailCertificateView = (props) => { ...@@ -37,21 +37,34 @@ const DetailCertificateView = (props) => {
/> />
</View> </View>
<View > <View >
<Text style={styles.sub_text}>Loi chng ch: TOEIC</Text> <Text style={[styles.sub_text , { fontFamily: R.fonts.InterMedium } ]}>Loi chng ch:{' '}
<Text style={styles.sub_text}>Ngày sinh: 23/10/2004</Text> <Text style={{ fontFamily: R.fonts.InterRegular }}>TOEIC</Text>
<Text style={styles.sub_text}> </Text>
CCCD/CMND đăng ký: 00228956325 <Text style={[styles.sub_text , { fontFamily: R.fonts.InterMedium } ]}>Ngày sinh:{' '}
<Text style={{ fontFamily: R.fonts.InterRegular }}>23/10/2004</Text>
</Text>
<Text style={[styles.sub_text , { fontFamily: R.fonts.InterMedium } ]}>
CCCD/CMND đăng ký:{' '}
<Text style={{ fontFamily: R.fonts.InterRegular }}>00228956325</Text>
</Text> </Text>
<Text style={styles.sub_text}>Ngày thi: 23/10/2024</Text> <Text style={[styles.sub_text , { fontFamily: R.fonts.InterMedium } ]}>Ngày thi:{' '}
<Text style={styles.sub_text}>Tng đim: 875</Text> <Text style={{ fontFamily: R.fonts.InterRegular }}>23/10/2024</Text>
</Text>
<Text style={[styles.sub_text , { fontFamily: R.fonts.InterMedium } ]}>Tng đim:{' '}
<Text style={{ fontFamily: R.fonts.InterRegular }}>875</Text>
</Text>
<View <View
style={{ style={{
flexDirection: "row", flexDirection: "row",
justifyContent: "space-between", justifyContent: "space-between",
}} }}
> >
<Text style={styles.sub_text}>Đim nói: 0</Text> <Text style={[styles.sub_text , { fontFamily: R.fonts.InterMedium } ]}>Đim nói:{' '}
<Text style={styles.sub_text}>Đim nghe: 445</Text> <Text style={{ fontFamily: R.fonts.InterRegular }}>0</Text>
</Text>
<Text style={[styles.sub_text , { fontFamily: R.fonts.InterMedium } ]}>Đim nghe:{' '}
<Text style={{ fontFamily: R.fonts.InterRegular }}>445</Text>
</Text>
</View> </View>
<View <View
style={{ style={{
...@@ -59,12 +72,20 @@ const DetailCertificateView = (props) => { ...@@ -59,12 +72,20 @@ const DetailCertificateView = (props) => {
justifyContent: "space-between", justifyContent: "space-between",
}} }}
> >
<Text style={styles.sub_text}>Đim đọc: 430</Text> <Text style={[styles.sub_text , { fontFamily: R.fonts.InterMedium } ]}>Đim đọc:{' '}
<Text style={styles.sub_text}>Đim viết: 0</Text> <Text style={{ fontFamily: R.fonts.InterRegular }}>430</Text>
</Text>
<Text style={[styles.sub_text , { fontFamily: R.fonts.InterMedium } ]}>Đim viết:{' '}
<Text style={{ fontFamily: R.fonts.InterRegular }}>0</Text>
</Text>
</View> </View>
<Text style={styles.sub_text}>S TRF: 085692265852</Text> <Text style={[styles.sub_text , { fontFamily: R.fonts.InterMedium } ]}>S TRF:{' '}
<Text style={styles.sub_text}>Có hiu lc đến: 23/10/2026</Text> <Text style={{ fontFamily: R.fonts.InterRegular }}>085692265852</Text>
<Text style={[styles.sub_text, { color: R.colors.main }]}> </Text>
<Text style={[styles.sub_text , { fontFamily: R.fonts.InterMedium } ]}>Có hiu lc đến:{' '}
<Text style={{ fontFamily: R.fonts.InterRegular }}>23/10/2026</Text>
</Text>
<Text style={[styles.sub_text, { color: R.colors.main , fontFamily: R.fonts.InterMedium }]}>
Không dùng để đăng ký hc bng Không dùng để đăng ký hc bng
</Text> </Text>
</View> </View>
......
...@@ -23,9 +23,14 @@ const ItemNav = () => { ...@@ -23,9 +23,14 @@ const ItemNav = () => {
</View> </View>
<View style={styles.footer_card_item}> <View style={styles.footer_card_item}>
<View> <View>
<Text style={styles.sub_text}>Trng thái: Đang đánh giá</Text> <Text style={[styles.sub_text , { fontFamily: R.fonts.InterMedium } ]}>Trng thái:{' '}
<Text style={styles.sub_text}>Ngày đăng ký: 23/10/2024</Text> <Text style={{ fontFamily: R.fonts.InterRegular }}>Đang đánh giá</Text>
<Text style={[styles.sub_text, { color: R.colors.blue500 }]}>Không dùng để đăng ký hc bng</Text> </Text>
<Text style={[styles.sub_text , { fontFamily: R.fonts.InterMedium } ]}>
Ngày đăng ký:{' '}
<Text style={{ fontFamily: R.fonts.InterRegular }}>23/10/2024</Text>
</Text>
<Text style={[styles.sub_text, { color: R.colors.blue500 , fontFamily: R.fonts.InterMedium }]}>Không dùng để đăng ký hc bng</Text>
</View> </View>
<View style={styles.button_container}> <View style={styles.button_container}>
<Button <Button
...@@ -34,7 +39,7 @@ const ItemNav = () => { ...@@ -34,7 +39,7 @@ const ItemNav = () => {
fontWeight={300} fontWeight={300}
fontSize={14} fontSize={14}
width={61} width={61}
height={27} height={35}
backgroundColor={R.colors.red} backgroundColor={R.colors.red}
borderRadius={10} borderRadius={10}
textColor={R.colors.white} textColor={R.colors.white}
...@@ -86,9 +91,9 @@ const styles = StyleSheet.create({ ...@@ -86,9 +91,9 @@ const styles = StyleSheet.create({
alignSelf: "center", alignSelf: "center",
}, },
text_title_left: { text_title_left: {
fontFamily: R.fonts.InterRegular, fontFamily: R.fonts.InterMedium,
fontSize: R.fontsize.fontsSize14, fontSize: R.fontsize.fontsSize14,
fontWeight: '400', fontWeight: '600',
color: R.colors.black color: R.colors.black
}, },
text_title_right: { text_title_right: {
......
...@@ -25,7 +25,7 @@ const ListCetificateView = (props) => { ...@@ -25,7 +25,7 @@ const ListCetificateView = (props) => {
<Text style={styles.text}>Các chng ch đã đăng kí</Text> <Text style={styles.text}>Các chng ch đã đăng kí</Text>
<Button <Button
onPress={() => navigate.navigate(CERTIFICATEREGISTRATION)} onPress={() => navigate.navigate(CERTIFICATEREGISTRATION)}
height={27} height={35}
borderRadius={10} borderRadius={10}
textColor={R.colors.white} textColor={R.colors.white}
fontFamily={R.fonts.InterRegular} fontFamily={R.fonts.InterRegular}
......
...@@ -39,7 +39,7 @@ const CertificateRegistrationView = (props) => { ...@@ -39,7 +39,7 @@ const CertificateRegistrationView = (props) => {
placeholderFontWeight={"400"} placeholderFontWeight={"400"}
placeholderColor={R.colors.grey} placeholderColor={R.colors.grey}
borderRadius={10} borderRadius={10}
height={40} height={30}
marginHorizontal={15} marginHorizontal={15}
marginVertical={5} marginVertical={5}
iconColor={R.colors.black} iconColor={R.colors.black}
...@@ -49,6 +49,7 @@ const CertificateRegistrationView = (props) => { ...@@ -49,6 +49,7 @@ const CertificateRegistrationView = (props) => {
<CustomTextInput <CustomTextInput
title={"Ngày sinh "} title={"Ngày sinh "}
backgroundColor={R.colors.gray400} backgroundColor={R.colors.gray400}
editable={false}
/> />
</View> </View>
...@@ -56,7 +57,7 @@ const CertificateRegistrationView = (props) => { ...@@ -56,7 +57,7 @@ const CertificateRegistrationView = (props) => {
<CustomTextInput <CustomTextInput
title={"CMND/CCCD (thí sinh dùng để đăng ký thi)"} title={"CMND/CCCD (thí sinh dùng để đăng ký thi)"}
backgroundColor={R.colors.gray400} backgroundColor={R.colors.gray400}
editable={false}
/> />
</View> </View>
...@@ -167,6 +168,7 @@ const CertificateRegistrationView = (props) => { ...@@ -167,6 +168,7 @@ const CertificateRegistrationView = (props) => {
textColor={R.colors.white} textColor={R.colors.white}
borderRadius={10} borderRadius={10}
paddingVertical={4} paddingVertical={4}
height={35}
/> />
</View> </View>
</ScrollView> </ScrollView>
......
...@@ -31,7 +31,7 @@ const MedicalView = (props) => { ...@@ -31,7 +31,7 @@ const MedicalView = (props) => {
placeholder="Khác" placeholder="Khác"
placeholderColor={R.colors.grey_800} placeholderColor={R.colors.grey_800}
borderRadius={10} borderRadius={10}
height={40} height={30}
iconColor={R.colors.black} iconColor={R.colors.black}
titleFontWeight={"300"} titleFontWeight={"300"}
fontSize={R.fontsize.fontsSize12} fontSize={R.fontsize.fontsSize12}
...@@ -61,7 +61,7 @@ const MedicalView = (props) => { ...@@ -61,7 +61,7 @@ const MedicalView = (props) => {
placeholder="HS" placeholder="HS"
placeholderColor={R.colors.grey_800} placeholderColor={R.colors.grey_800}
borderRadius={10} borderRadius={10}
height={40} height={30}
iconColor={R.colors.black} iconColor={R.colors.black}
titleFontWeight={"300"} titleFontWeight={"300"}
fontSize={R.fontsize.fontsSize12} fontSize={R.fontsize.fontsSize12}
...@@ -79,7 +79,7 @@ const MedicalView = (props) => { ...@@ -79,7 +79,7 @@ const MedicalView = (props) => {
backgroundColor={R.colors.blue500} backgroundColor={R.colors.blue500}
borderRadius={10} borderRadius={10}
textColor={R.colors.white} textColor={R.colors.white}
height={40} height={35}
marginBottom={15} marginBottom={15}
marginHorizontal={0} marginHorizontal={0}
marginVertical={0} marginVertical={0}
......
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