Commit c6be19ac authored by 前端-苏志权's avatar 前端-苏志权

Merge branch 'v2-test-szq' into 'v2-test'

fix: 【首页】点击优化 53862 See merge request project/gaohuaxue-mobile-app!107
parents 362ecfc9 b7c1e815
...@@ -123,19 +123,24 @@ const Header: React.FC<NavBarProps> = (props: NavBarProps) => { ...@@ -123,19 +123,24 @@ const Header: React.FC<NavBarProps> = (props: NavBarProps) => {
/> />
<View style={myStyle.container}> <View style={myStyle.container}>
<View style={myStyle['nav-bar-left-view']}> <View style={myStyle['nav-bar-left-view']}>
<Text style={{ textAlign: 'center' }}>{languageTitle}</Text> <TouchableOpacity onPress={jumpToLanguage} activeOpacity={0.8}>
<Text style={{ textAlign: 'center' }}>{languageTitle}</Text>
</TouchableOpacity>
<TouchableOpacity onPress={jumpToLanguage} activeOpacity={0.8}> <TouchableOpacity onPress={jumpToLanguage} activeOpacity={0.8}>
<Icons name={'down'} size={12} color={backIconColor} /> <Icons name={'down'} size={12} color={backIconColor} />
</TouchableOpacity> </TouchableOpacity>
</View> </View>
<View style={myStyle['nav-bar-wrap']}> <View style={myStyle['nav-bar-wrap']}>
<Text <TouchableOpacity onPress={jumpToMember}>
style={[myStyle['nav-bar-title'], { color: titleColor }, null]} <Text
numberOfLines={1} style={[myStyle['nav-bar-title'], { color: titleColor }, null]}
> numberOfLines={1}
{title} >
</Text> {title}
</Text>
</TouchableOpacity>
<TouchableOpacity onPress={jumpToMember}> <TouchableOpacity onPress={jumpToMember}>
<Icons name={'caretdown'} size={16} color={backIconColor} /> <Icons name={'caretdown'} size={16} color={backIconColor} />
</TouchableOpacity> </TouchableOpacity>
......
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