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
05418e2b
Commit
05418e2b
authored
Sep 04, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TODO: Đã hoàn thiện xong giao diện màn hình lịch học
parent
2e54f2ca
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
73 additions
and
46 deletions
+73
-46
style.js
src/screens/academic_advisor/style.js
+8
-2
view.js
src/screens/academic_advisor/view.js
+54
-38
style.js
src/screens/class_schedule/filter3day/style.js
+1
-1
style.js
src/screens/class_schedule/filterWeek/style.js
+6
-1
style.js
src/screens/class_schedule/filterday/style.js
+2
-2
style.js
src/screens/class_schedule/style.js
+2
-2
No files found.
src/screens/academic_advisor/style.js
View file @
05418e2b
...
...
@@ -35,15 +35,21 @@ const styles = StyleSheet.create({
justifyContent
:
'center'
,
borderColor
:
R
.
colors
.
grayBorderInputTextHeader
,
},
text_title
:{
fontSize
:
R
.
fontsize
.
fontSizeContent
,
fontWeight
:
'600'
,
color
:
R
.
colors
.
black
,
fontFamily
:
R
.
fonts
.
fontMedium
,
},
text
:{
fontSize
:
R
.
sizes
.
sm
,
fontSize
:
R
.
fontsize
.
fontSizeContent
,
color
:
R
.
colors
.
black
,
fontFamily
:
R
.
fonts
.
fontRegular
,
fontWeight
:
'400'
,
},
containerCard
:{
padding
:
10
,
marginBottom
:
15
,
marginBottom
:
15
,
borderRadius
:
10
,
backgroundColor
:
R
.
colors
.
white
,
shadowColor
:
R
.
colors
.
black
,
...
...
src/screens/academic_advisor/view.js
View file @
05418e2b
import
React
from
'react'
;
import
{
Text
,
View
,
TouchableOpacity
,
StyleSheet
,
SafeAreaView
,
FlatList
}
from
'react-native'
;
import
{
Text
,
View
,
TouchableOpacity
,
StyleSheet
,
SafeAreaView
,
FlatList
,
}
from
'react-native'
;
import
styles
from
'./style'
;
import
Header
from
'../../components/Header/Header'
;
import
Button
from
'../../components/Button'
;
import
R
from
'../../assets/R'
;
import
*
as
SCREENNAME
from
'../../routers/ScreenNames'
;
import
{
useNavigation
}
from
'@react-navigation/native'
;
const
ClassActivityView
=
(
props
)
=>
{
const
{
dataList
,
setDataList
}
=
props
;
import
*
as
SCREENNAME
from
'../../routers/ScreenNames'
;
import
{
useNavigation
}
from
'@react-navigation/native'
;
const
ClassActivityView
=
props
=>
{
const
{
dataList
,
setDataList
}
=
props
;
const
navigate
=
useNavigation
();
const
renderItem
=
({
item
,
})
=>
{
const
renderItem
=
({
item
})
=>
{
return
(
<
View
style
=
{
styles
.
containerCard
}
>
<
Text
style
=
{
styles
.
text
}
>
L
ớ
p
sinh
ho
ạ
t
:
{
item
.
class_activity
}
<
/Text
>
<
View
style
=
{
styles
.
containerText
}
>
<
Text
style
=
{
styles
.
text
}
>
Kho
á
:
{
item
.
course
}
<
/Text
>
<
View
style
=
{
styles
.
sizedBox
}
><
/View
>
<
Text
style
=
{
styles
.
text
}
>
H
ệ
Đ
T
:
{
item
.
training_system
}
<
/Text
>
<
/View
>
<
Text
style
=
{
styles
.
text
}
>
L
ớ
p
theo
khoa
:
{
item
.
class_by_course
}
<
/Text
>
<
Text
style
=
{
styles
.
text
}
>
Khoa
:
{
item
.
science
}
<
/Text
>
<
Text
style
=
{
styles
.
text
}
>
L
ớ
p
tr
ưở
ng
:
{
item
.
class_leader
}
<
/Text
>
<
Text
style
=
{
styles
.
text_title
}
>
L
ớ
p
sinh
ho
ạ
t
:{
' '
}
<
Text
style
=
{
styles
.
text
}
>
{
item
.
class_activity
}
<
/Text
>
<
/Text
>
<
View
style
=
{
styles
.
containerText
}
>
<
Text
style
=
{
styles
.
text_title
}
>
Kho
á
:
{
' '
}
<
Text
style
=
{
styles
.
text
}
>
{
item
.
course
}
<
/Text
>
<
/Text
>
<
View
style
=
{
styles
.
sizedBox
}
><
/View
>
<
Text
style
=
{
styles
.
text_title
}
>
H
ệ
Đ
T
:
{
' '
}
<
Text
style
=
{
styles
.
text
}
>
{
item
.
training_system
}
<
/Text
>
<
/Text
>
<
/View
>
<
Text
style
=
{
styles
.
text_title
}
>
L
ớ
p
theo
khoa
:
{
' '
}
<
Text
style
=
{
styles
.
text
}
>
{
item
.
class_by_course
}
<
/Text
>
<
/Text
>
<
Text
style
=
{
styles
.
text_title
}
>
Khoa
:
{
' '
}
<
Text
style
=
{
styles
.
text
}
>
{
item
.
science
}
<
/Text
>
<
/Text
>
<
Text
style
=
{
styles
.
text_title
}
>
L
ớ
p
tr
ưở
ng
:
{
' '
}
<
Text
style
=
{
styles
.
text
}
>
{
item
.
class_leader
}
<
/Text
>
<
/Text
>
<
View
style
=
{
styles
.
containerButton
}
>
<
Button
title
=
'Chi tiết'
onPress
=
{()
=>
{
navigate
.
navigate
(
SCREENNAME
.
LISTSTUDENTCLASS
)}}
backgroundColor
=
{
R
.
colors
.
blue
}
textColor
=
{
R
.
colors
.
white
}
height
=
{
30
}
borderRadius
=
{
15
}
fontSize
=
{
R
.
sizes
.
sm
}
fontWeight
=
{
'600'
}
fontFamily
=
{
R
.
fonts
.
fontMedium
}
paddingHorizontal
=
{
15
}
paddingVertical
=
{
3
}
<
Button
title
=
"Chi tiết"
onPress
=
{()
=>
{
navigate
.
navigate
(
SCREENNAME
.
LISTSTUDENTCLASS
);
}}
backgroundColor
=
{
R
.
colors
.
blue
}
textColor
=
{
R
.
colors
.
white
}
height
=
{
30
}
borderRadius
=
{
15
}
fontSize
=
{
R
.
sizes
.
sm
}
fontWeight
=
{
'600'
}
fontFamily
=
{
R
.
fonts
.
fontMedium
}
paddingHorizontal
=
{
15
}
paddingVertical
=
{
3
}
/
>
<
/View
>
<
/View
>
)
}
<
/View
>
)
;
}
;
return
(
<
View
style
=
{
styles
.
container
}
>
<
Header
title
=
{
'Danh sách lớp sinh hoạt'
}
isBack
/>
<
View
style
=
{
styles
.
container
}
>
<
Header
title
=
{
'Danh sách lớp sinh hoạt'
}
isBack
/>
<
View
style
=
{
styles
.
body
}
>
<
View
style
=
{
styles
.
card
}
>
<
TouchableOpacity
style
=
{
styles
.
btnCard
}
>
...
...
@@ -53,14 +71,12 @@ const ClassActivityView = (props) => {
<
/View
>
<
FlatList
data
=
{
dataList
||
[]}
renderItem
=
{
renderItem
}
renderItem
=
{
renderItem
}
showsVerticalScrollIndicator
=
{
false
}
vertical
keyExtractor
=
{(
item
,
index
)
=>
`
${
index
}
`
}
/
>
<
/View
>
<
/View
>
);
};
...
...
src/screens/class_schedule/filter3day/style.js
View file @
05418e2b
...
...
@@ -40,7 +40,7 @@ const styles = StyleSheet.create({
},
daysHeaderContainer
:
{
flexDirection
:
'row'
,
backgroundColor
:
R
.
colors
.
gray
,
backgroundColor
:
R
.
colors
.
gray
BorderInputTextHeader
,
borderBottomWidth
:
1
,
borderBottomColor
:
R
.
colors
.
gray2
,
},
...
...
src/screens/class_schedule/filterWeek/style.js
View file @
05418e2b
...
...
@@ -43,6 +43,7 @@ const styles = StyleSheet.create({
justifyContent
:
'center'
,
borderRightWidth
:
1
,
borderRightColor
:
R
.
colors
.
gray
,
marginBottom
:
5
,
},
dayHeaderText
:
{
fontSize
:
R
.
fontsize
.
fontSizeLabel
,
...
...
@@ -63,10 +64,14 @@ const styles = StyleSheet.create({
alignItems
:
'center'
,
},
dayHeaderNumberToday
:
{
color
:
R
.
colors
.
blu
e
,
color
:
R
.
colors
.
whit
e
,
fontFamily
:
R
.
fonts
.
fontMedium
,
fontSize
:
R
.
fontsize
.
fontSizeContent
,
fontWeight
:
'600'
,
backgroundColor
:
R
.
colors
.
blue
,
borderRadius
:
15
,
paddingHorizontal
:
8
,
paddingVertical
:
2
,
},
timeSlotsContainer
:
{
flex
:
1
,
...
...
src/screens/class_schedule/filterday/style.js
View file @
05418e2b
...
...
@@ -113,8 +113,8 @@ const styles = StyleSheet.create({
fontWeight
:
'400'
,
backgroundColor
:
R
.
colors
.
blue
,
borderRadius
:
15
,
paddingHorizontal
:
4
,
paddingVertical
:
3
,
paddingHorizontal
:
8
,
paddingVertical
:
2
,
},
eventTime
:
{
fontSize
:
R
.
fontsize
.
fontSizeContent
,
...
...
src/screens/class_schedule/style.js
View file @
05418e2b
...
...
@@ -91,8 +91,8 @@ const styles = StyleSheet.create({
fontFamily
:
R
.
fonts
.
fontSemiBold
,
backgroundColor
:
R
.
colors
.
blue
,
borderRadius
:
15
,
paddingHorizontal
:
4
,
paddingVertical
:
3
,
paddingHorizontal
:
8
,
paddingVertical
:
2
,
},
eventsContainer
:
{
...
...
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