react-native-timacare 3.0.3-beta → 3.0.6-beta-glink
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/assets/icons/contract.svg +16 -8
- package/lib/commonjs/assets/icons/contract_active.svg +20 -12
- package/lib/commonjs/assets/icons/dot.svg +10 -0
- package/lib/commonjs/assets/icons/index.js +1 -1
- package/lib/commonjs/assets/icons/index.js.flow +2 -0
- package/lib/commonjs/assets/icons/index.js.map +1 -1
- package/lib/commonjs/assets/icons/loading_tima.svg +57 -56
- package/lib/commonjs/assets/icons/logotima.svg +16 -8
- package/lib/commonjs/assets/icons/tima3.svg +25 -12
- package/lib/commonjs/assets/img/glink_logo_Primary.png +0 -0
- package/lib/commonjs/assets/img/glink_logo_White.png +0 -0
- package/lib/commonjs/components/CIMBLoading.js +1 -1
- package/lib/commonjs/components/CIMBLoading.js.flow +6 -6
- package/lib/commonjs/components/CIMBLoading.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/Info.js +1 -1
- package/lib/commonjs/screens/detail-loan/Info.js.flow +1 -1
- package/lib/commonjs/screens/detail-loan/Info.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/Payment.js +1 -1
- package/lib/commonjs/screens/detail-loan/Payment.js.flow +1 -1
- package/lib/commonjs/screens/detail-loan/Payment.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/PaymentAll.js +1 -1
- package/lib/commonjs/screens/detail-loan/PaymentAll.js.flow +1 -1
- package/lib/commonjs/screens/detail-loan/PaymentAll.js.map +1 -1
- package/lib/commonjs/screens/home/CIMBxTima.js +1 -1
- package/lib/commonjs/screens/home/CIMBxTima.js.flow +16 -2
- package/lib/commonjs/screens/home/CIMBxTima.js.map +1 -1
- package/lib/commonjs/screens/home/bg.png +0 -0
- package/lib/commonjs/screens/home/glink.png +0 -0
- package/lib/commonjs/screens/home/index.js +1 -1
- package/lib/commonjs/screens/home/index.js.flow +5 -4
- package/lib/commonjs/screens/home/index.js.map +1 -1
- package/lib/commonjs/screens/home/reject.png +0 -0
- package/lib/commonjs/screens/introduction/glink_logo.png +0 -0
- package/lib/commonjs/screens/introduction/index.js +1 -1
- package/lib/commonjs/screens/introduction/index.js.flow +30 -5
- package/lib/commonjs/screens/introduction/index.js.map +1 -1
- package/lib/commonjs/screens/loginWithPassword/index.js +1 -1
- package/lib/commonjs/screens/loginWithPassword/index.js.flow +1 -1
- package/lib/commonjs/screens/loginWithPassword/index.js.map +1 -1
- package/lib/commonjs/screens/nationalID/glink_logo.png +0 -0
- package/lib/commonjs/screens/nationalID/index.js +1 -1
- package/lib/commonjs/screens/nationalID/index.js.flow +28 -4
- package/lib/commonjs/screens/nationalID/index.js.map +1 -1
- package/lib/commonjs/screens/nationalIDBack/index.js +1 -1
- package/lib/commonjs/screens/nationalIDBack/index.js.flow +28 -4
- package/lib/commonjs/screens/nationalIDBack/index.js.map +1 -1
- package/lib/commonjs/screens/register/index.js +1 -1
- package/lib/commonjs/screens/register/index.js.flow +8 -2
- package/lib/commonjs/screens/register/index.js.map +1 -1
- package/lib/commonjs/screens/schedule-payment/index.js +1 -1
- package/lib/commonjs/screens/schedule-payment/index.js.flow +1 -1
- package/lib/commonjs/screens/schedule-payment/index.js.map +1 -1
- package/lib/commonjs/screens/terms/TermScreen.js +1 -1
- package/lib/commonjs/screens/terms/TermScreen.js.flow +1 -1
- package/lib/commonjs/screens/terms/TermScreen.js.map +1 -1
- package/lib/module/assets/icons/contract.svg +16 -8
- package/lib/module/assets/icons/contract_active.svg +20 -12
- package/lib/module/assets/icons/dot.svg +10 -0
- package/lib/module/assets/icons/index.js +1 -1
- package/lib/module/assets/icons/index.js.map +1 -1
- package/lib/module/assets/icons/loading_tima.svg +57 -56
- package/lib/module/assets/icons/logotima.svg +16 -8
- package/lib/module/assets/icons/tima3.svg +25 -12
- package/lib/module/assets/img/glink_logo_Primary.png +0 -0
- package/lib/module/assets/img/glink_logo_White.png +0 -0
- package/lib/module/components/CIMBLoading.js +1 -1
- package/lib/module/components/CIMBLoading.js.map +1 -1
- package/lib/module/screens/detail-loan/Info.js +1 -1
- package/lib/module/screens/detail-loan/Info.js.map +1 -1
- package/lib/module/screens/detail-loan/Payment.js +1 -1
- package/lib/module/screens/detail-loan/Payment.js.map +1 -1
- package/lib/module/screens/detail-loan/PaymentAll.js +1 -1
- package/lib/module/screens/detail-loan/PaymentAll.js.map +1 -1
- package/lib/module/screens/home/CIMBxTima.js +1 -1
- package/lib/module/screens/home/CIMBxTima.js.map +1 -1
- package/lib/module/screens/home/bg.png +0 -0
- package/lib/module/screens/home/glink.png +0 -0
- package/lib/module/screens/home/index.js +1 -1
- package/lib/module/screens/home/index.js.map +1 -1
- package/lib/module/screens/home/reject.png +0 -0
- package/lib/module/screens/introduction/glink_logo.png +0 -0
- package/lib/module/screens/introduction/index.js +1 -1
- package/lib/module/screens/introduction/index.js.map +1 -1
- package/lib/module/screens/loginWithPassword/index.js +1 -1
- package/lib/module/screens/loginWithPassword/index.js.map +1 -1
- package/lib/module/screens/nationalID/glink_logo.png +0 -0
- package/lib/module/screens/nationalID/index.js +1 -1
- package/lib/module/screens/nationalID/index.js.map +1 -1
- package/lib/module/screens/nationalIDBack/index.js +1 -1
- package/lib/module/screens/nationalIDBack/index.js.map +1 -1
- package/lib/module/screens/register/index.js +1 -1
- package/lib/module/screens/register/index.js.map +1 -1
- package/lib/module/screens/schedule-payment/index.js +1 -1
- package/lib/module/screens/schedule-payment/index.js.map +1 -1
- package/lib/module/screens/terms/TermScreen.js +1 -1
- package/lib/module/screens/terms/TermScreen.js.map +1 -1
- package/lib/typescript/assets/icons/index.d.ts +2 -1
- package/lib/typescript/assets/icons/index.d.ts.map +1 -1
- package/lib/typescript/screens/home/CIMBxTima.d.ts.map +1 -1
- package/lib/typescript/screens/home/index.d.ts.map +1 -1
- package/lib/typescript/screens/introduction/index.d.ts.map +1 -1
- package/lib/typescript/screens/nationalID/index.d.ts.map +1 -1
- package/lib/typescript/screens/nationalIDBack/index.d.ts.map +1 -1
- package/lib/typescript/screens/register/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/assets/icons/contract.svg +16 -8
- package/src/assets/icons/contract_active.svg +20 -12
- package/src/assets/icons/dot.svg +10 -0
- package/src/assets/icons/index.tsx +2 -0
- package/src/assets/icons/loading_tima.svg +57 -56
- package/src/assets/icons/logotima.svg +16 -8
- package/src/assets/icons/tima3.svg +25 -12
- package/src/assets/img/glink_logo_Primary.png +0 -0
- package/src/assets/img/glink_logo_White.png +0 -0
- package/src/components/CIMBLoading.tsx +6 -6
- package/src/screens/detail-loan/Info.tsx +1 -1
- package/src/screens/detail-loan/Payment.tsx +1 -1
- package/src/screens/detail-loan/PaymentAll.tsx +1 -1
- package/src/screens/home/CIMBxTima.tsx +16 -2
- package/src/screens/home/bg.png +0 -0
- package/src/screens/home/glink.png +0 -0
- package/src/screens/home/index.tsx +5 -4
- package/src/screens/home/reject.png +0 -0
- package/src/screens/introduction/glink_logo.png +0 -0
- package/src/screens/introduction/index.tsx +30 -5
- package/src/screens/loginWithPassword/index.tsx +1 -1
- package/src/screens/nationalID/glink_logo.png +0 -0
- package/src/screens/nationalID/index.tsx +28 -4
- package/src/screens/nationalIDBack/index.tsx +28 -4
- package/src/screens/register/index.tsx +8 -2
- package/src/screens/schedule-payment/index.tsx +1 -1
- package/src/screens/terms/TermScreen.tsx +1 -1
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect width="36" height="36" rx="8" fill="url(#
|
|
3
|
-
<path
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
<rect width="36" height="36" rx="8" fill="url(#paint0_linear_125_13255)" />
|
|
3
|
+
<g clip-path="url(#clip0_125_13255)">
|
|
4
|
+
<path
|
|
5
|
+
d="M31 18.0679C31 18.4171 30.8957 19.2192 30.8841 19.2804C30.2537 22.5305 27.1341 25.0003 23.3806 25.0003C22.792 25.0003 22.2184 24.9397 21.668 24.8244C20.4219 24.5641 19.2927 24.0259 18.3632 23.2842L21.2436 21.5514C21.8755 21.8736 22.6047 22.0569 23.3806 22.0569C25.802 22.0569 27.7651 20.2709 27.7651 18.0679C27.7651 17.9245 27.757 17.7829 27.7402 17.6434C27.5077 15.6398 25.6443 14.079 23.3806 14.079C22.5691 14.079 21.8094 14.2794 21.1576 14.6291L13.3251 19.3406C12.58 19.7888 11.5765 19.6027 11.0841 18.9247C10.5914 18.2467 10.796 17.3338 11.5412 16.8855L15.1822 14.6952L17.9841 13.0097C18.0786 12.9533 18.6365 12.6334 18.9437 12.4324L18.9452 12.4314L19.4301 12.1397L19.4312 12.1392C20.5828 11.5026 21.9346 11.1361 23.3806 11.1361C24.3641 11.1361 25.3043 11.3057 26.1681 11.6147C28.9975 12.6265 31.0003 15.1343 31.0003 18.0677L31 18.0679Z"
|
|
6
|
+
fill="white" />
|
|
7
|
+
<path
|
|
8
|
+
d="M24.5313 17.2952C25.024 17.9732 24.8194 18.8861 24.0742 19.3344L20.8091 21.2987L18.0087 22.9832C17.8661 23.0707 16.3911 23.9562 16.3911 23.9562C15.2792 24.5335 13.9915 24.8636 12.6197 24.8636C11.6316 24.8636 10.6873 24.6922 9.82065 24.3808C6.96425 23.3542 4.95304 20.8016 5.00115 17.8274C5.06318 14.0024 8.56563 10.9277 12.7695 11.0015C13.2185 11.0095 13.6576 11.0527 14.0845 11.1284C15.3653 11.3552 16.5308 11.8736 17.4951 12.6051L14.5755 14.3613C13.9868 14.0934 13.3222 13.9428 12.6197 13.9428C11.0936 13.9428 9.74992 14.6519 8.96474 15.7283C8.5094 16.3512 8.24217 17.0972 8.23521 17.8991C8.21608 20.0788 10.1531 21.8857 12.5486 21.9202C13.3315 21.9316 14.0686 21.7557 14.7091 21.4392L14.7117 21.4379C14.9332 21.3288 15.1427 21.2022 15.3387 21.0606L16.2493 20.5129L19.0733 18.8139L20.2358 18.1143L22.2897 16.8789C23.0348 16.4306 24.0383 16.6167 24.531 17.2947L24.5313 17.2952Z"
|
|
9
|
+
fill="white" />
|
|
10
|
+
</g>
|
|
6
11
|
<defs>
|
|
7
|
-
<linearGradient id="
|
|
8
|
-
|
|
9
|
-
<stop stop-color="#
|
|
10
|
-
<stop offset="1" stop-color="#
|
|
12
|
+
<linearGradient id="paint0_linear_125_13255" x1="36" y1="36" x2="-4.90531" y2="29.1062"
|
|
13
|
+
gradientUnits="userSpaceOnUse">
|
|
14
|
+
<stop stop-color="#FF8E4F" />
|
|
15
|
+
<stop offset="1" stop-color="#EF592E" />
|
|
11
16
|
</linearGradient>
|
|
17
|
+
<clipPath id="clip0_125_13255">
|
|
18
|
+
<rect width="26" height="14" fill="white" transform="translate(5 11)" />
|
|
19
|
+
</clipPath>
|
|
12
20
|
</defs>
|
|
13
21
|
</svg>
|
|
14
22
|
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g filter="url(#
|
|
2
|
+
<g filter="url(#filter0_d_1_19121)">
|
|
3
3
|
<path
|
|
4
4
|
d="M16.5 16.9091C16.5 15.5786 17.5786 14.5 18.9091 14.5H32C40.5604 14.5 47.5 21.4396 47.5 30C47.5 38.5604 40.5604 45.5 32 45.5C23.4396 45.5 16.5 38.5604 16.5 30V16.9091Z"
|
|
5
|
-
stroke="url(#
|
|
5
|
+
stroke="url(#paint0_linear_1_19121)" shape-rendering="crispEdges" />
|
|
6
6
|
</g>
|
|
7
7
|
<path
|
|
8
8
|
d="M10 16.9091C10 15.3024 11.3024 14 12.9091 14H26C34.8366 14 42 21.1634 42 30C42 38.8366 34.8366 46 26 46C17.1634 46 10 38.8366 10 30V16.9091Z"
|
|
9
|
-
fill="url(#
|
|
10
|
-
<path
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
fill="url(#paint1_linear_1_19121)" />
|
|
10
|
+
<g clip-path="url(#clip0_1_19121)">
|
|
11
|
+
<path
|
|
12
|
+
d="M33.9998 30.0436C33.9998 30.268 33.9356 30.7837 33.9284 30.823C33.5405 32.9124 31.6208 34.5001 29.3109 34.5001C28.9487 34.5001 28.5957 34.4611 28.257 34.387C27.4902 34.2197 26.7953 33.8737 26.2233 33.3969L27.9959 32.2829C28.3847 32.4901 28.8335 32.6079 29.3109 32.6079C30.801 32.6079 32.0091 31.4598 32.0091 30.0436C32.0091 29.9514 32.0041 29.8603 31.9937 29.7707C31.8507 28.4826 30.704 27.4792 29.3109 27.4792C28.8115 27.4792 28.344 27.6081 27.9429 27.8329L23.1229 30.8617C22.6644 31.1499 22.0469 31.0302 21.7438 30.5944C21.4406 30.1585 21.5665 29.5716 22.0251 29.2835L24.2657 27.8754L25.99 26.7918C26.0481 26.7556 26.3915 26.5499 26.5805 26.4208L26.5814 26.4201L26.8798 26.2326L26.8805 26.2323C27.5892 25.823 28.4211 25.5874 29.3109 25.5874C29.9161 25.5874 30.4947 25.6964 31.0263 25.8951C32.7675 26.5455 34 28.1577 34 30.0434L33.9998 30.0436Z"
|
|
13
|
+
fill="url(#paint2_linear_1_19121)" />
|
|
14
|
+
<path
|
|
15
|
+
d="M30.0196 29.547C30.3228 29.9829 30.1969 30.5697 29.7383 30.8579L27.729 32.1207L26.0056 33.2036C25.9179 33.2599 25.0102 33.8291 25.0102 33.8291C24.326 34.2002 23.5335 34.4124 22.6893 34.4124C22.0813 34.4124 21.5002 34.3022 20.9669 34.102C19.2091 33.4421 17.9714 31.8011 18.001 29.8891C18.0392 27.4302 20.1945 25.4536 22.7815 25.5011C23.0578 25.5062 23.328 25.534 23.5908 25.5826C24.379 25.7284 25.0962 26.0617 25.6896 26.5319L23.8929 27.6609C23.5307 27.4887 23.1217 27.3919 22.6893 27.3919C21.7502 27.3919 20.9233 27.8478 20.4401 28.5397C20.1599 28.9401 19.9955 29.4197 19.9912 29.9352C19.9794 31.3365 21.1714 32.498 22.6456 32.5202C23.1274 32.5275 23.581 32.4145 23.9751 32.211L23.9768 32.2102C24.113 32.14 24.242 32.0586 24.3626 31.9676L24.923 31.6155L26.6608 30.5233L27.3762 30.0736L28.6401 29.2793C29.0987 28.9912 29.7162 29.1108 30.0194 29.5467L30.0196 29.547Z"
|
|
16
|
+
fill="url(#paint3_linear_1_19121)" />
|
|
17
|
+
</g>
|
|
13
18
|
<defs>
|
|
14
|
-
<filter id="
|
|
19
|
+
<filter id="filter0_d_1_19121" x="0" y="0" width="64" height="64"
|
|
15
20
|
filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
16
21
|
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
17
22
|
<feColorMatrix in="SourceAlpha" type="matrix"
|
|
@@ -20,25 +25,33 @@
|
|
|
20
25
|
<feGaussianBlur stdDeviation="8" />
|
|
21
26
|
<feComposite in2="hardAlpha" operator="out" />
|
|
22
27
|
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" />
|
|
23
|
-
<feBlend mode="normal" in2="BackgroundImageFix" result="
|
|
24
|
-
<feBlend mode="normal" in="SourceGraphic" in2="
|
|
28
|
+
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1_19121" />
|
|
29
|
+
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1_19121"
|
|
25
30
|
result="shape" />
|
|
26
31
|
</filter>
|
|
27
|
-
<linearGradient id="
|
|
32
|
+
<linearGradient id="paint0_linear_1_19121" x1="23" y1="42.5" x2="48" y2="25"
|
|
28
33
|
gradientUnits="userSpaceOnUse">
|
|
29
34
|
<stop stop-color="white" stop-opacity="0" />
|
|
30
35
|
<stop offset="1" stop-color="white" />
|
|
31
36
|
</linearGradient>
|
|
32
|
-
<linearGradient id="
|
|
37
|
+
<linearGradient id="paint1_linear_1_19121" x1="10" y1="14" x2="42" y2="46"
|
|
33
38
|
gradientUnits="userSpaceOnUse">
|
|
34
39
|
<stop stop-color="white" />
|
|
35
40
|
<stop offset="1" stop-color="white" stop-opacity="0.79" />
|
|
36
41
|
</linearGradient>
|
|
37
|
-
<linearGradient id="
|
|
42
|
+
<linearGradient id="paint2_linear_1_19121" x1="34" y1="34.5001" x2="20.2441" y2="31.2692"
|
|
38
43
|
gradientUnits="userSpaceOnUse">
|
|
39
44
|
<stop stop-color="#FF8E4F" />
|
|
40
45
|
<stop offset="1" stop-color="#EF592E" />
|
|
41
46
|
</linearGradient>
|
|
47
|
+
<linearGradient id="paint3_linear_1_19121" x1="30.1848" y1="34.4124" x2="16.6648"
|
|
48
|
+
y2="31.2973" gradientUnits="userSpaceOnUse">
|
|
49
|
+
<stop stop-color="#FF8E4F" />
|
|
50
|
+
<stop offset="1" stop-color="#EF592E" />
|
|
51
|
+
</linearGradient>
|
|
52
|
+
<clipPath id="clip0_1_19121">
|
|
53
|
+
<rect width="16" height="9" fill="white" transform="translate(18 25.5)" />
|
|
54
|
+
</clipPath>
|
|
42
55
|
</defs>
|
|
43
56
|
</svg>
|
|
44
57
|
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Dimensions, Modal, StyleSheet, View } from 'react-native';
|
|
4
|
-
import { LoadingCimb, LoadingTima } from '../assets/icons';
|
|
4
|
+
import { Loading, LoadingCimb, LoadingTima } from '../assets/icons';
|
|
5
5
|
import { commonStyles } from '../screens/CommonStyles';
|
|
6
6
|
import { MText } from './MText';
|
|
7
7
|
import Lottie from 'lottie-react-native';
|
|
@@ -16,7 +16,7 @@ export default function CIMBLoading({ isLoading }: IProps) {
|
|
|
16
16
|
<View style={styles.modalBackground}>
|
|
17
17
|
<View style={styles.activityIndicatorWrapper}>
|
|
18
18
|
<LinearGradient
|
|
19
|
-
colors={['
|
|
19
|
+
colors={['rgba(255, 255, 255, 1)', 'rgba(255, 255, 255, 1)']}
|
|
20
20
|
style={{
|
|
21
21
|
width: Dimensions.get('window').width - 50,
|
|
22
22
|
borderRadius: 6,
|
|
@@ -30,12 +30,12 @@ export default function CIMBLoading({ isLoading }: IProps) {
|
|
|
30
30
|
flexDirection: 'row',
|
|
31
31
|
marginBottom: 24,
|
|
32
32
|
justifyContent: 'space-between',
|
|
33
|
+
alignItems: 'center',
|
|
33
34
|
}}
|
|
34
35
|
>
|
|
35
|
-
<
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
<Lottie source={require('./loading.json')} autoPlay loop />
|
|
36
|
+
<LoadingTima />
|
|
37
|
+
{/* <Lottie source={require('./loading.json')} autoPlay loop /> */}
|
|
38
|
+
<Loading />
|
|
39
39
|
<LoadingCimb />
|
|
40
40
|
</View>
|
|
41
41
|
<MText
|
|
@@ -201,7 +201,7 @@ export const Info = observer(function Info({ loan }: IProps) {
|
|
|
201
201
|
}}
|
|
202
202
|
>
|
|
203
203
|
<MText style={[commonStyles.textNormal, { color: '#828282' }]}>
|
|
204
|
-
Nghĩa vụ phải trả
|
|
204
|
+
Nghĩa vụ phải trả Glink
|
|
205
205
|
</MText>
|
|
206
206
|
<MText style={[commonStyles.textNormal, { color: '#828282' }]}>
|
|
207
207
|
{formatMoney(data?.totalMoneyTima)} VNĐ
|
|
@@ -110,7 +110,7 @@ export const Payment = observer(function Payment({ data }: IProps) {
|
|
|
110
110
|
{ color: '#828282', paddingLeft: 15 },
|
|
111
111
|
]}
|
|
112
112
|
>
|
|
113
|
-
Nghĩa vụ phải trả
|
|
113
|
+
Nghĩa vụ phải trả Glink
|
|
114
114
|
</MText>
|
|
115
115
|
</View>
|
|
116
116
|
<MText style={[commonStyles.textNormal, { color: '#828282' }]}>
|
|
@@ -83,7 +83,7 @@ export const PaymentAll = observer(function PaymentAll(props: any) {
|
|
|
83
83
|
style={{ flexDirection: 'row', justifyContent: 'space-between' }}
|
|
84
84
|
>
|
|
85
85
|
<MText style={[commonStyles.textNormal, { color: '#333333' }]}>
|
|
86
|
-
Nghĩa vụ phải trả
|
|
86
|
+
Nghĩa vụ phải trả Glink
|
|
87
87
|
</MText>
|
|
88
88
|
<MText
|
|
89
89
|
style={[commonStyles.textNormalBold, { color: '#F05123' }]}
|
|
@@ -39,7 +39,7 @@ const logoView: ImageStyle = {
|
|
|
39
39
|
export const CIMBxTima = observer(function CIMBxTima(props) {
|
|
40
40
|
const navigation = useNavigation();
|
|
41
41
|
const [loading, setLoading] = useState(false);
|
|
42
|
-
const loan = props.route.params
|
|
42
|
+
const loan = props.route.params?.loan;
|
|
43
43
|
|
|
44
44
|
const onSubmit = (values: any) => {
|
|
45
45
|
setLoading(true);
|
|
@@ -91,9 +91,23 @@ export const CIMBxTima = observer(function CIMBxTima(props) {
|
|
|
91
91
|
>
|
|
92
92
|
{({ values, setFieldValue, isValid, handleSubmit }) => (
|
|
93
93
|
<ScrollView style={{ flex: 1, marginBottom: 16 }}>
|
|
94
|
+
<View
|
|
95
|
+
style={{
|
|
96
|
+
padding: 16,
|
|
97
|
+
}}
|
|
98
|
+
>
|
|
99
|
+
<Image
|
|
100
|
+
source={require('./glink.png')}
|
|
101
|
+
resizeMode="cover"
|
|
102
|
+
style={{
|
|
103
|
+
height: 60,
|
|
104
|
+
width: 280,
|
|
105
|
+
}}
|
|
106
|
+
/>
|
|
107
|
+
</View>
|
|
94
108
|
<Image
|
|
95
109
|
source={require('./bg.png')}
|
|
96
|
-
resizeMode="
|
|
110
|
+
resizeMode="cover"
|
|
97
111
|
style={{
|
|
98
112
|
width: Dimensions.get('window').width,
|
|
99
113
|
height: Dimensions.get('window').height / 2 - 120,
|
package/src/screens/home/bg.png
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -812,7 +812,7 @@ export const Home = observer(function Home() {
|
|
|
812
812
|
<MText
|
|
813
813
|
style={commonStyles.textNormalBold}
|
|
814
814
|
>
|
|
815
|
-
Đơn vay
|
|
815
|
+
Mã Đơn vay-{item?.id}
|
|
816
816
|
</MText>
|
|
817
817
|
<MText style={commonStyles.textNormal}>
|
|
818
818
|
Số tiền vay (VND):{' '}
|
|
@@ -1694,7 +1694,7 @@ export const Home = observer(function Home() {
|
|
|
1694
1694
|
<Contract />
|
|
1695
1695
|
<View style={{ flex: 1, paddingLeft: 8 }}>
|
|
1696
1696
|
<MText style={commonStyles.textNormalBold}>
|
|
1697
|
-
Đơn vay
|
|
1697
|
+
Mã Đơn vay-{item?.id}
|
|
1698
1698
|
</MText>
|
|
1699
1699
|
<MText style={commonStyles.textNormal}>
|
|
1700
1700
|
Số tiền vay (VND):{' '}
|
|
@@ -1988,7 +1988,7 @@ export const Home = observer(function Home() {
|
|
|
1988
1988
|
<ContractActive />
|
|
1989
1989
|
<View style={{ flex: 1, paddingLeft: 8 }}>
|
|
1990
1990
|
<MText style={commonStyles.textNormalBold}>
|
|
1991
|
-
Đơn vay-{loan?.id}
|
|
1991
|
+
Mã Đơn vay-{loan?.id}
|
|
1992
1992
|
</MText>
|
|
1993
1993
|
<MText style={commonStyles.textNormal}>
|
|
1994
1994
|
Số tiền vay (VND): {formatMoney(loan?.loanAmount)}
|
|
@@ -2185,10 +2185,11 @@ export const Home = observer(function Home() {
|
|
|
2185
2185
|
? require('./accept.png')
|
|
2186
2186
|
: require('./reject.png')
|
|
2187
2187
|
}
|
|
2188
|
-
resizeMode="
|
|
2188
|
+
resizeMode="cover"
|
|
2189
2189
|
style={{
|
|
2190
2190
|
width: '100%',
|
|
2191
2191
|
height: (Dimensions.get('window').height / 2) * 0.8,
|
|
2192
|
+
borderRadius: 8,
|
|
2192
2193
|
}}
|
|
2193
2194
|
/>
|
|
2194
2195
|
{loanCimb?.isCimbApproveFull === true ? (
|
|
Binary file
|
|
Binary file
|
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
import { StackActions, useNavigation } from '@react-navigation/native';
|
|
3
3
|
import { observer } from 'mobx-react-lite';
|
|
4
4
|
import React, { useEffect } from 'react';
|
|
5
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
Image,
|
|
7
|
+
SafeAreaView,
|
|
8
|
+
ScrollView,
|
|
9
|
+
TouchableOpacity,
|
|
10
|
+
View,
|
|
11
|
+
} from 'react-native';
|
|
6
12
|
import {
|
|
7
13
|
CIMBBank,
|
|
8
14
|
IconBack,
|
|
@@ -99,13 +105,26 @@ export const Introduction = observer(function Introduction(props: any) {
|
|
|
99
105
|
alignItems: 'center',
|
|
100
106
|
}}
|
|
101
107
|
>
|
|
102
|
-
<TimaSmall />
|
|
108
|
+
{/* <TimaSmall /> */}
|
|
109
|
+
<Image
|
|
110
|
+
source={require('./glink_logo.png')}
|
|
111
|
+
style={{
|
|
112
|
+
width: 16,
|
|
113
|
+
height: 16,
|
|
114
|
+
}}
|
|
115
|
+
/>
|
|
103
116
|
<MText style={{ color: '#333333', marginLeft: 8, fontSize: 12 }}>
|
|
104
117
|
{item?.h1}
|
|
105
118
|
</MText>
|
|
106
119
|
</View>
|
|
107
120
|
<View style={{ flexDirection: 'row', marginTop: 8 }}>
|
|
108
|
-
<
|
|
121
|
+
<Image
|
|
122
|
+
source={require('./glink_logo.png')}
|
|
123
|
+
style={{
|
|
124
|
+
width: 16,
|
|
125
|
+
height: 16,
|
|
126
|
+
}}
|
|
127
|
+
/>
|
|
109
128
|
<MText style={{ color: '#333333', marginLeft: 8, fontSize: 12 }}>
|
|
110
129
|
{item?.h2}
|
|
111
130
|
</MText>
|
|
@@ -113,7 +132,13 @@ export const Introduction = observer(function Introduction(props: any) {
|
|
|
113
132
|
<View
|
|
114
133
|
style={{ flexDirection: 'row', marginTop: 8, alignItems: 'center' }}
|
|
115
134
|
>
|
|
116
|
-
<
|
|
135
|
+
<Image
|
|
136
|
+
source={require('./glink_logo.png')}
|
|
137
|
+
style={{
|
|
138
|
+
width: 16,
|
|
139
|
+
height: 16,
|
|
140
|
+
}}
|
|
141
|
+
/>
|
|
117
142
|
<MText style={{ color: '#333333', marginLeft: 8, fontSize: 12 }}>
|
|
118
143
|
{item?.h3}
|
|
119
144
|
</MText>
|
|
@@ -184,7 +209,7 @@ export const Introduction = observer(function Introduction(props: any) {
|
|
|
184
209
|
borderColor: '#EF4123',
|
|
185
210
|
borderRadius: 30,
|
|
186
211
|
marginHorizontal: 16,
|
|
187
|
-
marginTop:
|
|
212
|
+
marginTop: 16,
|
|
188
213
|
}}
|
|
189
214
|
>
|
|
190
215
|
<LinearGradient
|
|
Binary file
|
|
@@ -123,7 +123,13 @@ export const NationalID = observer(function NationalID(props: any) {
|
|
|
123
123
|
marginTop: 16,
|
|
124
124
|
}}
|
|
125
125
|
>
|
|
126
|
-
<
|
|
126
|
+
<Image
|
|
127
|
+
source={require('../../assets/img/glink_logo_White.png')}
|
|
128
|
+
style={{
|
|
129
|
+
width: 24,
|
|
130
|
+
height: 24,
|
|
131
|
+
}}
|
|
132
|
+
/>
|
|
127
133
|
<MText
|
|
128
134
|
style={[
|
|
129
135
|
commonStyles.textNormalBold,
|
|
@@ -159,7 +165,13 @@ export const NationalID = observer(function NationalID(props: any) {
|
|
|
159
165
|
alignItems: 'center',
|
|
160
166
|
}}
|
|
161
167
|
>
|
|
162
|
-
<
|
|
168
|
+
<Image
|
|
169
|
+
source={require('./glink_logo.png')}
|
|
170
|
+
style={{
|
|
171
|
+
width: 16,
|
|
172
|
+
height: 16,
|
|
173
|
+
}}
|
|
174
|
+
/>
|
|
163
175
|
<MText
|
|
164
176
|
style={{ color: '#333333', marginLeft: 8, fontSize: 12 }}
|
|
165
177
|
>
|
|
@@ -167,7 +179,13 @@ export const NationalID = observer(function NationalID(props: any) {
|
|
|
167
179
|
</MText>
|
|
168
180
|
</View>
|
|
169
181
|
<View style={{ flexDirection: 'row', marginTop: 8 }}>
|
|
170
|
-
<
|
|
182
|
+
<Image
|
|
183
|
+
source={require('./glink_logo.png')}
|
|
184
|
+
style={{
|
|
185
|
+
width: 16,
|
|
186
|
+
height: 16,
|
|
187
|
+
}}
|
|
188
|
+
/>
|
|
171
189
|
<MText
|
|
172
190
|
style={{ color: '#333333', marginLeft: 8, fontSize: 12 }}
|
|
173
191
|
>
|
|
@@ -182,7 +200,13 @@ export const NationalID = observer(function NationalID(props: any) {
|
|
|
182
200
|
alignItems: 'center',
|
|
183
201
|
}}
|
|
184
202
|
>
|
|
185
|
-
<
|
|
203
|
+
<Image
|
|
204
|
+
source={require('./glink_logo.png')}
|
|
205
|
+
style={{
|
|
206
|
+
width: 16,
|
|
207
|
+
height: 16,
|
|
208
|
+
}}
|
|
209
|
+
/>
|
|
186
210
|
<MText
|
|
187
211
|
style={{ color: '#333333', marginLeft: 8, fontSize: 12 }}
|
|
188
212
|
>
|
|
@@ -102,7 +102,13 @@ export const NationalIDBack = observer(function NationalIDBack(props: any) {
|
|
|
102
102
|
marginTop: 16,
|
|
103
103
|
}}
|
|
104
104
|
>
|
|
105
|
-
<
|
|
105
|
+
<Image
|
|
106
|
+
source={require('../../assets/img/glink_logo_White.png')}
|
|
107
|
+
style={{
|
|
108
|
+
width: 24,
|
|
109
|
+
height: 24,
|
|
110
|
+
}}
|
|
111
|
+
/>
|
|
106
112
|
<MText
|
|
107
113
|
style={[
|
|
108
114
|
commonStyles.textNormalBold,
|
|
@@ -139,7 +145,13 @@ export const NationalIDBack = observer(function NationalIDBack(props: any) {
|
|
|
139
145
|
alignItems: 'center',
|
|
140
146
|
}}
|
|
141
147
|
>
|
|
142
|
-
<
|
|
148
|
+
<Image
|
|
149
|
+
source={require('../nationalID/glink_logo.png')}
|
|
150
|
+
style={{
|
|
151
|
+
width: 16,
|
|
152
|
+
height: 16,
|
|
153
|
+
}}
|
|
154
|
+
/>
|
|
143
155
|
<MText
|
|
144
156
|
style={{ color: '#333333', marginLeft: 8, fontSize: 12 }}
|
|
145
157
|
>
|
|
@@ -147,7 +159,13 @@ export const NationalIDBack = observer(function NationalIDBack(props: any) {
|
|
|
147
159
|
</MText>
|
|
148
160
|
</View>
|
|
149
161
|
<View style={{ flexDirection: 'row', marginTop: 8 }}>
|
|
150
|
-
<
|
|
162
|
+
<Image
|
|
163
|
+
source={require('../nationalID/glink_logo.png')}
|
|
164
|
+
style={{
|
|
165
|
+
width: 16,
|
|
166
|
+
height: 16,
|
|
167
|
+
}}
|
|
168
|
+
/>
|
|
151
169
|
<MText
|
|
152
170
|
style={{ color: '#333333', marginLeft: 8, fontSize: 12 }}
|
|
153
171
|
>
|
|
@@ -162,7 +180,13 @@ export const NationalIDBack = observer(function NationalIDBack(props: any) {
|
|
|
162
180
|
alignItems: 'center',
|
|
163
181
|
}}
|
|
164
182
|
>
|
|
165
|
-
<
|
|
183
|
+
<Image
|
|
184
|
+
source={require('../nationalID/glink_logo.png')}
|
|
185
|
+
style={{
|
|
186
|
+
width: 16,
|
|
187
|
+
height: 16,
|
|
188
|
+
}}
|
|
189
|
+
/>
|
|
166
190
|
<MText
|
|
167
191
|
style={{ color: '#333333', marginLeft: 8, fontSize: 12 }}
|
|
168
192
|
>
|
|
@@ -179,7 +179,13 @@ export const Register = observer(function Register() {
|
|
|
179
179
|
<SafeAreaView style={{ flex: 1 }}>
|
|
180
180
|
<ScrollView style={{ flex: 1 }}>
|
|
181
181
|
<View style={{ alignItems: 'center', marginTop: 40 }}>
|
|
182
|
-
<
|
|
182
|
+
<Image
|
|
183
|
+
source={require('../../assets/img/glink_logo_Primary.png')}
|
|
184
|
+
style={{
|
|
185
|
+
width: 140,
|
|
186
|
+
height: 140,
|
|
187
|
+
}}
|
|
188
|
+
/>
|
|
183
189
|
</View>
|
|
184
190
|
<View style={{ marginTop: 50 }}>
|
|
185
191
|
<Formik
|
|
@@ -327,7 +333,7 @@ export const Register = observer(function Register() {
|
|
|
327
333
|
fontWeight: '400',
|
|
328
334
|
}}
|
|
329
335
|
>
|
|
330
|
-
của
|
|
336
|
+
của Glink
|
|
331
337
|
</MText>
|
|
332
338
|
</MButton>
|
|
333
339
|
</View>
|
|
@@ -127,7 +127,7 @@ export const SchedulePayment = observer(function SchedulePayment(props: any) {
|
|
|
127
127
|
>
|
|
128
128
|
<View style={{ flex: 1, paddingRight: 15 }}>
|
|
129
129
|
<MText style={commonStyles.textNormal}>
|
|
130
|
-
Nghĩa vụ phải trả
|
|
130
|
+
Nghĩa vụ phải trả Glink
|
|
131
131
|
</MText>
|
|
132
132
|
</View>
|
|
133
133
|
<MText style={commonStyles.textNormal}>
|