<View style={{flex: 1, flexDirection: 'row'}}>
<TouchableHighlight
style={{flex: 6}}
key = {i}
onPress={this.onPressMap.bind(this,ele.PRIVILEGENAME)}
underlayColor="transparent"
activeOpacity={0.5}>
<View style={{marginTop:15,marginLeft:10,marginRight:10,backgroundColor:'#63B8FF',height:35,borderRadius:5, justifyContent: 'center', alignItems: 'center'}}>
<Text style={{color:'#fff'}} >
{ele.PRIVILEGENAME}
</Text>
</View>
</TouchableHighlight>
<TouchableHighlight
style={{flex: 2}}
key = {"a"+i}
onPress={this.onDownLoadData.bind(this,ele.PRIVILEGENAME)}
underlayColor="transparent"
activeOpacity={0.5}>
<View style={{marginTop:15,marginLeft:10,marginRight:10,backgroundColor:'#03B8FF',height:35,borderRadius:5, justifyContent: 'center', alignItems: 'center'}}>
<Text style={{color:'#fff'}} >
{'下载数据'}
</Text>
</View>
</TouchableHighlight>
</View>
<TouchableHighlight
style={{flex: 6}}
key = {i}
onPress={this.onPressMap.bind(this,ele.PRIVILEGENAME)}
underlayColor="transparent"
activeOpacity={0.5}>
<View style={{marginTop:15,marginLeft:10,marginRight:10,backgroundColor:'#63B8FF',height:35,borderRadius:5, justifyContent: 'center', alignItems: 'center'}}>
<Text style={{color:'#fff'}} >
{ele.PRIVILEGENAME}
</Text>
</View>
</TouchableHighlight>
<TouchableHighlight
style={{flex: 2}}
key = {"a"+i}
onPress={this.onDownLoadData.bind(this,ele.PRIVILEGENAME)}
underlayColor="transparent"
activeOpacity={0.5}>
<View style={{marginTop:15,marginLeft:10,marginRight:10,backgroundColor:'#03B8FF',height:35,borderRadius:5, justifyContent: 'center', alignItems: 'center'}}>
<Text style={{color:'#fff'}} >
{'下载数据'}
</Text>
</View>
</TouchableHighlight>
</View>