Toggle navigation
Toggle navigation
This project
Loading...
Sign in
罗广聪
/
ProtectGod
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
罗广聪
2017-09-28 19:16:44 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9d8782ccb6f4681324ec24bf742f58820a817435
9d8782cc
1 parent
7dee164b
增加客服管理tab
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
4 deletions
index.ios.js
src/pages/Customer/index.js
src/pages/Discover/index.js → src/pages/Discover/discover.js
index.ios.js
View file @
9d8782c
...
...
@@ -12,13 +12,14 @@ import Home from "./src/pages/Home/index";
import
InsuranceCircle
from
"./src/pages/InsuranceCircle/index"
;
import
InsuranceChurch
from
"./src/pages/InsuranceChurch/index"
;
import
Mine
from
"./src/pages/Mine/index"
;
import
Customer
from
"./src/pages/Customer/index"
;
import
Login
from
"./src/pages/Login"
;
import
AllProduct
from
"./src/pages/Home/allProduct"
;
import
ProductTemplate
from
"./src/Components/ProductTemplate"
;
import
ArticleTemplate
from
"./src/Components/articleTemplate"
;
import
Details
from
"./src/pages/InsuranceCircle/details"
;
import
Release
from
"./src/pages/InsuranceCircle/release"
;
import
Discover
from
"./src/pages/Discover/
index
"
;
import
Discover
from
"./src/pages/Discover/
discover
"
;
import
AIBegin
from
"./src/pages/Home/AISolution/Begin"
;
import
AIQuestion
from
"./src/pages/Home/AISolution/Question"
;
import
AISolution
from
"./src/pages/Home/AISolution/Solution"
;
...
...
@@ -52,10 +53,10 @@ const MainTabBar = TabNavigator(
)
}
},
Discov
er
:
{
screen
:
Discov
er
,
Custom
er
:
{
screen
:
Custom
er
,
navigationOptions
:
{
title
:
"
发现
"
,
title
:
"
客户管理
"
,
// header: null,
// tabBarVisible: false,
tabBarIcon
:
({
focused
})
=>
...
...
@@ -107,6 +108,7 @@ const ProtectGod = StackNavigator(
InsuranceChurch
:
{
screen
:
InsuranceChurch
},
Mine
:
{
screen
:
Mine
},
Login
:
{
screen
:
Login
},
Customer
:
{
screen
:
Customer
},
AllProduct
:
{
screen
:
AllProduct
,
navigationOptions
:
{
headerTitle
:
"全部产品"
}
...
...
src/pages/Customer/index.js
0 → 100644
View file @
9d8782c
import
React
,
{
Component
}
from
"react"
;
import
{
AppRegistry
,
StyleSheet
,
Text
,
View
,
Image
,
TouchableOpacity
,
ScrollView
,
ListView
,
Dimensions
,
}
from
"react-native"
;
import
{
StackNavigator
,
TabNavigator
}
from
"react-navigation"
;
import
post
from
"../../utils/fetch"
;
export
default
class
Home
extends
Component
{
constructor
(
props
)
{
super
(
props
);
this
.
state
=
{};
}
componentWillMount
()
{}
componentDidMount
()
{}
getListData
()
{
post
(
"/test/insurance/article"
,
{},
res
=>
{},
err
=>
{});
}
render
()
{
const
{
navigate
}
=
this
.
props
.
navigation
;
return
(
<
View
style
=
{
styles
.
container
}
>
<
Text
>
客户管理页面
<
/Text
>
<
/View
>
);
}
}
const
styles
=
StyleSheet
.
create
({
container
:
{
flex
:
1
,
justifyContent
:
"flex-start"
,
alignItems
:
"stretch"
,
backgroundColor
:
"#EFEFEF"
}
});
...
...
src/pages/Discover/
index
.js
→
src/pages/Discover/
discover
.js
View file @
9d8782c
File moved
Please
register
or
login
to post a comment