Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
InvestCustomer
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
1
Merge Requests
1
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
Giang Tran
InvestCustomer
Commits
5bb75b8e
Commit
5bb75b8e
authored
May 03, 2021
by
Giang Tran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit item
parent
17764246
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
140 additions
and
95 deletions
+140
-95
Item.js
src/Screens/Transaction/DueDate/Item.js
+21
-6
Item.js
src/Screens/Transaction/Escrow/Item.js
+14
-4
Item.js
src/Screens/Transaction/PriceList/Item.js
+89
-79
Item.js
src/Screens/Transaction/TimeTransaction/Item.js
+16
-6
No files found.
src/Screens/Transaction/DueDate/Item.js
View file @
5bb75b8e
...
@@ -27,12 +27,19 @@ const Item = (props) => {
...
@@ -27,12 +27,19 @@ const Item = (props) => {
<
Image
source
=
{
R
.
images
.
iconRecharge
}
style
=
{
styles
.
imgIcon
}
/
>
<
Image
source
=
{
R
.
images
.
iconRecharge
}
style
=
{
styles
.
imgIcon
}
/
>
<
/View
>
<
/View
>
<
Block
padding
=
{[
5
,
10
]}
space
=
{
'between'
}
flex
=
{
1
}
>
<
Block
padding
=
{[
5
,
10
]}
space
=
{
'between'
}
flex
=
{
1
}
>
<
View
style
=
{{
justifyContent
:
'center'
,
flex
:
1
}}
>
<
View
style
=
{{
flex
:
1
,
flexDirection
:
'row'
,
justifyContent
:
'space-between'
,
}}
>
<
Text
numberOfLines
=
{
2
}
style
=
{
styles
.
txtBlack
}
>
<
Text
numberOfLines
=
{
2
}
style
=
{
styles
.
txtBlack
}
>
{
item
.
body
}
Ng
ô
CBOT
<
/Text
>
<
/Text
>
<
Text
style
=
{
styles
.
txtMoney
}
>
05
/
2022
<
/Text
>
<
/View
>
<
/View
>
<
Text
style
=
{
styles
.
txt
}
>
{
item
.
pushed_at
}
<
/Text
>
<
Text
style
=
{
styles
.
txtCode
}
>
M
ã
h
ợ
p
đồ
ng
:
ZCEK22
<
/Text
>
<
Text
style
=
{
styles
.
txt
}
>
29
/
04
/
2022
-
13
/
05
/
2022
<
/Text
>
<
/Block
>
<
/Block
>
<
/Block
>
<
/Block
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
...
@@ -75,9 +82,12 @@ const styles = StyleSheet.create({
...
@@ -75,9 +82,12 @@ const styles = StyleSheet.create({
fontWeight
:
'bold'
,
fontWeight
:
'bold'
,
},
},
txt
:
{
txt
:
{
fontSize
:
getFontXD
(
39
),
fontSize
:
getFontXD
(
36
),
color
:
'#929292'
,
},
fontStyle
:
'italic'
,
txtCode
:
{
fontSize
:
getFontXD
(
36
),
color
:
R
.
colors
.
main
,
marginVertical
:
5
,
},
},
rowBet
:
{
rowBet
:
{
flexDirection
:
'row'
,
flexDirection
:
'row'
,
...
@@ -87,10 +97,15 @@ const styles = StyleSheet.create({
...
@@ -87,10 +97,15 @@ const styles = StyleSheet.create({
txtBlack
:
{
txtBlack
:
{
fontSize
:
getFontXD
(
42
),
fontSize
:
getFontXD
(
42
),
color
:
'black'
,
color
:
'black'
,
fontWeight
:
'bold'
,
},
},
imgIcon
:
{
imgIcon
:
{
width
:
WIDTHXD
(
178
),
width
:
WIDTHXD
(
178
),
height
:
HEIGHTXD
(
178
),
height
:
HEIGHTXD
(
178
),
resizeMode
:
'contain'
,
resizeMode
:
'contain'
,
},
},
txtMoney
:
{
fontSize
:
getFontXD
(
42
),
color
:
R
.
colors
.
main
,
},
});
});
src/Screens/Transaction/Escrow/Item.js
View file @
5bb75b8e
...
@@ -22,17 +22,22 @@ const Item = (props) => {
...
@@ -22,17 +22,22 @@ const Item = (props) => {
<
View
style
=
{
styles
.
container
}
>
<
View
style
=
{
styles
.
container
}
>
<
TouchableOpacity
onPress
=
{()
=>
props
.
onPress
(
item
)}
>
<
TouchableOpacity
onPress
=
{()
=>
props
.
onPress
(
item
)}
>
<
Block
flex
=
{
1
}
row
>
<
Block
flex
=
{
1
}
row
>
<
View
style
=
{
styles
.
wrapLeft
}
/
>
<
View
style
=
{
styles
.
wrapDate
}
>
<
View
style
=
{
styles
.
wrapDate
}
>
<
Image
source
=
{
R
.
images
.
iconRecharge
}
style
=
{
styles
.
imgIcon
}
/
>
<
Image
source
=
{
R
.
images
.
iconRecharge
}
style
=
{
styles
.
imgIcon
}
/
>
<
/View
>
<
/View
>
<
Block
padding
=
{[
5
,
10
]}
space
=
{
'between'
}
flex
=
{
1
}
>
<
Block
padding
=
{[
5
,
10
]}
space
=
{
'between'
}
flex
=
{
1
}
>
<
View
style
=
{{
justifyContent
:
'center'
,
flex
:
1
}}
>
<
View
style
=
{{
flex
:
1
,
flexDirection
:
'row'
,
justifyContent
:
'space-between'
,
}}
>
<
Text
numberOfLines
=
{
2
}
style
=
{
styles
.
txtBlack
}
>
<
Text
numberOfLines
=
{
2
}
style
=
{
styles
.
txtBlack
}
>
{
item
.
body
}
Ng
ô
CBOT
<
/Text
>
<
/Text
>
<
Text
style
=
{
styles
.
txtMoney
}
>
{
toPriceVnd
(
300000
)}
<
/Text
>
<
/View
>
<
/View
>
<
Text
style
=
{
styles
.
txt
}
>
{
item
.
pushed_at
}
<
/Text
>
<
Text
style
=
{
styles
.
txt
}
>
ZCE
<
/Text
>
<
/Block
>
<
/Block
>
<
/Block
>
<
/Block
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
...
@@ -87,10 +92,15 @@ const styles = StyleSheet.create({
...
@@ -87,10 +92,15 @@ const styles = StyleSheet.create({
txtBlack
:
{
txtBlack
:
{
fontSize
:
getFontXD
(
42
),
fontSize
:
getFontXD
(
42
),
color
:
'black'
,
color
:
'black'
,
fontWeight
:
'bold'
,
},
},
imgIcon
:
{
imgIcon
:
{
width
:
WIDTHXD
(
178
),
width
:
WIDTHXD
(
178
),
height
:
HEIGHTXD
(
178
),
height
:
HEIGHTXD
(
178
),
resizeMode
:
'contain'
,
resizeMode
:
'contain'
,
},
},
txtMoney
:
{
fontSize
:
getFontXD
(
42
),
color
:
R
.
colors
.
main
,
},
});
});
src/Screens/Transaction/PriceList/Item.js
View file @
5bb75b8e
import
React
from
'react'
;
import
React
from
'react'
;
import
{
import
{
View
,
View
,
Text
,
Text
,
StyleSheet
,
StyleSheet
,
TouchableOpacity
,
TouchableOpacity
,
Image
,
Image
,
Alert
,
Alert
,
}
from
'react-native'
;
}
from
'react-native'
;
import
{
import
{
getFontXD
,
getFontXD
,
HEIGHTXD
,
HEIGHTXD
,
WIDTHXD
,
WIDTHXD
,
toPriceVnd
,
toPriceVnd
,
}
from
'../../../Config/Functions'
;
}
from
'../../../Config/Functions'
;
import
R
from
'../../../assets/R'
;
import
R
from
'../../../assets/R'
;
import
Block
from
'../../../components/Block'
;
import
Block
from
'../../../components/Block'
;
const
Item
=
(
props
)
=>
{
const
Item
=
(
props
)
=>
{
const
{
item
}
=
props
;
const
{
item
}
=
props
;
return
(
return
(
<
View
style
=
{
styles
.
container
}
>
<
View
style
=
{
styles
.
container
}
>
<
TouchableOpacity
onPress
=
{()
=>
props
.
onPress
(
item
)}
>
<
TouchableOpacity
onPress
=
{()
=>
props
.
onPress
(
item
)}
>
<
Block
flex
=
{
1
}
row
>
<
Block
flex
=
{
1
}
row
>
<
View
style
=
{
styles
.
wrapLeft
}
/
>
<
View
style
=
{
styles
.
wrapDate
}
>
<
View
style
=
{
styles
.
wrapDate
}
>
<
Image
source
=
{
R
.
images
.
iconRecharge
}
style
=
{
styles
.
imgIcon
}
/
>
<
Image
source
=
{
R
.
images
.
iconRecharge
}
style
=
{
styles
.
imgIcon
}
/
>
<
/View
>
<
/View
>
<
Block
padding
=
{[
5
,
10
]}
space
=
{
'between'
}
flex
=
{
1
}
>
<
Block
padding
=
{[
5
,
10
]}
space
=
{
'between'
}
flex
=
{
1
}
>
<
View
<
View
style
=
{{
justifyContent
:
'center'
,
flex
:
1
}}
>
style
=
{{
<
Text
numberOfLines
=
{
2
}
style
=
{
styles
.
txtBlack
}
>
flex
:
1
,
{
item
.
body
}
flexDirection
:
'row'
,
<
/Text
>
justifyContent
:
'space-between'
,
<
/View
>
}}
>
<
Text
style
=
{
styles
.
txt
}
>
{
item
.
pushed_at
}
<
/Text
>
<
Text
numberOfLines
=
{
2
}
style
=
{
styles
.
txtBlack
}
>
<
/Block
>
Ng
ô
CBOT
<
/Block
>
<
/Text
>
<
/TouchableOpacity
>
<
Text
style
=
{
styles
.
txtMoney
}
>
{
toPriceVnd
(
300000
)}
<
/Text
>
<
/View
>
<
/View
>
);
<
Text
style
=
{
styles
.
txt
}
>
ZCE
<
/Text
>
<
/Block
>
<
/Block
>
<
/TouchableOpacity
>
<
/View
>
);
};
};
export
default
Item
;
export
default
Item
;
const
styles
=
StyleSheet
.
create
({
const
styles
=
StyleSheet
.
create
({
container
:
{
container
:
{
marginTop
:
10
,
marginTop
:
10
,
paddingVertical
:
10
,
paddingVertical
:
10
,
shadowColor
:
'#000'
,
shadowColor
:
'#000'
,
shadowOffset
:
{
shadowOffset
:
{
width
:
0
,
width
:
0
,
height
:
2
,
height
:
2
,
},
shadowOpacity
:
0.25
,
shadowRadius
:
3.84
,
elevation
:
5
,
marginHorizontal
:
10
,
backgroundColor
:
R
.
colors
.
white
,
marginBottom
:
10
,
borderRadius
:
HEIGHTXD
(
30
),
},
},
shadowOpacity
:
0.25
,
shadowRadius
:
3.84
,
elevation
:
5
,
marginHorizontal
:
10
,
backgroundColor
:
R
.
colors
.
white
,
marginBottom
:
10
,
borderRadius
:
HEIGHTXD
(
30
),
},
wrapLeft
:
{
wrapLeft
:
{
width
:
WIDTHXD
(
16
),
width
:
WIDTHXD
(
16
),
borderTopLeftRadius
:
HEIGHTXD
(
30
),
borderTopLeftRadius
:
HEIGHTXD
(
30
),
borderBottomStartRadius
:
HEIGHTXD
(
30
),
borderBottomStartRadius
:
HEIGHTXD
(
30
),
},
},
wrapDate
:
{
wrapDate
:
{
justifyContent
:
'center'
,
justifyContent
:
'center'
,
paddingHorizontal
:
10
,
paddingHorizontal
:
10
,
},
},
txtTitle
:
{
txtTitle
:
{
fontSize
:
getFontXD
(
42
),
fontSize
:
getFontXD
(
42
),
color
:
R
.
colors
.
black
,
color
:
R
.
colors
.
black
,
fontWeight
:
'bold'
,
fontWeight
:
'bold'
,
},
},
txt
:
{
txt
:
{
fontSize
:
getFontXD
(
39
),
fontSize
:
getFontXD
(
39
),
color
:
'#929292'
,
color
:
'#929292'
,
fontStyle
:
'italic'
,
fontStyle
:
'italic'
,
},
},
rowBet
:
{
rowBet
:
{
flexDirection
:
'row'
,
flexDirection
:
'row'
,
justifyContent
:
'space-between'
,
justifyContent
:
'space-between'
,
alignItems
:
'center'
,
alignItems
:
'center'
,
},
},
txtBlack
:
{
txtBlack
:
{
fontSize
:
getFontXD
(
42
),
fontSize
:
getFontXD
(
42
),
color
:
'black'
,
color
:
'black'
,
},
fontWeight
:
'bold'
,
imgIcon
:
{
},
width
:
WIDTHXD
(
178
),
imgIcon
:
{
height
:
HEIGHTXD
(
178
),
width
:
WIDTHXD
(
178
),
resizeMode
:
'contain'
,
height
:
HEIGHTXD
(
178
),
},
resizeMode
:
'contain'
,
},
txtMoney
:
{
fontSize
:
getFontXD
(
42
),
color
:
R
.
colors
.
main
,
},
});
});
src/Screens/Transaction/TimeTransaction/Item.js
View file @
5bb75b8e
...
@@ -27,12 +27,19 @@ const Item = (props) => {
...
@@ -27,12 +27,19 @@ const Item = (props) => {
<
Image
source
=
{
R
.
images
.
iconRecharge
}
style
=
{
styles
.
imgIcon
}
/
>
<
Image
source
=
{
R
.
images
.
iconRecharge
}
style
=
{
styles
.
imgIcon
}
/
>
<
/View
>
<
/View
>
<
Block
padding
=
{[
5
,
10
]}
space
=
{
'between'
}
flex
=
{
1
}
>
<
Block
padding
=
{[
5
,
10
]}
space
=
{
'between'
}
flex
=
{
1
}
>
<
View
style
=
{{
justifyContent
:
'center'
,
flex
:
1
}}
>
<
View
style
=
{{
flex
:
1
,
flexDirection
:
'row'
,
justifyContent
:
'space-between'
,
}}
>
<
Text
numberOfLines
=
{
2
}
style
=
{
styles
.
txtBlack
}
>
<
Text
numberOfLines
=
{
2
}
style
=
{
styles
.
txtBlack
}
>
{
item
.
body
}
Ng
ô
CBOT
<
/Text
>
<
/Text
>
<
Text
style
=
{
styles
.
txtMoney
}
>
Th
ứ
2
-
Th
ứ
6
<
/Text
>
<
/View
>
<
/View
>
<
Text
style
=
{
styles
.
txt
}
>
{
item
.
pushed_at
}
<
/Text
>
<
Text
style
=
{
styles
.
txt
}
>
Phi
ê
n
1
:
07
:
00
-
19
:
45
<
/Text
>
<
Text
style
=
{
styles
.
txt
}
>
Phi
ê
n
2
:
20
:
30
-
01
:
20
<
/Text
>
<
/Block
>
<
/Block
>
<
/Block
>
<
/Block
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
...
@@ -75,9 +82,7 @@ const styles = StyleSheet.create({
...
@@ -75,9 +82,7 @@ const styles = StyleSheet.create({
fontWeight
:
'bold'
,
fontWeight
:
'bold'
,
},
},
txt
:
{
txt
:
{
fontSize
:
getFontXD
(
39
),
fontSize
:
getFontXD
(
36
),
color
:
'#929292'
,
fontStyle
:
'italic'
,
},
},
rowBet
:
{
rowBet
:
{
flexDirection
:
'row'
,
flexDirection
:
'row'
,
...
@@ -87,10 +92,15 @@ const styles = StyleSheet.create({
...
@@ -87,10 +92,15 @@ const styles = StyleSheet.create({
txtBlack
:
{
txtBlack
:
{
fontSize
:
getFontXD
(
42
),
fontSize
:
getFontXD
(
42
),
color
:
'black'
,
color
:
'black'
,
fontWeight
:
'bold'
,
},
},
imgIcon
:
{
imgIcon
:
{
width
:
WIDTHXD
(
178
),
width
:
WIDTHXD
(
178
),
height
:
HEIGHTXD
(
178
),
height
:
HEIGHTXD
(
178
),
resizeMode
:
'contain'
,
resizeMode
:
'contain'
,
},
},
txtMoney
:
{
fontSize
:
getFontXD
(
42
),
color
:
R
.
colors
.
main
,
},
});
});
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