Authored by chenl

Merge branch '5.5.0' of http://git.yoho.cn/mobile/YH_RNComponent into 5.5.0_local

@@ -78,6 +78,7 @@ let styles = StyleSheet.create({ @@ -78,6 +78,7 @@ let styles = StyleSheet.create({
78 marginTop: 16, 78 marginTop: 16,
79 marginBottom: 0, 79 marginBottom: 0,
80 color: '#444444', 80 color: '#444444',
  81 + fontWeight: 'bold',
81 // backgroundColor: 'red', 82 // backgroundColor: 'red',
82 }, 83 },
83 84
@@ -29,7 +29,7 @@ export default class ListBannerSwiper extends React.Component { @@ -29,7 +29,7 @@ export default class ListBannerSwiper extends React.Component {
29 borderRadius: 3, 29 borderRadius: 3,
30 marginLeft: 3, 30 marginLeft: 3,
31 marginRight: 3, 31 marginRight: 3,
32 - marginTop: (Platform.OS === 'ios')?3:23, 32 + marginTop: (Platform.OS === 'ios')?0:1,
33 marginBottom: 0, 33 marginBottom: 0,
34 }} 34 }}
35 />; 35 />;
@@ -41,7 +41,7 @@ export default class ListBannerSwiper extends React.Component { @@ -41,7 +41,7 @@ export default class ListBannerSwiper extends React.Component {
41 borderRadius: 3, 41 borderRadius: 3,
42 marginLeft: 3, 42 marginLeft: 3,
43 marginRight: 3, 43 marginRight: 3,
44 - marginTop: 3, 44 + marginTop: (Platform.OS === 'ios')?0:1,
45 marginBottom: 0, 45 marginBottom: 0,
46 }} 46 }}
47 />; 47 />;
@@ -62,7 +62,8 @@ export default class ListBannerSwiper extends React.Component { @@ -62,7 +62,8 @@ export default class ListBannerSwiper extends React.Component {
62 dot={this.dot} 62 dot={this.dot}
63 activeDot={(Platform.OS === 'ios')?this.activeDot:null} 63 activeDot={(Platform.OS === 'ios')?this.activeDot:null}
64 width={width} 64 width={width}
65 - height={height} 65 + height={height-15}
  66 + paginationStyle={{backgroundColor: 'rgba(0,0,0,0.2)',bottom: 10,height: 10,width: resource.length * 12,borderRadius: 5,marginLeft: (width-resource.length * 12)/2}}
66 > 67 >
67 {resource.map((item, i) => { 68 {resource.map((item, i) => {
68 return ( 69 return (
@@ -94,7 +95,7 @@ let styles = StyleSheet.create({ @@ -94,7 +95,7 @@ let styles = StyleSheet.create({
94 backgroundColor:'#f0f0f0', 95 backgroundColor:'#f0f0f0',
95 }, 96 },
96 banner: { 97 banner: {
97 - 98 + backgroundColor: '#ffffff',
98 }, 99 },
99 100
100 }); 101 });
@@ -83,11 +83,12 @@ let styles = StyleSheet.create({ @@ -83,11 +83,12 @@ let styles = StyleSheet.create({
83 marginTop: 20, 83 marginTop: 20,
84 marginBottom: 0, 84 marginBottom: 0,
85 color: '#444444', 85 color: '#444444',
  86 + fontWeight: 'bold',
86 // backgroundColor: 'red', 87 // backgroundColor: 'red',
87 }, 88 },
88 89
89 phrase: { 90 phrase: {
90 - marginTop: 6, 91 + marginTop: 10,
91 width: width - 150 - 15, 92 width: width - 150 - 15,
92 fontSize: 13, 93 fontSize: 13,
93 color: '#b0b0b0', 94 color: '#b0b0b0',
1 -'use strict';  
2 -  
3 -import React, {Component} from 'react';  
4 -import ReactNative, {  
5 - View,  
6 - ScrollView,  
7 - Text,  
8 - NativeAppEventEmitter,  
9 - StyleSheet,  
10 -} from 'react-native';  
11 -  
12 -export default class Student extends Component {  
13 -  
14 - constructor(props) {  
15 - super(props);  
16 - }  
17 -  
18 - componentDidMount() {  
19 -  
20 - }  
21 -  
22 - render() {  
23 - return (  
24 - <View style={styles.container}>  
25 - <Text>  
26 - student页面  
27 - </Text>  
28 - </View>  
29 - );  
30 - }  
31 -}  
32 -  
33 -let styles = StyleSheet.create({  
34 - container: {  
35 - flex: 1,  
36 - backgroundColor: '#f0f0f0',  
37 - },  
38 -});  
@@ -15,9 +15,7 @@ import {bindActionCreators} from 'redux'; @@ -15,9 +15,7 @@ import {bindActionCreators} from 'redux';
15 import {connect} from 'react-redux'; 15 import {connect} from 'react-redux';
16 import {Map} from 'immutable'; 16 import {Map} from 'immutable';
17 import * as studentActions from '../reducers/student/studentActions'; 17 import * as studentActions from '../reducers/student/studentActions';
18 -import Student from '../components/student/Student';  
19 import Register from '../components/student/Register'; 18 import Register from '../components/student/Register';
20 -// import Result from '../components/student/Result';  
21 19
22 const actions = [ 20 const actions = [
23 studentActions, 21 studentActions,