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
f50fe522
Commit
f50fe522
authored
Sep 17, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TODO: Tối ưu hóa style cho các component: điều chỉnh kích thước và loại bỏ border không cần thiết
parent
7963c796
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
72 additions
and
62 deletions
+72
-62
style.js
src/screens/academic_advisor/list_student/style.js
+2
-2
style.js
src/screens/class_schedule/filterWeek/style.js
+0
-2
view.js
src/screens/incoming_document/view.js
+68
-54
style.js
src/screens/list_send_document/style.js
+0
-2
view.js
src/screens/roll_call/detail/view.js
+2
-2
No files found.
src/screens/academic_advisor/list_student/style.js
View file @
f50fe522
...
...
@@ -68,10 +68,10 @@ const styles = StyleSheet.create({
},
studentCard
:
{
backgroundColor
:
R
.
colors
.
white
,
marginVertical
:
10
,
marginVertical
:
7.5
,
borderRadius
:
15
,
marginHorizontal
:
15
,
padding
:
1
5
,
padding
:
1
0
,
shadowColor
:
R
.
colors
.
black
,
shadowOffset
:
{
width
:
0.5
,
height
:
2
},
...
...
src/screens/class_schedule/filterWeek/style.js
View file @
f50fe522
...
...
@@ -90,8 +90,6 @@ const styles = StyleSheet.create({
paddingVertical
:
4
,
},
dayHeaderTextToday
:
{
color
:
R
.
colors
.
blue
,
fontWeight
:
'700'
,
},
// ==================== TIME SLOTS CONTAINER ====================
...
...
src/screens/incoming_document/view.js
View file @
f50fe522
...
...
@@ -88,9 +88,9 @@ const IncomingDocumentView = props => {
onPress
=
{()
=>
{}}
backgroundColor
=
{
R
.
colors
.
orange
}
textColor
=
{
R
.
colors
.
white
}
height
=
{
25
}
height
=
{
30
}
borderRadius
=
{
15
}
fontSize
=
{
11
}
fontSize
=
{
R
.
fontsize
.
fontSizeContent
}
fontWeight
=
{
'600'
}
fontFamily
=
{
R
.
fonts
.
fontMedium
}
paddingHorizontal
=
{
15
}
...
...
@@ -104,10 +104,10 @@ const IncomingDocumentView = props => {
}
backgroundColor
=
{
R
.
colors
.
blue
}
textColor
=
{
R
.
colors
.
white
}
height
=
{
25
}
height
=
{
30
}
width
=
{
90
}
borderRadius
=
{
15
}
fontSize
=
{
11
}
fontSize
=
{
R
.
fontsize
.
fontSizeContent
}
fontWeight
=
{
'600'
}
fontFamily
=
{
R
.
fonts
.
fontMedium
}
paddingHorizontal
=
{
15
}
...
...
@@ -128,64 +128,78 @@ const IncomingDocumentView = props => {
);
};
return
(
<
View
style
=
{
styles
.
container
}
>
<
Header
title
=
{
'Danh sách văn bản đến'
}
isBack
/
>
<
View
style
=
{
styles
.
body
}
>
<
View
style
=
{
styles
.
cardTabView
}
>
<
FlatList
data
=
{
dataListTabView
}
renderItem
=
{
itemTabView
}
keyExtractor
=
{
item
=>
item
.
key
}
horizontal
contentContainerStyle
=
{
styles
.
contentContainerStyle
}
showsHorizontalScrollIndicator
=
{
false
}
/
>
<
/View
>
const
renderTabView
=
()
=>
{
return
(
<
View
style
=
{
styles
.
cardTabView
}
>
<
FlatList
data
=
{
dataListTabView
}
renderItem
=
{
itemTabView
}
keyExtractor
=
{
item
=>
item
.
key
}
horizontal
contentContainerStyle
=
{
styles
.
contentContainerStyle
}
showsHorizontalScrollIndicator
=
{
false
}
/
>
<
/View
>
);
};
<
View
style
=
{{
marginBottom
:
15
}}
>
<
View
style
=
{
styles
.
card
}
>
<
TouchableOpacity
style
=
{
styles
.
btnCard
}
>
<
Text
style
=
{[
styles
.
text
,
{
color
:
R
.
colors
.
black
,
fontSize
:
R
.
fontsize
.
fontSizeContent
,
fontWeight
:
600
,
fontFamily
:
R
.
fonts
.
fontMedium
,
},
]}
>
H
ọ
c
k
ỳ
2
,
N
ă
m
2025
<
/Text
>
<
/TouchableOpacity
>
<
/View
>
const
renderBody
=
()
=>
{
return
(
<
View
style
=
{
styles
.
body
}
>
{
renderTabView
()}
{
renderCard
()}
{
renderListIncomingDocument
()}
<
/View
>
)
}
const
renderCard
=
()
=>
{
return
(
<
View
style
=
{{
marginBottom
:
15
}}
>
<
View
style
=
{
styles
.
card
}
>
<
TouchableOpacity
style
=
{
styles
.
btnCard
}
>
<
Text
style
=
{[
styles
.
text
,
{
color
:
R
.
colors
.
black
,
fontSize
:
R
.
fontsize
.
fontSizeContent
,
fontWeight
:
600
,
fontFamily
:
R
.
fonts
.
fontMedium
,
},
]}
>
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
=
{
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
,
{
padding
:
0
}]}
value
=
{
searchQuery
}
onChangeText
=
{
setSearchQuery
}
/
>
<
View
style
=
{{
flex
:
1
}}
>
<
TextInput
placeholder
=
"Tìm kiếm"
style
=
{[
styles
.
text
,
{
padding
:
0
}]}
value
=
{
searchQuery
}
onChangeText
=
{
setSearchQuery
}
/
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
0.1
}}
><
/View
>
<
/View
>
<
View
style
=
{{
flex
:
0.1
}}
><
/View
>
<
View
style
=
{
styles
.
boxFilter
}
>
<
Dropdown
title
=
{
'Tìm kiếm'
}
height
=
{
35
}
/
>
<
/View
>
<
View
style
=
{
styles
.
boxFilter
}
>
<
Dropdown
title
=
{
'Tìm kiếm'
}
height
=
{
35
}
/
>
<
/View
>
<
/View
>
{
renderListIncomingDocument
()}
<
/View
>
);
};
return
(
<
View
style
=
{
styles
.
container
}
>
<
Header
title
=
{
'Danh sách văn bản đến'
}
isBack
/>
{
renderBody
()}
<
/View
>
);
};
...
...
src/screens/list_send_document/style.js
View file @
f50fe522
...
...
@@ -91,8 +91,6 @@ const styles = StyleSheet.create({
marginHorizontal
:
15
,
marginVertical
:
7.5
,
borderRadius
:
15
,
borderWidth
:
1
,
borderColor
:
R
.
colors
.
grayBorderInputTextHeader
,
backgroundColor
:
R
.
colors
.
white
,
shadowColor
:
R
.
colors
.
black
,
shadowOffset
:
{
width
:
0.5
,
height
:
2
},
...
...
src/screens/roll_call/detail/view.js
View file @
f50fe522
...
...
@@ -32,7 +32,7 @@ const DetailRollCallView = props => {
backgroundColor
=
{
R
.
colors
.
orange
}
textColor
=
{
R
.
colors
.
white
}
fontSize
=
{
12
}
height
=
{
3
5
}
height
=
{
3
0
}
width
=
{
150
}
/
>
<
Button
/>
...
...
@@ -48,7 +48,7 @@ const DetailRollCallView = props => {
backgroundColor
=
{
R
.
colors
.
blue
}
textColor
=
{
R
.
colors
.
white
}
fontSize
=
{
12
}
height
=
{
3
5
}
height
=
{
3
0
}
width
=
{
150
}
/
>
<
Button
/>
...
...
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