...
|
...
|
@@ -127,16 +127,16 @@ export default class SelectSize extends Component { |
|
|
</View>
|
|
|
}
|
|
|
{
|
|
|
this.state.canBuy && this.state.curPrice > this.state.curLowestPrice ?
|
|
|
this.state.canBuy ?
|
|
|
(<View className='btn-group'>
|
|
|
<Button className='buy-btn btn-col' hover-class='none' onClick={this.onClickBuy.bind(this, this.state.canBuy)} data-can-buy={this.state.canBuy}>
|
|
|
现货购买
|
|
|
{
|
|
|
this.state.canBuy && this.state.curPrice &&
|
|
|
this.state.curPrice &&
|
|
|
<Text className="price"> ¥{this.state.curPrice}</Text>
|
|
|
}
|
|
|
</Button>
|
|
|
{this.state.canBuy && <Button className='dowload-btn btn-col' hover-class='none'>
|
|
|
{this.state.curPrice > this.state.curLowestPrice && <Button className='dowload-btn btn-col' hover-class='none'>
|
|
|
<Text>下载有货app体验</Text>
|
|
|
<Text className="price"> 更低价 ¥{this.state.curLowestPrice}</Text>
|
|
|
</Button>}
|
...
|
...
|
|