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
9390e047
Commit
9390e047
authored
Aug 20, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TODO: Bổ ẩn các indicators trong scroll view
parent
ce49f291
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
view.js
src/screens/compensate/register/view.js
+4
-3
No files found.
src/screens/compensate/register/view.js
View file @
9390e047
...
@@ -18,7 +18,6 @@ const CompensateRegisterView = props => {
...
@@ -18,7 +18,6 @@ const CompensateRegisterView = props => {
const
{
isShow
,
setShowSchedule
,
scheduleData
,
onCheckboxChange
}
=
props
;
const
{
isShow
,
setShowSchedule
,
scheduleData
,
onCheckboxChange
}
=
props
;
const
getCheckColor
=
(
item
)
=>
{
const
getCheckColor
=
(
item
)
=>
{
console
.
log
(
item
?.
totalSession
);
if
(
item
?.
breakTime
===
item
?.
totalSession
&&
item
?.
percent
===
'100%'
)
{
if
(
item
?.
breakTime
===
item
?.
totalSession
&&
item
?.
percent
===
'100%'
)
{
return
R
.
colors
.
blue
;
return
R
.
colors
.
blue
;
}
}
...
@@ -113,7 +112,7 @@ const CompensateRegisterView = props => {
...
@@ -113,7 +112,7 @@ const CompensateRegisterView = props => {
return
(
return
(
<
View
style
=
{
styles
.
container
}
>
<
View
style
=
{
styles
.
container
}
>
<
Header
title
=
{
'Đăng kí báo bù'
}
isBack
/>
<
Header
title
=
{
'Đăng kí báo bù'
}
isBack
/>
<
ScrollView
>
<
ScrollView
showsVerticalScrollIndicator
=
{
false
}
>
<
View
style
=
{
styles
.
body
}
>
<
View
style
=
{
styles
.
body
}
>
<
View
style
=
{
styles
.
containerInput
}
>
<
View
style
=
{
styles
.
containerInput
}
>
<
TextField
<
TextField
...
@@ -211,7 +210,9 @@ const CompensateRegisterView = props => {
...
@@ -211,7 +210,9 @@ const CompensateRegisterView = props => {
/
>
/
>
<
/View
>
<
/View
>
<
ScrollView
horizontal
>
{
renderSchedule
()}
<
/ScrollView
>
<
ScrollView
showsHorizontalScrollIndicator
=
{
false
}
horizontal
>
{
renderSchedule
()}
<
/ScrollView
>
<
/View
>
<
/View
>
<
/ScrollView
>
<
/ScrollView
>
<
/View
>
<
/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