Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AppUms_Lecturer
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_Lecturer
Commits
d72ec17d
Commit
d72ec17d
authored
Sep 04, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TODO: Đã hoàn thiện phần header danh sách công việc
parent
05418e2b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
89 additions
and
3 deletions
+89
-3
style.js
src/screens/list_work/style.js
+51
-1
view.js
src/screens/list_work/view.js
+38
-2
No files found.
src/screens/list_work/style.js
View file @
d72ec17d
...
@@ -9,7 +9,56 @@ const styles = StyleSheet.create({
...
@@ -9,7 +9,56 @@ const styles = StyleSheet.create({
body
:{
body
:{
flex
:
1
,
flex
:
1
,
backgroundColor
:
R
.
colors
.
white
backgroundColor
:
R
.
colors
.
white
}
},
card
:{
borderWidth
:
1
,
borderColor
:
R
.
colors
.
grayBorderInputTextHeader
,
borderRadius
:
10
,
padding
:
5
,
marginTop
:
15
,
marginBottom
:
15
,
marginHorizontal
:
15
,
alignItems
:
'center'
,
justifyContent
:
'center'
,
backgroundColor
:
R
.
colors
.
white
,
shadowColor
:
R
.
colors
.
black
,
shadowOffset
:{
width
:
0.5
,
height
:
2
},
shadowOpacity
:
Platform
.
OS
===
'ios'
?
0.25
:
1
,
shadowRadius
:
5
,
elevation
:
Platform
.
OS
===
'ios'
?
1
:
2
,
},
btnCard
:{
borderRadius
:
10
,
borderWidth
:
1
,
padding
:
5
,
width
:
'100%'
,
alignItems
:
'center'
,
justifyContent
:
'center'
,
borderColor
:
R
.
colors
.
grayBorderInputTextHeader
,
},
text
:{
fontSize
:
R
.
sizes
.
sm
,
color
:
R
.
colors
.
black
,
fontFamily
:
R
.
fonts
.
fontRegular
,
fontWeight
:
'400'
,
},
searchBox
:{
flex
:
1
,
borderWidth
:
1
,
borderColor
:
R
.
colors
.
grayBorderInputTextHeader
,
borderRadius
:
20
,
alignItems
:
'center'
,
justifyContent
:
'flex-start'
,
paddingLeft
:
15
,
flexDirection
:
'row'
,
height
:
42
},
box_3
:{
flexDirection
:
'row'
,
marginHorizontal
:
15
,
alignItems
:
'center'
,
},
})
})
export
default
styles
export
default
styles
\ No newline at end of file
src/screens/list_work/view.js
View file @
d72ec17d
import
React
from
'react'
;
import
React
from
'react'
;
import
{
Text
,
View
,
TouchableOpacity
,
StyleSheet
}
from
'react-native'
;
import
{
Text
,
View
,
TouchableOpacity
,
StyleSheet
,
Image
,
TextInput
}
from
'react-native'
;
import
styles
from
'./style'
;
import
styles
from
'./style'
;
import
FAB
from
'../../components/FAB/fab'
;
import
FAB
from
'../../components/FAB/fab'
;
import
SubButton
from
'../../components/FAB/sub_button'
;
import
SubButton
from
'../../components/FAB/sub_button'
;
...
@@ -9,7 +9,10 @@ import R from '../../assets/R';
...
@@ -9,7 +9,10 @@ import R from '../../assets/R';
import
TabViewComponent
from
'../../components/TabView'
;
import
TabViewComponent
from
'../../components/TabView'
;
const
ListWorkView
=
(
props
)
=>
{
const
ListWorkView
=
(
props
)
=>
{
const
{
}
=
props
;
const
{
searchQuery
,
setSearchQuery
,
}
=
props
;
const
handleFilterChange
=
(
item
)
=>
{
const
handleFilterChange
=
(
item
)
=>
{
console
.
log
(
item
);
console
.
log
(
item
);
...
@@ -63,6 +66,39 @@ const ListWorkView = (props) => {
...
@@ -63,6 +66,39 @@ const ListWorkView = (props) => {
<
View
style
=
{
styles
.
body
}
>
<
View
style
=
{
styles
.
body
}
>
{
renderTabView
()}
{
renderTabView
()}
<
View
style
=
{{
marginBottom
:
15
}}
>
<
View
style
=
{
styles
.
card
}
>
<
TouchableOpacity
style
=
{
styles
.
btnCard
}
>
<
Text
style
=
{
styles
.
text
}
>
H
ọ
c
k
ỳ
2
,
N
ă
m
2025
<
/Text
>
<
/TouchableOpacity
>
<
/View
>
<
View
style
=
{
styles
.
box_3
}
>
<
View
style
=
{
styles
.
searchBox
}
>
<
Image
source
=
{
R
.
images
.
icSearch
}
style
=
{{
width
:
20
,
height
:
20
}}
/
>
<
View
style
=
{{
flex
:
1
}}
>
<
TextInput
placeholder
=
"Tìm kiếm"
style
=
{
styles
.
text
}
value
=
{
searchQuery
}
onChangeText
=
{
setSearchQuery
}
/
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
0.1
}}
><
/View
>
<
View
style
=
{
styles
.
boxFilter
}
>
<
Dropdown
title
=
{
'Tìm kiếm'
}
height
=
{
40
}
/
>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
<
FAB
>
<
FAB
>
...
...
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