|
@@ -73,7 +73,7 @@
|
|
}
|
|
}
|
|
|
|
|
|
- (void)configSubV {
|
|
- (void)configSubV {
|
|
- self.titles = @[@"Popular",@"Price",@"Sold Quantity"];
|
|
|
|
|
|
+ self.titles = @[@"Featured",@"Price:Low to Heigh", @"Price:Heigh to Low",@"Best Selling"];
|
|
self.currentIndex = 0;
|
|
self.currentIndex = 0;
|
|
|
|
|
|
[self addSubview:self.topV];
|
|
[self addSubview:self.topV];
|
|
@@ -100,7 +100,7 @@
|
|
[self.bottomV mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
[self.bottomV mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
make.top.equalTo(self.topV.mas_bottom);
|
|
make.top.equalTo(self.topV.mas_bottom);
|
|
make.left.right.equalTo(self);
|
|
make.left.right.equalTo(self);
|
|
- make.height.equalTo(@(190 + kBottomSafeSpace));
|
|
|
|
|
|
+ make.height.equalTo(@(247 + kBottomSafeSpace));
|
|
make.bottom.equalTo(self);
|
|
make.bottom.equalTo(self);
|
|
}];
|
|
}];
|
|
[self.tableV mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
[self.tableV mas_makeConstraints:^(MASConstraintMaker *make) {
|