Showing
1 changed file
with
2 additions
and
1 deletions
@@ -35,7 +35,7 @@ export default class category extends Component { | @@ -35,7 +35,7 @@ export default class category extends Component { | ||
35 | } | 35 | } |
36 | 36 | ||
37 | return ( | 37 | return ( |
38 | - <View className="category" style={newList.length > 0 ? `height: 500rpx;` : ''}> | 38 | + <View className="category"> |
39 | <View className="floor-header"> | 39 | <View className="floor-header"> |
40 | <View className="title">{floor.category_name}</View> | 40 | <View className="title">{floor.category_name}</View> |
41 | <View className="more" hover-class="none" onClick={this.goToList.bind(this, floor)}> | 41 | <View className="more" hover-class="none" onClick={this.goToList.bind(this, floor)}> |
@@ -48,6 +48,7 @@ export default class category extends Component { | @@ -48,6 +48,7 @@ export default class category extends Component { | ||
48 | <ScrollView | 48 | <ScrollView |
49 | className='scrollview' | 49 | className='scrollview' |
50 | scrollX | 50 | scrollX |
51 | + scrollY={false} | ||
51 | scrollWithAnimation | 52 | scrollWithAnimation |
52 | scrollLeft='0' | 53 | scrollLeft='0' |
53 | lowerThreshold='20' | 54 | lowerThreshold='20' |
-
Please register or login to post a comment