Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AppUms_Student
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tungnq
AppUms_Student
Commits
fd8f9fa4
Commit
fd8f9fa4
authored
Oct 02, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TODO: Đã sửa lai giao diện một số componet
parent
5b569b78
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
215 additions
and
169 deletions
+215
-169
DropdownSel.js
src/components/Dropdown/DropdownSel.js
+7
-7
TextFieldCus.js
src/components/Input/TextFieldCus.js
+2
-2
view.js
src/screens/certificate_registration/view.js
+2
-6
view.js
src/screens/medical/view.js
+2
-6
item.js
src/screens/outpatient_information/item.js
+6
-9
modal.js
src/screens/outpatient_information/modal.js
+2
-10
view.js
src/screens/outpatient_information/view.js
+2
-3
view.js
src/screens/profile/view.js
+192
-126
No files found.
src/components/Dropdown/DropdownSel.js
View file @
fd8f9fa4
...
...
@@ -57,12 +57,12 @@ const DropdownSelect = ({
searchable
=
false
,
searchPlaceholder
=
"Search..."
,
titleColor
,
// Màu chữ title
titleFontSize
,
// Kích thước font title
titleFontWeight
,
// Độ đậm font title (normal, bold, 100-900)
titleFontFamily
,
// Font family title
titleFontStyle
,
// Font style title (normal, italic)
titleTextAlign
,
// Text align title (left, center, right)
titleColor
=
"black"
,
// Màu chữ title
titleFontSize
=
12
,
// Kích thước font title
titleFontWeight
=
"400"
,
// Độ đậm font title (normal, bold, 100-900)
titleFontFamily
=
R
.
fonts
.
InterMedium
,
// Font family title
titleFontStyle
=
"normal"
,
// Font style title (normal, italic)
titleTextAlign
=
"left"
,
// Text align title (left, center, right)
titleLineHeight
,
// Line height title
titleLetterSpacing
,
// Letter spacing title
titleTextTransform
,
// Text transform (none, uppercase, lowercase, capitalize)
...
...
@@ -98,7 +98,7 @@ const DropdownSelect = ({
keyExtractor
,
width
,
height
,
height
=
30
,
paddingHorizontal
,
paddingVertical
,
paddingTop
,
...
...
src/components/Input/TextFieldCus.js
View file @
fd8f9fa4
...
...
@@ -68,8 +68,8 @@ const styles = StyleSheet.create({
// UI/UX: Title text
title
:
{
fontSize
:
R
.
fontsize
.
fontsSize12
,
fontFamily
:
R
.
fonts
.
Inter
Regular
,
fontWeight
:
'
4
00'
,
fontFamily
:
R
.
fonts
.
Inter
Medium
,
fontWeight
:
'
6
00'
,
color
:
R
.
colors
.
black
},
...
...
src/screens/certificate_registration/view.js
View file @
fd8f9fa4
...
...
@@ -28,10 +28,6 @@ const CertificateRegistrationView = (props) => {
<
DropdownSelect
title
=
{
"Loại chứng chỉ *"
}
titleFontFamily
=
{
R
.
fonts
.
InterRegular
}
titleFontSize
=
{
R
.
fontsize
.
fontsSize12
}
titleFontWeight
=
{
"400"
}
titleColor
=
{
R
.
colors
.
black
}
data
=
{
dataList
}
placeholder
=
"HS"
placeholderFontFamily
=
{
R
.
fonts
.
InterRegular
}
...
...
@@ -43,7 +39,7 @@ const CertificateRegistrationView = (props) => {
marginHorizontal
=
{
15
}
marginVertical
=
{
5
}
iconColor
=
{
R
.
colors
.
black
}
iconSize
=
{
10
}
iconSize
=
{
5
}
/
>
<
View
style
=
{{
marginHorizontal
:
15
,
}}
>
<
CustomTextInput
...
...
@@ -134,7 +130,7 @@ const CertificateRegistrationView = (props) => {
/
>
<
/View
>
<
Text
style
=
{{
marginHorizontal
:
15
,
color
:
R
.
colors
.
black
}}
>
<
Text
style
=
{{
marginHorizontal
:
15
,
color
:
R
.
colors
.
black
,
fontSize
:
R
.
fontsize
.
fontsSize12
,
fontWeight
:
"600"
,
fontFamily
:
R
.
fonts
.
InterMedium
}}
>
Ả
nh
ch
ứ
ng
ch
ỉ
<
Text
style
=
{{
color
:
"red"
}}
>*<
/Text
>
<
/Text
>
<
CardButtonImage
/>
...
...
src/screens/medical/view.js
View file @
fd8f9fa4
...
...
@@ -32,11 +32,9 @@ const MedicalView = (props) => {
placeholderColor
=
{
R
.
colors
.
grey_800
}
borderRadius
=
{
10
}
height
=
{
30
}
iconSize
=
{
5
}
iconColor
=
{
R
.
colors
.
black
}
titleFontWeight
=
{
"300"
}
fontSize
=
{
R
.
fontsize
.
fontsSize12
}
titleFontSize
=
{
R
.
fontsize
.
fontsSize12
}
titleFontFamily
=
{
R
.
fonts
.
InterRegular
}
/
>
<
CustomTextInput
title
=
{
"Ngày hết hạn BHYT"
}
...
...
@@ -64,9 +62,7 @@ const MedicalView = (props) => {
height
=
{
30
}
iconColor
=
{
R
.
colors
.
black
}
titleFontWeight
=
{
"300"
}
fontSize
=
{
R
.
fontsize
.
fontsSize12
}
titleFontSize
=
{
R
.
fontsize
.
fontsSize12
}
titleFontFamily
=
{
R
.
fonts
.
InterRegular
}
iconSize
=
{
5
}
marginBottom
=
{
50
}
marginHorizontal
=
{
0
}
marginVertical
=
{
0
}
...
...
src/screens/outpatient_information/item.js
View file @
fd8f9fa4
...
...
@@ -38,16 +38,13 @@ const styles = StyleSheet.create({
container
:
{
backgroundColor
:
R
.
colors
.
white
,
borderRadius
:
15
,
marginBottom
:
18
,
padding
:
1
5
,
marginBottom
:
7.5
,
padding
:
1
0
,
shadowColor
:
R
.
colors
.
black
,
shadowOffset
:
{
width
:
0
,
height
:
2
},
shadowOpacity
:
0.5
,
shadowRadius
:
1
,
elevation
:
1
,
shadowOffset
:
{
width
:
0.5
,
height
:
2
},
shadowOpacity
:
Platform
.
OS
===
'ios'
?
0.25
:
1
,
shadowRadius
:
5
,
elevation
:
Platform
.
OS
===
'ios'
?
1
:
2
,
},
text
:
{
...
...
src/screens/outpatient_information/modal.js
View file @
fd8f9fa4
...
...
@@ -130,13 +130,9 @@ const RegistrationModal = ({visible, onClose, onNavigateToOther}) => {
borderRadius
=
{
10
}
height
=
{
30
}
iconColor
=
{
R
.
colors
.
black
}
iconSize
=
{
10
}
iconSize
=
{
5
}
marginHorizontal
=
{
0
}
marginVertical
=
{
0
}
titleFontWeight
=
{
'400'
}
fontSize
=
{
R
.
fontsize
.
fontsSize12
}
titleFontSize
=
{
R
.
fontsize
.
fontsSize12
}
titleFontFamily
=
{
R
.
fonts
.
InterRegular
}
/
>
<
/View
>
<
View
style
=
{{
width
:
'3%'
}}
><
/View
>
...
...
@@ -151,13 +147,9 @@ const RegistrationModal = ({visible, onClose, onNavigateToOther}) => {
borderRadius
=
{
10
}
height
=
{
30
}
iconColor
=
{
R
.
colors
.
black
}
iconSize
=
{
10
}
iconSize
=
{
5
}
marginHorizontal
=
{
0
}
marginVertical
=
{
0
}
titleFontWeight
=
{
'400'
}
fontSize
=
{
R
.
fontsize
.
fontsSize12
}
titleFontSize
=
{
R
.
fontsize
.
fontsSize12
}
titleFontFamily
=
{
R
.
fonts
.
InterRegular
}
/
>
<
/View
>
<
/View
>
...
...
src/screens/outpatient_information/view.js
View file @
fd8f9fa4
...
...
@@ -93,11 +93,10 @@ const styles = StyleSheet.create({
},
scrollableList
:
{
flex
:
1
,
paddingHorizontal
:
15
,
},
flatListContent
:
{
padding
Top
:
10
,
padding
Bottom
:
10
,
padding
Vertical
:
5
,
padding
Horizontal
:
15
},
buttonSection
:
{
paddingHorizontal
:
15
,
...
...
src/screens/profile/view.js
View file @
fd8f9fa4
import
React
from
"react"
;
import
React
from
'react'
;
import
{
Text
,
View
,
TouchableOpacity
,
StyleSheet
,
ScrollView
,
SafeAreaView
,
TextInput
,
}
from
"react-native"
;
import
R
from
"../../assets/R"
;
import
Header
from
"../../components/Header/Header"
;
import
Button
from
"../../components/Button"
;
import
DropdownSelect
from
"../../components/Dropdown/DropdownSel"
;
import
Checkbox
from
"../../components/CheckBox"
;
import
CustomTextInput
from
"../../components/Input/TextFieldCus"
;
const
ProfileView
=
(
props
)
=>
{
const
{
phone
,
setPhone
,
cmnd
,
setCmnd
,
bank
,
setBank
}
=
props
;
}
from
'react-native'
;
import
R
from
'../../assets/R'
;
import
Header
from
'../../components/Header/Header'
;
import
Button
from
'../../components/Button'
;
import
DropdownSelect
from
'../../components/Dropdown/DropdownSel'
;
import
Checkbox
from
'../../components/CheckBox'
;
import
CustomTextInput
from
'../../components/Input/TextFieldCus'
;
const
ProfileView
=
props
=>
{
const
{
phone
,
setPhone
,
cmnd
,
setCmnd
,
bank
,
setBank
}
=
props
;
const
IconCamera
=
R
.
images
.
icCamera
;
return
(
<
View
style
=
{{
flex
:
1
,
backgroundColor
:
R
.
colors
.
white
}}
>
<
Header
title
=
{
"Hồ sơ cá nhân"
}
isBack
/>
<
ScrollView
showsVerticalScrollIndicator
=
{
false
}
style
=
{{
flex
:
1
}}
>
<
View
style
=
{{
flex
:
1
,
backgroundColor
:
R
.
colors
.
white
}}
>
<
Header
title
=
{
'Hồ sơ cá nhân'
}
isBack
/>
<
ScrollView
showsVerticalScrollIndicator
=
{
false
}
style
=
{{
flex
:
1
}}
>
<
View
style
=
{
styles
.
container
}
>
<
View
style
=
{
styles
.
body_header
}
>
<
View
style
=
{
styles
.
container_image
}
>
<
TouchableOpacity
style
=
{
styles
.
images
}
>
<
View
style
=
{{
alignItems
:
"center"
}}
>
<
View
style
=
{{
alignItems
:
'center'
}}
>
<
IconCamera
/>
<
/View
>
<
/TouchableOpacity
>
...
...
@@ -38,19 +36,121 @@ const ProfileView = (props) => {
textColor
=
{
R
.
colors
.
white
}
fontFamily
=
{
R
.
fonts
.
InterRegular
}
fontSize
=
{
R
.
fontsize
.
fontsSize12
}
fontWeight
=
{
"400"
}
fontWeight
=
{
'400'
}
backgroundColor
=
{
R
.
colors
.
main
}
title
=
{
"Chọn ảnh"
}
title
=
{
'Chọn ảnh'
}
/
>
<
/View
>
<
View
style
=
{
styles
.
body_info_user
}
>
<
Text
style
=
{
styles
.
text
}
>
H
ọ
v
à
t
ê
n
:
Nguy
ễ
n
Minh
Duy
<
/Text
>
<
Text
style
=
{
styles
.
text
}
>
Gi
ớ
i
t
í
nh
:
Nam
<
/Text
>
<
Text
style
=
{
styles
.
text
}
>
N
ă
m
sinh
:
23
/
10
/
2003
<
/Text
>
<
Text
style
=
{
styles
.
text
}
>
M
ã
sinh
vi
ê
n
:
PH32251
<
/Text
>
<
Text
style
=
{
styles
.
text
}
>
Khoa
:
Khoa
h
ọ
c
m
á
y
t
í
nh
<
/Text
>
<
Text
style
=
{
styles
.
text
}
>
Chuy
ê
n
ng
à
nh
l
ậ
p
tr
ì
nh
web
<
/Text
>
<
View
style
=
{{
marginTop
:
15
}}
>
<
Text
style
=
{[
styles
.
text
,
{
fontFamily
:
R
.
fonts
.
InterMedium
,
fontWeight
:
'600'
},
]}
>
H
ọ
v
à
t
ê
n
:{
' '
}
<
Text
style
=
{[
styles
.
text_label
,
{
fontFamily
:
R
.
fonts
.
InterMedium
,
fontWeight
:
'600'
,
color
:
R
.
colors
.
black
,
},
]}
>
Nguy
ễ
n
Minh
Duy
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
text
,
{
fontFamily
:
R
.
fonts
.
InterMedium
,
fontWeight
:
'600'
},
]}
>
Gi
ớ
i
t
í
nh
:{
' '
}
<
Text
style
=
{[
styles
.
text_label
,
{
fontFamily
:
R
.
fonts
.
InterMedium
,
fontWeight
:
'600'
,
color
:
R
.
colors
.
black
,
},
]}
>
Nam
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
text
,
{
fontFamily
:
R
.
fonts
.
InterMedium
,
fontWeight
:
'600'
},
]}
>
N
ă
m
sinh
:{
' '
}
<
Text
style
=
{[
styles
.
text_label
,
{
fontFamily
:
R
.
fonts
.
InterMedium
,
fontWeight
:
'600'
,
color
:
R
.
colors
.
black
,
},
]}
>
23
/
10
/
2003
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
text
,
{
fontFamily
:
R
.
fonts
.
InterMedium
,
fontWeight
:
'600'
},
]}
>
M
ã
sinh
vi
ê
n
:{
' '
}
<
Text
style
=
{[
styles
.
text_label
,
{
fontFamily
:
R
.
fonts
.
InterMedium
,
fontWeight
:
'600'
,
color
:
R
.
colors
.
black
,
},
]}
>
PH32251
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
text
,
{
fontFamily
:
R
.
fonts
.
InterMedium
,
fontWeight
:
'600'
},
]}
>
Khoa
:{
' '
}
<
Text
style
=
{[
styles
.
text_label
,
{
fontFamily
:
R
.
fonts
.
InterMedium
,
fontWeight
:
'600'
,
color
:
R
.
colors
.
black
,
},
]}
>
Khoa
h
ọ
c
m
á
y
t
í
nh
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
text
,
{
fontFamily
:
R
.
fonts
.
InterMedium
,
fontWeight
:
'600'
},
]}
>
Chuy
ê
n
ng
à
nh
:{
' '
}
<
Text
style
=
{[
styles
.
text_label
,
{
fontFamily
:
R
.
fonts
.
InterMedium
,
fontWeight
:
'600'
,
color
:
R
.
colors
.
black
,
},
]}
>
L
ậ
p
tr
ì
nh
web
<
/Text
>
<
/Text
>
<
View
style
=
{{
marginTop
:
15
}}
>
<
Text
style
=
{
styles
.
text_label
}
>
Ả
nh
ch
ụ
p
th
ẳ
ng
,
n
ề
n
TR
Ắ
NG
ho
ặ
c
XANH
,
m
ặ
c
á
o
c
ó
c
ổ
;
t
ỷ
l
ệ
4
x6
,
dung
l
ượ
ng
t
ừ
200
đế
n
500
KB
...
...
@@ -59,97 +159,77 @@ const ProfileView = (props) => {
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
body
}
>
<
View
style
=
{{
flexDirection
:
"row"
}}
>
<
View
style
=
{{
flex
:
1
}}
>
<
View
style
=
{{
flexDirection
:
'row'
}}
>
<
View
style
=
{{
flex
:
1
}}
>
<
DropdownSelect
title
=
{
"Dân tộc *"
}
title
=
{
'Dân tộc *'
}
placeholder
=
"Kinh"
placeholderColor
=
{
R
.
colors
.
gray800
}
placeholderFontFamily
=
{
R
.
fonts
.
InterRegular
}
placeholderFontSize
=
{
R
.
fontsize
.
fontsSize10
}
placeholderFontWeight
=
{
"400"
}
placeholderFontWeight
=
{
'400'
}
borderRadius
=
{
10
}
height
=
{
40
}
iconSize
=
{
10
}
iconSize
=
{
5
}
iconColor
=
{
R
.
colors
.
black
}
titleFontWeight
=
{
"400"
}
titleFontSize
=
{
R
.
fontsize
.
fontsSize12
}
fontSize
=
{
R
.
fontsize
.
fontsSize12
}
titleFontFamily
=
{
R
.
fonts
.
InterRegular
}
marginHorizontal
=
{
0
}
marginVertical
=
{
0
}
/
>
<
/View
>
<
View
style
=
{{
width
:
'5%'
}}
><
/View
>
<
View
style
=
{{
flex
:
1
}}
>
<
View
style
=
{{
width
:
'5%'
}}
><
/View
>
<
View
style
=
{{
flex
:
1
}}
>
<
DropdownSelect
title
=
{
"Tôn giáo *"
}
title
=
{
'Tôn giáo *'
}
placeholder
=
"Không"
placeholderColor
=
{
R
.
colors
.
gray800
}
placeholderFontFamily
=
{
R
.
fonts
.
InterRegular
}
placeholderFontSize
=
{
R
.
fontsize
.
fontsSize10
}
placeholderFontWeight
=
{
"400"
}
placeholderFontWeight
=
{
'400'
}
borderRadius
=
{
10
}
height
=
{
40
}
iconSize
=
{
10
}
iconSize
=
{
5
}
iconColor
=
{
R
.
colors
.
black
}
titleFontWeight
=
{
"400"
}
titleFontSize
=
{
R
.
fontsize
.
fontsSize12
}
fontSize
=
{
R
.
fontsize
.
fontsSize12
}
titleFontFamily
=
{
R
.
fonts
.
InterRegular
}
marginHorizontal
=
{
0
}
marginVertical
=
{
0
}
/
>
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
container_body
}
>
<
View
style
=
{{
flex
:
1
}}
>
<
View
style
=
{
styles
.
container_body
}
>
<
View
style
=
{{
flex
:
1
}}
>
<
DropdownSelect
title
=
{
"Thành phần xuất thân *"
}
titleFontWeight
=
{
"400"
}
titleFontSize
=
{
R
.
fontsize
.
fontsSize12
}
titleFontFamily
=
{
R
.
fonts
.
InterRegular
}
title
=
{
'Thành phần xuất thân *'
}
placeholder
=
"Khác"
placeholderColor
=
{
R
.
colors
.
gray800
}
placeholderFontFamily
=
{
R
.
fonts
.
InterRegular
}
placeholderFontSize
=
{
R
.
fontsize
.
fontsSize10
}
placeholderFontWeight
=
{
"400"
}
placeholderFontWeight
=
{
'400'
}
borderRadius
=
{
10
}
height
=
{
40
}
iconSize
=
{
10
}
iconSize
=
{
5
}
iconColor
=
{
R
.
colors
.
black
}
fontSize
=
{
R
.
fontsize
.
fontsSize12
}
marginHorizontal
=
{
0
}
marginVertical
=
{
0
}
/
>
<
/View
>
<
View
style
=
{{
width
:
'5%'
}}
><
/View
>
<
View
style
=
{{
flex
:
1
}}
>
<
View
style
=
{{
width
:
'5%'
}}
><
/View
>
<
View
style
=
{{
flex
:
1
}}
>
<
DropdownSelect
title
=
{
"Nơi sinh *"
}
title
=
{
'Nơi sinh *'
}
placeholder
=
"Tỉnh kiên giang"
placeholderColor
=
{
R
.
colors
.
gray800
}
placeholderFontFamily
=
{
R
.
fonts
.
InterRegular
}
placeholderFontSize
=
{
R
.
fontsize
.
fontsSize10
}
placeholderFontWeight
=
{
"400"
}
placeholderFontWeight
=
{
'400'
}
fontSize
=
{
R
.
fontsize
.
fontsSize12
}
borderRadius
=
{
10
}
backgroundColor
=
{
R
.
colors
.
greyBlue_soft_50
}
height
=
{
40
}
iconSize
=
{
10
}
iconSize
=
{
5
}
iconColor
=
{
R
.
colors
.
black
}
titleFontWeight
=
{
"400"
}
titleFontSize
=
{
R
.
fontsize
.
fontsSize12
}
titleFontFamily
=
{
R
.
fonts
.
InterRegular
}
marginHorizontal
=
{
0
}
marginVertical
=
{
0
}
/
>
<
/View
>
<
/View
>
<
CustomTextInput
title
=
{
"Điện thoại cá nhân "
}
title
=
{
'Điện thoại cá nhân '
}
placeholder
=
"Điện thoại cá nhân"
required
=
{
true
}
value
=
{
phone
}
...
...
@@ -158,7 +238,7 @@ const ProfileView = (props) => {
/>
<
CustomTextInput
title
=
{
"CMND/CCCD"
}
title
=
{
'CMND/CCCD'
}
placeholder
=
"CMND/CCCD"
required
=
{
true
}
value
=
{
cmnd
}
...
...
@@ -168,7 +248,7 @@ const ProfileView = (props) => {
/
>
<
CustomTextInput
title
=
{
"Ngày cấp CMND/CCCD"
}
title
=
{
'Ngày cấp CMND/CCCD'
}
placeholder
=
"17/01/2021"
required
=
{
true
}
value
=
{
cmnd
}
...
...
@@ -178,7 +258,7 @@ const ProfileView = (props) => {
/
>
<
CustomTextInput
title
=
{
"Nơi cấp CMND/CCCD"
}
title
=
{
'Nơi cấp CMND/CCCD'
}
placeholder
=
"Cục cảnh sát quản lý hành chính Hà Nội"
required
=
{
true
}
value
=
{
cmnd
}
...
...
@@ -187,19 +267,19 @@ const ProfileView = (props) => {
backgroundColor
=
{
R
.
colors
.
greyBlue_soft_50
}
/
>
<
Text
style
=
{[
styles
.
text
,
{
lineHeight
:
16
}]}
>
<
Text
style
=
{[
styles
.
text
,
{
lineHeight
:
16
}]}
>
Th
ô
ng
tin
t
à
i
kho
ả
n
ng
â
n
h
à
ng
c
ủ
a
sinh
vi
ê
n
(
T
à
i
kho
ả
n
ch
í
nh
ch
ủ
c
ủ
a
sinh
vi
ê
n
,
kh
ô
ng
đượ
c
l
à
s
ố
t
à
i
kho
ả
n
c
ủ
a
ng
ườ
i
kh
á
c
)
<
/Text
>
<
CustomTextInput
title
=
{
"Thông tin ngân hàng"
}
title
=
{
'Thông tin ngân hàng'
}
placeholder
=
"Thông tin ngân hàng"
required
=
{
true
}
value
=
{
bank
}
onChangeText
=
{
setBank
}
/
>
<
CustomTextInput
title
=
{
"Số tài khoản"
}
title
=
{
'Số tài khoản'
}
placeholder
=
"Số tài khoản"
required
=
{
true
}
value
=
{
bank
}
...
...
@@ -207,7 +287,7 @@ const ProfileView = (props) => {
/
>
<
CustomTextInput
title
=
{
"Chi nhánh"
}
title
=
{
'Chi nhánh'
}
placeholder
=
"Chi nhánh"
required
=
{
true
}
value
=
{
bank
}
...
...
@@ -215,7 +295,7 @@ const ProfileView = (props) => {
/
>
<
CustomTextInput
title
=
{
"Email cá nhân"
}
title
=
{
'Email cá nhân'
}
placeholder
=
"Email cá nhân"
required
=
{
true
}
value
=
{
bank
}
...
...
@@ -223,7 +303,7 @@ const ProfileView = (props) => {
/
>
<
CustomTextInput
title
=
{
"Địa chỉ facebook"
}
title
=
{
'Địa chỉ facebook'
}
placeholder
=
"Địa chỉ facebook"
required
=
{
true
}
value
=
{
bank
}
...
...
@@ -231,7 +311,7 @@ const ProfileView = (props) => {
/
>
<
CustomTextInput
title
=
{
"Địa chỉ thường trú"
}
title
=
{
'Địa chỉ thường trú'
}
placeholder
=
"Địa chỉ thường trú"
required
=
{
true
}
value
=
{
bank
}
...
...
@@ -239,58 +319,46 @@ const ProfileView = (props) => {
/
>
<
DropdownSelect
title
=
{
"Tỉnh/ TP-54"
}
title
=
{
'Tỉnh/ TP-54'
}
placeholder
=
"Hà Nội"
placeholderColor
=
{
R
.
colors
.
gray800
}
borderRadius
=
{
10
}
iconSize
=
{
10
}
iconSize
=
{
5
}
placeholderFontFamily
=
{
R
.
fonts
.
InterRegular
}
placeholderFontSize
=
{
R
.
fontsize
.
fontsSize10
}
placeholderFontWeight
=
{
"400"
}
height
=
{
40
}
placeholderFontWeight
=
{
'400'
}
marginHorizontal
=
{
0
}
iconColor
=
{
R
.
colors
.
black
}
titleFontWeight
=
{
"400"
}
titleFontSize
=
{
R
.
fontsize
.
fontsSize12
}
fontSize
=
{
R
.
fontsize
.
fontsSize12
}
marginVertical
=
{
5
}
titleFontFamily
=
{
R
.
fonts
.
InterRegular
}
backgroundColor
=
{
R
.
colors
.
greyBlue_soft_50
}
/
>
<
DropdownSelect
title
=
{
"Phường/Xã"
}
title
=
{
'Phường/Xã'
}
placeholder
=
"Hà Nội"
placeholderColor
=
{
R
.
colors
.
gray800
}
borderRadius
=
{
10
}
iconSize
=
{
10
}
iconSize
=
{
5
}
placeholderFontFamily
=
{
R
.
fonts
.
InterRegular
}
placeholderFontSize
=
{
R
.
fontsize
.
fontsSize10
}
placeholderFontWeight
=
{
"400"
}
height
=
{
40
}
placeholderFontWeight
=
{
'400'
}
marginHorizontal
=
{
0
}
iconColor
=
{
R
.
colors
.
black
}
titleFontWeight
=
{
"400"
}
titleFontSize
=
{
R
.
fontsize
.
fontsSize12
}
fontSize
=
{
R
.
fontsize
.
fontsSize12
}
titleFontFamily
=
{
R
.
fonts
.
InterRegular
}
marginVertical
=
{
5
}
backgroundColor
=
{
R
.
colors
.
greyBlue_soft_50
}
/
>
<
View
style
=
{
styles
.
container_body_footer
}
>
<
Checkbox
label
=
{
"Đoàn viên?"
}
label
=
{
'Đoàn viên?'
}
labelStyle
=
{
styles
.
text_check_box
}
size
=
{
14
}
borderColor
=
{
R
.
colors
.
blue500
}
/
>
<
View
style
=
{{
flex
:
1
,
marginLeft
:
16
}}
>
<
Text
style
=
{
styles
.
text_check_box_label
}
>
Ng
à
y
v
à
o
đ
o
à
n
<
/Text
>
<
View
style
=
{{
flex
:
1
,
marginLeft
:
16
}}
>
<
Text
style
=
{
styles
.
text_check_box_label
}
>
Ng
à
y
v
à
o
đ
o
à
n
<
/Text
>
<
/View
>
<
View
style
=
{{
flex
:
1.2
}}
>
<
View
style
=
{{
flex
:
1.2
}}
>
<
CustomTextInput
placeholder
=
"Ngày vào đoàn"
required
=
{
true
}
...
...
@@ -298,20 +366,18 @@ const ProfileView = (props) => {
onChangeText
=
{
setBank
}
/
>
<
/View
>
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
container_body_footer
}
>
<
Checkbox
label
=
{
"Đảng viên?"
}
label
=
{
'Đảng viên?'
}
labelStyle
=
{
styles
.
text_check_box
}
size
=
{
14
}
borderColor
=
{
R
.
colors
.
blue500
}
/
>
<
View
style
=
{{
flex
:
1
,
marginLeft
:
16
}}
>
<
Text
style
=
{
styles
.
text_check_box_label
}
>
Ng
à
y
v
à
o
đả
ng
<
/Text
>
<
View
style
=
{{
flex
:
1
,
marginLeft
:
16
}}
>
<
Text
style
=
{
styles
.
text_check_box_label
}
>
Ng
à
y
v
à
o
đả
ng
<
/Text
>
<
/View
>
<
View
style
=
{{
flex
:
1.2
}}
>
<
View
style
=
{{
flex
:
1.2
}}
>
<
CustomTextInput
placeholder
=
"Ngày vào đoàn"
required
=
{
true
}
...
...
@@ -334,8 +400,8 @@ const ProfileView = (props) => {
/
>
<
/View
>
<
/View
>
<
/ScrollView
>
<
/View
>
<
/ScrollView
>
<
/View
>
);
};
...
...
@@ -345,20 +411,20 @@ const styles = StyleSheet.create({
container
:
{
flex
:
1
,
paddingHorizontal
:
15
,
padding
Bottom
:
9
,
padding
Vertical
:
10
,
},
body_header
:
{
flexDirection
:
"row"
,
flexDirection
:
'row'
,
},
container_image
:
{
flex
:
1
,
alignItems
:
"flex-start"
,
justifyContent
:
"flex-start"
,
alignItems
:
'flex-start'
,
justifyContent
:
'flex-start'
,
},
container_body
:
{
flexDirection
:
"row"
,
flexDirection
:
'row'
,
marginTop
:
10
,
marginBottom
:
5
marginBottom
:
5
,
},
images
:
{
backgroundColor
:
R
.
colors
.
grey_50
,
...
...
@@ -367,29 +433,29 @@ const styles = StyleSheet.create({
borderRadius
:
15
,
borderWidth
:
1
,
borderColor
:
R
.
colors
.
grey_200
,
justifyContent
:
"center"
,
alignItems
:
"center"
,
justifyContent
:
'center'
,
alignItems
:
'center'
,
},
body_info_user
:
{
flex
:
1.8
,
},
text
:
{
fontFamily
:
R
.
fonts
.
InterRegular
,
fontWeight
:
"400"
,
fontWeight
:
'400'
,
fontSize
:
R
.
fontsize
.
fontsSize12
,
color
:
R
.
colors
.
blue500
,
lineHeight
:
24
lineHeight
:
24
,
},
text_label
:
{
fontFamily
:
R
.
fonts
.
InterRegular
,
fontWeight
:
"400"
,
fontWeight
:
'400'
,
fontSize
:
R
.
fontsize
.
fontsSize12
,
color
:
R
.
colors
.
grey_100
,
},
text_button
:
{
fontFamily
:
R
.
fonts
.
InterRegular
,
fontWeight
:
"400"
,
fontWeight
:
'400'
,
fontSize
:
R
.
fontsize
.
fontsSize12
,
color
:
R
.
colors
.
white
,
},
...
...
@@ -398,21 +464,21 @@ const styles = StyleSheet.create({
},
text_check_box_label
:
{
fontFamily
:
R
.
fonts
.
InterRegular
,
fontWeight
:
"400"
,
fontWeight
:
'400'
,
fontSize
:
R
.
fontsize
.
fontsSize12
,
color
:
R
.
colors
.
black_800
,
alignSelf
:
"center"
alignSelf
:
'center'
,
},
text_check_box
:
{
fontFamily
:
R
.
fonts
.
InterRegular
,
fontWeight
:
"400"
,
fontWeight
:
'400'
,
fontSize
:
R
.
fontsize
.
fontsSize12
,
color
:
R
.
colors
.
blue500
,
},
container_body_footer
:
{
flexDirection
:
"row"
,
alignItems
:
"center"
,
justifyContent
:
"space-between"
,
flexDirection
:
'row'
,
alignItems
:
'center'
,
justifyContent
:
'space-between'
,
marginVertical
:
5
,
},
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment