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
770aecc5
Commit
770aecc5
authored
Apr 06, 2021
by
Giang Tran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update code
parent
997d0fe8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
8 deletions
+15
-8
WalletWithdraw.js
src/Screens/Action/Wallet/WalletWithdraw.js
+2
-2
MediaDetail.js
src/Screens/NewFeed/Media/MediaDetail.js
+2
-2
Tab2.js
src/Screens/NewFeed/Tab2/Tab2.js
+6
-2
Tradding.js
src/Screens/NewFeed/Tradding/Tradding.js
+5
-2
No files found.
src/Screens/Action/Wallet/WalletWithdraw.js
View file @
770aecc5
...
...
@@ -14,8 +14,8 @@ import RadioForm, {
}
from
'react-native-simple-radio-button'
;
var
radio_props
=
[
{
label
:
'Từ ví'
,
value
:
0
},
{
label
:
'Từ tài khoản CQG'
,
value
:
1
},
{
label
:
'Từ ví'
,
value
:
'wallet'
},
{
label
:
'Từ tài khoản CQG'
,
value
:
'cqg'
},
];
const
{
width
}
=
Dimensions
.
get
(
'window'
);
...
...
src/Screens/NewFeed/Media/MediaDetail.js
View file @
770aecc5
...
...
@@ -75,7 +75,7 @@ const MediaDetail = (props) => {
videoId
=
{
data
.
video_id
}
play
=
{
false
}
onError
=
{(
e
)
=>
console
.
log
({
error
:
e
.
error
})}
style
=
{{
alignSelf
:
'stretch'
,
height
:
30
0
}}
style
=
{{
alignSelf
:
'stretch'
,
height
:
25
0
}}
/
>
<
View
style
=
{
styles
.
wrapTitle
}
>
<
Text
style
=
{
styles
.
txtTitle
}
>
{
data
.
title
}
<
/Text
>
...
...
@@ -106,7 +106,7 @@ const styles = StyleSheet.create({
fontWeight
:
'bold'
,
},
wrapTitle
:
{
paddingVertical
:
2
0
,
paddingVertical
:
1
0
,
paddingHorizontal
:
10
,
borderBottomWidth
:
0.7
,
borderBottomColor
:
R
.
colors
.
borderGray
,
...
...
src/Screens/NewFeed/Tab2/Tab2.js
View file @
770aecc5
import
React
,
{
Component
}
from
'react'
;
import
{
View
,
Text
,
FlatList
}
from
'react-native'
;
import
{
View
,
Text
,
FlatList
,
Dimensions
}
from
'react-native'
;
import
{
WebView
}
from
'react-native-webview'
;
const
{
height
}
=
Dimensions
.
get
(
'window'
);
const
NewFeed
=
(
props
)
=>
{
return
(
<
View
...
...
@@ -12,7 +14,9 @@ const NewFeed = (props) => {
<
WebView
style
=
{{
height
:
'100%'
,
width
:
'100%'
}}
source
=
{{
uri
:
'http://api.dcvinvest.com/webview/tradingview/price'
,
uri
:
'http://api.dcvinvest.com/webview/tradingview/price?height='
+
(
height
-
150
),
}}
/
>
<
/View
>
...
...
src/Screens/NewFeed/Tradding/Tradding.js
View file @
770aecc5
import
React
,
{
Component
}
from
'react'
;
import
{
View
,
Text
}
from
'react-native'
;
import
{
View
,
Text
,
Dimensions
}
from
'react-native'
;
import
{
WebView
}
from
'react-native-webview'
;
const
{
height
}
=
Dimensions
.
get
(
'window'
);
const
Trading
=
(
props
)
=>
{
return
(
<
View
style
=
{{
flex
:
1
}}
>
<
WebView
style
=
{{
height
:
'100%'
,
width
:
'100%'
}}
source
=
{{
uri
:
'http://api.dcvinvest.com/webview/tradingview/chart?height=400'
,
uri
:
'http://api.dcvinvest.com/webview/tradingview/chart?height='
+
(
height
-
150
),
}}
/
>
<
/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