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 {
StatusBar
,
TouchableWithoutFeedback
,
Keyboard
,
ImageBackground
,
Dimensions
,
}
from
'react-native'
;
import
HeaderAuthen
from
'../../components/Header/HeaderAuthen'
;
import
{
createMaterialTopTabNavigator
}
from
'@react-navigation/material-top-tabs'
;
import
{
getFontXD
}
from
'../../Config/Functions'
;
import
{
getFontXD
,
HEIGHTXD
}
from
'../../Config/Functions'
;
import
Login
from
'./Login'
;
import
Registor
from
'./Registor'
;
import
{
ScrollView
}
from
'react-native-gesture-handler'
;
import
R
from
'../../assets/R'
;
const
{
width
,
height
}
=
Dimensions
.
get
(
'window'
);
const
Tab
=
createMaterialTopTabNavigator
();
const
Authen
=
(
props
)
=>
{
...
...
@@ -25,9 +30,12 @@ const Authen = (props) => {
keyboardVerticalOffset
=
{
-
50
}
>
<
TouchableWithoutFeedback
onPress
=
{
Keyboard
.
dismiss
}
>
<
ScrollView
showsVerticalScrollIndicator
=
{
false
}
>
<
View
style
=
{{
flex
:
1
}}
>
<
HeaderAuthen
/>
<
View
style
=
{{
flex
:
1
,
backgroundColor
:
'white'
}}
>
<
StatusBar
backgroundColor
=
"transparent"
translucent
=
{
true
}
/
>
<
ImageBackground
resizeMode
=
{
'stretch'
}
style
=
{{
width
:
width
,
height
}}
source
=
{
R
.
images
.
bgLogin
}
>
<
Tab
.
Navigator
initialRouteName
=
"Login"
tabBarOptions
=
{{
...
...
@@ -37,6 +45,7 @@ const Authen = (props) => {
justifyContent
:
'center'
,
marginHorizontal
:
40
,
elevation
:
0
,
marginTop
:
HEIGHTXD
(
700
),
},
}}
>
<
Tab
.
Screen
...
...
@@ -50,8 +59,7 @@ const Authen = (props) => {
options
=
{{
tabBarLabel
:
'Đăng ký'
}}
/
>
<
/Tab.Navigator
>
<
/View
>
<
/View
>
<
/ImageBackground
>
<
/ScrollView
>
<
/TouchableWithoutFeedback
>
<
/KeyboardAvoidingView
>
...
...
src/Screens/Authen/Registor.js
View file @
8af3d121
...
...
@@ -103,8 +103,7 @@ const Registor = (props) => {
<
View
style
=
{{
marginVertical
:
20
,
marginTop
:
30
,
alignItems
:
'center'
,
}}
>
<
TouchableOpacity
onPress
=
{
registorClick
}
style
=
{
styles
.
wrapLogin
}
>
...
...
src/Screens/NewFeed/DetailNew.js
View file @
8af3d121
...
...
@@ -11,6 +11,7 @@ const DepositView = (props) => {
<
HeaderBack
isWhite
=
{
true
}
title
=
{
'Chi tiết'
}
/
>
<
WebView
androidHardwareAccelerationDisabled
=
{
true
}
domStorageEnabled
=
{
false
}
source
=
{{
uri
:
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) => {
}}
>
<
WebView
androidHardwareAccelerationDisabled
=
{
true
}
domStorageEnabled
=
{
false
}
style
=
{{
height
:
'100%'
,
width
:
'100%'
}}
source
=
{{
uri
:
'http://api.dcvinvest.com/webview/tradingview/price'
,
...
...
src/Screens/NewFeed/Tradding/Tradding.js
View file @
8af3d121
...
...
@@ -8,6 +8,7 @@ const Trading = (props) => {
<
WebView
androidHardwareAccelerationDisabled
=
{
true
}
style
=
{{
height
:
'100%'
,
width
:
'100%'
}}
domStorageEnabled
=
{
false
}
source
=
{{
uri
:
'http://api.dcvinvest.com/webview/tradingview/chart?height='
+
...
...
src/assets/images.js
View file @
8af3d121
...
...
@@ -62,7 +62,7 @@ const images = {
iconBtnGreen
:
require
(
'./images/iconBtnGreen.png'
),
iconCheck
:
require
(
'./images/iconCheck.png'
),
bgmedia
:
require
(
'./images/bgmedia.jpeg'
),
login_bg
:
require
(
'./images/login_bg
.png'
),
bgLogin
:
require
(
'./images/bgLogin
.png'
),
};
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