Commit 83fe44fa authored by polo2013's avatar polo2013

优化了产品列表和明细,不过列表上的几个值有问题,取不出来,明天再研究一下

parent b3cc3065
......@@ -317,8 +317,8 @@
[cell.productImageView sd_setImageWithURL:[NSURL URLWithString:[imageArray firstObject]] placeholderImage:REPLACEIMAGE];
cell.productPrice.text = [NSString stringWithFormat:@"¥%@",[[[self.datasArray objectAtIndex_opple:indexPath.item] tagPrice] stringValue]];
cell.cellindex = indexPath.item;
cell.productParameter.text = [[self.datasArray objectAtIndex_opple:indexPath.item] productProfile];
cell.specifications.text = [NSString stringWithFormat:@"%@(%@)",[[self.datasArray objectAtIndex_opple:indexPath.item] series],[[self.datasArray objectAtIndex_opple:indexPath.item] spec]];
cell.productParameter.text = [[self.datasArray objectAtIndex_opple:indexPath.item] name];
cell.specifications.text = [NSString stringWithFormat:@"%@(%@)",[[self.datasArray objectAtIndex_opple:indexPath.item] name],[[self.datasArray objectAtIndex_opple:indexPath.item] name]];
//加入购物车
__weak typeof(self) weakSelf = self;
......
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