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
52790f0c
Commit
52790f0c
authored
Aug 12, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SUC: Bổ sung nghiệp vụ xử lý khi tìm kiếm không có title trên menu home
parent
f5ba7367
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
1 deletion
+21
-1
icon_no_data.png
src/assets/icon/icon_png/icon_no_data.png
+0
-0
images.js
src/assets/images.js
+1
-1
style.js
src/screens/home/style.js
+6
-0
view.js
src/screens/home/view.js
+14
-0
No files found.
src/assets/icon/icon_png/icon_no_data.png
0 → 100644
View file @
52790f0c
3.49 KB
src/assets/images.js
View file @
52790f0c
...
...
@@ -9,7 +9,7 @@ const images = {
icAccount
:
require
(
'./images/icAccount.png'
),
bg_cannot_connect
:
require
(
'./images/bg_cannot_connect.png'
),
icGallery
:
require
(
'./images/icGallery.png'
),
icNoData
:
require
(
'./icon/icon_png/icon_no_data.png'
),
//HomeScreen
icLichDay
:
require
(
'./icon/lich_day.png'
),
icBaoBu
:
require
(
'./icon/bao_bu.png'
),
...
...
src/screens/home/style.js
View file @
52790f0c
...
...
@@ -136,6 +136,12 @@ const styles = StyleSheet.create({
flex
:
1
,
marginTop
:
35
,
},
cardItemEmpty
:
{
flex
:
1
,
justifyContent
:
"center"
,
alignItems
:
"center"
,
},
//Item
menu_item
:
{
alignItems
:
"center"
,
...
...
src/screens/home/view.js
View file @
52790f0c
...
...
@@ -94,6 +94,7 @@ const HomeView = (props) => {
keyExtractor
=
{(
item
)
=>
item
.
id
.
toString
()}
scrollEnabled
=
{
false
}
columnWrapperStyle
=
{
styles
.
row
}
ListEmptyComponent
=
{
renderItemEmpty
}
/
>
<
/View
>
}
...
...
@@ -107,6 +108,7 @@ const HomeView = (props) => {
keyExtractor
=
{(
item
)
=>
item
.
id
.
toString
()}
scrollEnabled
=
{
false
}
columnWrapperStyle
=
{
styles
.
row
}
ListEmptyComponent
=
{
renderItemEmpty
}
/
>
<
/View
>
}
...
...
@@ -120,10 +122,22 @@ const HomeView = (props) => {
keyExtractor
=
{(
item
)
=>
item
.
id
.
toString
()}
scrollEnabled
=
{
false
}
columnWrapperStyle
=
{
styles
.
row
}
ListEmptyComponent
=
{
renderItemEmpty
}
/
>
<
/View
>
}
const
renderItemEmpty
=
()
=>
{
return
<
View
style
=
{
styles
.
cardItemEmpty
}
>
<
Image
source
=
{
R
.
images
.
icNoData
}
maxWidth
=
{
50
}
maxHeight
=
{
50
}
/
>
<
Text
style
=
{[
styles
.
menu_text
,{
color
:
R
.
colors
.
red
}]}
>
Kh
ô
ng
c
ó
d
ữ
li
ệ
u
<
/Text
>
<
/View
>
}
return
(
<
TouchableWithoutFeedback
onPress
=
{
Keyboard
.
dismiss
}
accessible
=
{
false
}
>
...
...
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