Commit 2b6cc770 authored by shiyunjie's avatar shiyunjie

agera rn

parent 8676a52e
......@@ -54,24 +54,8 @@ TabPage.navigationOptions = ({ navigation }) => {
const params = routes ? routes[navigation.state.index].params : null;
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 headerTintColor = 'white';
//const headerStyle = {
// backgroundColor: Theme.navColor,
// shadowColor: 'transparent',
// shadowOpacity: 0,
// borderBottomWidth: 0,
// borderBottomColor: 'transparent',
// elevation: 0
//};
// 这里的导航都是手动控制的,所以这里设置为null就可以隐藏了。
const header = null;
......
......@@ -18,7 +18,9 @@ import {
import { push } from '../BasicNavigator/actions';
type Props = {};
type
Props = {};
const styles = StyleSheet.create({
container: {
flex: 1,
......
......@@ -25,7 +25,7 @@ export const getNetInfoStatus = (netInfo: any) => {
};
};
export const findPopKey = (routes:Array, pageName) => {
export const findPopKey = (routes: Array, pageName) => {
let key = '';
if (routes.length > 0) {
const tag = routes.find(route => route.routeName === pageName);
......
......@@ -4,7 +4,7 @@
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 = '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