Authored by 孙凯

调整 分割线 UI review by hongmo

... ... @@ -60,7 +60,7 @@ export default class HotProducts extends React.Component {
fontFamilyStyle = {fontFamily: 'PingFang SC'};
}
}
return(
<View style={styles.container}>
<View style={styles.title}>
... ... @@ -101,7 +101,7 @@ export default class HotProducts extends React.Component {
renderHeader={this.renderHeader}
enableEmptySections = {true}
/>
<View style={{width: width, height: 20, backgroundColor: '#f0f0f0'}}/>
<View style={{width: width, height: 20, backgroundColor: '#f0f0f0',borderTopColor: '#CCC',borderTopWidth: 1}}/>
</View>
);
}
... ...
... ... @@ -78,7 +78,7 @@ export default class Recommend extends React.Component {
}
let backgroundWidth = width;
let backgroundHeight = 41 + Math.ceil(list.length / 4) * itemWidth;
let backgroundHeight = 40 + Math.ceil(list.length / 4) * itemWidth;
return (
<View style={{width: backgroundWidth, height:backgroundHeight, backgroundColor:'#f0f0f0'}}>
<ListView
... ... @@ -109,13 +109,13 @@ const styles = StyleSheet.create({
},
rowContainer: {
borderRightWidth: 1,
borderBottomWidth: 1,
borderColor: '#CCC',
},
thumbnail: {
borderWidth: 0.5,
borderColor: '#CCC',
width: itemWidth,
height: itemWidth,
width: itemWidth-1,
height: itemWidth-1,
},
title: {
alignItems: 'center',
... ... @@ -123,6 +123,8 @@ const styles = StyleSheet.create({
height: 40,
width:width,
backgroundColor: 'white',
borderBottomWidth: 1,
borderBottomColor: '#CCC',
},
itemTitle: {
marginLeft:5,
... ...
... ... @@ -22,7 +22,7 @@ export default class AllBrandListCell extends React.Component {
if (Immutable.is(Immutable.fromJS(nextProps.rowData), Immutable.fromJS(this.props.rowData))) {
return false;
}else {
} else {
return true;
}
}
... ...
... ... @@ -29,7 +29,7 @@ export default class BannerReourceList extends React.Component {
if (Immutable.is(nextProps.resource, this.props.resource)) {
return false;
}else {
} else {
return true;
}
}
... ...
... ... @@ -34,7 +34,7 @@ export default class BrandFliter extends React.Component {
if (Immutable.is(nextProps.resource, this.props.resource) && Immutable.is(nextProps.selectID, this.props.selectID)) {
return false;
}else {
} else {
return true;
}
}
... ...
... ... @@ -51,7 +51,7 @@ export default class BrandSwiper extends React.Component {
if (Immutable.is(nextProps.resource, this.props.resource)) {
return false;
}else {
} else {
return true;
}
}
... ...