新品到着 新版UI review by zhanglixia
Showing
1 changed file
with
7 additions
and
9 deletions
@@ -39,7 +39,7 @@ export default class ProductListCell extends Component { | @@ -39,7 +39,7 @@ export default class ProductListCell extends Component { | ||
39 | let yh_exposureData = data.get('yh_exposureData')?data.get('yh_exposureData').toJS():null; | 39 | let yh_exposureData = data.get('yh_exposureData')?data.get('yh_exposureData').toJS():null; |
40 | 40 | ||
41 | let productList = data.get('product_list')?data.get('product_list'):[]; | 41 | let productList = data.get('product_list')?data.get('product_list'):[]; |
42 | - let show_type = data.get('show_type')?data.get('show_type'):0; | 42 | + let show_type = data.get('show_type')?data.get('show_type'):1; |
43 | 43 | ||
44 | if (show_type == 0) {//老板 店铺样式 | 44 | if (show_type == 0) {//老板 店铺样式 |
45 | return ( | 45 | return ( |
@@ -88,7 +88,7 @@ export default class ProductListCell extends Component { | @@ -88,7 +88,7 @@ export default class ProductListCell extends Component { | ||
88 | 人收藏 | 88 | 人收藏 |
89 | </Text> | 89 | </Text> |
90 | <View style={styles.shopTag}> | 90 | <View style={styles.shopTag}> |
91 | - <Text style={styles.shopTagName}>进入店铺</Text> | 91 | + <Text style={styles.shopTagName}>进入店铺 ></Text> |
92 | </View> | 92 | </View> |
93 | <View style={styles.line}/> | 93 | <View style={styles.line}/> |
94 | <View style={styles.bottomView}> | 94 | <View style={styles.bottomView}> |
@@ -212,7 +212,7 @@ let styles = StyleSheet.create({ | @@ -212,7 +212,7 @@ let styles = StyleSheet.create({ | ||
212 | marginTop: tagHeight, | 212 | marginTop: tagHeight, |
213 | flexDirection: 'column', | 213 | flexDirection: 'column', |
214 | alignItems: 'center', | 214 | alignItems: 'center', |
215 | - borderColor: 'black', | 215 | + borderColor: '#e0e0e0', |
216 | borderWidth: 1, | 216 | borderWidth: 1, |
217 | }, | 217 | }, |
218 | shopImage: { | 218 | shopImage: { |
@@ -231,23 +231,21 @@ let styles = StyleSheet.create({ | @@ -231,23 +231,21 @@ let styles = StyleSheet.create({ | ||
231 | marginBottom: 0, | 231 | marginBottom: 0, |
232 | }, | 232 | }, |
233 | shopTag: { | 233 | shopTag: { |
234 | - backgroundColor: 'white', | ||
235 | - width: 80, | 234 | + backgroundColor: 'rgb(211,10,35)', |
235 | + width: 100, | ||
236 | height: 50*width/750, | 236 | height: 50*width/750, |
237 | marginTop: rowMarginTop + rowMarginBottom, | 237 | marginTop: rowMarginTop + rowMarginBottom, |
238 | marginBottom: 0, | 238 | marginBottom: 0, |
239 | - borderRadius: 25, | ||
240 | - borderColor: '#e0e0e0', | ||
241 | - borderWidth: 1, | ||
242 | justifyContent: 'center', | 239 | justifyContent: 'center', |
243 | alignItems: 'center', | 240 | alignItems: 'center', |
244 | }, | 241 | }, |
245 | shopTagName: { | 242 | shopTagName: { |
246 | fontFamily: 'STHeitiSC-Light', | 243 | fontFamily: 'STHeitiSC-Light', |
247 | fontSize: 12, | 244 | fontSize: 12, |
248 | - color: '#444444', | 245 | + color: 'white', |
249 | textAlign: 'center', | 246 | textAlign: 'center', |
250 | width: 63, | 247 | width: 63, |
248 | + fontWeight: 'bold', | ||
251 | }, | 249 | }, |
252 | line: { | 250 | line: { |
253 | marginTop: 20, | 251 | marginTop: 20, |
-
Please register or login to post a comment