Authored by chenl

增加了马上登陆提示兼容android的样式。

... ... @@ -9,6 +9,7 @@ import ReactNative, {
StyleSheet,
Dimensions,
TouchableOpacity,
Platform,
} from 'react-native';
import SlicedImage from '../../../common/components/SlicedImage';
... ... @@ -61,6 +62,8 @@ let brandIconHeight = 40 * DEVICE_WIDTH_RATIO;
let favWidth = 40 * DEVICE_WIDTH_RATIO;
let buttonTop = Platform.OS === 'ios' ? (25 * DEVICE_WIDTH_RATIO - 16) / 2 : (25 * DEVICE_WIDTH_RATIO - 20) / 2;
let styles = StyleSheet.create({
container: {
flexDirection: 'row',
... ... @@ -107,7 +110,7 @@ let styles = StyleSheet.create({
fontWeight: 'bold',
borderRadius: 14,
textAlign: 'center',
paddingTop: (25 * DEVICE_WIDTH_RATIO - 16) / 2,
paddingTop: buttonTop,
width: 75 * DEVICE_WIDTH_RATIO,
height: 25 * DEVICE_WIDTH_RATIO,
backgroundColor: '#d0021b',
... ...