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
3038b5a2
Commit
3038b5a2
authored
Sep 11, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TODO: Bổ sung 2 giao diện tab phần lịch dạy với máy quét
parent
d87b0cab
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
3 deletions
+38
-3
en.js
src/helper/i18/locales/en.js
+4
-0
vn.js
src/helper/i18/locales/vn.js
+2
-0
ScreenNames.js
src/routers/ScreenNames.js
+1
-0
StackNavigation.js
src/routers/StackNavigation.js
+2
-0
TabNavigation.js
src/routers/TabNavigation.js
+29
-3
No files found.
src/helper/i18/locales/en.js
View file @
3038b5a2
import
QrCode
from
"../../../screens/qr_code"
;
export
default
{
EnterPhoneNumberToLogin
:
'Enter phone number to login'
,
Enter
:
'Enter'
,
...
...
@@ -75,4 +77,6 @@ export default {
Select_source_image
:
'Select the source of the image'
,
Photo_library
:
'Photo library'
,
Take_photo
:
'Take a photo'
,
Class_schedule
:
'Class schedule'
,
QrCode
:
'Qr code'
,
};
src/helper/i18/locales/vn.js
View file @
3038b5a2
...
...
@@ -76,4 +76,6 @@ export default {
Select_source_image
:
'Chọn nguồn lấy ảnh'
,
Photo_library
:
'Thư viện ảnh'
,
Take_photo
:
'Chụp ảnh'
,
Class_schedule
:
'Lịch dạy'
,
QrCode
:
'Máy quét'
,
};
src/routers/ScreenNames.js
View file @
3038b5a2
export
const
TABNAVIGATOR
=
'TABNAVIGATOR'
;
export
const
HOMESCREEN
=
'HOMESCREEN'
;
export
const
QRCODE
=
'QRCODE'
;
export
const
HOMENOTIFICATION
=
'HOMENOTIFICATION'
;
export
const
LISTNOTIFICATION
=
'LISTNOTIFICATION'
;
...
...
src/routers/StackNavigation.js
View file @
3038b5a2
...
...
@@ -35,6 +35,7 @@ import DetailEmail from '../screens/email/detail';
import
ListRollCallView
from
'../screens/roll_call/'
;
import
ListStudentRollCall
from
'../screens/roll_call/list_student_roll_call'
;
import
DetailRollCall
from
'../screens/roll_call/detail'
;
import
QrCode
from
'../screens/qr_code'
;
const
Stack
=
createStackNavigator
();
function
MyStack
(
props
)
{
...
...
@@ -78,6 +79,7 @@ function MyStack(props) {
<
Stack
.
Screen
name
=
{
ScreenName
.
LISTROLLCALL
}
component
=
{
ListRollCallView
}
/
>
<
Stack
.
Screen
name
=
{
ScreenName
.
LISTSTUDENTROLLCALL
}
component
=
{
ListStudentRollCall
}
/
>
<
Stack
.
Screen
name
=
{
ScreenName
.
DETAILROLLCALL
}
component
=
{
DetailRollCall
}
/
>
<
Stack
.
Screen
name
=
{
ScreenName
.
QRCODE
}
component
=
{
QrCode
}
/
>
<
/Stack.Navigator
>
);
}
...
...
src/routers/TabNavigation.js
View file @
3038b5a2
...
...
@@ -6,8 +6,9 @@ import {connect} from 'react-redux';
import
R
from
'../assets/R'
;
import
Notification
from
'../screens/notification'
;
import
Profile
from
'../screens/profile'
;
import
ClassSchedule
from
'../screens/class_schedule'
;
import
Home
from
'../screens/home'
;
import
QrCode
from
'../screens/qr_code'
;
const
Tab
=
createBottomTabNavigator
();
...
...
@@ -57,6 +58,32 @@ const TabNavigator = props => {
),
}}
/
>
<
Tab
.
Screen
name
=
"HomeScreen145"
component
=
{
ClassSchedule
}
options
=
{{
tabBarLabel
:
i18n
.
t
(
'Class_schedule'
),
tabBarIcon
:
({
color
,
size
})
=>
(
<
Image
source
=
{
R
.
images
.
icLichDay
}
style
=
{{
width
:
size
,
height
:
size
,
tintColor
:
color
}}
/
>
),
}}
/
>
<
Tab
.
Screen
name
=
"HomeScreen14"
component
=
{
QrCode
}
options
=
{{
tabBarLabel
:
i18n
.
t
(
'QrCode'
),
tabBarIcon
:
({
color
,
size
})
=>
(
<
Image
source
=
{
R
.
images
.
icQrCodeTab
}
style
=
{{
width
:
size
,
height
:
size
,
tintColor
:
color
}}
/
>
),
}}
/
>
<
Tab
.
Screen
name
=
"NotificationScreen"
...
...
@@ -72,6 +99,7 @@ const TabNavigator = props => {
),
}}
/
>
<
Tab
.
Screen
name
=
"ProfileScreen"
component
=
{
Profile
}
...
...
@@ -86,8 +114,6 @@ const TabNavigator = props => {
),
}}
/
>
<
/Tab.Navigator
>
);
};
...
...
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