Skip to content

Commit

Permalink
fix: 修复匹配提示bug
Browse files Browse the repository at this point in the history
  • Loading branch information
light authored and light committed Oct 17, 2018
1 parent 1500442 commit 1d5f04f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/containers/profile/components/MatchTips.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default class MatchTips extends Component {

render() {
return (
<View style={[styles.container, { display: this.props.showPopup ? 'flex' : 'none',position:this.props.showPopup ? 'absolute' : 'relative' }]}>
<View style={[styles.container, { display: this.props.showPopup ? 'flex' : 'none'}]}>
<View style={styles.swiper_container} animation='bounceIn'>
<Swiper
style={styles.swiper}
Expand Down Expand Up @@ -83,8 +83,6 @@ const styles = StyleSheet.create({
},
swiper: {
paddingLeft: (WIDTH - getResponsiveWidth(311)) / 2,
// paddingLeft:getResponsiveWidth(24)
width:getResponsiveWidth(311),
},
popup_container: {
width: getResponsiveWidth(311),
Expand Down

0 comments on commit 1d5f04f

Please sign in to comment.