...
|
...
|
@@ -123,9 +123,11 @@ class HaggleListContainer extends Component { |
|
|
}
|
|
|
|
|
|
_onPressProduct(product) {
|
|
|
let {categoryType} = this.props.haggle;
|
|
|
|
|
|
let that = this;
|
|
|
if (product.get('cutStatus')) {
|
|
|
this._jumpHaggleDetail(product, null);
|
|
|
if (categoryType == 1) {
|
|
|
this._jumpHaggleDetail(product, 0);
|
|
|
}else {
|
|
|
|
|
|
this.props.actions.getHaggleStatus(product.get('productSkn'), product.get('activityId'), function (json){
|
...
|
...
|
@@ -133,7 +135,7 @@ class HaggleListContainer extends Component { |
|
|
if (json) {
|
|
|
that.setState({showAlert:true, productItem:product});
|
|
|
}else {
|
|
|
that._jumpHaggleDetail(product, json);
|
|
|
that._jumpHaggleDetail(product, 1);
|
|
|
}
|
|
|
});
|
|
|
}
|
...
|
...
|
@@ -159,7 +161,7 @@ class HaggleListContainer extends Component { |
|
|
<YHAlertItem key={'minSure'} param={this.state.productItem} showStatus='redButton'
|
|
|
handleAction={(param) => {
|
|
|
{this._hiddenTipsAlertDialog()};
|
|
|
{this._jumpHaggleDetail(param, null)};
|
|
|
{this._jumpHaggleDetail(param, 0)};
|
|
|
}}>查看详情</YHAlertItem>
|
|
|
</YHAlert>
|
|
|
|
...
|
...
|
|