Commit 0a52ca6d by Denglingling

调整【录音】样式;首页顶部【退出】图标的显示

parent 62e093f2
......@@ -113,6 +113,7 @@ export const list_common_item = {
height: 90
},
reco_btn_cont: {
flex: 1,
paddingVertical: 20
},
reco_btn_tit: {
......@@ -122,8 +123,6 @@ export const list_common_item = {
},
reco_btn_inner: {
flex: 1,
width: Width() - 38,
// justifyContent: 'flex-end',
alignItems: 'center',
paddingTop: 30
},
......
......@@ -22,18 +22,7 @@ import { show } from '../../utils/Utils';
class HeadBackItem extends Component {
constructor(props) {
super(props);
this.state = {
isRightExit: false
}
}
componentWillReceiveProps(nextProps) {
let { isRightExit } = this.state
if(isRightExit != nextProps.nextProps) {
this.setState({
isRightExit: nextProps.nextProps
})
}
this.state = { }
}
goBack() {
......@@ -58,8 +47,7 @@ class HeadBackItem extends Component {
}
render() {
let { title } = this.props
let { isRightExit } = this.state
let { title, isRightExit } = this.props
return (
<View style={styles.header_style}>
{
......
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 sign in to comment