44'use strict' ;
55
66import React , { Component } from 'react' ;
7- import { StyleSheet , Text , View } from 'react-native' ;
7+ import { StyleSheet , Text , View , ScrollView } from 'react-native' ;
88import theme from '../../constants/theme' ;
99import NavigationBar from '../../components/NavigationBar' ;
1010import RowItem from '../../components/SimpleRowItem' ;
@@ -20,13 +20,24 @@ export default class MeFragment extends Component{
2020 render ( ) {
2121 return (
2222 < View style = { styles . container } >
23- < NavigationBar title = "更多" leftBtnPress = { this . _itemClickCallback . bind ( this ) } leftBtnIcon = "arrow-back" isBackBtnOnLeft = { true } rightBtnIcon = "add" rightBtnPress = { this . _itemClickCallback . bind ( this ) } />
23+ < NavigationBar title = "更多" />
24+ < ScrollView >
25+ < View style = { [ styles . block , styles . intro ] } >
2426
25- < View style = { styles . block } >
26- < RowItem title = "主题" icon = "md-brush" onPress = { this . _itemClickCallback . bind ( this ) } />
27- < RowItem title = "主题" icon = "md-brush" onPress = { this . _itemClickCallback . bind ( this ) } />
28- < RowItem title = "主题" icon = "md-brush" renderSegment = { false } onPress = { this . _itemClickCallback . bind ( this ) } />
29- </ View >
27+ </ View >
28+ < View style = { styles . block } >
29+ < RowItem title = "自定义主题" icon = "md-brush" onPress = { this . _itemClickCallback . bind ( this ) } />
30+ < RowItem title = "选择语言 / Language" icon = "md-globe" renderSegment = { false } onPress = { this . _itemClickCallback . bind ( this ) } />
31+ </ View >
32+ < View style = { styles . block } >
33+ < RowItem title = "关于作者" icon = "md-happy" renderSegment = { false } onPress = { this . _itemClickCallback . bind ( this ) } />
34+ </ View >
35+ < View style = { styles . block } >
36+ < RowItem title = "关于Gank.io" icon = "md-aperture" onPress = { this . _itemClickCallback . bind ( this ) } />
37+ < RowItem title = "反馈" icon = "md-text" onPress = { this . _itemClickCallback . bind ( this ) } />
38+ < RowItem title = "分享" icon = "md-share" renderSegment = { false } onPress = { this . _itemClickCallback . bind ( this ) } />
39+ </ View >
40+ </ ScrollView >
3041 </ View >
3142 ) ;
3243 }
@@ -44,8 +55,13 @@ const styles = StyleSheet.create({
4455 flex : 1 ,
4556 backgroundColor : theme . pageBackgroundColor
4657 } ,
58+ intro : {
59+ height : 100 ,
60+ marginTop : px2dp ( 18 ) ,
61+ backgroundColor : '#fff'
62+ } ,
4763 block : {
48- marginTop : px2dp ( 15 ) ,
64+ marginTop : px2dp ( 13 ) ,
4965 borderBottomColor : theme . segment . color ,
5066 borderBottomWidth : theme . segment . width ,
5167 borderTopColor : theme . segment . color ,
0 commit comments