Authored by 张文文

bug fix reviewd by 陈林

... ... @@ -57,7 +57,7 @@ export default class CategorySelector extends Component {
}
renderRow(rowData, sectionID, rowID, highlightRow) {
let marginLeft = (rowID == 0) ? 0 : 30;
let marginLeft = (rowID == 0) ? 0 : 8;
let color = rowID == this.props.selectedCategoryIndex ? '#222222' : '#444444';
let fontFamily = rowID == this.props.selectedCategoryIndex ? 'PingFang-SC-Medium' : 'PingFang-SC-Regular';
... ... @@ -125,7 +125,7 @@ let styles = StyleSheet.create({
justifyContent: 'center',
},
categoryContainer: {
marginRight: 0,
marginRight: 22,
},
categoryName: {
fontSize: 14,
... ...
... ... @@ -53,7 +53,7 @@ export default class JointCell extends React.Component {
return (
<View>
<YH_Image url={YH_Image.getSlicedUrl(source.src, width-marginLeft*2, ratioHeight, 2)} style={{ width: width-marginLeft*2, height: ratioHeight, marginLeft: marginLeft}} />
<YH_Image url={YH_Image.getSlicedUrl(source.src, width-marginLeft*2, ratioHeight, 2)} resizeMode="contain" style={{ width: width-marginLeft*2, height: ratioHeight, marginLeft: marginLeft}} />
<View style={{flexDirection: 'row', position: 'absolute', top: 0, left: marginLeft, bottom: 0, right: marginLeft}}>{
list.map((item, i) => {
let exposureData = {
... ...