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
cdff63f7
Commit
cdff63f7
authored
Sep 11, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TODO: Sửa một số phần giao diện còn lại
parent
a7d9962e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
34 deletions
+44
-34
view.js
src/screens/class_schedule/detail/view.js
+14
-5
style.js
src/screens/compensate/register/style.js
+2
-2
view.js
src/screens/email/view.js
+27
-27
view.js
src/screens/sub_teacher/view.js
+1
-0
No files found.
src/screens/class_schedule/detail/view.js
View file @
cdff63f7
...
...
@@ -21,12 +21,21 @@ const DetailClassScheduleView = (props) => {
<
/ImageBackground
>
<
View
style
=
{
styles
.
container_content
}
>
<
Text
style
=
{
styles
.
text_title
}
>
L
ị
ch
d
ạ
y
l
ớ
p
IT0032
.
47
.
T1
<
/Text
>
<
Text
style
=
{
styles
.
text_content
}
>
Th
ứ
6
:
25
/
07
/
2025
,
07
:
00
-
09
:
00
<
/Text
>
<
Text
style
=
{
[
styles
.
text_content
,
{
fontWeight
:
'600'
,
fontFamily
:
R
.
fonts
.
fontMedium
}]
}
>
Th
ứ
6
:
25
/
07
/
2025
,
07
:
00
-
09
:
00
<
/Text
>
<
View
style
=
{[
styles
.
container_content
,
styles
.
info
]}
>
<
Text
style
=
{
styles
.
text_content
}
>
V
ị
tr
í
:
Ph
ò
ng
B205
<
/Text
>
<
Text
style
=
{
styles
.
text_content
}
>
S
ĩ
s
ố
:
40
<
/Text
>
<
Text
style
=
{
styles
.
text_content
}
>
L
ớ
p
h
ọ
c
:
Th
ự
c
h
à
nh
<
/Text
>
<
Text
style
=
{
styles
.
text_content
}
>
H
ì
nh
th
ứ
c
h
ọ
c
:
Tr
ự
c
ti
ế
p
<
/Text
>
<
Text
style
=
{[
styles
.
text_content
,
{
fontWeight
:
'600'
,
fontFamily
:
R
.
fonts
.
fontMedium
}]}
>
V
ị
tr
í
:
<
Text
style
=
{
styles
.
text_content
}
>
Ph
ò
ng
B205
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
text_content
,
{
fontWeight
:
'600'
,
fontFamily
:
R
.
fonts
.
fontMedium
}]}
>
S
ĩ
s
ố
:
<
Text
style
=
{
styles
.
text_content
}
>
40
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
text_content
,
{
fontWeight
:
'600'
,
fontFamily
:
R
.
fonts
.
fontMedium
}]}
>
L
ớ
p
h
ọ
c
:
<
Text
style
=
{
styles
.
text_content
}
>
C810
<
/Text
>
<
/Text
>
<
Text
style
=
{[
styles
.
text_content
,
{
fontWeight
:
'600'
,
fontFamily
:
R
.
fonts
.
fontMedium
}]}
>
H
ì
nh
th
ứ
c
h
ọ
c
:
<
Text
style
=
{
styles
.
text_content
}
>
Th
ự
c
h
à
nh
<
/Text
>
<
/Text
>
<
/View
>
<
/View
>
<
/View
>
...
...
src/screens/compensate/register/style.js
View file @
cdff63f7
...
...
@@ -24,8 +24,8 @@ container:{
marginBottom
:
15
},
txtSubtitle
:{
fontWeight
:
'
4
00'
,
fontFamily
:
R
.
fonts
.
font
Regular
,
fontWeight
:
'
6
00'
,
fontFamily
:
R
.
fonts
.
font
Medium
,
fontSize
:
R
.
fontsize
.
fontSizeLabel
,
color
:
R
.
colors
.
black
,
},
...
...
src/screens/email/view.js
View file @
cdff63f7
...
...
@@ -64,35 +64,35 @@ const EmailHomeView = props => {
console
.
log
(
'isSwipingLeft'
,
isSwipingLeft
);
return
isSwipingLeft
;
},
onPanResponderMove
:
(
evt
,
gestureState
)
=>
{
console
.
log
(
'gestureState'
,
gestureState
.
dx
);
if
(
gestureState
.
dx
>
-
100
&&
gestureState
.
dx
<
0
)
{
translateX
.
setValue
(
-
100
);
}
else
if
(
gestureState
.
dx
>
0
){
translateX
.
setValue
(
0
);
}
},
// onPanResponderRelease: (evt, gestureState) => {
// console.log('deleteThreshold', -deleteThreshold);
// if (gestureState.dx < -deleteThreshold) {
// // Show delete button
// Animated.timing(translateX, {
// toValue: -100,
// duration: 300,
// useNativeDriver: true,
// }).start();
// setSwipedEmailId(item.id);
// }
// else {
// Animated.spring(translateX, {
// toValue: 0,
// useNativeDriver: true,
// }).start(() => {
// setSwipedEmailId(null);
// });
// onPanResponderMove: (evt, gestureState) => {
// console.log('gestureState', gestureState.dx);
// if (gestureState.dx > -100 && gestureState.dx < 0 ) {
// translateX.setValue(-100);
// }else if(gestureState.dx >0){
// translateX.setValue(0);
// }
// },
onPanResponderRelease
:
(
evt
,
gestureState
)
=>
{
console
.
log
(
'deleteThreshold'
,
-
deleteThreshold
);
if
(
gestureState
.
dx
<
-
deleteThreshold
)
{
// Show delete button
Animated
.
timing
(
translateX
,
{
toValue
:
-
100
,
duration
:
300
,
useNativeDriver
:
true
,
}).
start
();
setSwipedEmailId
(
item
.
id
);
}
else
{
Animated
.
spring
(
translateX
,
{
toValue
:
0
,
useNativeDriver
:
true
,
}).
start
(()
=>
{
setSwipedEmailId
(
null
);
});
}
},
});
const
deleteOpacity
=
translateX
.
interpolate
({
...
...
src/screens/sub_teacher/view.js
View file @
cdff63f7
...
...
@@ -195,6 +195,7 @@ const SubTeacherView = props => {
renderItem
=
{
renderItem
}
showsVerticalScrollIndicator
=
{
false
}
vertical
contentContainerStyle
=
{{
paddingTop
:
10
}}
keyExtractor
=
{(
item
,
index
)
=>
`
${
index
}
`
}
/
>
<
/View
>
...
...
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