...
|
...
|
@@ -102,12 +102,15 @@ export default class ProductListCell extends Component { |
|
|
<View style={styles.line}>
|
|
|
<Image style={styles.lineImage} source={require('../../image/jiantou_ic.png')}/>
|
|
|
</View>
|
|
|
<View style={styles.bottomView}>
|
|
|
<View style={styles.leftImage}>
|
|
|
<Image style={styles.proImage} resizeMode={'contain'} source={{uri: defaultImages0.replace('{width}', 240).replace('{height}', 320)}}/>
|
|
|
</View>
|
|
|
<View style={styles.rigthImage}>
|
|
|
<Image style={styles.proImage} resizeMode={'contain'} source={{uri: defaultImages1.replace('{width}', 240).replace('{height}', 320)}}/>
|
|
|
<View style={styles.bottomViewContainer}>
|
|
|
<View style={styles.bottomView}>
|
|
|
<View style={styles.leftImage}>
|
|
|
<Image style={styles.proImage} resizeMode={'contain'} source={{uri: defaultImages0.replace('{width}', 240).replace('{height}', 320)}}/>
|
|
|
</View>
|
|
|
<View style={styles.middleView} />
|
|
|
<View style={styles.rigthImage}>
|
|
|
<Image style={styles.proImage} resizeMode={'contain'} source={{uri: defaultImages1.replace('{width}', 240).replace('{height}', 320)}}/>
|
|
|
</View>
|
|
|
</View>
|
|
|
</View>
|
|
|
</View>
|
...
|
...
|
@@ -250,12 +253,12 @@ let styles = StyleSheet.create({ |
|
|
shopText: {
|
|
|
fontFamily: 'STHeitiSC-Light',
|
|
|
fontSize: 11,
|
|
|
color: '#444444',
|
|
|
color: '#b0b0b0',
|
|
|
backgroundColor: 'white',
|
|
|
},
|
|
|
shopTag: {
|
|
|
backgroundColor: 'rgb(211,10,35)',
|
|
|
width: 120,
|
|
|
width: 200*width/750,
|
|
|
height: 50*width/750,
|
|
|
marginTop: rowMarginTop + rowMarginBottom + 5,
|
|
|
marginBottom: 0,
|
...
|
...
|
@@ -287,10 +290,18 @@ let styles = StyleSheet.create({ |
|
|
height: Math.ceil((rowWidth - 2) * (17/319)),
|
|
|
},
|
|
|
|
|
|
bottomViewContainer: {
|
|
|
// width: rowWidth - 2,
|
|
|
// height: imageW * IMAGE_RATIO + 10 * DEVICE_WIDTH_RATIO,
|
|
|
flex: 1,
|
|
|
backgroundColor: 'white',
|
|
|
alignItems: 'center',
|
|
|
justifyContent: 'center'
|
|
|
},
|
|
|
|
|
|
bottomView: {
|
|
|
marginTop: 10,
|
|
|
width: rowWidth - 2,
|
|
|
height: imageW * IMAGE_RATIO,
|
|
|
// width: imageW * 2 + ,
|
|
|
// height: imageW * IMAGE_RATIO,
|
|
|
backgroundColor: 'white',
|
|
|
flexDirection: 'row',
|
|
|
},
|
...
|
...
|
@@ -298,13 +309,15 @@ let styles = StyleSheet.create({ |
|
|
width: imageW,
|
|
|
height: imageW * IMAGE_RATIO,
|
|
|
backgroundColor: 'white',
|
|
|
marginLeft: Math.ceil((rowWidth - 2 * imageW)/3),
|
|
|
},
|
|
|
middleView: {
|
|
|
width: Math.ceil((rowWidth - 2 * imageW)/3),
|
|
|
height: imageW * IMAGE_RATIO,
|
|
|
},
|
|
|
rigthImage: {
|
|
|
width: imageW,
|
|
|
height: imageW * IMAGE_RATIO,
|
|
|
backgroundColor: 'white',
|
|
|
marginLeft: Math.ceil((rowWidth - 2 * imageW)/3),
|
|
|
},
|
|
|
proImage: {
|
|
|
width: imageW,
|
...
|
...
|
|