react-native-timacare 3.1.22-beta → 3.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/screens/home/index.js +1 -1
- package/lib/commonjs/screens/home/index.js.flow +147 -145
- package/lib/commonjs/screens/home/index.js.map +1 -1
- package/lib/module/screens/home/index.js +1 -1
- package/lib/module/screens/home/index.js.map +1 -1
- package/lib/typescript/screens/home/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/screens/home/index.tsx +147 -145
|
@@ -826,183 +826,185 @@ export const Home = observer(function Home() {
|
|
|
826
826
|
</MText>
|
|
827
827
|
</TouchableOpacity> */}
|
|
828
828
|
</View>
|
|
829
|
-
|
|
829
|
+
|
|
830
|
+
<View
|
|
831
|
+
style={{
|
|
832
|
+
flexDirection: 'row',
|
|
833
|
+
alignItems: 'center',
|
|
834
|
+
gap: 8,
|
|
835
|
+
marginTop: 16,
|
|
836
|
+
backgroundColor: '#FFF2F2',
|
|
837
|
+
paddingHorizontal: 10,
|
|
838
|
+
paddingVertical: 10,
|
|
839
|
+
borderRadius: 4,
|
|
840
|
+
justifyContent: 'space-between',
|
|
841
|
+
}}
|
|
842
|
+
>
|
|
830
843
|
<View
|
|
831
844
|
style={{
|
|
832
845
|
flexDirection: 'row',
|
|
833
846
|
alignItems: 'center',
|
|
834
847
|
gap: 8,
|
|
835
|
-
marginTop: 16,
|
|
836
|
-
backgroundColor: '#FFF2F2',
|
|
837
|
-
paddingHorizontal: 10,
|
|
838
|
-
paddingVertical: 10,
|
|
839
|
-
borderRadius: 4,
|
|
840
|
-
justifyContent: 'space-between',
|
|
841
848
|
}}
|
|
842
849
|
>
|
|
843
|
-
<
|
|
850
|
+
<Info />
|
|
851
|
+
<MText
|
|
844
852
|
style={{
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
gap: 8,
|
|
853
|
+
color: '#E40010',
|
|
854
|
+
fontSize: 10,
|
|
848
855
|
}}
|
|
849
856
|
>
|
|
850
|
-
<
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
857
|
+
{item?.step < 3
|
|
858
|
+
? 'OCR chứng từ để được giải ngân'
|
|
859
|
+
: item?.step === 3
|
|
860
|
+
? `Tiếp tục Cập nhật thông tin để${'\n'}giải ngân nhanh nhất`
|
|
861
|
+
: item?.step === 6 || item?.step === 7
|
|
862
|
+
? `Tiếp tục eKYC và Ký hợp đồng để${'\n'}giải ngân nhanh nhất`
|
|
863
|
+
: item?.step === 8
|
|
864
|
+
? `Hợp đồng đã ký thành công. Vui lòng chờ chuyên viên tư vấn liên hệ`
|
|
865
|
+
: 'Đơn vay đang trong quá trình xử lý'}
|
|
866
|
+
</MText>
|
|
867
|
+
</View>
|
|
868
|
+
{item?.step < 3 ? (
|
|
869
|
+
<TouchableOpacity
|
|
870
|
+
onPress={() => {
|
|
871
|
+
if (item?.step === 0) {
|
|
872
|
+
navigation.push(ScreenNames.OCR, {
|
|
873
|
+
loan: item,
|
|
874
|
+
front: true,
|
|
875
|
+
});
|
|
876
|
+
} else if (item?.step === 1) {
|
|
877
|
+
navigation.push(
|
|
878
|
+
ScreenNames.VehicleCamera,
|
|
879
|
+
{
|
|
871
880
|
loan: item,
|
|
872
881
|
front: true,
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
882
|
+
}
|
|
883
|
+
);
|
|
884
|
+
} else if (item?.step === 2) {
|
|
885
|
+
navigation.push(
|
|
886
|
+
ScreenNames.RegisterCamera,
|
|
887
|
+
{
|
|
888
|
+
loan: item,
|
|
889
|
+
}
|
|
890
|
+
);
|
|
891
|
+
}
|
|
892
|
+
}}
|
|
893
|
+
>
|
|
894
|
+
<LinearGradient
|
|
895
|
+
colors={['#FF8E4F', '#EF592E']}
|
|
896
|
+
style={{
|
|
897
|
+
height: 24,
|
|
898
|
+
alignItems: 'center',
|
|
899
|
+
justifyContent: 'center',
|
|
900
|
+
borderRadius: 24,
|
|
901
|
+
paddingHorizontal: 10,
|
|
890
902
|
}}
|
|
891
903
|
>
|
|
892
|
-
<
|
|
893
|
-
colors={['#FF8E4F', '#EF592E']}
|
|
904
|
+
<MText
|
|
894
905
|
style={{
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
justifyContent: 'center',
|
|
898
|
-
borderRadius: 24,
|
|
899
|
-
paddingHorizontal: 10,
|
|
906
|
+
color: 'white',
|
|
907
|
+
fontSize: 10,
|
|
900
908
|
}}
|
|
901
909
|
>
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
910
|
+
Đi tới OCR
|
|
911
|
+
</MText>
|
|
912
|
+
</LinearGradient>
|
|
913
|
+
</TouchableOpacity>
|
|
914
|
+
) : item?.step === 3 ? (
|
|
915
|
+
<TouchableOpacity
|
|
916
|
+
onPress={() => {
|
|
917
|
+
if (item?.step === 3) {
|
|
918
|
+
navigation.push(
|
|
919
|
+
ScreenNames.ReviewInformation,
|
|
920
|
+
{
|
|
921
|
+
loan: item,
|
|
922
|
+
}
|
|
923
|
+
);
|
|
924
|
+
}
|
|
925
|
+
}}
|
|
926
|
+
>
|
|
927
|
+
<LinearGradient
|
|
928
|
+
colors={['#FF8E4F', '#EF592E']}
|
|
929
|
+
style={{
|
|
930
|
+
height: 24,
|
|
931
|
+
alignItems: 'center',
|
|
932
|
+
justifyContent: 'center',
|
|
933
|
+
borderRadius: 24,
|
|
934
|
+
paddingHorizontal: 10,
|
|
923
935
|
}}
|
|
924
936
|
>
|
|
925
|
-
<
|
|
926
|
-
colors={['#FF8E4F', '#EF592E']}
|
|
937
|
+
<MText
|
|
927
938
|
style={{
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
justifyContent: 'center',
|
|
931
|
-
borderRadius: 24,
|
|
932
|
-
paddingHorizontal: 10,
|
|
939
|
+
color: 'white',
|
|
940
|
+
fontSize: 10,
|
|
933
941
|
}}
|
|
934
942
|
>
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
943
|
+
Cập nhật thông tin
|
|
944
|
+
</MText>
|
|
945
|
+
</LinearGradient>
|
|
946
|
+
</TouchableOpacity>
|
|
947
|
+
) : item?.step === 6 ? (
|
|
948
|
+
<TouchableOpacity
|
|
949
|
+
onPress={() => {
|
|
950
|
+
navigation.push(ScreenNames.LivenessV2, {
|
|
951
|
+
loan: item,
|
|
952
|
+
});
|
|
953
|
+
}}
|
|
954
|
+
>
|
|
955
|
+
<LinearGradient
|
|
956
|
+
colors={['#FF8E4F', '#EF592E']}
|
|
957
|
+
style={{
|
|
958
|
+
height: 24,
|
|
959
|
+
alignItems: 'center',
|
|
960
|
+
justifyContent: 'center',
|
|
961
|
+
borderRadius: 24,
|
|
962
|
+
paddingHorizontal: 10,
|
|
951
963
|
}}
|
|
952
964
|
>
|
|
953
|
-
<
|
|
954
|
-
colors={['#FF8E4F', '#EF592E']}
|
|
965
|
+
<MText
|
|
955
966
|
style={{
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
justifyContent: 'center',
|
|
959
|
-
borderRadius: 24,
|
|
960
|
-
paddingHorizontal: 10,
|
|
967
|
+
color: 'white',
|
|
968
|
+
fontSize: 10,
|
|
961
969
|
}}
|
|
962
970
|
>
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
971
|
+
Đi tới EKYC
|
|
972
|
+
</MText>
|
|
973
|
+
</LinearGradient>
|
|
974
|
+
</TouchableOpacity>
|
|
975
|
+
) : item?.step === 7 ? (
|
|
976
|
+
<TouchableOpacity
|
|
977
|
+
onPress={() => {
|
|
978
|
+
navigation.push(ScreenNames.TTSSignLoan, {
|
|
979
|
+
loan: item,
|
|
980
|
+
});
|
|
981
|
+
}}
|
|
982
|
+
>
|
|
983
|
+
<LinearGradient
|
|
984
|
+
colors={['#FF8E4F', '#EF592E']}
|
|
985
|
+
style={{
|
|
986
|
+
height: 24,
|
|
987
|
+
alignItems: 'center',
|
|
988
|
+
justifyContent: 'center',
|
|
989
|
+
borderRadius: 24,
|
|
990
|
+
paddingHorizontal: 10,
|
|
979
991
|
}}
|
|
980
992
|
>
|
|
981
|
-
<
|
|
982
|
-
colors={['#FF8E4F', '#EF592E']}
|
|
993
|
+
<MText
|
|
983
994
|
style={{
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
justifyContent: 'center',
|
|
987
|
-
borderRadius: 24,
|
|
988
|
-
paddingHorizontal: 10,
|
|
995
|
+
color: 'white',
|
|
996
|
+
fontSize: 10,
|
|
989
997
|
}}
|
|
990
998
|
>
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
</TouchableOpacity>
|
|
1001
|
-
) : (
|
|
1002
|
-
<></>
|
|
1003
|
-
)}
|
|
1004
|
-
</View>
|
|
1005
|
-
)}
|
|
999
|
+
Ký hợp đồng
|
|
1000
|
+
</MText>
|
|
1001
|
+
</LinearGradient>
|
|
1002
|
+
</TouchableOpacity>
|
|
1003
|
+
) : (
|
|
1004
|
+
<></>
|
|
1005
|
+
)}
|
|
1006
|
+
</View>
|
|
1007
|
+
|
|
1006
1008
|
<View
|
|
1007
1009
|
style={{
|
|
1008
1010
|
flexDirection: 'row',
|