Authored by baoss

尺码价格优化 review by bevishuang

... ... @@ -156,7 +156,7 @@
"id": 16,
"name": "商品详情",
"pathName": "pages/productDetail/index",
"query": "id=10023662",
"query": "id=10023668",
"scene": null
}
]
... ...
... ... @@ -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>}
... ...