Authored by hongyong.zhao

支持小数点 — reviewed by yjc

... ... @@ -118,12 +118,12 @@ export default class PBProductListView extends Component {
<View style={{ flexDirection : 'row'}}>
<Text
style={styles.seckillPrice}>¥{parseInt(rowData.secKillPrice + "")}</Text>
style={styles.seckillPrice}>¥{parseFloat(rowData.secKillPrice + "").toFixed(2)}</Text>
<Text style={styles.originPrice}>
{'¥' + parseInt(rowData.marketPrice + '')}</Text>
{'¥' + parseFloat(rowData.marketPrice + '').toFixed(2)}</Text>
</View>
<View style={{justifyContent: 'center', alignItems: 'flex-end'}}>
{tipState == '已抢光' ?
{tipState == '已抢光' ?
<TouchableOpacity onPress={()=> {
this.props.onPressProductItem && this.props.onPressProductItem(rowData, index);
// this.props.onPressGuangShopWithURL && this.props.onPressGuangShopWithURL(url);
... ... @@ -302,7 +302,7 @@ let styles = StyleSheet.create({
height: 6,
},
progressBar: {
flexDirection : 'row',
flexDirection : 'row',
position: 'absolute',
top: adjustPx(80),
},
... ... @@ -315,8 +315,8 @@ let styles = StyleSheet.create({
top: adjustPx(80),
},
limitText: {
fontSize: 12,
color: '#B0B0B0',
fontSize: 12,
color: '#B0B0B0',
},
});
... ...