Authored by 于良

商品列表UI调整 review by 草莓

@@ -165,7 +165,7 @@ export default class BrandStore extends Component { @@ -165,7 +165,7 @@ export default class BrandStore extends Component {
165 } 165 }
166 } else if (sectionID == 'storeFilter') { 166 } else if (sectionID == 'storeFilter') {
167 let paddingLeft = rowID % 2 == 1 ? rowMarginHorizontal / 2 : rowMarginHorizontal; 167 let paddingLeft = rowID % 2 == 1 ? rowMarginHorizontal / 2 : rowMarginHorizontal;
168 - let customStyle = rowID == 0 || rowID == 1 ? {paddingLeft, marginTop: 0} : {paddingLeft}; 168 + let customStyle = rowID == 0 || rowID == 1 ? {paddingLeft} : {paddingLeft};
169 return ( 169 return (
170 <BrandProductListCell 170 <BrandProductListCell
171 style={[styles.listContainer, customStyle]} 171 style={[styles.listContainer, customStyle]}
@@ -177,7 +177,7 @@ export default class BrandStore extends Component { @@ -177,7 +177,7 @@ export default class BrandStore extends Component {
177 ); 177 );
178 } else if (sectionID == 'productList') { 178 } else if (sectionID == 'productList') {
179 let paddingLeft = rowID % 2 == 1 ? rowMarginHorizontal / 2 : rowMarginHorizontal; 179 let paddingLeft = rowID % 2 == 1 ? rowMarginHorizontal / 2 : rowMarginHorizontal;
180 - let customStyle = rowID == 0 || rowID == 1 ? {paddingLeft, marginTop: 0} : {paddingLeft}; 180 + let customStyle = rowID == 0 || rowID == 1 ? {paddingLeft} : {paddingLeft};
181 return ( 181 return (
182 <BrandProductListCell 182 <BrandProductListCell
183 style={[styles.listContainer, customStyle]} 183 style={[styles.listContainer, customStyle]}
@@ -35,7 +35,7 @@ export default class HotProducts extends React.Component { @@ -35,7 +35,7 @@ export default class HotProducts extends React.Component {
35 renderRow(rowData,sectionID,rowID,highlightRow) { 35 renderRow(rowData,sectionID,rowID,highlightRow) {
36 36
37 let paddingLeft = rowID % 2 == 1 ? rowMarginHorizontal / 2 : rowMarginHorizontal; 37 let paddingLeft = rowID % 2 == 1 ? rowMarginHorizontal / 2 : rowMarginHorizontal;
38 - let customStyle = rowID == 0 || rowID == 1 ? {paddingLeft, marginTop: 0} : {paddingLeft}; 38 + let customStyle = rowID == 0 || rowID == 1 ? {paddingLeft} : {paddingLeft};
39 39
40 return ( 40 return (
41 <BrandProductListCell 41 <BrandProductListCell