Commit 0e600934 by houweibin

商品收藏提示

parent d147a669
...@@ -165,6 +165,7 @@ ...@@ -165,6 +165,7 @@
self.color = nil; self.color = nil;
self.variant = nil; self.variant = nil;
self.count = 0; self.count = 0;
[self.btnLike setImage:[UIImage imageNamed:@"ic_like_unable"] forState:UIControlStateNormal];
if(self.detailView1){ if(self.detailView1){
[self.detailView1 setSelect:nil color:nil count:0]; [self.detailView1 setSelect:nil color:nil count:0];
} }
...@@ -200,6 +201,10 @@ ...@@ -200,6 +201,10 @@
[self presentViewController:nav animated:YES completion:nil]; [self presentViewController:nav animated:YES completion:nil];
return; return;
} }
if(!self.variant){
[self showToast:@"请先选择尺码/顏色"];
return;
}
if(self.isLikeVariant){ if(self.isLikeVariant){
[self requestRemoveWish]; [self requestRemoveWish];
}else{ }else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment