...
|
...
|
@@ -39,7 +39,7 @@ export default class ProductListCell extends Component { |
|
|
let yh_exposureData = data.get('yh_exposureData')?data.get('yh_exposureData').toJS():null;
|
|
|
|
|
|
let productList = data.get('product_list')?data.get('product_list'):[];
|
|
|
let show_type = data.get('show_type')?data.get('show_type'):0;
|
|
|
let show_type = data.get('show_type')?data.get('show_type'):1;
|
|
|
|
|
|
if (show_type == 0) {//老板 店铺样式
|
|
|
return (
|
...
|
...
|
@@ -88,7 +88,7 @@ export default class ProductListCell extends Component { |
|
|
人收藏
|
|
|
</Text>
|
|
|
<View style={styles.shopTag}>
|
|
|
<Text style={styles.shopTagName}>进入店铺</Text>
|
|
|
<Text style={styles.shopTagName}>进入店铺 ></Text>
|
|
|
</View>
|
|
|
<View style={styles.line}/>
|
|
|
<View style={styles.bottomView}>
|
...
|
...
|
@@ -212,7 +212,7 @@ let styles = StyleSheet.create({ |
|
|
marginTop: tagHeight,
|
|
|
flexDirection: 'column',
|
|
|
alignItems: 'center',
|
|
|
borderColor: 'black',
|
|
|
borderColor: '#e0e0e0',
|
|
|
borderWidth: 1,
|
|
|
},
|
|
|
shopImage: {
|
...
|
...
|
@@ -231,23 +231,21 @@ let styles = StyleSheet.create({ |
|
|
marginBottom: 0,
|
|
|
},
|
|
|
shopTag: {
|
|
|
backgroundColor: 'white',
|
|
|
width: 80,
|
|
|
backgroundColor: 'rgb(211,10,35)',
|
|
|
width: 100,
|
|
|
height: 50*width/750,
|
|
|
marginTop: rowMarginTop + rowMarginBottom,
|
|
|
marginBottom: 0,
|
|
|
borderRadius: 25,
|
|
|
borderColor: '#e0e0e0',
|
|
|
borderWidth: 1,
|
|
|
justifyContent: 'center',
|
|
|
alignItems: 'center',
|
|
|
},
|
|
|
shopTagName: {
|
|
|
fontFamily: 'STHeitiSC-Light',
|
|
|
fontSize: 12,
|
|
|
color: '#444444',
|
|
|
color: 'white',
|
|
|
textAlign: 'center',
|
|
|
width: 63,
|
|
|
fontWeight: 'bold',
|
|
|
},
|
|
|
line: {
|
|
|
marginTop: 20,
|
...
|
...
|
|