调整了UI细节。review by yushui。
Showing
1 changed file
with
3 additions
and
2 deletions
@@ -50,7 +50,7 @@ export default class HotCategoryList extends Component{ | @@ -50,7 +50,7 @@ export default class HotCategoryList extends Component{ | ||
50 | return null; | 50 | return null; |
51 | } | 51 | } |
52 | 52 | ||
53 | - let imageUrl = SlicedImage.getSlicedUrl(rowData.get("default_images"), 82, 110, 2); | 53 | + let imageUrl = SlicedImage.getSlicedUrl(rowData.get("default_images"), 82, 109, 2); |
54 | // let categoryName = rowData.get("category_name"); | 54 | // let categoryName = rowData.get("category_name"); |
55 | 55 | ||
56 | //数据类型,纯文字型和图片型,列表中会出现纯文本的情况,比如MORE | 56 | //数据类型,纯文字型和图片型,列表中会出现纯文本的情况,比如MORE |
@@ -165,11 +165,12 @@ let styles = StyleSheet.create({ | @@ -165,11 +165,12 @@ let styles = StyleSheet.create({ | ||
165 | paddingRight: 8.5 * DEVICE_WIDTH_RATIO, | 165 | paddingRight: 8.5 * DEVICE_WIDTH_RATIO, |
166 | justifyContent: 'center', | 166 | justifyContent: 'center', |
167 | alignItems: 'center', | 167 | alignItems: 'center', |
168 | + backgroundColor: '#f5f7f6', | ||
168 | }, | 169 | }, |
169 | 170 | ||
170 | rowThumbnail:{ | 171 | rowThumbnail:{ |
171 | width: 41 * DEVICE_WIDTH_RATIO, | 172 | width: 41 * DEVICE_WIDTH_RATIO, |
172 | - height: 55 * DEVICE_WIDTH_RATIO, | 173 | + height: 56 * DEVICE_WIDTH_RATIO, |
173 | }, | 174 | }, |
174 | 175 | ||
175 | rowTextContainer:{ | 176 | rowTextContainer:{ |
-
Please register or login to post a comment