Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
eCartPro-Customer
Project
Project
Details
Activity
Releases
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
Dida Adams Arizona
eCartPro-Customer
Commits
802e12ca
Commit
802e12ca
authored
Jul 30, 2020
by
Deni Rinaldi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chat + komen Filter
parent
d5ddadbc
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
132 additions
and
43 deletions
+132
-43
ChatScreen.js
App/Containers/ChatScreen.js
+121
-40
DetailProductScreen.js
App/Containers/DetailProductScreen.js
+9
-1
ListSearchScreen.js
App/Containers/ListSearchScreen.js
+2
-2
No files found.
App/Containers/ChatScreen.js
View file @
802e12ca
This diff is collapsed.
Click to expand it.
App/Containers/DetailProductScreen.js
View file @
802e12ca
...
...
@@ -262,7 +262,15 @@ class DetailProductScreen extends Component {
<
/ScrollView>
}
<
View
style
=
{{
padding
:
20
,
alignSelf
:
'flex-end'
,
justifyContent
:
'flex-end'
,
backgroundColor
:
'white'
,
elevation
:
5
,
width
:
'100%'
,
borderTopWidth
:
.
5
,
borderTopColor
:
'#d8d8d8'
}}
>
<
View
style
=
{{
flexDirection
:
'row'
,
justifyContent
:
'space-between'
,}}
>
<
TouchableOpacity
style
=
{{
width
:
'10%'
,
alignItems
:
'center'
}}
>
<
TouchableOpacity
style
=
{{
width
:
'10%'
,
alignItems
:
'center'
}}
onPress
=
{()
=>
this
.
props
.
navigation
.
navigate
(
'ChatScreen'
,
{
product
:
{
imageName
:
this
.
state
.
dataProduct
.
product_name
,
itemHarga
:
this
.
state
.
dataProduct
.
price
,
image
:
this
.
state
.
varient
[
0
].
varient_image
},
intent
:
'chat'
})}
>
<
Image
source
=
{
Images
.
icon_chat
}
style
=
{{
width
:
50
,
height
:
50
}}
/
>
<
/TouchableOpacity
>
<
View
style
=
{{
width
:
'40%'
}}
>
...
...
App/Containers/ListSearchScreen.js
View file @
802e12ca
...
...
@@ -203,10 +203,10 @@ class ListSearchScreen extends Component {
<
Image
source
=
{
!
this
.
state
.
thumbnail
?
Images
.
icon_thumbnailon
:
Images
.
icon_thumbnailoff
}
style
=
{{
width
:
20
,
height
:
20
,
marginLeft
:
20
}}
/
>
<
/TouchableOpacity
>
<
/View
>
<
View
style
=
{{
flexDirection
:
'row'
}}
>
{
/*
<View style={{ flexDirection: 'row' }}>
<BaseText type={"bold"} text={'Filter'} style={{ fontSize: 14, color: '#fff', marginRight: 20, textAlign: 'center' }} />
<Image source={Images.icon_filter} style={{ width: 20, height: 20, alignSelf: 'center' }} resizeMode={"contain"} />
<
/View
>
</View>
*/
}
<
/View
>
{
!
this
.
state
.
thumbnail
&&
(
<
View
style
=
{{
flex
:
1
,
backgroundColor
:
'#fff'
,
borderTopLeftRadius
:
30
,
borderTopRightRadius
:
30
,
width
:
'100%'
,
paddingHorizontal
:
10
}}
>
...
...
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