Commit 2b6cc770 authored by shiyunjie's avatar shiyunjie

agera rn

parent 8676a52e
...@@ -54,24 +54,8 @@ TabPage.navigationOptions = ({ navigation }) => { ...@@ -54,24 +54,8 @@ TabPage.navigationOptions = ({ navigation }) => {
const params = routes ? routes[navigation.state.index].params : null; const params = routes ? routes[navigation.state.index].params : null;
const headerTitle = params ? params.title : ''; const headerTitle = params ? params.title : '';
//const headerTitleStyle = {
// fontSize: System.iOS ? 23 : 20,
// color: 'white',
// flex: 1,
// textAlign: 'center',
// paddingTop: System.Android ? 17 : null
//};
const headerBackTitle = null; const headerBackTitle = null;
const headerTintColor = 'white'; const headerTintColor = 'white';
//const headerStyle = {
// backgroundColor: Theme.navColor,
// shadowColor: 'transparent',
// shadowOpacity: 0,
// borderBottomWidth: 0,
// borderBottomColor: 'transparent',
// elevation: 0
//};
// 这里的导航都是手动控制的,所以这里设置为null就可以隐藏了。 // 这里的导航都是手动控制的,所以这里设置为null就可以隐藏了。
const header = null; const header = null;
......
...@@ -18,7 +18,9 @@ import { ...@@ -18,7 +18,9 @@ import {
import { push } from '../BasicNavigator/actions'; import { push } from '../BasicNavigator/actions';
type Props = {}; type
Props = {};
const styles = StyleSheet.create({ const styles = StyleSheet.create({
container: { container: {
flex: 1, flex: 1,
......
...@@ -25,7 +25,7 @@ export const getNetInfoStatus = (netInfo: any) => { ...@@ -25,7 +25,7 @@ export const getNetInfoStatus = (netInfo: any) => {
}; };
}; };
export const findPopKey = (routes:Array, pageName) => { export const findPopKey = (routes: Array, pageName) => {
let key = ''; let key = '';
if (routes.length > 0) { if (routes.length > 0) {
const tag = routes.find(route => route.routeName === pageName); const tag = routes.find(route => route.routeName === pageName);
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
import React from 'react'; import React from 'react';
export type ENV_TYPE = 'DEV' | 'FT' | 'SIT' | 'UAT' | 'PRO' | 'PRE_UAT' export type ENV_TYPE = 'DEV' | 'FT' | 'SIT' | 'UAT' | 'PRO'
//export const ENV = 'DEV' // 预留的DEV,地址和SIT相同 //export const ENV = 'DEV' // 预留的DEV,地址和SIT相同
export const ENV = 'SIT' export const ENV = 'SIT'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment