Authored by 陈林

调整UI review by sunkai。

... ... @@ -177,7 +177,7 @@ export default class GoodsCell extends React.Component {
<View style={{width: backgroundWidth, height:backgroundHeight, backgroundColor:'white'}}>
{display_template == 1 ? this._renderCellType1(list) : this._renderCellType2(originList)}
{(display_template == 1 && this.state.moreProduct && listSize > 2) ?
<TouchableOpacity style={styles.more} activeOpacity={0.5} onPress={() => {
<TouchableOpacity style={styles.moreContainer} activeOpacity={0.5} onPress={() => {
let params = {ID: articleId + ''};
NativeModules.YH_CommonHelper.logEvent('YB_STROLL_DETAIL_MORE_GODS_C', params);
this.setState({moreProduct: !this.state.moreProduct});
... ... @@ -262,7 +262,7 @@ let styles = StyleSheet.create({
height: 23,
width: 40,
},
more: {
moreContainer: {
height: Platform.OS === 'ios' ? 22 : 24,
width:width,
alignItems: 'center',
... ... @@ -270,6 +270,13 @@ let styles = StyleSheet.create({
flexDirection: 'row',
marginTop: 9,
},
more: {
height: Platform.OS === 'ios' ? 22 : 24,
width:width,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
},
moreText: {
height: Platform.OS === 'ios' ? 22 : 24,
paddingLeft: 10,
... ...