Authored by LakeR

适配秒杀android

... ... @@ -61,23 +61,18 @@ export default class ProductListView extends Component {
}
}/>
{tipState == '已抢光' ?
< View style={
<View style={
[styles.imageBottomTag, {
backgroundColor: btnBgColor,
position: 'absolute',
}]
} >
<Text style={
{
color: btnTextcolor
}
} > {
tipState
} </Text> </View>
<Text style={{color: btnTextcolor}} > {tipState} </Text>
</View>
:null }
</View>
<View style={styles.rowRight}>
... ... @@ -101,7 +96,7 @@ export default class ProductListView extends Component {
: null }
</View>
{tipState == '已抢光' && url && url.lenth?
{tipState == '已抢光' && url && url.length?
<View onPress={()=>{
this.props.onPressGuangShopWithURL && this.props.onPressGuangShopWithURL(url);
}} style={[styles.priceClickTipViewRight, {backgroundColor: 'white', borderColor:'black', borderWidth: 1}]}>
... ...
... ... @@ -139,7 +139,6 @@ export default class Seckill extends Component {
};
return <ProductListCell
style={styles.listContainer}
style={
[styles.listContainer, customStyle]
}
... ...