...
|
...
|
@@ -76,32 +76,38 @@ export default class ProductListView extends Component { |
|
|
</View>
|
|
|
:<View style={[styles.secKillMarketPriceContainer, {marginTop: 2}]}>
|
|
|
<Text style={[styles.secKillPrice,{color:'#d0021b'}]}>¥{rowData.secKillPrice}</Text>
|
|
|
<DeleteLineText style={{top:3, left:8}} text={'¥' + rowData.marketPrice+' '} />
|
|
|
<DeleteLineText style={{top:3, left:8}} lineStyle={{marginRight:8}} text={'¥' + rowData.marketPrice+' '} />
|
|
|
</View>
|
|
|
}
|
|
|
</View>
|
|
|
<TouchableOpacity onPress={() => {
|
|
|
if (this.tipMessage == '') {
|
|
|
if (rowData.wait) {
|
|
|
this.props.onPressRemindBtn && this.props.onPressRemindBtn(rowData);
|
|
|
}else {
|
|
|
this.props.onPressProductItem && this.props.onPressProductItem(rowData);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
}}>
|
|
|
{
|
|
|
(tipState=='取消提醒')?
|
|
|
<View style={[styles.priceClickTipViewRight,{backgroundColor: btnBgColor,borderWidth:1.0}]}>
|
|
|
<Text style={{color:btnTextcolor}}>{tipState}</Text>
|
|
|
</View>
|
|
|
:<View style={[styles.priceClickTipViewRight,{backgroundColor: btnBgColor}]}>
|
|
|
<Text style={{color:btnTextcolor}}>{tipState}</Text>
|
|
|
</View>
|
|
|
}
|
|
|
{tipState == '已抢光' ?
|
|
|
<View style={[styles.priceClickTipViewRight,{backgroundColor: btnBgColor}]}>
|
|
|
<Text style={{color:btnTextcolor}}>{tipState}</Text>
|
|
|
</View>
|
|
|
:
|
|
|
<TouchableOpacity onPress={() => {
|
|
|
if (this.tipMessage == '') {
|
|
|
if (rowData.wait) {
|
|
|
this.props.onPressRemindBtn && this.props.onPressRemindBtn(rowData);
|
|
|
}else {
|
|
|
this.props.onPressProductItem && this.props.onPressProductItem(rowData);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
</TouchableOpacity>
|
|
|
}}>
|
|
|
{
|
|
|
(tipState=='取消提醒')?
|
|
|
<View style={[styles.priceClickTipViewRight,{backgroundColor: btnBgColor,borderWidth:1.0}]}>
|
|
|
<Text style={{color:btnTextcolor}}>{tipState}</Text>
|
|
|
</View>
|
|
|
:<View style={[styles.priceClickTipViewRight,{backgroundColor: btnBgColor}]}>
|
|
|
<Text style={{color:btnTextcolor}}>{tipState}</Text>
|
|
|
</View>
|
|
|
}
|
|
|
|
|
|
</TouchableOpacity>
|
|
|
}
|
|
|
</View>
|
|
|
</View>
|
|
|
</View>
|
...
|
...
|
|