Authored by LakeR

适配秒杀android

@@ -61,23 +61,18 @@ export default class ProductListView extends Component { @@ -61,23 +61,18 @@ export default class ProductListView extends Component {
61 } 61 }
62 }/> 62 }/>
63 {tipState == '已抢光' ? 63 {tipState == '已抢光' ?
64 - < View style={ 64 + <View style={
65 [styles.imageBottomTag, { 65 [styles.imageBottomTag, {
66 backgroundColor: btnBgColor, 66 backgroundColor: btnBgColor,
67 position: 'absolute', 67 position: 'absolute',
68 }] 68 }]
69 } > 69 } >
70 - <Text style={  
71 - {  
72 - color: btnTextcolor  
73 - }  
74 - } > {  
75 - tipState  
76 - } </Text> </View> 70 + <Text style={{color: btnTextcolor}} > {tipState} </Text>
  71 + </View>
77 :null } 72 :null }
78 - 73 +
79 </View> 74 </View>
80 - 75 +
81 76
82 77
83 <View style={styles.rowRight}> 78 <View style={styles.rowRight}>
@@ -101,7 +96,7 @@ export default class ProductListView extends Component { @@ -101,7 +96,7 @@ export default class ProductListView extends Component {
101 : null } 96 : null }
102 </View> 97 </View>
103 98
104 - {tipState == '已抢光' && url && url.lenth? 99 + {tipState == '已抢光' && url && url.length?
105 <View onPress={()=>{ 100 <View onPress={()=>{
106 this.props.onPressGuangShopWithURL && this.props.onPressGuangShopWithURL(url); 101 this.props.onPressGuangShopWithURL && this.props.onPressGuangShopWithURL(url);
107 }} style={[styles.priceClickTipViewRight, {backgroundColor: 'white', borderColor:'black', borderWidth: 1}]}> 102 }} style={[styles.priceClickTipViewRight, {backgroundColor: 'white', borderColor:'black', borderWidth: 1}]}>
@@ -139,7 +139,6 @@ export default class Seckill extends Component { @@ -139,7 +139,6 @@ export default class Seckill extends Component {
139 }; 139 };
140 140
141 return <ProductListCell 141 return <ProductListCell
142 - style={styles.listContainer}  
143 style={ 142 style={
144 [styles.listContainer, customStyle] 143 [styles.listContainer, customStyle]
145 } 144 }