...
|
...
|
@@ -45,7 +45,7 @@ export default class UserLogout extends Component { |
|
|
<View style={styles.clauseContainer}>
|
|
|
<TouchableOpacity
|
|
|
activeOpacity={1.0}
|
|
|
style={{flexDirection: 'row'}}
|
|
|
style={{flexDirection: 'row',alignItems: 'center'}}
|
|
|
onPress={() => {
|
|
|
this.setState(previousState => {
|
|
|
return { readedClause: !previousState.readedClause };
|
...
|
...
|
@@ -73,7 +73,7 @@ export default class UserLogout extends Component { |
|
|
}
|
|
|
}}>
|
|
|
<View style={[styles.confirmBtn,{backgroundColor:this.state.readedClause?'#444444':'#b0b0b0'}]}>
|
|
|
<Text style={styles.confirmText}>注销帐号</Text>
|
|
|
<Text style={styles.confirmText}>注销账号</Text>
|
|
|
</View>
|
|
|
</TouchableOpacity>
|
|
|
<Modal
|
...
|
...
|
@@ -85,26 +85,26 @@ export default class UserLogout extends Component { |
|
|
<View style={styles.modalView}>
|
|
|
<View style={styles.confirmTitleContainer}>
|
|
|
<View style={{marginTop:40,marginBottom:29}}>
|
|
|
<Text style={styles.confirmTitle}>确认注销帐号吗?</Text>
|
|
|
<Text style={styles.confirmTitle}>注销帐号将无法恢复!</Text>
|
|
|
<Text style={styles.confirmTitle}>确认注销账号吗?</Text>
|
|
|
<Text style={styles.confirmTitle}>注销账号将无法恢复!</Text>
|
|
|
</View>
|
|
|
</View>
|
|
|
<View style={{width:'100%',height:0.5,backgroundColor:'#e0e0e0'}}/>
|
|
|
<View style={styles.confirmBtnContainer}>
|
|
|
<TouchableOpacity
|
|
|
style={{width:'49%',alignItems:'center',height:45.5}}
|
|
|
style={{width:'49%',alignItems:'center',justifyContent:'center',height:45.5}}
|
|
|
onPress={() => {
|
|
|
this.props.updateLogoutModalState && this.props.updateLogoutModalState(false);
|
|
|
}}>
|
|
|
<Text style={{lineHeight:44,fontSize:17,color:'#444444',letterSpacing:-0.41}}>放弃</Text>
|
|
|
<Text style={{fontSize:17,color:'#444444',letterSpacing:-0.41}}>放弃</Text>
|
|
|
</TouchableOpacity>
|
|
|
<View style={{width:0.5,height:45,backgroundColor:'#e0e0e0'}}/>
|
|
|
<TouchableOpacity
|
|
|
style={{width:'49%',alignItems:'center',height:45.5}}
|
|
|
style={{width:'49%',alignItems:'center',justifyContent:'center',height:45.5}}
|
|
|
onPress={() => {
|
|
|
this.props.confirmLogoutAction && this.props.confirmLogoutAction();
|
|
|
}}>
|
|
|
<Text style={{lineHeight:44,fontSize:17,color:'#d0021b',letterSpacing:-0.41}}>确定</Text>
|
|
|
<Text style={{fontSize:17,color:'#d0021b',letterSpacing:-0.41}}>确定</Text>
|
|
|
</TouchableOpacity>
|
|
|
</View>
|
|
|
</View>
|
...
|
...
|
@@ -179,7 +179,6 @@ let styles = StyleSheet.create({ |
|
|
flex: 1,
|
|
|
justifyContent: 'center',
|
|
|
backgroundColor:'rgba(0, 0, 0, 0.4)',
|
|
|
marginTop: 64
|
|
|
},
|
|
|
modalView: {
|
|
|
marginTop: -64,
|
...
|
...
|
|