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
8af3d121
Commit
8af3d121
authored
Apr 13, 2021
by
Nguyễn Thị Thúy
Browse files
Options
Browse Files
Download
Plain Diff
merge 8_Ap
parents
703e7285
4b9177f2
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
19 additions
and
9 deletions
+19
-9
Authen.js
src/Screens/Authen/Authen.js
+14
-6
Registor.js
src/Screens/Authen/Registor.js
+1
-2
DetailNew.js
src/Screens/NewFeed/DetailNew.js
+1
-0
Tab2.js
src/Screens/NewFeed/Tab2/Tab2.js
+1
-0
Tradding.js
src/Screens/NewFeed/Tradding/Tradding.js
+1
-0
images.js
src/assets/images.js
+1
-1
bgLogin.png
src/assets/images/bgLogin.png
+0
-0
login_bg.png
src/assets/images/login_bg.png
+0
-0
No files found.
src/Screens/Authen/Authen.js
View file @
8af3d121
...
@@ -8,13 +8,18 @@ import {
...
@@ -8,13 +8,18 @@ import {
StatusBar
,
StatusBar
,
TouchableWithoutFeedback
,
TouchableWithoutFeedback
,
Keyboard
,
Keyboard
,
ImageBackground
,
Dimensions
,
}
from
'react-native'
;
}
from
'react-native'
;
import
HeaderAuthen
from
'../../components/Header/HeaderAuthen'
;
import
HeaderAuthen
from
'../../components/Header/HeaderAuthen'
;
import
{
createMaterialTopTabNavigator
}
from
'@react-navigation/material-top-tabs'
;
import
{
createMaterialTopTabNavigator
}
from
'@react-navigation/material-top-tabs'
;
import
{
getFontXD
}
from
'../../Config/Functions'
;
import
{
getFontXD
,
HEIGHTXD
}
from
'../../Config/Functions'
;
import
Login
from
'./Login'
;
import
Login
from
'./Login'
;
import
Registor
from
'./Registor'
;
import
Registor
from
'./Registor'
;
import
{
ScrollView
}
from
'react-native-gesture-handler'
;
import
{
ScrollView
}
from
'react-native-gesture-handler'
;
import
R
from
'../../assets/R'
;
const
{
width
,
height
}
=
Dimensions
.
get
(
'window'
);
const
Tab
=
createMaterialTopTabNavigator
();
const
Tab
=
createMaterialTopTabNavigator
();
const
Authen
=
(
props
)
=>
{
const
Authen
=
(
props
)
=>
{
...
@@ -25,9 +30,12 @@ const Authen = (props) => {
...
@@ -25,9 +30,12 @@ const Authen = (props) => {
keyboardVerticalOffset
=
{
-
50
}
>
keyboardVerticalOffset
=
{
-
50
}
>
<
TouchableWithoutFeedback
onPress
=
{
Keyboard
.
dismiss
}
>
<
TouchableWithoutFeedback
onPress
=
{
Keyboard
.
dismiss
}
>
<
ScrollView
showsVerticalScrollIndicator
=
{
false
}
>
<
ScrollView
showsVerticalScrollIndicator
=
{
false
}
>
<
View
style
=
{{
flex
:
1
}}
>
<
StatusBar
backgroundColor
=
"transparent"
translucent
=
{
true
}
/
>
<
HeaderAuthen
/>
<
View
style
=
{{
flex
:
1
,
backgroundColor
:
'white'
}}
>
<
ImageBackground
resizeMode
=
{
'stretch'
}
style
=
{{
width
:
width
,
height
}}
source
=
{
R
.
images
.
bgLogin
}
>
<
Tab
.
Navigator
<
Tab
.
Navigator
initialRouteName
=
"Login"
initialRouteName
=
"Login"
tabBarOptions
=
{{
tabBarOptions
=
{{
...
@@ -37,6 +45,7 @@ const Authen = (props) => {
...
@@ -37,6 +45,7 @@ const Authen = (props) => {
justifyContent
:
'center'
,
justifyContent
:
'center'
,
marginHorizontal
:
40
,
marginHorizontal
:
40
,
elevation
:
0
,
elevation
:
0
,
marginTop
:
HEIGHTXD
(
700
),
},
},
}}
>
}}
>
<
Tab
.
Screen
<
Tab
.
Screen
...
@@ -50,8 +59,7 @@ const Authen = (props) => {
...
@@ -50,8 +59,7 @@ const Authen = (props) => {
options
=
{{
tabBarLabel
:
'Đăng ký'
}}
options
=
{{
tabBarLabel
:
'Đăng ký'
}}
/
>
/
>
<
/Tab.Navigator
>
<
/Tab.Navigator
>
<
/View
>
<
/ImageBackground
>
<
/View
>
<
/ScrollView
>
<
/ScrollView
>
<
/TouchableWithoutFeedback
>
<
/TouchableWithoutFeedback
>
<
/KeyboardAvoidingView
>
<
/KeyboardAvoidingView
>
...
...
src/Screens/Authen/Registor.js
View file @
8af3d121
...
@@ -103,8 +103,7 @@ const Registor = (props) => {
...
@@ -103,8 +103,7 @@ const Registor = (props) => {
<
View
<
View
style
=
{{
style
=
{{
marginVertical
:
20
,
marginTop
:
30
,
alignItems
:
'center'
,
alignItems
:
'center'
,
}}
>
}}
>
<
TouchableOpacity
onPress
=
{
registorClick
}
style
=
{
styles
.
wrapLogin
}
>
<
TouchableOpacity
onPress
=
{
registorClick
}
style
=
{
styles
.
wrapLogin
}
>
...
...
src/Screens/NewFeed/DetailNew.js
View file @
8af3d121
...
@@ -11,6 +11,7 @@ const DepositView = (props) => {
...
@@ -11,6 +11,7 @@ const DepositView = (props) => {
<
HeaderBack
isWhite
=
{
true
}
title
=
{
'Chi tiết'
}
/
>
<
HeaderBack
isWhite
=
{
true
}
title
=
{
'Chi tiết'
}
/
>
<
WebView
<
WebView
androidHardwareAccelerationDisabled
=
{
true
}
androidHardwareAccelerationDisabled
=
{
true
}
domStorageEnabled
=
{
false
}
source
=
{{
source
=
{{
uri
:
uri
:
root
+
'api/v1/posts/detail/web-view?id='
+
props
.
route
.
params
.
id
,
root
+
'api/v1/posts/detail/web-view?id='
+
props
.
route
.
params
.
id
,
...
...
src/Screens/NewFeed/Tab2/Tab2.js
View file @
8af3d121
...
@@ -13,6 +13,7 @@ const NewFeed = (props) => {
...
@@ -13,6 +13,7 @@ const NewFeed = (props) => {
}}
>
}}
>
<
WebView
<
WebView
androidHardwareAccelerationDisabled
=
{
true
}
androidHardwareAccelerationDisabled
=
{
true
}
domStorageEnabled
=
{
false
}
style
=
{{
height
:
'100%'
,
width
:
'100%'
}}
style
=
{{
height
:
'100%'
,
width
:
'100%'
}}
source
=
{{
source
=
{{
uri
:
'http://api.dcvinvest.com/webview/tradingview/price'
,
uri
:
'http://api.dcvinvest.com/webview/tradingview/price'
,
...
...
src/Screens/NewFeed/Tradding/Tradding.js
View file @
8af3d121
...
@@ -8,6 +8,7 @@ const Trading = (props) => {
...
@@ -8,6 +8,7 @@ const Trading = (props) => {
<
WebView
<
WebView
androidHardwareAccelerationDisabled
=
{
true
}
androidHardwareAccelerationDisabled
=
{
true
}
style
=
{{
height
:
'100%'
,
width
:
'100%'
}}
style
=
{{
height
:
'100%'
,
width
:
'100%'
}}
domStorageEnabled
=
{
false
}
source
=
{{
source
=
{{
uri
:
uri
:
'http://api.dcvinvest.com/webview/tradingview/chart?height='
+
'http://api.dcvinvest.com/webview/tradingview/chart?height='
+
...
...
src/assets/images.js
View file @
8af3d121
...
@@ -62,7 +62,7 @@ const images = {
...
@@ -62,7 +62,7 @@ const images = {
iconBtnGreen
:
require
(
'./images/iconBtnGreen.png'
),
iconBtnGreen
:
require
(
'./images/iconBtnGreen.png'
),
iconCheck
:
require
(
'./images/iconCheck.png'
),
iconCheck
:
require
(
'./images/iconCheck.png'
),
bgmedia
:
require
(
'./images/bgmedia.jpeg'
),
bgmedia
:
require
(
'./images/bgmedia.jpeg'
),
login_bg
:
require
(
'./images/login_bg
.png'
),
bgLogin
:
require
(
'./images/bgLogin
.png'
),
};
};
export
default
images
;
export
default
images
;
src/assets/images/bgLogin.png
0 → 100644
View file @
8af3d121
87.2 KB
src/assets/images/login_bg.png
deleted
100644 → 0
View file @
703e7285
386 KB
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