react-native-timacare 3.3.19 → 3.3.20
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/components/keyboardspace/index.js +1 -1
- package/lib/commonjs/components/keyboardspace/index.js.flow +0 -2
- package/lib/commonjs/components/keyboardspace/index.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/DetailLoanTima.js +1 -1
- package/lib/commonjs/screens/detail-loan/DetailLoanTima.js.flow +29 -4
- package/lib/commonjs/screens/detail-loan/DetailLoanTima.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/Info.js +1 -1
- package/lib/commonjs/screens/detail-loan/Info.js.flow +16 -8
- 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 +19 -7
- 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 +49 -9
- package/lib/commonjs/screens/detail-loan/PaymentAll.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/PaymentInfo.js +1 -1
- package/lib/commonjs/screens/detail-loan/PaymentInfo.js.flow +735 -85
- package/lib/commonjs/screens/detail-loan/PaymentInfo.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/ShowQrCode.js +1 -1
- package/lib/commonjs/screens/detail-loan/ShowQrCode.js.flow +372 -68
- package/lib/commonjs/screens/detail-loan/ShowQrCode.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/index.js +1 -1
- package/lib/commonjs/screens/detail-loan/index.js.flow +37 -33
- package/lib/commonjs/screens/detail-loan/index.js.map +1 -1
- package/lib/commonjs/screens/guide-transfer-bank/TransferDetail.js +1 -1
- package/lib/commonjs/screens/guide-transfer-bank/TransferDetail.js.flow +41 -12
- package/lib/commonjs/screens/guide-transfer-bank/TransferDetail.js.map +1 -1
- package/lib/commonjs/screens/guide-transfer-bank/index.js +1 -1
- package/lib/commonjs/screens/guide-transfer-bank/index.js.flow +228 -237
- package/lib/commonjs/screens/guide-transfer-bank/index.js.map +1 -1
- package/lib/commonjs/screens/home/Store.js +1 -1
- package/lib/commonjs/screens/home/Store.js.flow +4 -1
- package/lib/commonjs/screens/home/Store.js.map +1 -1
- package/lib/commonjs/screens/home/index.js +1 -1
- package/lib/commonjs/screens/home/index.js.flow +15 -30
- package/lib/commonjs/screens/home/index.js.map +1 -1
- package/lib/commonjs/screens/liveness-v2/index.js +1 -1
- package/lib/commonjs/screens/liveness-v2/index.js.flow +4 -4
- package/lib/commonjs/screens/liveness-v2/index.js.map +1 -1
- package/lib/commonjs/services/api/api.js +1 -1
- package/lib/commonjs/services/api/api.js.flow +16 -0
- package/lib/commonjs/services/api/api.js.map +1 -1
- package/lib/module/components/keyboardspace/index.js +1 -1
- package/lib/module/components/keyboardspace/index.js.map +1 -1
- package/lib/module/screens/detail-loan/DetailLoanTima.js +1 -1
- package/lib/module/screens/detail-loan/DetailLoanTima.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/detail-loan/PaymentInfo.js +1 -1
- package/lib/module/screens/detail-loan/PaymentInfo.js.map +1 -1
- package/lib/module/screens/detail-loan/ShowQrCode.js +1 -1
- package/lib/module/screens/detail-loan/ShowQrCode.js.map +1 -1
- package/lib/module/screens/detail-loan/index.js +1 -1
- package/lib/module/screens/detail-loan/index.js.map +1 -1
- package/lib/module/screens/guide-transfer-bank/TransferDetail.js +1 -1
- package/lib/module/screens/guide-transfer-bank/TransferDetail.js.map +1 -1
- package/lib/module/screens/guide-transfer-bank/index.js +1 -1
- package/lib/module/screens/guide-transfer-bank/index.js.map +1 -1
- package/lib/module/screens/home/Store.js +1 -1
- package/lib/module/screens/home/Store.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/module/screens/liveness-v2/index.js +1 -1
- package/lib/module/screens/liveness-v2/index.js.map +1 -1
- package/lib/module/services/api/api.js +1 -1
- package/lib/module/services/api/api.js.map +1 -1
- package/lib/typescript/components/keyboardspace/index.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan/DetailLoanTima.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan/Info.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan/Payment.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan/PaymentAll.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan/PaymentInfo.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan/ShowQrCode.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan/index.d.ts.map +1 -1
- package/lib/typescript/screens/guide-transfer-bank/TransferDetail.d.ts.map +1 -1
- package/lib/typescript/screens/guide-transfer-bank/index.d.ts.map +1 -1
- package/lib/typescript/screens/home/Store.d.ts.map +1 -1
- package/lib/typescript/screens/home/index.d.ts.map +1 -1
- package/lib/typescript/services/api/api.d.ts +16 -0
- package/lib/typescript/services/api/api.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/components/keyboardspace/index.tsx +0 -2
- package/src/screens/detail-loan/DetailLoanTima.tsx +29 -4
- package/src/screens/detail-loan/Info.tsx +16 -8
- package/src/screens/detail-loan/Payment.tsx +19 -7
- package/src/screens/detail-loan/PaymentAll.tsx +49 -9
- package/src/screens/detail-loan/PaymentInfo.tsx +735 -85
- package/src/screens/detail-loan/ShowQrCode.tsx +372 -68
- package/src/screens/detail-loan/index.tsx +37 -33
- package/src/screens/guide-transfer-bank/TransferDetail.tsx +41 -12
- package/src/screens/guide-transfer-bank/index.tsx +228 -237
- package/src/screens/home/Store.tsx +4 -1
- package/src/screens/home/index.tsx +15 -30
- package/src/screens/liveness-v2/index.tsx +4 -4
- package/src/services/api/api.ts +16 -0
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
2
|
import { useNavigation } from '@react-navigation/native';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
Image,
|
|
6
|
+
SafeAreaView,
|
|
7
|
+
ScrollView,
|
|
8
|
+
TouchableOpacity,
|
|
9
|
+
View,
|
|
10
|
+
ViewStyle,
|
|
11
|
+
} from 'react-native';
|
|
5
12
|
import { CIMBBank, IconBack } from '../../assets/icons';
|
|
6
13
|
import MButton from '../../components/MButton';
|
|
7
14
|
import { MText } from '../../components/MText';
|
|
@@ -9,6 +16,18 @@ import { color } from '../../theme';
|
|
|
9
16
|
import { commonStyles } from '../CommonStyles';
|
|
10
17
|
import MHeader from '../../components/MHeader';
|
|
11
18
|
|
|
19
|
+
const $backButton: ViewStyle = {
|
|
20
|
+
position: 'absolute',
|
|
21
|
+
left: 16,
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
const $header: ViewStyle = {
|
|
25
|
+
flexDirection: 'row',
|
|
26
|
+
alignItems: 'center',
|
|
27
|
+
paddingVertical: 16,
|
|
28
|
+
justifyContent: 'center',
|
|
29
|
+
};
|
|
30
|
+
|
|
12
31
|
export default function TransferDetail(props: any) {
|
|
13
32
|
const navigation = useNavigation();
|
|
14
33
|
|
|
@@ -126,17 +145,27 @@ export default function TransferDetail(props: any) {
|
|
|
126
145
|
};
|
|
127
146
|
return (
|
|
128
147
|
<View style={{ flex: 1, backgroundColor: '#FFFFFF' }}>
|
|
129
|
-
<MHeader
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
148
|
+
<MHeader title={'Vay trực tuyến 24/7'} />
|
|
149
|
+
<View style={{ flex: 1 }}>
|
|
150
|
+
<View style={$header}>
|
|
151
|
+
<TouchableOpacity
|
|
152
|
+
style={$backButton}
|
|
153
|
+
onPress={() => navigation.goBack()}
|
|
154
|
+
>
|
|
155
|
+
<IconBack />
|
|
156
|
+
</TouchableOpacity>
|
|
157
|
+
<MText
|
|
158
|
+
style={{
|
|
159
|
+
fontSize: 16,
|
|
160
|
+
fontWeight: '600',
|
|
161
|
+
fontFamily: 'BeVietnamPro-SemiBold',
|
|
162
|
+
}}
|
|
163
|
+
>
|
|
164
|
+
{`BƯỚC ${props.route.params.step}`}
|
|
165
|
+
</MText>
|
|
166
|
+
</View>
|
|
167
|
+
<ScrollView>{renderStep(props.route.params.step)}</ScrollView>
|
|
168
|
+
</View>
|
|
140
169
|
</View>
|
|
141
170
|
);
|
|
142
171
|
}
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
StyleSheet,
|
|
9
9
|
TouchableOpacity,
|
|
10
10
|
View,
|
|
11
|
+
ViewStyle,
|
|
11
12
|
} from 'react-native';
|
|
12
13
|
import {
|
|
13
14
|
CIMBBank,
|
|
@@ -26,6 +27,18 @@ import { color } from '../../theme';
|
|
|
26
27
|
import { commonStyles } from '../CommonStyles';
|
|
27
28
|
import MHeader from '../../components/MHeader';
|
|
28
29
|
|
|
30
|
+
const $backButton: ViewStyle = {
|
|
31
|
+
position: 'absolute',
|
|
32
|
+
left: 16,
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const $header: ViewStyle = {
|
|
36
|
+
flexDirection: 'row',
|
|
37
|
+
alignItems: 'center',
|
|
38
|
+
paddingVertical: 16,
|
|
39
|
+
justifyContent: 'center',
|
|
40
|
+
};
|
|
41
|
+
|
|
29
42
|
export const GuideTransferBank = observer(function GuideTransferBank() {
|
|
30
43
|
const navigation = useNavigation();
|
|
31
44
|
const goDetail = (step) => {
|
|
@@ -34,279 +47,257 @@ export const GuideTransferBank = observer(function GuideTransferBank() {
|
|
|
34
47
|
);
|
|
35
48
|
};
|
|
36
49
|
return (
|
|
37
|
-
<View style={{ flex: 1, backgroundColor: '#
|
|
38
|
-
<MHeader
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
<View style={{ flex: 1, backgroundColor: '#F4F4F4' }}>
|
|
51
|
+
<MHeader title="Vay trực tuyến 24/7" />
|
|
52
|
+
<View style={{ flex: 1 }}>
|
|
53
|
+
<View style={$header}>
|
|
54
|
+
<TouchableOpacity
|
|
55
|
+
style={$backButton}
|
|
56
|
+
onPress={() => navigation.goBack()}
|
|
57
|
+
>
|
|
58
|
+
<IconBack />
|
|
59
|
+
</TouchableOpacity>
|
|
60
|
+
<MText
|
|
61
|
+
style={{
|
|
62
|
+
fontSize: 16,
|
|
63
|
+
fontWeight: '600',
|
|
64
|
+
fontFamily: 'BeVietnamPro-SemiBold',
|
|
65
|
+
}}
|
|
66
|
+
>
|
|
67
|
+
Hướng dẫn chuyển tiền
|
|
68
|
+
</MText>
|
|
69
|
+
</View>
|
|
70
|
+
|
|
71
|
+
<ScrollView>
|
|
72
|
+
<View
|
|
73
|
+
style={[styles.box, { flexDirection: 'row', alignItems: 'center' }]}
|
|
74
|
+
>
|
|
75
|
+
<Step1Icon />
|
|
76
|
+
<View style={{ flex: 1, paddingLeft: 16 }}>
|
|
77
|
+
<MText
|
|
78
|
+
style={[
|
|
79
|
+
commonStyles.textNormalBold,
|
|
80
|
+
{ fonSize: 16, color: color.primary },
|
|
81
|
+
]}
|
|
82
|
+
>
|
|
83
|
+
BƯỚC 1:
|
|
84
|
+
</MText>
|
|
85
|
+
<MText style={[commonStyles.textNormal, { marginTop: 4 }]}>
|
|
86
|
+
Chọn mục{' '}
|
|
87
|
+
<MText style={commonStyles.textNormalBold}>“Chuyển tiền”</MText>{' '}
|
|
88
|
+
ở ngân hàng của bạn
|
|
89
|
+
</MText>
|
|
90
|
+
<TouchableOpacity
|
|
91
|
+
style={{ marginTop: 4 }}
|
|
92
|
+
onPress={() => goDetail(1)}
|
|
93
|
+
>
|
|
55
94
|
<MText
|
|
56
95
|
style={[
|
|
57
|
-
commonStyles.
|
|
58
|
-
{
|
|
96
|
+
commonStyles.textNormal,
|
|
97
|
+
{
|
|
98
|
+
fontSize: 12,
|
|
99
|
+
color: '#828282',
|
|
100
|
+
textDecorationLine: 'underline',
|
|
101
|
+
},
|
|
59
102
|
]}
|
|
60
103
|
>
|
|
61
|
-
|
|
62
|
-
</MText>
|
|
63
|
-
<MText style={[commonStyles.textNormal, { marginTop: 4 }]}>
|
|
64
|
-
Chọn mục{' '}
|
|
65
|
-
<MText style={commonStyles.textNormalBold}>
|
|
66
|
-
“Chuyển tiền”
|
|
67
|
-
</MText>{' '}
|
|
68
|
-
ở ngân hàng của bạn
|
|
104
|
+
Xem ảnh minh hoạ
|
|
69
105
|
</MText>
|
|
70
|
-
|
|
71
|
-
style={{ marginTop: 4 }}
|
|
72
|
-
onPress={() => goDetail(1)}
|
|
73
|
-
>
|
|
74
|
-
<MText
|
|
75
|
-
style={[
|
|
76
|
-
commonStyles.textNormal,
|
|
77
|
-
{
|
|
78
|
-
fontSize: 12,
|
|
79
|
-
color: '#828282',
|
|
80
|
-
textDecorationLine: 'underline',
|
|
81
|
-
},
|
|
82
|
-
]}
|
|
83
|
-
>
|
|
84
|
-
Xem ảnh minh hoạ
|
|
85
|
-
</MText>
|
|
86
|
-
</TouchableOpacity>
|
|
87
|
-
</View>
|
|
106
|
+
</TouchableOpacity>
|
|
88
107
|
</View>
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
>
|
|
95
|
-
<
|
|
96
|
-
|
|
108
|
+
</View>
|
|
109
|
+
<View
|
|
110
|
+
style={[styles.box, { flexDirection: 'row', alignItems: 'center' }]}
|
|
111
|
+
>
|
|
112
|
+
<Step2Icon />
|
|
113
|
+
<View style={{ flex: 1, paddingLeft: 16 }}>
|
|
114
|
+
<MText
|
|
115
|
+
style={[
|
|
116
|
+
commonStyles.textNormalBold,
|
|
117
|
+
{ fonSize: 16, color: color.primary },
|
|
118
|
+
]}
|
|
119
|
+
>
|
|
120
|
+
BƯỚC 2:
|
|
121
|
+
</MText>
|
|
122
|
+
<MText style={[commonStyles.textNormal, { marginTop: 4 }]}>
|
|
123
|
+
Chọn ngân hàng nhận{' '}
|
|
124
|
+
<MText style={commonStyles.textNormalBold}>Techcombank</MText>
|
|
125
|
+
</MText>
|
|
126
|
+
<TouchableOpacity
|
|
127
|
+
style={{ marginTop: 4 }}
|
|
128
|
+
onPress={() => goDetail(2)}
|
|
129
|
+
>
|
|
97
130
|
<MText
|
|
98
131
|
style={[
|
|
99
|
-
commonStyles.
|
|
100
|
-
{
|
|
132
|
+
commonStyles.textNormal,
|
|
133
|
+
{
|
|
134
|
+
fontSize: 12,
|
|
135
|
+
color: '#828282',
|
|
136
|
+
textDecorationLine: 'underline',
|
|
137
|
+
},
|
|
101
138
|
]}
|
|
102
139
|
>
|
|
103
|
-
|
|
104
|
-
</MText>
|
|
105
|
-
<MText style={[commonStyles.textNormal, { marginTop: 4 }]}>
|
|
106
|
-
Chọn ngân hàng nhận{' '}
|
|
107
|
-
<MText style={commonStyles.textNormalBold}>Techcombank</MText>
|
|
140
|
+
Xem ảnh minh hoạ
|
|
108
141
|
</MText>
|
|
109
|
-
|
|
110
|
-
style={{ marginTop: 4 }}
|
|
111
|
-
onPress={() => goDetail(2)}
|
|
112
|
-
>
|
|
113
|
-
<MText
|
|
114
|
-
style={[
|
|
115
|
-
commonStyles.textNormal,
|
|
116
|
-
{
|
|
117
|
-
fontSize: 12,
|
|
118
|
-
color: '#828282',
|
|
119
|
-
textDecorationLine: 'underline',
|
|
120
|
-
},
|
|
121
|
-
]}
|
|
122
|
-
>
|
|
123
|
-
Xem ảnh minh hoạ
|
|
124
|
-
</MText>
|
|
125
|
-
</TouchableOpacity>
|
|
126
|
-
</View>
|
|
142
|
+
</TouchableOpacity>
|
|
127
143
|
</View>
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
>
|
|
134
|
-
<
|
|
135
|
-
|
|
144
|
+
</View>
|
|
145
|
+
<View
|
|
146
|
+
style={[styles.box, { flexDirection: 'row', alignItems: 'center' }]}
|
|
147
|
+
>
|
|
148
|
+
<Step3Icon />
|
|
149
|
+
<View style={{ flex: 1, paddingLeft: 16 }}>
|
|
150
|
+
<MText
|
|
151
|
+
style={[
|
|
152
|
+
commonStyles.textNormalBold,
|
|
153
|
+
{ fonSize: 16, color: color.primary },
|
|
154
|
+
]}
|
|
155
|
+
>
|
|
156
|
+
BƯỚC 3:
|
|
157
|
+
</MText>
|
|
158
|
+
<MText style={[commonStyles.textNormal, { marginTop: 4 }]}>
|
|
159
|
+
Ưu tiên chọn{' '}
|
|
160
|
+
<MText style={commonStyles.textNormalBold}>
|
|
161
|
+
“Chuyển tiền nhanh”
|
|
162
|
+
</MText>
|
|
163
|
+
</MText>
|
|
164
|
+
<MText style={{ fontSize: 12, color: '#FF7A00', marginTop: 8 }}>
|
|
165
|
+
Lưu ý:{' '}
|
|
166
|
+
<MText style={{ fontSize: 12, color: '#828282' }}>
|
|
167
|
+
Nếu khách hàng chọn Chuyển tiền thường, số tiền thanh toán kỳ
|
|
168
|
+
có thể bị chuyển chậm 01 ngày.
|
|
169
|
+
</MText>
|
|
170
|
+
</MText>
|
|
171
|
+
<TouchableOpacity
|
|
172
|
+
style={{ marginTop: 8 }}
|
|
173
|
+
onPress={() => goDetail(3)}
|
|
174
|
+
>
|
|
136
175
|
<MText
|
|
137
176
|
style={[
|
|
138
|
-
commonStyles.
|
|
139
|
-
{
|
|
177
|
+
commonStyles.textNormal,
|
|
178
|
+
{
|
|
179
|
+
fontSize: 12,
|
|
180
|
+
color: '#828282',
|
|
181
|
+
textDecorationLine: 'underline',
|
|
182
|
+
},
|
|
140
183
|
]}
|
|
141
184
|
>
|
|
142
|
-
|
|
185
|
+
Xem ảnh minh hoạ
|
|
143
186
|
</MText>
|
|
144
|
-
|
|
145
|
-
Ưu tiên chọn{' '}
|
|
146
|
-
<MText style={commonStyles.textNormalBold}>
|
|
147
|
-
“Chuyển tiền nhanh”
|
|
148
|
-
</MText>
|
|
149
|
-
</MText>
|
|
150
|
-
<MText style={{ fontSize: 12, color: '#FF7A00', marginTop: 8 }}>
|
|
151
|
-
Lưu ý:{' '}
|
|
152
|
-
<MText style={{ fontSize: 12, color: '#828282' }}>
|
|
153
|
-
Nếu khách hàng chọn Chuyển tiền thường, số tiền thanh toán
|
|
154
|
-
kỳ có thể bị chuyển chậm 01 ngày.
|
|
155
|
-
</MText>
|
|
156
|
-
</MText>
|
|
157
|
-
<TouchableOpacity
|
|
158
|
-
style={{ marginTop: 8 }}
|
|
159
|
-
onPress={() => goDetail(3)}
|
|
160
|
-
>
|
|
161
|
-
<MText
|
|
162
|
-
style={[
|
|
163
|
-
commonStyles.textNormal,
|
|
164
|
-
{
|
|
165
|
-
fontSize: 12,
|
|
166
|
-
color: '#828282',
|
|
167
|
-
textDecorationLine: 'underline',
|
|
168
|
-
},
|
|
169
|
-
]}
|
|
170
|
-
>
|
|
171
|
-
Xem ảnh minh hoạ
|
|
172
|
-
</MText>
|
|
173
|
-
</TouchableOpacity>
|
|
174
|
-
</View>
|
|
187
|
+
</TouchableOpacity>
|
|
175
188
|
</View>
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
>
|
|
182
|
-
<
|
|
183
|
-
|
|
189
|
+
</View>
|
|
190
|
+
<View
|
|
191
|
+
style={[styles.box, { flexDirection: 'row', alignItems: 'center' }]}
|
|
192
|
+
>
|
|
193
|
+
<Step4Icon />
|
|
194
|
+
<View style={{ flex: 1, paddingLeft: 16 }}>
|
|
195
|
+
<MText
|
|
196
|
+
style={[
|
|
197
|
+
commonStyles.textNormalBold,
|
|
198
|
+
{ fonSize: 16, color: color.primary },
|
|
199
|
+
]}
|
|
200
|
+
>
|
|
201
|
+
BƯỚC 4:
|
|
202
|
+
</MText>
|
|
203
|
+
<MText style={[commonStyles.textNormal, { marginTop: 4 }]}>
|
|
204
|
+
<MText style={commonStyles.textNormalBold}>
|
|
205
|
+
Nhập/ Dán số tài khoản
|
|
206
|
+
</MText>{' '}
|
|
207
|
+
từ Tima
|
|
208
|
+
</MText>
|
|
209
|
+
<TouchableOpacity
|
|
210
|
+
style={{ marginTop: 4 }}
|
|
211
|
+
onPress={() => goDetail(4)}
|
|
212
|
+
>
|
|
184
213
|
<MText
|
|
185
214
|
style={[
|
|
186
|
-
commonStyles.
|
|
187
|
-
{
|
|
215
|
+
commonStyles.textNormal,
|
|
216
|
+
{
|
|
217
|
+
fontSize: 12,
|
|
218
|
+
color: '#828282',
|
|
219
|
+
textDecorationLine: 'underline',
|
|
220
|
+
},
|
|
188
221
|
]}
|
|
189
222
|
>
|
|
190
|
-
|
|
223
|
+
Xem ảnh minh hoạ
|
|
191
224
|
</MText>
|
|
192
|
-
|
|
193
|
-
<MText style={commonStyles.textNormalBold}>
|
|
194
|
-
Nhập/ Dán số tài khoản
|
|
195
|
-
</MText>{' '}
|
|
196
|
-
từ Tima
|
|
197
|
-
</MText>
|
|
198
|
-
<TouchableOpacity
|
|
199
|
-
style={{ marginTop: 4 }}
|
|
200
|
-
onPress={() => goDetail(4)}
|
|
201
|
-
>
|
|
202
|
-
<MText
|
|
203
|
-
style={[
|
|
204
|
-
commonStyles.textNormal,
|
|
205
|
-
{
|
|
206
|
-
fontSize: 12,
|
|
207
|
-
color: '#828282',
|
|
208
|
-
textDecorationLine: 'underline',
|
|
209
|
-
},
|
|
210
|
-
]}
|
|
211
|
-
>
|
|
212
|
-
Xem ảnh minh hoạ
|
|
213
|
-
</MText>
|
|
214
|
-
</TouchableOpacity>
|
|
215
|
-
</View>
|
|
225
|
+
</TouchableOpacity>
|
|
216
226
|
</View>
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
>
|
|
223
|
-
<
|
|
224
|
-
|
|
227
|
+
</View>
|
|
228
|
+
<View
|
|
229
|
+
style={[styles.box, { flexDirection: 'row', alignItems: 'center' }]}
|
|
230
|
+
>
|
|
231
|
+
<Step5Icon />
|
|
232
|
+
<View style={{ flex: 1, paddingLeft: 16 }}>
|
|
233
|
+
<MText
|
|
234
|
+
style={[
|
|
235
|
+
commonStyles.textNormalBold,
|
|
236
|
+
{ fonSize: 16, color: color.primary },
|
|
237
|
+
]}
|
|
238
|
+
>
|
|
239
|
+
BƯỚC 5:
|
|
240
|
+
</MText>
|
|
241
|
+
<MText style={[commonStyles.textNormal, { marginTop: 4 }]}>
|
|
242
|
+
<MText style={commonStyles.textNormalBold}>Nhập số tiền </MText>
|
|
243
|
+
phải trả
|
|
244
|
+
</MText>
|
|
245
|
+
<TouchableOpacity
|
|
246
|
+
style={{ marginTop: 4 }}
|
|
247
|
+
onPress={() => goDetail(5)}
|
|
248
|
+
>
|
|
225
249
|
<MText
|
|
226
250
|
style={[
|
|
227
|
-
commonStyles.
|
|
228
|
-
{
|
|
251
|
+
commonStyles.textNormal,
|
|
252
|
+
{
|
|
253
|
+
fontSize: 12,
|
|
254
|
+
color: '#828282',
|
|
255
|
+
textDecorationLine: 'underline',
|
|
256
|
+
},
|
|
229
257
|
]}
|
|
230
258
|
>
|
|
231
|
-
|
|
259
|
+
Xem ảnh minh hoạ
|
|
232
260
|
</MText>
|
|
233
|
-
|
|
234
|
-
<MText style={commonStyles.textNormalBold}>
|
|
235
|
-
Nhập số tiền{' '}
|
|
236
|
-
</MText>
|
|
237
|
-
phải trả
|
|
238
|
-
</MText>
|
|
239
|
-
<TouchableOpacity
|
|
240
|
-
style={{ marginTop: 4 }}
|
|
241
|
-
onPress={() => goDetail(5)}
|
|
242
|
-
>
|
|
243
|
-
<MText
|
|
244
|
-
style={[
|
|
245
|
-
commonStyles.textNormal,
|
|
246
|
-
{
|
|
247
|
-
fontSize: 12,
|
|
248
|
-
color: '#828282',
|
|
249
|
-
textDecorationLine: 'underline',
|
|
250
|
-
},
|
|
251
|
-
]}
|
|
252
|
-
>
|
|
253
|
-
Xem ảnh minh hoạ
|
|
254
|
-
</MText>
|
|
255
|
-
</TouchableOpacity>
|
|
256
|
-
</View>
|
|
261
|
+
</TouchableOpacity>
|
|
257
262
|
</View>
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
>
|
|
264
|
-
<
|
|
265
|
-
|
|
263
|
+
</View>
|
|
264
|
+
<View
|
|
265
|
+
style={[styles.box, { flexDirection: 'row', alignItems: 'center' }]}
|
|
266
|
+
>
|
|
267
|
+
<Step6Icon />
|
|
268
|
+
<View style={{ flex: 1, paddingLeft: 16 }}>
|
|
269
|
+
<MText
|
|
270
|
+
style={[
|
|
271
|
+
commonStyles.textNormalBold,
|
|
272
|
+
{ fonSize: 16, color: color.primary },
|
|
273
|
+
]}
|
|
274
|
+
>
|
|
275
|
+
BƯỚC 6:
|
|
276
|
+
</MText>
|
|
277
|
+
<MText style={[commonStyles.textNormal, { marginTop: 4 }]}>
|
|
278
|
+
Xác nhận thanh toán
|
|
279
|
+
</MText>
|
|
280
|
+
<TouchableOpacity
|
|
281
|
+
style={{ marginTop: 4 }}
|
|
282
|
+
onPress={() => goDetail(6)}
|
|
283
|
+
>
|
|
266
284
|
<MText
|
|
267
285
|
style={[
|
|
268
|
-
commonStyles.
|
|
269
|
-
{
|
|
286
|
+
commonStyles.textNormal,
|
|
287
|
+
{
|
|
288
|
+
fontSize: 12,
|
|
289
|
+
color: '#828282',
|
|
290
|
+
textDecorationLine: 'underline',
|
|
291
|
+
},
|
|
270
292
|
]}
|
|
271
293
|
>
|
|
272
|
-
|
|
273
|
-
</MText>
|
|
274
|
-
<MText style={[commonStyles.textNormal, { marginTop: 4 }]}>
|
|
275
|
-
Xác nhận thanh toán
|
|
294
|
+
Xem ảnh minh hoạ
|
|
276
295
|
</MText>
|
|
277
|
-
|
|
278
|
-
style={{ marginTop: 4 }}
|
|
279
|
-
onPress={() => goDetail(6)}
|
|
280
|
-
>
|
|
281
|
-
<MText
|
|
282
|
-
style={[
|
|
283
|
-
commonStyles.textNormal,
|
|
284
|
-
{
|
|
285
|
-
fontSize: 12,
|
|
286
|
-
color: '#828282',
|
|
287
|
-
textDecorationLine: 'underline',
|
|
288
|
-
},
|
|
289
|
-
]}
|
|
290
|
-
>
|
|
291
|
-
Xem ảnh minh hoạ
|
|
292
|
-
</MText>
|
|
293
|
-
</TouchableOpacity>
|
|
294
|
-
</View>
|
|
296
|
+
</TouchableOpacity>
|
|
295
297
|
</View>
|
|
296
|
-
</
|
|
297
|
-
</
|
|
298
|
-
|
|
299
|
-
style={{
|
|
300
|
-
marginTop: 8,
|
|
301
|
-
flexDirection: "row",
|
|
302
|
-
justifyContent: "center",
|
|
303
|
-
marginBottom: 16,
|
|
304
|
-
}}
|
|
305
|
-
>
|
|
306
|
-
<MText style={{ fontSize: 12, color: "#333333" }}>Cung cấp bởi </MText>
|
|
307
|
-
<CIMBBank />
|
|
308
|
-
</View> */}
|
|
309
|
-
</SafeAreaView>
|
|
298
|
+
</View>
|
|
299
|
+
</ScrollView>
|
|
300
|
+
</View>
|
|
310
301
|
</View>
|
|
311
302
|
);
|
|
312
303
|
});
|
|
@@ -134,6 +134,7 @@ class Store {
|
|
|
134
134
|
@action
|
|
135
135
|
async getListLoan(onSuccess?, onFailure?) {
|
|
136
136
|
this.isLoading = true;
|
|
137
|
+
this.listLoan = [];
|
|
137
138
|
const response = await Api.getInstance().listLoan();
|
|
138
139
|
this.isLoading = false;
|
|
139
140
|
myLog(response);
|
|
@@ -143,12 +144,14 @@ class Store {
|
|
|
143
144
|
if (onSuccess) {
|
|
144
145
|
onSuccess(response.data.data);
|
|
145
146
|
}
|
|
146
|
-
} else
|
|
147
|
+
} else {
|
|
148
|
+
this.listLoan = [];
|
|
147
149
|
Alert.alert('Thông báo', response.data.meta.errorMessage, [
|
|
148
150
|
{ text: 'Đồng ý' },
|
|
149
151
|
]);
|
|
150
152
|
}
|
|
151
153
|
} else {
|
|
154
|
+
this.listLoan = [];
|
|
152
155
|
this.isLoading = false;
|
|
153
156
|
Alert.alert('Thông báo', 'Có lỗi xảy ra. Vui lòng thử lại sau!');
|
|
154
157
|
}
|