Commit 205cbfab authored by 曹云霄's avatar 曹云霄

修改项说明:修改适配

parent 38b97e53
......@@ -19,10 +19,6 @@
*/
@property (nonatomic,strong) NSMutableArray *CustomerresultArray;
/**
* 当前页数
*/
@property (nonatomic,assign) int indexPage;
/**
* 总页数
......@@ -54,8 +50,12 @@
- (ConsumerQueryCondition *)conditionModel
{
if (!_conditionModel) {
_conditionModel = [[ConsumerQueryCondition alloc]init];
DataPage *page = [[DataPage alloc]init];
page.page = ONE;
page.rows = KROWS;
_conditionModel.page = page;
_conditionModel.resellerCodeEquals = [[Shoppersmanager manager].Shoppers.employee.currentDepart orgCode];
}
return _conditionModel;
}
......@@ -63,7 +63,6 @@
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
[self uiConfigAction];
}
......@@ -72,7 +71,6 @@
#pragma mark -UI
- (void)uiConfigAction
{
self.indexPage = ONE;
self.allCustomerTableview.dataSource = self;
self.allCustomerTableview.delegate = self;
self.searchTextfield.delegate = self;
......@@ -80,26 +78,6 @@
self.allCustomerTableview.backgroundColor = [UIColor clearColor];
self.searchTextfield.returnKeyType = UIReturnKeySearch;
//调整布局
[self.begindateButton mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(self.RecentlydateLabe.mas_right).mas_offset(0);
make.top.equalTo(self.RecentlydateLabe).mas_offset(-4);
make.width.mas_offset(120);
}];
[self.redesignLabe mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(self.begindateButton.mas_right).mas_offset(10);
make.top.equalTo(self.RecentlydateLabe).mas_offset(2);
make.width.mas_offset(20);
}];
[self.enddateButton mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(self.redesignLabe.mas_right).mas_offset(10);
make.top.equalTo(self.RecentlydateLabe).mas_offset(-4);
make.width.mas_offset(120);
}];
//设置按钮时间
[self.begindateButton setTitle:[self dateAsString:[NSDate date]] forState:UIControlStateNormal];
[self.enddateButton setTitle:[self dateAsString:[NSDate date]] forState:UIControlStateNormal];
......@@ -107,34 +85,25 @@
self.begindateButton.layer.cornerRadius = 10;
self.enddateButton.layer.masksToBounds = YES;
self.enddateButton.layer.cornerRadius = 10;
WS(weakSelf);
//下拉刷新
MjRefreshHeaderCustom *headerRefresh = [MjRefreshHeaderCustom headerWithRefreshingBlock:^{
DataPage *page = [[DataPage alloc]init];
page.page = ONE;
page.rows = KROWS;
self.conditionModel.page = page;
[self.allCustomerTableview.mj_footer resetNoMoreData];
//经销商代码
self.conditionModel.resellerCodeEquals = [[Shoppersmanager manager].Shoppers.employee.currentDepart orgCode];
[self getShoppersAssociatedCustomer:self.conditionModel isRemove:YES];
weakSelf.conditionModel.page.page = ONE;
[weakSelf.allCustomerTableview.mj_footer resetNoMoreData];
[weakSelf getShoppersAssociatedCustomer:weakSelf.conditionModel isRemove:YES];
}];
headerRefresh.stateLabel.hidden = YES;
headerRefresh.lastUpdatedTimeLabel.hidden = YES;
self.allCustomerTableview.mj_header = headerRefresh;
[self.allCustomerTableview.mj_header beginRefreshing];
//上拉加载
self.allCustomerTableview.mj_footer = [MJRefreshAutoNormalFooter footerWithRefreshingBlock:^{
if ( ++ self.indexPage > self.totalPages) {
[self.allCustomerTableview.mj_footer endRefreshingWithNoMoreData];
if ( ++ weakSelf.conditionModel.page.page > weakSelf.totalPages) {
[weakSelf.allCustomerTableview.mj_footer endRefreshingWithNoMoreData];
}else
{
DataPage *page = [[DataPage alloc]init];
page.rows = KROWS;
page.page = self.indexPage;
self.conditionModel.page = page;
[self getShoppersAssociatedCustomer:self.conditionModel isRemove:NO];
[weakSelf getShoppersAssociatedCustomer:weakSelf.conditionModel isRemove:NO];
}
}];
self.allCustomerTableview.mj_footer.automaticallyHidden = YES;
......@@ -152,7 +121,7 @@
weakSelf.allCustomerTableview.emptyDataSetSource = weakSelf;
weakSelf.allCustomerTableview.emptyDataSetDelegate = weakSelf;
[XBLoadingView hideHUDViewWithDefault];
[weakSelf endRefreshingForTableView:self.allCustomerTableview];
[weakSelf endRefreshingForTableView:weakSelf.allCustomerTableview];
if ([returnValue[@"code"] isEqualToNumber:@0]) {
if (remove) {
[weakSelf.CustomerresultArray removeAllObjects];
......@@ -176,10 +145,8 @@
myclientModel.picture = objc.picture;
myclientModel.company = objc.company;
myclientModel.lastVisitedTime = objc.lastVisitedTime;
[weakSelf.CustomerresultArray addObject:myclientModel];
}
[weakSelf.allCustomerTableview reloadData];
}
else
......@@ -194,7 +161,6 @@
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
AllCutomerTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"allcustomercell" forIndexPath:indexPath];
......@@ -238,10 +204,10 @@
DateSelectedViewController *datevc = [[DateSelectedViewController alloc]init];
//选中时间回调
WS(weakSelf);
[datevc setSelectedDateBlock:^(NSDate *selectedDate) {
[self.begindateButton setTitle:[self dateAsString:selectedDate] forState:UIControlStateNormal];
[self CalltimeSearch];
[weakSelf.begindateButton setTitle:[weakSelf dateAsString:selectedDate] forState:UIControlStateNormal];
[weakSelf CalltimeSearch];
}];
datevc.preferredContentSize = CGSizeMake(300, 250);
......@@ -262,19 +228,16 @@
[formatter setDateFormat:@"yyyy-MM-dd"];
NSString * timeString = [formatter stringFromDate:date];
return timeString;
}
#pragma mark -结束筛选时间
- (IBAction)EndScreeningButtonClick:(UIButton *)sender {
WS(weakSelf);
DateSelectedViewController *datevc = [[DateSelectedViewController alloc]init];
//选中时间回调
[datevc setSelectedDateBlock:^(NSDate *selectedDate) {
[self.enddateButton setTitle:[self dateAsString:selectedDate] forState:UIControlStateNormal];
[self CalltimeSearch];
[weakSelf.enddateButton setTitle:[weakSelf dateAsString:selectedDate] forState:UIControlStateNormal];
[weakSelf CalltimeSearch];
}];
datevc.preferredContentSize = CGSizeMake(300, 250);
......
......@@ -41,6 +41,12 @@
*/
@property (nonatomic,strong) NSArray<PrizeListModel *>*selectArray;
/**
申请完成
*/
@property (nonatomic,copy) void(^requestFinishBlock)();
@end
......@@ -63,7 +63,7 @@
for (int i=0; i<_selectArray.count; i++) {
PrizeListModel *model = _selectArray[i];
UIImageView *imageView = [[UIImageView alloc]initWithFrame:CGRectMake(i*width+i*interval, 0, width, width)];
[imageView sd_setImageWithURL:[NSURL URLWithString:model.picture] placeholderImage:REPLACEIMAGE];
[imageView sd_setImageWithURL:[NSURL URLWithString:model.attachment.fileUrl] placeholderImage:REPLACEIMAGE];
[self.exchangeScrollView addSubview:imageView];
}
self.exchangeScrollView.contentSize = CGSizeMake(width*_selectArray.count+interval*_selectArray.count-1, 0);
......@@ -115,6 +115,9 @@
if ([[self class] isBlankString:self.mobileTextField.text]) {
[XBLoadingView showHUDViewWithText:@"联系电话不能为空"];return;
}
if (![HENLENSONG isValidateMobile:self.mobileTextField.text]) {
[XBLoadingView showHUDViewWithText:@"手机号码格式不正确"];return;
}
if ([[self class] isBlankString:self.addressButton.currentTitle]) {
[XBLoadingView showHUDViewWithText:@"地址不能为空"];return;
}
......@@ -134,6 +137,9 @@
[XBLoadingView hideHUDViewWithDefault];
if ([returnValue[@"code"] isEqualToNumber:@0]) {
[XBLoadingView showHUDViewWithSuccessText:@"申请成功" completeBlock:^{
if (weakSelf.requestFinishBlock) {
weakSelf.requestFinishBlock();
}
[weakSelf dismissViewControllerAnimated:YES completion:nil];
}];
......
......@@ -46,12 +46,26 @@
CardBeenUseViewController *usedVc = [[[self class] getMainStoryboardClass] instantiateViewControllerWithIdentifier:@"CardBeenUseViewController"];
usedVc.cardState = USED;
[self addChildViewController:usedVc];
[self.cardBackgroundView addSubview:dontUseVc.view];
self.currentVC = dontUseVc;
}
#pragma mark - 布局
- (void)viewDidLayoutSubviews
{
CardDontUseViewController *dontUseVc = self.childViewControllers[0];
dontUseVc.view.frame = CGRectMake(0, 0, self.cardBackgroundView.mj_w, self.cardBackgroundView.mj_h);
CardBeenUseViewController *beenUseVc = self.childViewControllers[1];
beenUseVc.view.frame = CGRectMake(0, 0, self.cardBackgroundView.mj_w, self.cardBackgroundView.mj_h);
CardBeenUseViewController *examineUseVc = self.childViewControllers[2];
examineUseVc.view.frame = CGRectMake(0, 0, self.cardBackgroundView.mj_w, self.cardBackgroundView.mj_h);
CardBeenUseViewController *usedVc = self.childViewControllers[3];
usedVc.view.frame = CGRectMake(0, 0, self.cardBackgroundView.mj_w, self.cardBackgroundView.mj_h);
[self.cardBackgroundView addSubview:dontUseVc.view];
self.currentVC = dontUseVc;
self.instructionsLineView.frame = CGRectMake(self.dontUseButton.x, self.dontUseButton.bottom, self.dontUseButton.width, 2);
}
......@@ -88,7 +102,7 @@
{
self.dontUseButton.selected = NO;
self.beenUseButton.selected = NO;
self.examinationButton.selected = NO;
self.isUsedButton.selected = NO;
}
break;
case 103:
......@@ -111,7 +125,7 @@
- (void)setupInstructionsViewOrigin:(UIButton *)sender
{
[UIView animateWithDuration:0.5 delay:0.1f usingSpringWithDamping:0.5f initialSpringVelocity:0.5f options:UIViewAnimationOptionCurveEaseInOut animations:^{
self.instructionsLineView.frame = CGRectMake(sender.mj_origin.x+(sender.mj_w-self.instructionsLineView.mj_w)/2, self.instructionsLineView.mj_origin.y, self.instructionsLineView.mj_w, 2);
self.instructionsLineView.frame = CGRectMake(sender.x, sender.bottom, sender.width, 2);
} completion:nil];
}
......
......@@ -61,11 +61,13 @@
- (void)getCardDatasAction
{
WS(weakSelf);
[XBLoadingView showHUDViewWithDefaultWithView:self.view];
[[NetworkRequestClassManager Manager] NetworkRequestWithURL:SERVERREQUESTURL(QUERYALLJDECARD) WithRequestType:ZERO WithParameter:self.requestModel WithReturnValueBlock:^(id returnValue) {
weakSelf.cardCollectionView.emptyDataSetSource = weakSelf;
weakSelf.cardCollectionView.emptyDataSetDelegate = weakSelf;
[weakSelf endRefreshingForTableView:weakSelf.cardCollectionView];
[XBLoadingView hideHUDViewWithDefaultWithView:weakSelf.view];
if ([returnValue[@"code"] isEqualToNumber:@0]) {
[weakSelf.datasArray removeAllObjects];
......@@ -79,6 +81,8 @@
}
}WithFailureBlock:^(NSError *error) {
[XBLoadingView hideHUDViewWithDefaultWithView:weakSelf.view];
[weakSelf endRefreshingForTableView:weakSelf.cardCollectionView];
[XBLoadingView showHUDViewWithText:error.localizedDescription];
}];
}
......@@ -87,16 +91,17 @@
- (void)useJDECard:(NSString *)JDECardNumber
{
WS(weakSelf);
[XBLoadingView showHUDViewWithDefault];
[XBLoadingView showHUDViewWithDefaultWithView:self.view];
[[NetworkRequestClassManager Manager] NetworkWithDictionaryRequestWithURL:[NSString stringWithFormat:SERVERREQUESTURL(USEJDECARD),JDECardNumber] WithRequestType:ZERO WithParameter:nil WithReturnValueBlock:^(id returnValue) {
[XBLoadingView hideHUDViewWithDefault];
[XBLoadingView hideHUDViewWithDefaultWithView:weakSelf.view];
if ([returnValue[@"code"] isEqualToNumber:@0]) {
[weakSelf deleteUsedJDECard:JDECardNumber];
}else{
[XBLoadingView showHUDViewWithText:returnValue[@"message"]];
}
}WithFailureBlock:^(NSError *error) {
[XBLoadingView hideHUDViewWithDefaultWithView:weakSelf.view];
[XBLoadingView showHUDViewWithText:error.localizedDescription];
}];
}
......
......@@ -75,12 +75,17 @@
[self addChildViewController:self.shoppingCar];
self.currentVC = self.shoppingCar;
[self.controllerBackgroundView addSubview:self.shoppingCar.view];
self.currentVC.view.frame = CGRectMake(0, 176, ScreenWidth-40, self.controllerBackgroundView.height-176);
self.orderRecord = [[[self class] getMainStoryboardClass] instantiateViewControllerWithIdentifier:@"OrderRecordViewController"];
[self addChildViewController:self.orderRecord];
self.orderRecord.model = self.model;
self.orderRecord.view.frame = CGRectMake(0, 176, ScreenWidth-40, self.controllerBackgroundView.height-176);
}
#pragma mark - 设置frame
- (void)viewDidLayoutSubviews
{
self.currentVC.view.frame = CGRectMake(0, self.shoppingAndRecordBackview.bottom, self.controllerBackgroundView.width, self.controllerBackgroundView.height-self.shoppingAndRecordBackview.bottom);
self.orderRecord.view.frame = CGRectMake(0, self.shoppingAndRecordBackview.bottom, self.controllerBackgroundView.width, self.controllerBackgroundView.height-self.shoppingAndRecordBackview.bottom);
}
#pragma mark - 切换子视图
......
......@@ -16,11 +16,6 @@
*/
@property (nonatomic,strong) NSMutableArray *datasArray;
/**
* 当前页数
*/
@property (nonatomic,assign) int indexPage;
/**
* 订单状态数组
*/
......@@ -64,6 +59,10 @@
{
if (!_model) {
_model = [[OrderFilter alloc]init];
DataPage *page = [[DataPage alloc]init];
page.page = ONE;
page.rows = KROWS;
_model.dp = page;
}
return _model;
}
......@@ -117,11 +116,6 @@
WS(weakSelf);
MjRefreshHeaderCustom *headerRefresh = [MjRefreshHeaderCustom headerWithRefreshingBlock:^{
weakSelf.indexPage = ONE;
DataPage *page = [[DataPage alloc]init];
page.page = weakSelf.indexPage;
page.rows = KROWS;
weakSelf.model.dp = page;
[weakSelf.customerOrderTableView.mj_footer resetNoMoreData];
[weakSelf getGuideAllcustomerOrder:YES WithorderBill:weakSelf.model];
}];
......@@ -132,14 +126,10 @@
//上拉加载
self.customerOrderTableView.mj_footer = [MJRefreshAutoNormalFooter footerWithRefreshingBlock:^{
if ( ++ weakSelf.indexPage > weakSelf.totalPages) {
if ( ++ weakSelf.model.dp.page > weakSelf.totalPages) {
[weakSelf.customerOrderTableView.mj_footer endRefreshingWithNoMoreData];
}else
{
DataPage *page = [[DataPage alloc]init];
page.page = weakSelf.indexPage;
page.rows = KROWS;
weakSelf.model.dp = page;
[weakSelf getGuideAllcustomerOrder:NO WithorderBill:weakSelf.model];
}
}];
......
......@@ -40,7 +40,7 @@
self.integralDetailsTableView.rowHeight = (self.cellType == PrizeTableView)?90:70;
self.integralDetailsTableView.tableFooterView = [UIView new];
if (self.cellType == PrizeTableView) {
self.topConstraint.constant = 64;
self.topConstraint.constant = 24;
self.integralDetailsTableView.separatorStyle = UITableViewCellSeparatorStyleNone;
self.integralDetailsTableView.backgroundColor = RGB(237, 238, 239, 1);
}
......
......@@ -251,24 +251,14 @@
//默认加载全部数据
productVC.barcode = nil;
productVC.selectedCode = nil;
productVC.condtionModel.categoryEquals = nil;
productVC.condtionModel.styleEquals = nil;
productVC.condtionModel.spaceEquals = nil;
productVC.condtionModel.materialEqueals = nil;
productVC.condtionModel.startprice = nil;
productVC.condtionModel.endprice = nil;
productVC.condtionModel.nameLike = nil;
productVC.condtionModel = nil;
[productVC.productCollectionView.mj_header beginRefreshing];
}else if ([Name isEqualToString:@"所有客户"])
{
selectedIndex = 8;
AllCustomerViewController *AllcustomerVC = [SHARED_APPDELEGATE.allControllerArray objectAtIndex_opple:8];
AllcustomerVC.searchTextfield.text = nil;
AllcustomerVC.conditionModel.resellerCodeEquals = nil;
AllcustomerVC.conditionModel.mobileEquals = nil;
AllcustomerVC.conditionModel.createTimeBegin = nil;
AllcustomerVC.conditionModel.createTimeEnd = nil;
AllcustomerVC.conditionModel.page = nil;
AllcustomerVC.conditionModel = nil;
[AllcustomerVC.allCustomerTableview.mj_header beginRefreshing];
}else if ([Name isEqualToString:@"客户订单"])
{
......
......@@ -127,13 +127,13 @@
- (void)getDrawDatas:(BOOL)isRemove
{
WS(weakSelf);
[XBLoadingView showHUDViewWithDefault];
[XBLoadingView showHUDViewWithDefaultWithView:self.view];
[[NetworkRequestClassManager Manager] NetworkRequestWithURL:SERVERREQUESTURL(LOTTERYED) WithRequestType:ZERO WithParameter:self.drawModel WithReturnValueBlock:^(id returnValue) {
[weakSelf endRefreshingForTableView:weakSelf.drawDetailsTableView];
weakSelf.drawDetailsTableView.emptyDataSetSource = weakSelf;
weakSelf.drawDetailsTableView.emptyDataSetDelegate = weakSelf;
[XBLoadingView hideHUDViewWithDefault];
[XBLoadingView hideHUDViewWithDefaultWithView:weakSelf.view];
if ([returnValue[@"code"] isEqualToNumber:@0]) {
if (isRemove) {
[weakSelf.datasArray removeAllObjects];
......@@ -146,6 +146,8 @@
[XBLoadingView showHUDViewWithText:returnValue[@"message"]];
}
} WithFailureBlock:^(NSError *error) {
[weakSelf endRefreshingForTableView:weakSelf.drawDetailsTableView];
[XBLoadingView hideHUDViewWithDefaultWithView:weakSelf.view];
[XBLoadingView showHUDViewWithText:error.localizedDescription];
}];
}
......@@ -162,16 +164,6 @@
cell.orderNumberTitle.font = [UIFont systemFontOfSize:12];
cell.drawButton.titleLabel.font = [UIFont systemFontOfSize:12];
cell.orderNumberLabel.font = [UIFont systemFontOfSize:12];
[cell.drawButton mas_makeConstraints:^(MASConstraintMaker *make) {
make.right.equalTo(cell).offset(-20);
make.size.mas_equalTo(CGSizeMake(50, 20));
make.centerY.equalTo(cell);
}];
[cell.orderNumberLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.mas_equalTo(cell.orderNumberTitle.mas_right).offset(-10);
make.centerY.equalTo(cell.orderNumberTitle);
make.right.equalTo(cell).offset(-100);
}];
}
return cell;
}
......@@ -185,11 +177,6 @@
cell.orderNumberTitle.font = [UIFont systemFontOfSize:12];
cell.trophyLabel.font = [UIFont systemFontOfSize:12];
cell.orderNumber.font = [UIFont systemFontOfSize:12];
[cell.orderNumber mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.mas_equalTo(cell.orderNumberTitle.mas_right).offset(-10);
make.centerY.equalTo(cell.orderNumberTitle);
make.right.equalTo(cell).offset(-100);
}];
}
return cell;
}
......
......@@ -31,17 +31,25 @@
[self addChildViewController:notDrawControl];
notDrawControl.drawValue = 1;
self.currentVC = notDrawControl;
/// 已抽奖
LuckyDrawDetailsViewController *usedDrawControl = [[[self class] getMainStoryboardClass] instantiateViewControllerWithIdentifier:@"LuckyDrawDetailsViewController"];
usedDrawControl.drawValue = 2;
[self addChildViewController:usedDrawControl];
[self.backGroundView addSubview:notDrawControl.view];
}
#pragma mark - 布局
- (void)viewDidLayoutSubviews
{
LuckyDrawDetailsViewController *notDrawControl = self.childViewControllers[0];
notDrawControl.view.frame = CGRectMake(0, 0, self.backGroundView.mj_w, self.backGroundView.mj_h);
LuckyDrawDetailsViewController *usedDrawControl = self.childViewControllers[1];
usedDrawControl.view.frame = CGRectMake(0, 0, self.backGroundView.mj_w, self.backGroundView.mj_h);
[self.backGroundView addSubview:notDrawControl.view];
self.indicateLineView.frame = CGRectMake(self.notDrawButton.x, self.notDrawButton.bottom, self.notDrawButton.width, 2);
}
#pragma mark - 切换未抽奖和已抽奖
- (void)switchPaymentsVCAndWithdrawalVC:(UIViewController *)newViewController
{
......@@ -81,7 +89,8 @@
- (void)setupInstructionsViewOrigin:(UIButton *)sender
{
[UIView animateWithDuration:0.5 delay:0.1f usingSpringWithDamping:0.5f initialSpringVelocity:0.5f options:UIViewAnimationOptionCurveEaseInOut animations:^{
self.indicateLineView.frame = CGRectMake(sender.mj_origin.x+(sender.mj_w-self.indicateLineView.mj_w)/2, self.indicateLineView.mj_origin.y, self.indicateLineView.mj_w, 2);
self.indicateLineView.frame = CGRectMake(sender.x, sender.bottom, sender.width, 2);
} completion:nil];
}
......
......@@ -97,11 +97,13 @@
- (void)getDatasAction:(BOOL)isRemoveAll
{
WS(weakSelf);
[XBLoadingView showHUDViewWithDefaultWithView:self.view];
[[NetworkRequestClassManager Manager] NetworkRequestWithURL:SERVERREQUESTURL(PAYMENTS) WithRequestType:ZERO WithParameter:self.model WithReturnValueBlock:^(id returnValue) {
weakSelf.paymentsTableView.emptyDataSetSource = self;
weakSelf.paymentsTableView.emptyDataSetDelegate = self;
weakSelf.paymentsTableView.emptyDataSetSource = weakSelf;
weakSelf.paymentsTableView.emptyDataSetDelegate = weakSelf;
[weakSelf endRefreshingForTableView:weakSelf.paymentsTableView];
[XBLoadingView hideHUDViewWithDefaultWithView:weakSelf.view];
if ([returnValue[@"code"] isEqualToNumber:@0]) {
if (isRemoveAll) {
[weakSelf.resultArray removeAllObjects];
......@@ -119,6 +121,7 @@
}WithFailureBlock:^(NSError *error) {
[weakSelf endRefreshingForTableView:weakSelf.paymentsTableView];
[XBLoadingView hideHUDViewWithDefaultWithView:weakSelf.view];
[XBLoadingView showHUDViewWithText:error.localizedDescription];
}];
}
......
......@@ -13,19 +13,10 @@
- (void)setPrizeModel:(PrizeListModel *)prizeModel
{
_prizeModel = prizeModel;
[self.prizeImageView sd_setImageWithURL:[NSURL URLWithString:_prizeModel.picture] placeholderImage:REPLACEIMAGE];
[self.prizeImageView sd_setImageWithURL:[NSURL URLWithString:_prizeModel.attachment.fileUrl] placeholderImage:REPLACEIMAGE];
self.prizeDescribeLabel.text = _prizeModel.name;
self.isSelectButton.selected = _prizeModel.isSelect;
self.backgroundColor = _prizeModel.isAllowSelect?[UIColor whiteColor]:[UIColor lightGrayColor];
}
#pragma mark - 选中
- (IBAction)isSelectButton:(UIButton *)sender {
if (_prizeModel.isAllowSelect) {
sender.selected = !sender.selected;
_prizeModel.isSelect = sender.selected;
}
}
@end
......@@ -18,9 +18,5 @@
*/
@property (nonatomic,assign) BOOL isSelect;
/**
是否允许选中
*/
@property (nonatomic,assign) BOOL isAllowSelect;
@end
......@@ -24,6 +24,7 @@
self.name = model.name;
self.createDate = model.createDate;
self.updateDate = model.updateDate;
self.attachment = model.attachment;
self.isSelect = NO;
}
return self;
......
......@@ -26,14 +26,15 @@
@property (nonatomic,strong) NSMutableArray *prizeDatasArray;
/**
可以申请的列表
总页数
*/
@property (nonatomic,strong) NSMutableArray *availableArray;
@property (nonatomic,assign) NSInteger totalPage;
/**
总页数
是否有兑换资格
*/
@property (nonatomic,assign) NSInteger totalPage;
@property (nonatomic,assign) NSInteger isQualified;
@end
@implementation PrizeMainViewController
......@@ -110,16 +111,13 @@
dispatch_group_leave(group);
[XBLoadingView showHUDViewWithText:error.localizedDescription];
}];
//任务二 查询可申请礼品
//任务二 查询是否有兑换资格
dispatch_group_enter(group);
[[NetworkRequestClassManager Manager] NetworkWithDictionaryRequestWithURL:[NSString stringWithFormat:SERVERREQUESTURL(EXCHANGEQUALIFICATION),[Shoppersmanager manager].Shoppers.employee.fid] WithRequestType:ONE WithParameter:nil WithReturnValueBlock:^(id returnValue) {
dispatch_group_leave(group);
if ([returnValue[@"code"] isEqualToNumber:@0]) {
if (isRemove) {
[weakSelf.availableArray removeAllObjects];
}
[weakSelf.availableArray addObjectsFromArray:returnValue[@"data"]];
weakSelf.isQualified = [returnValue[@"data"] integerValue];
}else {
[XBLoadingView showHUDViewWithText:returnValue[@"message"]];
}
......@@ -131,11 +129,6 @@
// 所有请求完成后
dispatch_group_notify(group, dispatch_get_main_queue(), ^{
for (PrizeListModel *model in weakSelf.prizeDatasArray) {
if ([weakSelf.availableArray containsObject:model.fid]) {
model.isAllowSelect = YES;
}
}
[XBLoadingView hideHUDViewWithDefault];
[weakSelf endRefreshingForTableView:weakSelf.prizeListCollectionView];
[weakSelf.prizeListCollectionView reloadData];
......@@ -158,12 +151,19 @@
- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath
{
if (self.isQualified) {
PrizeListCollectionViewCell *cell = (PrizeListCollectionViewCell *)[collectionView cellForItemAtIndexPath:indexPath];
for (PrizeListModel *model in self.prizeDatasArray) {
model.isSelect = NO;
}
for (PrizeListCollectionViewCell *cell in self.prizeListCollectionView.visibleCells) {
cell.isSelectButton.selected = NO;
}
PrizeListModel *model = self.prizeDatasArray[indexPath.item];
cell.isSelectButton.selected = YES;
model.isSelect = cell.isSelectButton.selected;
if (model.isAllowSelect) {
cell.isSelectButton.selected = !cell.isSelectButton.selected;
model.isSelect = cell.isSelectButton.selected;
}else {
[XBLoadingView showHUDViewWithText:@"没有兑换资格"];
}
}
......@@ -180,6 +180,10 @@
[XBLoadingView showHUDViewWithText:@"未选中任何礼品"];return;
}
ApplyPrizeViewController *applyPrizeVC = [[ApplyPrizeViewController alloc]init];
WS(weakSelf);
[applyPrizeVC setRequestFinishBlock:^{
[weakSelf.prizeListCollectionView.mj_header beginRefreshing];
}];
applyPrizeVC.preferredContentSize = applyPrizeVC.view.mj_size;
applyPrizeVC.selectArray = selectArray;
applyPrizeVC.modalPresentationStyle = UIModalPresentationFormSheet;
......@@ -235,12 +239,5 @@
return _queryPrizeModel;
}
- (NSMutableArray *)availableArray
{
if (!_availableArray) {
_availableArray = [NSMutableArray array];
}
return _availableArray;
}
@end
......@@ -129,23 +129,35 @@
WithdrawalViewController *withdrawal = [[[self class] getMainStoryboardClass] instantiateViewControllerWithIdentifier:@"WithdrawalViewController"];
[self addChildViewController:withdrawal];
payments.view.frame = CGRectMake(0, 40, self.contentBackgroundView.mj_w, self.contentBackgroundView.mj_h-40);
withdrawal.view.frame = CGRectMake(0, 40, self.contentBackgroundView.mj_w, self.contentBackgroundView.mj_h-40);
[self.contentBackgroundView addSubview:payments.view];
self.currentVC = payments;
/// 我的卡劵
CardViewController *cardVc = [[[self class] getMainStoryboardClass] instantiateViewControllerWithIdentifier:@"CardViewController"];
[self addChildViewController:cardVc];
cardVc.view.frame = CGRectMake(0, 40, self.cardBackgroundView.mj_w, self.cardBackgroundView.mj_h-50);
[self.cardBackgroundView addSubview:cardVc.view];
// /// 我的抽奖
// LuckyDrawDetailsViewController *draw = [[[self class] getMainStoryboardClass] instantiateViewControllerWithIdentifier:@"LuckyDrawDetailsViewController"];
// [self addChildViewController:draw];
// draw.drawValue = 0;
// draw.view.frame = CGRectMake(0, 40, self.drawBackgroundView.mj_w, self.drawBackgroundView.mj_h-50);
// [self.drawBackgroundView addSubview:draw.view];
/// 我的抽奖
LuckyDrawDetailsViewController *draw = [[[self class] getMainStoryboardClass] instantiateViewControllerWithIdentifier:@"LuckyDrawDetailsViewController"];
[self addChildViewController:draw];
draw.drawValue = 0;
[self.drawBackgroundView addSubview:draw.view];
}
#pragma mark - 调整布局
- (void)viewDidLayoutSubviews
{
PaymentsViewController *payments = self.childViewControllers[0];
payments.view.frame = CGRectMake(0, 40, self.contentBackgroundView.mj_w, self.contentBackgroundView.mj_h-40);
WithdrawalViewController *withDrawal = self.childViewControllers[1];
withDrawal.view.frame = CGRectMake(0, 40, self.contentBackgroundView.mj_w, self.contentBackgroundView.mj_h-40);
CardViewController *cardVc = self.childViewControllers[2];
cardVc.view.frame = CGRectMake(0, 40, self.cardBackgroundView.mj_w, self.cardBackgroundView.mj_h-50);
LuckyDrawDetailsViewController *draw = self.childViewControllers[3];
draw.view.frame = CGRectMake(0, 40, self.drawBackgroundView.mj_w, self.drawBackgroundView.mj_h-50);
}
......
......@@ -97,11 +97,13 @@
- (void)getDatasAction:(BOOL)isRemoveAll
{
WS(weakSelf);
[XBLoadingView showHUDViewWithDefaultWithView:self.view];
[[NetworkRequestClassManager Manager] NetworkRequestWithURL:SERVERREQUESTURL(WITHDRAWALPROGRESS) WithRequestType:ZERO WithParameter:self.model WithReturnValueBlock:^(id returnValue) {
weakSelf.withdrawalTableView.emptyDataSetSource = self;
weakSelf.withdrawalTableView.emptyDataSetDelegate = self;
weakSelf.withdrawalTableView.emptyDataSetSource = weakSelf;
weakSelf.withdrawalTableView.emptyDataSetDelegate = weakSelf;
[weakSelf endRefreshingForTableView:weakSelf.withdrawalTableView];
[XBLoadingView hideHUDViewWithDefaultWithView:weakSelf.view];
if ([returnValue[@"code"] isEqualToNumber:@0]) {
if (isRemoveAll) {
[weakSelf.resultArray removeAllObjects];
......@@ -118,6 +120,7 @@
}
}WithFailureBlock:^(NSError *error) {
[weakSelf endRefreshingForTableView:weakSelf.withdrawalTableView];
[XBLoadingView hideHUDViewWithDefaultWithView:weakSelf.view];
[XBLoadingView showHUDViewWithText:error.localizedDescription];
}];
}
......
......@@ -192,7 +192,7 @@
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9kC-nV-7qm">
<button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9kC-nV-7qm">
<constraints>
<constraint firstAttribute="height" constant="20" id="o3S-8T-gOV"/>
<constraint firstAttribute="width" constant="20" id="vcE-w6-Bg9"/>
......@@ -521,7 +521,7 @@
<constraints>
<constraint firstItem="jVO-nq-vjx" firstAttribute="top" secondItem="6OB-63-x5H" secondAttribute="bottom" id="9sj-tZ-6wH"/>
<constraint firstItem="6OB-63-x5H" firstAttribute="leading" secondItem="gPk-r6-eLE" secondAttribute="leading" id="Bsy-q4-bho"/>
<constraint firstItem="6OB-63-x5H" firstAttribute="top" secondItem="7GR-0c-ewm" secondAttribute="bottom" constant="44" id="xxF-NK-Nxl"/>
<constraint firstItem="6OB-63-x5H" firstAttribute="top" secondItem="7GR-0c-ewm" secondAttribute="bottom" constant="24" id="xxF-NK-Nxl"/>
<constraint firstAttribute="trailing" secondItem="6OB-63-x5H" secondAttribute="trailing" id="z27-GL-bif"/>
</constraints>
</view>
......@@ -549,10 +549,10 @@
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="IntegralDetailsTableViewCell" rowHeight="70" id="dvh-wm-f5G" customClass="IntegralDetailsTableViewCell">
<rect key="frame" x="0.0" y="28" width="1023" height="70"/>
<rect key="frame" x="0.0" y="28" width="1024" height="70"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="dvh-wm-f5G" id="UeK-sH-3z8">
<frame key="frameInset" width="1023" height="69"/>
<frame key="frameInset" width="1024" height="69"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="积分清零" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YDf-Lj-2uh">
......@@ -587,10 +587,10 @@
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="prizeDetailsTableViewCell" rowHeight="90" id="GX2-Gv-YRn" customClass="prizeDetailsTableViewCell">
<rect key="frame" x="0.0" y="98" width="1023" height="90"/>
<rect key="frame" x="0.0" y="98" width="1024" height="90"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="GX2-Gv-YRn" id="tQ9-m3-04b">
<frame key="frameInset" width="1023" height="89"/>
<frame key="frameInset" width="1024" height="89"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Zvz-7f-MPc">
......
......@@ -228,7 +228,7 @@
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="90" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="Ogf-Th-qTY">
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" accessoryType="disclosureIndicator" indentationWidth="10" reuseIdentifier="ForumTableViewCell" rowHeight="90" id="gz9-gD-P6A" customClass="ForumTableViewCell">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="none" accessoryType="disclosureIndicator" indentationWidth="10" reuseIdentifier="ForumTableViewCell" rowHeight="90" id="gz9-gD-P6A" customClass="ForumTableViewCell">
<rect key="frame" x="0.0" y="28" width="768" height="90"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="gz9-gD-P6A" id="4lI-td-FE0">
......@@ -1230,7 +1230,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="70" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="lXY-sE-fW1">
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="VideoDetailIntroTableViewCell" rowHeight="100" id="Qnm-0r-wEL" customClass="VideoDetailIntroTableViewCell">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="VideoDetailIntroTableViewCell" rowHeight="100" id="Qnm-0r-wEL" customClass="VideoDetailIntroTableViewCell">
<rect key="frame" x="0.0" y="28" width="768" height="100"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Qnm-0r-wEL" id="VAA-bT-OlF">
......@@ -1261,7 +1261,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
<outlet property="studyIntroDetailTitleLabel" destination="pIM-cg-VXA" id="qhO-cv-4Hn"/>
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="VideoLecturerTableViewCell" rowHeight="130" id="WzB-nZ-wsW" customClass="VideoLecturerTableViewCell">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="VideoLecturerTableViewCell" rowHeight="130" id="WzB-nZ-wsW" customClass="VideoLecturerTableViewCell">
<rect key="frame" x="0.0" y="128" width="768" height="130"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="WzB-nZ-wsW" id="Zzv-Yi-ZxT">
......@@ -1315,7 +1315,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
<outlet property="lecurerIntroLabel" destination="85S-CZ-3Vl" id="LLr-eD-OYY"/>
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="SpecifiedTableViewCell" rowHeight="100" id="oia-jO-L9n" customClass="SpecifiedTableViewCell">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="SpecifiedTableViewCell" rowHeight="100" id="oia-jO-L9n" customClass="SpecifiedTableViewCell">
<rect key="frame" x="0.0" y="258" width="768" height="100"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="oia-jO-L9n" id="AMF-ag-ZWN">
......@@ -1693,7 +1693,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="grouped" separatorStyle="none" rowHeight="81" sectionHeaderHeight="18" sectionFooterHeight="18" translatesAutoresizingMaskIntoConstraints="NO" id="XRP-My-vMh">
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="AssessmentHeaderView" rowHeight="60" id="2M5-To-MLj" customClass="AssessmentHeaderView">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="AssessmentHeaderView" rowHeight="60" id="2M5-To-MLj" customClass="AssessmentHeaderView">
<rect key="frame" x="0.0" y="56" width="768" height="60"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="2M5-To-MLj" id="ypf-GL-4CP">
......@@ -1718,7 +1718,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
<outlet property="titleLabel" destination="RBj-Qh-HCD" id="uH0-fJ-SI2"/>
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="AssessmentTableViewCell" rowHeight="50" id="BjI-a1-CRm" customClass="AssessmentTableViewCell">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="AssessmentTableViewCell" rowHeight="50" id="BjI-a1-CRm" customClass="AssessmentTableViewCell">
<rect key="frame" x="0.0" y="116" width="768" height="50"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="BjI-a1-CRm" id="bq8-ly-DcD">
......
......@@ -193,10 +193,10 @@
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="information" rowHeight="100" id="NV8-I4-ig4" customClass="InformationTableViewCell">
<rect key="frame" x="0.0" y="28" width="984" height="100"/>
<rect key="frame" x="0.0" y="28" width="1000" height="100"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="NV8-I4-ig4" id="E0m-wU-1b5">
<frame key="frameInset" width="984" height="99.5"/>
<frame key="frameInset" width="1000" height="99.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="05产品库-详情_03" translatesAutoresizingMaskIntoConstraints="NO" id="F66-vh-va3">
......@@ -612,7 +612,7 @@
<constraint firstItem="wKm-gk-gw9" firstAttribute="leading" secondItem="LJH-My-fYu" secondAttribute="leading" id="AW0-Qh-zWJ"/>
<constraint firstItem="P0Z-vW-TbV" firstAttribute="leading" secondItem="wKm-gk-gw9" secondAttribute="trailing" constant="10" id="BDl-ev-s0n"/>
<constraint firstItem="KRu-MV-9ja" firstAttribute="leading" secondItem="KGm-XJ-NyV" secondAttribute="trailing" constant="10" id="MFb-Xa-GpC"/>
<constraint firstItem="LJH-My-fYu" firstAttribute="centerX" secondItem="BWi-jv-OOH" secondAttribute="centerX" constant="-100" id="Nap-Hz-ycE"/>
<constraint firstItem="LJH-My-fYu" firstAttribute="centerX" secondItem="BWi-jv-OOH" secondAttribute="centerX" id="Nap-Hz-ycE"/>
<constraint firstItem="KGm-XJ-NyV" firstAttribute="leading" secondItem="BWi-jv-OOH" secondAttribute="leading" constant="15" id="db3-fC-L43"/>
<constraint firstItem="LJH-My-fYu" firstAttribute="centerY" secondItem="KGm-XJ-NyV" secondAttribute="centerY" id="eEU-06-2bY"/>
<constraint firstItem="vHz-eK-SSZ" firstAttribute="centerY" secondItem="BWi-jv-OOH" secondAttribute="centerY" constant="15" id="evn-nz-tKI"/>
......@@ -701,7 +701,7 @@
<constraint firstItem="Zdg-s0-xfD" firstAttribute="centerY" secondItem="mn8-g0-Zqo" secondAttribute="centerY" id="bWd-gq-DOA"/>
<constraint firstItem="86V-EZ-5eX" firstAttribute="centerY" secondItem="Tzd-LN-3hN" secondAttribute="centerY" id="bhG-gk-lcx"/>
<constraint firstItem="KzM-cH-slK" firstAttribute="centerY" secondItem="Tzd-LN-3hN" secondAttribute="centerY" id="clQ-95-vz0"/>
<constraint firstItem="KzM-cH-slK" firstAttribute="centerX" secondItem="mn8-g0-Zqo" secondAttribute="centerX" constant="-100" id="d2s-oZ-Ila"/>
<constraint firstItem="KzM-cH-slK" firstAttribute="centerX" secondItem="mn8-g0-Zqo" secondAttribute="centerX" id="d2s-oZ-Ila"/>
<constraint firstItem="86V-EZ-5eX" firstAttribute="leading" secondItem="Tzd-LN-3hN" secondAttribute="trailing" constant="10" id="dkf-Cu-fz6"/>
<constraint firstItem="dlJ-QJ-ggP" firstAttribute="leading" secondItem="Tzd-LN-3hN" secondAttribute="leading" id="dw1-vW-qPE"/>
<constraint firstItem="TDA-d4-cxP" firstAttribute="leading" secondItem="86V-EZ-5eX" secondAttribute="leading" id="tcZ-l9-sKn"/>
......@@ -760,7 +760,7 @@
<constraint firstItem="GVz-ai-sbo" firstAttribute="centerY" secondItem="tiK-JC-Jy4" secondAttribute="centerY" id="6mM-Va-FxU"/>
<constraint firstItem="Dse-ts-588" firstAttribute="leading" secondItem="w2h-gH-VzA" secondAttribute="trailing" constant="10" id="Br1-KB-ifB"/>
<constraint firstItem="w2h-gH-VzA" firstAttribute="centerY" secondItem="2Je-94-WVY" secondAttribute="centerY" constant="15" id="EKX-pl-ZYV"/>
<constraint firstItem="GVz-ai-sbo" firstAttribute="centerX" secondItem="2Je-94-WVY" secondAttribute="centerX" constant="-100" id="HCA-8V-l8L"/>
<constraint firstItem="GVz-ai-sbo" firstAttribute="centerX" secondItem="2Je-94-WVY" secondAttribute="centerX" id="HCA-8V-l8L"/>
<constraint firstItem="986-lZ-CBG" firstAttribute="leading" secondItem="tiK-JC-Jy4" secondAttribute="trailing" constant="10" id="IKw-7o-Bx7"/>
<constraint firstItem="w2h-gH-VzA" firstAttribute="leading" secondItem="tiK-JC-Jy4" secondAttribute="leading" id="Qs0-07-FcY"/>
<constraint firstItem="Dse-ts-588" firstAttribute="centerY" secondItem="w2h-gH-VzA" secondAttribute="centerY" id="bVQ-Fb-7GZ"/>
......@@ -1183,7 +1183,7 @@
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="grouped" separatorStyle="default" rowHeight="192" sectionHeaderHeight="18" sectionFooterHeight="18" translatesAutoresizingMaskIntoConstraints="NO" id="7fl-ag-O5b">
<color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.95686274510000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="productDetailscell" rowHeight="182" id="Sye-2R-IQf" customClass="ProductDetailsTableViewCell">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="productDetailscell" rowHeight="182" id="Sye-2R-IQf" customClass="ProductDetailsTableViewCell">
<rect key="frame" x="0.0" y="55.5" width="1024" height="182"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Sye-2R-IQf" id="CXs-SR-gHP">
......@@ -1689,7 +1689,7 @@
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="NWY-ut-vAy">
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="ordercell" rowHeight="200" id="0Oq-z4-T96" customClass="OrderTableViewCell">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="ordercell" rowHeight="200" id="0Oq-z4-T96" customClass="OrderTableViewCell">
<rect key="frame" x="0.0" y="28" width="1024" height="200"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="0Oq-z4-T96" id="GEp-Hp-EdS">
......@@ -2334,7 +2334,7 @@
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="56" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="lD6-5a-1OW">
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="secondcell" rowHeight="110" id="LsY-i0-h5H" customClass="PersonInformationTableViewCell">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="secondcell" rowHeight="110" id="LsY-i0-h5H" customClass="PersonInformationTableViewCell">
<rect key="frame" x="0.0" y="28" width="1024" height="110"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="LsY-i0-h5H" id="dPG-p9-V2i">
......@@ -2417,7 +2417,7 @@
<outlet property="customerPhoneNumber" destination="hP2-rt-HWE" id="AjL-uh-E3H"/>
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="consigneecell" rowHeight="56" id="gfQ-UE-mXV" customClass="GenerateOrdersTableViewCell">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="consigneecell" rowHeight="56" id="gfQ-UE-mXV" customClass="GenerateOrdersTableViewCell">
<rect key="frame" x="0.0" y="138" width="1024" height="56"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="gfQ-UE-mXV" id="za6-HU-VEw">
......@@ -2491,7 +2491,7 @@
<outlet property="isSelectedButton" destination="fs3-Vh-g5G" id="avL-eW-lce"/>
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="Modifycell" rowHeight="70" id="Kk4-Fh-HhL" customClass="GenerateOrdersModifyTableViewCell">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="Modifycell" rowHeight="70" id="Kk4-Fh-HhL" customClass="GenerateOrdersModifyTableViewCell">
<rect key="frame" x="0.0" y="194" width="1024" height="70"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Kk4-Fh-HhL" id="oRX-7p-HkY">
......@@ -2540,7 +2540,7 @@
<outlet property="changeButton" destination="m0f-EW-LM5" id="CVd-sS-vsr"/>
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="fourthcell" rowHeight="80" id="G7o-xS-1mB" customClass="CommodityListTableViewCell">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="fourthcell" rowHeight="80" id="G7o-xS-1mB" customClass="CommodityListTableViewCell">
<rect key="frame" x="0.0" y="264" width="1024" height="80"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="G7o-xS-1mB" id="l3e-TL-GCT">
......@@ -2618,7 +2618,7 @@
<outlet property="totalPrice" destination="sGz-dS-QOx" id="Mdz-z9-NlR"/>
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="sixthcell" rowHeight="50" id="6K9-mc-7RW" customClass="AllpriceTableViewCell">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="sixthcell" rowHeight="50" id="6K9-mc-7RW" customClass="AllpriceTableViewCell">
<rect key="frame" x="0.0" y="344" width="1024" height="50"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="6K9-mc-7RW" id="Vc7-f6-wGb">
......@@ -2709,7 +2709,7 @@
<constraint firstItem="XUO-em-Ffm" firstAttribute="top" secondItem="QDQ-Sx-ua0" secondAttribute="bottom" id="5H1-s4-gQp"/>
<constraint firstAttribute="trailing" secondItem="QDQ-Sx-ua0" secondAttribute="trailing" id="8TR-Ir-ggJ"/>
<constraint firstItem="QDQ-Sx-ua0" firstAttribute="leading" secondItem="fHP-ek-Exb" secondAttribute="leading" id="NSG-Qx-gVO"/>
<constraint firstItem="lD6-5a-1OW" firstAttribute="top" secondItem="si5-iu-FaB" secondAttribute="bottom" constant="44" id="SVi-u0-FYy"/>
<constraint firstItem="lD6-5a-1OW" firstAttribute="top" secondItem="si5-iu-FaB" secondAttribute="bottom" constant="24" id="SVi-u0-FYy"/>
<constraint firstAttribute="trailing" secondItem="lD6-5a-1OW" secondAttribute="trailing" id="X5w-Al-ana"/>
<constraint firstItem="QDQ-Sx-ua0" firstAttribute="top" secondItem="lD6-5a-1OW" secondAttribute="bottom" id="XwM-Nz-Svu"/>
<constraint firstItem="lD6-5a-1OW" firstAttribute="leading" secondItem="fHP-ek-Exb" secondAttribute="leading" id="YT3-QE-JUd"/>
......@@ -3271,7 +3271,7 @@
<constraint firstItem="PM0-aT-gnI" firstAttribute="top" secondItem="Bod-h4-0Gc" secondAttribute="bottom" constant="7.5" id="RJ2-gU-1EX"/>
<constraint firstItem="Bod-h4-0Gc" firstAttribute="centerY" secondItem="cL1-AN-2nL" secondAttribute="centerY" id="V05-yM-NSi"/>
<constraint firstAttribute="trailing" secondItem="PM0-aT-gnI" secondAttribute="trailing" constant="20" id="Whf-Om-YIa"/>
<constraint firstItem="HGx-bG-vPP" firstAttribute="top" secondItem="hTT-CD-UUM" secondAttribute="bottom" constant="69" id="bhE-gf-8Fi"/>
<constraint firstItem="HGx-bG-vPP" firstAttribute="top" secondItem="hTT-CD-UUM" secondAttribute="bottom" constant="44" id="bhE-gf-8Fi"/>
<constraint firstItem="rLt-Gi-G4k" firstAttribute="leading" secondItem="Bod-h4-0Gc" secondAttribute="trailing" constant="10" id="t4Z-xZ-pPS"/>
<constraint firstItem="iQ5-VA-iTl" firstAttribute="top" secondItem="PM0-aT-gnI" secondAttribute="bottom" constant="20" id="v4M-zr-cyG"/>
<constraint firstItem="rLt-Gi-G4k" firstAttribute="centerY" secondItem="Bod-h4-0Gc" secondAttribute="centerY" id="z5P-kq-pKm"/>
......@@ -3347,7 +3347,7 @@
</subviews>
<color key="backgroundColor" red="0.93725490196078431" green="0.93725490196078431" blue="0.93725490196078431" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="mws-jL-llW" firstAttribute="top" secondItem="DwO-Ok-fIH" secondAttribute="bottom" constant="69" id="8xJ-em-gSM"/>
<constraint firstItem="mws-jL-llW" firstAttribute="top" secondItem="DwO-Ok-fIH" secondAttribute="bottom" constant="44" id="8xJ-em-gSM"/>
<constraint firstItem="Ht4-YI-Wce" firstAttribute="top" secondItem="nwN-4f-dIL" secondAttribute="bottom" constant="20" id="DuH-5U-RU6"/>
<constraint firstItem="nwN-4f-dIL" firstAttribute="leading" secondItem="cE1-jz-HGm" secondAttribute="leading" constant="20" id="F7O-Pf-RnJ"/>
<constraint firstItem="nwN-4f-dIL" firstAttribute="top" secondItem="5Dh-oL-xLn" secondAttribute="bottom" constant="8" id="flG-yG-tfL"/>
......@@ -3778,7 +3778,7 @@
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="60" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="X5N-SY-GaL">
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="PaymentsTableViewCell" rowHeight="70" id="ycT-hi-XMt" customClass="PaymentsTableViewCell">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="PaymentsTableViewCell" rowHeight="70" id="ycT-hi-XMt" customClass="PaymentsTableViewCell">
<rect key="frame" x="0.0" y="28" width="1024" height="70"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="ycT-hi-XMt" id="kgy-QA-YB7">
......@@ -3979,7 +3979,7 @@
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="60" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="Se4-SZ-Wqk">
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="WithdrawalTableViewCell" rowHeight="70" id="jHf-PW-bB3" customClass="WithdrawalTableViewCell">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="WithdrawalTableViewCell" rowHeight="70" id="jHf-PW-bB3" customClass="WithdrawalTableViewCell">
<rect key="frame" x="0.0" y="28" width="1024" height="70"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="jHf-PW-bB3" id="GzY-E9-F2n">
......@@ -4081,7 +4081,7 @@
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="s3d-4S-Hli">
<frame key="frameInset" minX="13.43%" minY="170" width="16.50%" height="21"/>
<frame key="frameInset" minX="13.43%" minY="170" width="16.46%" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
......@@ -4579,14 +4579,14 @@
<constraint firstItem="M0Q-3y-43g" firstAttribute="leading" secondItem="Kfl-gU-ffA" secondAttribute="leading" constant="30" id="f72-Fi-ane"/>
<constraint firstItem="9l8-tl-Kl6" firstAttribute="leading" secondItem="Kfl-gU-ffA" secondAttribute="leading" constant="80" id="fc7-04-csC"/>
<constraint firstItem="vtg-a5-Yir" firstAttribute="centerY" secondItem="7cQ-TK-1bE" secondAttribute="centerY" id="jxw-Xl-kVL"/>
<constraint firstAttribute="height" constant="64" id="pgS-bv-MV0"/>
<constraint firstAttribute="height" constant="44" id="pgS-bv-MV0"/>
<constraint firstItem="d2G-qB-lRk" firstAttribute="leading" secondItem="7cQ-TK-1bE" secondAttribute="trailing" constant="10" id="vAY-xf-C1D"/>
</constraints>
</view>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="116" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="Zqw-SR-cRg">
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="allcustomercell" rowHeight="125" id="OYf-pc-4my" customClass="AllCutomerTableViewCell">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="allcustomercell" rowHeight="125" id="OYf-pc-4my" customClass="AllCutomerTableViewCell">
<rect key="frame" x="0.0" y="28" width="1024" height="125"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="OYf-pc-4my" id="hCr-QB-Gld">
......@@ -4704,7 +4704,7 @@
<color key="backgroundColor" red="0.94509803921568625" green="0.94509803921568625" blue="0.94509803921568625" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="Zqw-SR-cRg" secondAttribute="trailing" id="2TQ-6N-c7X"/>
<constraint firstItem="Kfl-gU-ffA" firstAttribute="top" secondItem="Gk4-rJ-N8I" secondAttribute="bottom" constant="64" id="7hr-4J-2dS"/>
<constraint firstItem="Kfl-gU-ffA" firstAttribute="top" secondItem="Gk4-rJ-N8I" secondAttribute="bottom" constant="24" id="7hr-4J-2dS"/>
<constraint firstItem="8vm-uL-RLa" firstAttribute="top" secondItem="Zqw-SR-cRg" secondAttribute="bottom" id="Ld0-no-vH5"/>
<constraint firstAttribute="trailing" secondItem="Kfl-gU-ffA" secondAttribute="trailing" id="Uou-XN-X0W"/>
<constraint firstItem="Zqw-SR-cRg" firstAttribute="leading" secondItem="kdd-9E-MpA" secondAttribute="leading" id="dRc-h5-qLt"/>
......@@ -4775,7 +4775,7 @@
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="263" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="SiR-rm-chD">
<color key="backgroundColor" red="0.93333333333333335" green="0.93333333333333335" blue="0.93333333333333335" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="customerordercell" rowHeight="260" id="YwA-DX-QXj" customClass="CustomerOrderTableViewCell">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="customerordercell" rowHeight="260" id="YwA-DX-QXj" customClass="CustomerOrderTableViewCell">
<rect key="frame" x="0.0" y="28" width="984" height="260"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="YwA-DX-QXj" id="jSd-hf-XkG">
......@@ -5385,7 +5385,7 @@
<constraint firstAttribute="width" constant="130" id="n1r-bf-QmM"/>
</constraints>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="ProductScreeningTableViewCell" rowHeight="100" id="lHY-Zb-Idx" customClass="ProductScreeningTableViewCell">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="ProductScreeningTableViewCell" rowHeight="100" id="lHY-Zb-Idx" customClass="ProductScreeningTableViewCell">
<rect key="frame" x="0.0" y="28" width="130" height="100"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="lHY-Zb-Idx" id="sA6-Zz-dlh">
......@@ -5393,7 +5393,7 @@
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="登录" translatesAutoresizingMaskIntoConstraints="NO" id="rGw-q9-ctQ">
<frame key="frameInset" minY="-0.5" maxX="0.5"/>
<frame key="frameInset" minX="-1" minY="-1" maxX="0.5"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
</imageView>
</subviews>
......@@ -5783,9 +5783,7 @@
<rect key="frame" x="0.0" y="0.0" width="200" height="500"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" alwaysBounceVertical="YES" dataMode="prototypes" style="grouped" separatorStyle="default" rowHeight="44" sectionHeaderHeight="18" sectionFooterHeight="18" translatesAutoresizingMaskIntoConstraints="NO" id="Jxr-8v-HeG">
<frame key="frameInset" minY="64" maxY="-1"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="grouped" separatorStyle="default" rowHeight="44" sectionHeaderHeight="18" sectionFooterHeight="18" translatesAutoresizingMaskIntoConstraints="NO" id="Jxr-8v-HeG">
<color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.95686274510000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="RightControlTableViewCell" rowHeight="60" id="0wm-zc-Jqc" customClass="RightControlTableViewCell">
......@@ -5795,14 +5793,18 @@
<frame key="frameInset" width="200" height="59.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="体验中心" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ima-L1-WqA">
<frame key="frameInset" minX="41.5" minY="48.05%" height="21" maxX="46"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="体验中心" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ima-L1-WqA">
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstItem="ima-L1-WqA" firstAttribute="leading" secondItem="p9s-UH-PIl" secondAttribute="leading" constant="20" id="53m-pg-WzK"/>
<constraint firstItem="ima-L1-WqA" firstAttribute="centerY" secondItem="p9s-UH-PIl" secondAttribute="centerY" id="Gdl-1j-mAm"/>
<constraint firstAttribute="trailing" secondItem="ima-L1-WqA" secondAttribute="trailing" constant="20" id="ReW-vM-j36"/>
<constraint firstItem="ima-L1-WqA" firstAttribute="centerX" secondItem="p9s-UH-PIl" secondAttribute="centerX" id="dbb-3u-lOR"/>
</constraints>
</tableViewCellContentView>
<connections>
<outlet property="sectionTitle" destination="ima-L1-WqA" id="QrI-nE-zFF"/>
......@@ -5812,6 +5814,12 @@
</tableView>
</subviews>
<color key="backgroundColor" red="0.93725490196078431" green="0.93725490196078431" blue="0.95686274509803915" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="Jxr-8v-HeG" firstAttribute="leading" secondItem="qCk-eG-7sl" secondAttribute="leading" id="0Ct-dI-e3N"/>
<constraint firstItem="Jxr-8v-HeG" firstAttribute="top" secondItem="2i4-fx-1Oc" secondAttribute="bottom" constant="44" id="FUP-Gp-yWw"/>
<constraint firstAttribute="bottom" secondItem="Jxr-8v-HeG" secondAttribute="bottom" id="kHp-BM-r16"/>
<constraint firstAttribute="trailing" secondItem="Jxr-8v-HeG" secondAttribute="trailing" id="mhE-4p-Dem"/>
</constraints>
</view>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<size key="freeformSize" width="200" height="500"/>
......@@ -5835,85 +5843,104 @@
<rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="fd8-5S-hPm">
<frame key="frameInset" minX="134" minY="76" width="756" height="557"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="fd8-5S-hPm">
<subviews>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Ruv-Bp-ECn">
<frame key="frameInset" minY="55" height="45"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ruv-Bp-ECn">
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="产品信息" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pCP-7a-y5V">
<frame key="frameInset" minX="27.96%" minY="12" width="73" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="产品信息" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pCP-7a-y5V">
<constraints>
<constraint firstAttribute="width" constant="100" id="IAn-EV-VNf"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="吊牌价" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Jbl-RI-WRD">
<frame key="frameInset" minX="44.15%" minY="12" width="64" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="吊牌价" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Jbl-RI-WRD">
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="成交价" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kk8-vx-XZS">
<frame key="frameInset" minX="58.27%" minY="12" width="49" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="成交价" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kk8-vx-XZS">
<constraints>
<constraint firstAttribute="width" constant="80" id="0ik-Ug-1Zy"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="数量" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FjQ-e2-Lga">
<frame key="frameInset" minX="76.96%" minY="12" width="42" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="数量" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FjQ-e2-Lga">
<constraints>
<constraint firstAttribute="width" constant="100" id="Drf-1I-GTj"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="产品金额" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Cgg-Aq-p7e">
<frame key="frameInset" minX="96.99%" minY="12" width="74" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="产品金额" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Cgg-Aq-p7e">
<constraints>
<constraint firstAttribute="width" constant="150" id="CrD-Vq-CXr"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="图片" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5H3-Lr-WpJ">
<frame key="frameInset" minX="13.66%" minY="12" width="42" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="图片" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5H3-Lr-WpJ">
<constraints>
<constraint firstAttribute="width" constant="90" id="2Tg-kX-twA"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="pCP-7a-y5V" firstAttribute="centerY" secondItem="5H3-Lr-WpJ" secondAttribute="centerY" id="4U7-o7-SdF"/>
<constraint firstItem="5H3-Lr-WpJ" firstAttribute="leading" secondItem="Ruv-Bp-ECn" secondAttribute="leading" constant="75" id="4dT-mL-tVc"/>
<constraint firstItem="kk8-vx-XZS" firstAttribute="centerY" secondItem="FjQ-e2-Lga" secondAttribute="centerY" id="9DF-j9-K66"/>
<constraint firstItem="Cgg-Aq-p7e" firstAttribute="centerY" secondItem="Ruv-Bp-ECn" secondAttribute="centerY" id="9NL-bC-NSL"/>
<constraint firstAttribute="height" constant="45" id="A8a-Bp-WN5"/>
<constraint firstItem="Jbl-RI-WRD" firstAttribute="centerY" secondItem="kk8-vx-XZS" secondAttribute="centerY" id="J33-wR-SSP"/>
<constraint firstItem="5H3-Lr-WpJ" firstAttribute="centerY" secondItem="Ruv-Bp-ECn" secondAttribute="centerY" id="JL9-vf-JUQ"/>
<constraint firstAttribute="trailing" secondItem="FjQ-e2-Lga" secondAttribute="trailing" constant="135" id="OsK-aE-EPP"/>
<constraint firstItem="FjQ-e2-Lga" firstAttribute="leading" secondItem="kk8-vx-XZS" secondAttribute="trailing" constant="30" id="QAA-Js-ety"/>
<constraint firstItem="kk8-vx-XZS" firstAttribute="leading" secondItem="Jbl-RI-WRD" secondAttribute="trailing" constant="30" id="ZTj-4a-YpD"/>
<constraint firstItem="FjQ-e2-Lga" firstAttribute="centerY" secondItem="Cgg-Aq-p7e" secondAttribute="centerY" id="epL-Rd-ugT"/>
<constraint firstItem="pCP-7a-y5V" firstAttribute="leading" secondItem="5H3-Lr-WpJ" secondAttribute="trailing" constant="15" id="tU0-fr-00w"/>
<constraint firstAttribute="trailing" secondItem="Cgg-Aq-p7e" secondAttribute="trailing" constant="10" id="v6B-4I-UuT"/>
</constraints>
</view>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="WbM-Lk-b90">
<frame key="frameInset" height="55"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="WbM-Lk-b90">
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="Folder" translatesAutoresizingMaskIntoConstraints="NO" id="OCD-kH-a79">
<frame key="frameInset" minX="20" minY="17" width="20" height="20"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Folder" translatesAutoresizingMaskIntoConstraints="NO" id="OCD-kH-a79">
<constraints>
<constraint firstAttribute="height" constant="20" id="jKp-u3-2lf"/>
<constraint firstAttribute="width" constant="20" id="t1V-iY-IoI"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="待添加至购物袋" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9ML-uE-NEh">
<frame key="frameInset" minX="55" minY="17" width="144" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="待添加至购物袋" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9ML-uE-NEh">
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" red="0.33333333333333331" green="0.33333333333333331" blue="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" red="0.90980392160000001" green="0.90980392160000001" blue="0.90980392160000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="55" id="41f-G8-Jv7"/>
<constraint firstItem="OCD-kH-a79" firstAttribute="leading" secondItem="WbM-Lk-b90" secondAttribute="leading" constant="20" id="9q5-jq-WKR"/>
<constraint firstItem="9ML-uE-NEh" firstAttribute="centerY" secondItem="OCD-kH-a79" secondAttribute="centerY" id="RQK-MR-oEF"/>
<constraint firstItem="9ML-uE-NEh" firstAttribute="leading" secondItem="OCD-kH-a79" secondAttribute="trailing" constant="15" id="lyl-gj-jjm"/>
<constraint firstItem="OCD-kH-a79" firstAttribute="centerY" secondItem="WbM-Lk-b90" secondAttribute="centerY" id="xJh-Cj-Syt"/>
</constraints>
</view>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="PdL-NN-h2x">
<frame key="frameInset" height="64"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PdL-NN-h2x">
<subviews>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dEM-te-Rpj">
<frame key="frameInset" minY="11" width="165" height="42" maxX="17"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dEM-te-Rpj">
<color key="backgroundColor" red="0.34901960780000002" green="0.67450980390000004" blue="0.86274509799999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="width" constant="160" id="9NR-7O-1aV"/>
<constraint firstAttribute="height" constant="40" id="e34-cO-BMa"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<state key="normal" title="确认添加(0)">
<color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
......@@ -5923,30 +5950,26 @@
<action selector="settlementButtonClick:" destination="4Ho-ZE-RT8" eventType="touchUpInside" id="8Kn-ag-YwB"/>
</connections>
</button>
<label opaque="NO" multipleTouchEnabled="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="全选" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DXO-Hu-TEV">
<frame key="frameInset" minX="62" minY="21" width="32" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<label opaque="NO" multipleTouchEnabled="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="全选" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DXO-Hu-TEV">
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" multipleTouchEnabled="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="79U-B2-y0R">
<frame key="frameInset" minY="18" width="144" height="25" maxX="199"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
<label opaque="NO" multipleTouchEnabled="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="啊实打实的" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="79U-B2-y0R">
<fontDescription key="fontDescription" type="system" pointSize="24"/>
<color key="textColor" red="0.98823529409999999" green="0.33725490200000002" blue="0.12941176469999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" multipleTouchEnabled="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="合计金额:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NPo-VN-SQr">
<frame key="frameInset" minY="21" width="85" height="21" maxX="322"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
<label opaque="NO" multipleTouchEnabled="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="合计金额:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NPo-VN-SQr">
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Of3-V6-dpd">
<frame key="frameInset" minX="12" minY="7" width="50" height="50"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Of3-V6-dpd">
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="50" id="OAl-Yc-xTe"/>
<constraint firstAttribute="width" constant="50" id="VCM-Fg-AmF"/>
</constraints>
<state key="normal" image="box-副本"/>
<state key="selected" image="bg"/>
<connections>
......@@ -5959,17 +5982,17 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<color key="backgroundColor" red="0.86666666670000003" green="0.86666666670000003" blue="0.86666666670000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</view>
<label opaque="NO" multipleTouchEnabled="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="删除" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kGp-Fb-YW1">
<frame key="frameInset" minX="152" minY="21" width="32" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<label opaque="NO" multipleTouchEnabled="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="删除" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kGp-Fb-YW1">
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Rka-Sf-RRr">
<frame key="frameInset" minX="104" minY="7" width="50" height="50"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Rka-Sf-RRr">
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="50" id="ILy-hm-Xkm"/>
<constraint firstAttribute="width" constant="50" id="uvu-Eg-7a4"/>
</constraints>
<state key="normal" image="Trash"/>
<connections>
<action selector="delecteSelectedGoods:" destination="4Ho-ZE-RT8" eventType="touchUpInside" id="qML-mT-wxA"/>
......@@ -5978,89 +6001,109 @@
</button>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="Of3-V6-dpd" firstAttribute="leading" secondItem="PdL-NN-h2x" secondAttribute="leading" constant="12" id="3gR-gB-v5i"/>
<constraint firstItem="79U-B2-y0R" firstAttribute="centerY" secondItem="dEM-te-Rpj" secondAttribute="centerY" id="4sx-Zy-BUU"/>
<constraint firstItem="kGp-Fb-YW1" firstAttribute="leading" secondItem="Rka-Sf-RRr" secondAttribute="trailing" id="LYS-cp-Eul"/>
<constraint firstItem="Rka-Sf-RRr" firstAttribute="leading" secondItem="DXO-Hu-TEV" secondAttribute="trailing" constant="30" id="NEe-n1-D5k"/>
<constraint firstAttribute="height" constant="64" id="Qwb-lW-3eA"/>
<constraint firstItem="dEM-te-Rpj" firstAttribute="leading" secondItem="79U-B2-y0R" secondAttribute="trailing" constant="20" id="UVT-Gu-cIo"/>
<constraint firstItem="DXO-Hu-TEV" firstAttribute="centerY" secondItem="Of3-V6-dpd" secondAttribute="centerY" id="XgY-YW-lOn"/>
<constraint firstAttribute="trailing" secondItem="dEM-te-Rpj" secondAttribute="trailing" constant="20" id="ZyZ-7N-Pha"/>
<constraint firstItem="DXO-Hu-TEV" firstAttribute="leading" secondItem="Of3-V6-dpd" secondAttribute="trailing" id="d0H-Bk-ZCA"/>
<constraint firstItem="79U-B2-y0R" firstAttribute="leading" secondItem="NPo-VN-SQr" secondAttribute="trailing" constant="10" id="e7q-vM-CKa"/>
<constraint firstItem="Rka-Sf-RRr" firstAttribute="centerY" secondItem="Of3-V6-dpd" secondAttribute="centerY" id="f2Z-oN-AhT"/>
<constraint firstItem="Of3-V6-dpd" firstAttribute="centerY" secondItem="PdL-NN-h2x" secondAttribute="centerY" id="gAf-ww-rmj"/>
<constraint firstItem="NPo-VN-SQr" firstAttribute="centerY" secondItem="79U-B2-y0R" secondAttribute="centerY" id="l5H-hm-PHa"/>
<constraint firstItem="dEM-te-Rpj" firstAttribute="centerY" secondItem="PdL-NN-h2x" secondAttribute="centerY" id="m4a-Qg-nSE"/>
<constraint firstItem="kGp-Fb-YW1" firstAttribute="centerY" secondItem="Rka-Sf-RRr" secondAttribute="centerY" id="nRf-4M-7Xd"/>
</constraints>
</view>
<tableView clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="dOw-id-UoT">
<frame key="frameInset" minY="100" maxY="64"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="dOw-id-UoT">
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="Shopping" rowHeight="80" id="g2L-9g-KsS" customClass="ShoppingTableViewCell">
<rect key="frame" x="0.0" y="28" width="756" height="80"/>
<rect key="frame" x="0.0" y="28" width="1000" height="80"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="g2L-9g-KsS" id="XPi-Zc-aGh">
<frame key="frameInset" width="756" height="79.5"/>
<frame key="frameInset" width="1000" height="79.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="34f-aR-0gw">
<frame key="frameInset" minX="13" minY="16" width="50" height="50"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="34f-aR-0gw">
<constraints>
<constraint firstAttribute="width" constant="50" id="GbA-87-ARc"/>
<constraint firstAttribute="height" constant="50" id="hZ1-bT-Zqk"/>
</constraints>
<state key="normal" image="box-副本"/>
<state key="selected" image="bg"/>
<connections>
<action selector="selectedButtonClick:" destination="g2L-9g-KsS" eventType="touchUpInside" id="3lm-PW-pEn"/>
</connections>
</button>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="05产品库-详情_03" translatesAutoresizingMaskIntoConstraints="NO" id="8v1-F3-RUS">
<frame key="frameInset" minX="8.47%" minY="6" width="95" height="70"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="05产品库-详情_03" translatesAutoresizingMaskIntoConstraints="NO" id="8v1-F3-RUS">
<constraints>
<constraint firstAttribute="height" constant="70" id="A3m-ii-LgE"/>
<constraint firstAttribute="width" constant="90" id="m1e-mA-dMA"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="名称" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hV3-WW-RhX">
<frame key="frameInset" minX="25.67%" minY="12" width="156" height="18"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="名称" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hV3-WW-RhX">
<constraints>
<constraint firstAttribute="width" constant="100" id="zBr-lX-TnU"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" red="0.33333333333333331" green="0.33333333333333331" blue="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="规格" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eQ1-ab-oCl">
<frame key="frameInset" minX="25.67%" minY="32" width="156" height="19"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="规格" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eQ1-ab-oCl">
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" red="0.33333333333333331" green="0.33333333333333331" blue="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="¥5500" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6S3-kx-Umm">
<frame key="frameInset" minX="43.25%" minY="29" width="75" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="¥5500" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6S3-kx-Umm">
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" red="0.33333333333333331" green="0.33333333333333331" blue="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" tag="101" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="NrS-MR-H8O">
<frame key="frameInset" minX="80.44%" minY="24" width="30" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<button opaque="NO" tag="101" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="NrS-MR-H8O">
<color key="backgroundColor" red="0.97647058819999999" green="0.95686274510000002" blue="0.94509803920000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="GGm-bk-hhr"/>
<constraint firstAttribute="width" constant="30" id="YG8-AJ-sx2"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="15"/>
<state key="normal" backgroundImage="add"/>
<connections>
<action selector="reduceAndaddButtonClick:" destination="g2L-9g-KsS" eventType="touchUpInside" id="9lV-JS-Vib"/>
</connections>
</button>
<button opaque="NO" tag="100" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CKk-HW-LGp">
<frame key="frameInset" minX="72.57%" minY="24" width="30.5" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<button opaque="NO" tag="100" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CKk-HW-LGp">
<color key="backgroundColor" red="0.97647058819999999" green="0.95686274510000002" blue="0.94509803920000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="UDa-qa-qr6"/>
<constraint firstAttribute="width" constant="30" id="bXg-b5-uDU"/>
</constraints>
<state key="normal" backgroundImage="reduce"/>
<connections>
<action selector="reduceAndaddButtonClick:" destination="g2L-9g-KsS" eventType="touchUpInside" id="QeH-YR-HSz"/>
</connections>
</button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="1" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LCn-vB-Gkk">
<frame key="frameInset" minX="76.81%" minY="28" width="36" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LCn-vB-Gkk">
<constraints>
<constraint firstAttribute="width" constant="30" id="A37-gf-3J6"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" red="0.33333333333333331" green="0.33333333333333331" blue="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="¥5500" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZXB-7t-nrM">
<frame key="frameInset" minX="98.08%" minY="29" width="106.5" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="¥5500" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZXB-7t-nrM">
<constraints>
<constraint firstAttribute="width" constant="100" id="jvv-1T-Pue"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="1" green="0.39892781040000003" blue="0.50448872310000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="PBi-J5-AtX">
<frame key="frameInset" minX="58.09%" minY="23" width="82" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PBi-J5-AtX">
<subviews>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="5500" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="xSC-sH-Np9">
<frame key="frameInset" minX="17" height="30"/>
......@@ -6077,15 +6120,43 @@
</label>
</subviews>
<color key="backgroundColor" red="0.93333333330000001" green="0.93333333330000001" blue="0.93333333330000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="width" constant="80" id="Buk-99-nJV"/>
<constraint firstAttribute="height" constant="30" id="D5S-1B-J5z"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="代码" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DCT-vD-ifE">
<frame key="frameInset" minX="25.67%" minY="54" width="156" height="19"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="代码" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DCT-vD-ifE">
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" red="0.33333333333333331" green="0.33333333333333331" blue="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstItem="eQ1-ab-oCl" firstAttribute="centerY" secondItem="8v1-F3-RUS" secondAttribute="centerY" id="1MT-WC-LG0"/>
<constraint firstItem="34f-aR-0gw" firstAttribute="centerY" secondItem="XPi-Zc-aGh" secondAttribute="centerY" id="2af-rn-MbQ"/>
<constraint firstItem="LCn-vB-Gkk" firstAttribute="centerY" secondItem="NrS-MR-H8O" secondAttribute="centerY" id="3OF-Ua-h7l"/>
<constraint firstItem="LCn-vB-Gkk" firstAttribute="leading" secondItem="CKk-HW-LGp" secondAttribute="trailing" constant="5" id="CFT-yy-jja"/>
<constraint firstItem="DCT-vD-ifE" firstAttribute="leading" secondItem="eQ1-ab-oCl" secondAttribute="leading" id="EAr-bh-HGg"/>
<constraint firstItem="NrS-MR-H8O" firstAttribute="centerY" secondItem="ZXB-7t-nrM" secondAttribute="centerY" id="Gkr-Jc-AVH"/>
<constraint firstItem="CKk-HW-LGp" firstAttribute="leading" secondItem="PBi-J5-AtX" secondAttribute="trailing" constant="30" id="INg-m9-5hb"/>
<constraint firstItem="ZXB-7t-nrM" firstAttribute="centerY" secondItem="XPi-Zc-aGh" secondAttribute="centerY" id="IgN-XV-MQd"/>
<constraint firstItem="PBi-J5-AtX" firstAttribute="centerY" secondItem="XPi-Zc-aGh" secondAttribute="centerY" id="JOc-ZV-cvp"/>
<constraint firstItem="6S3-kx-Umm" firstAttribute="centerY" secondItem="CKk-HW-LGp" secondAttribute="centerY" id="K8B-ai-QrW"/>
<constraint firstItem="DCT-vD-ifE" firstAttribute="trailing" secondItem="eQ1-ab-oCl" secondAttribute="trailing" id="M1t-M6-MJl"/>
<constraint firstItem="eQ1-ab-oCl" firstAttribute="trailing" secondItem="hV3-WW-RhX" secondAttribute="trailing" id="UIH-36-dQg"/>
<constraint firstItem="hV3-WW-RhX" firstAttribute="leading" secondItem="8v1-F3-RUS" secondAttribute="trailing" constant="15" id="Ykm-Iw-pIB"/>
<constraint firstItem="CKk-HW-LGp" firstAttribute="centerY" secondItem="LCn-vB-Gkk" secondAttribute="centerY" id="beo-52-nRH"/>
<constraint firstItem="8v1-F3-RUS" firstAttribute="leading" secondItem="34f-aR-0gw" secondAttribute="trailing" constant="10" id="e8q-ip-Iqv"/>
<constraint firstItem="hV3-WW-RhX" firstAttribute="top" secondItem="8v1-F3-RUS" secondAttribute="top" id="ffE-oz-Lkj"/>
<constraint firstItem="34f-aR-0gw" firstAttribute="leading" secondItem="XPi-Zc-aGh" secondAttribute="leading" constant="15" id="i3s-em-e5Z"/>
<constraint firstItem="eQ1-ab-oCl" firstAttribute="leading" secondItem="hV3-WW-RhX" secondAttribute="leading" id="pxT-ja-gEv"/>
<constraint firstAttribute="trailing" secondItem="ZXB-7t-nrM" secondAttribute="trailing" constant="15" id="reB-WS-Y6Z"/>
<constraint firstItem="ZXB-7t-nrM" firstAttribute="leading" secondItem="NrS-MR-H8O" secondAttribute="trailing" constant="20" id="tTQ-A6-xNw"/>
<constraint firstItem="NrS-MR-H8O" firstAttribute="leading" secondItem="LCn-vB-Gkk" secondAttribute="trailing" constant="5" id="trt-hq-81y"/>
<constraint firstItem="PBi-J5-AtX" firstAttribute="leading" secondItem="6S3-kx-Umm" secondAttribute="trailing" constant="30" id="vn9-ui-Aqk"/>
<constraint firstItem="DCT-vD-ifE" firstAttribute="bottom" secondItem="8v1-F3-RUS" secondAttribute="bottom" id="vtj-g3-LSz"/>
<constraint firstItem="8v1-F3-RUS" firstAttribute="centerY" secondItem="34f-aR-0gw" secondAttribute="centerY" id="yuF-sb-98i"/>
</constraints>
</tableViewCellContentView>
<connections>
<outlet property="ClinchPriceBackView" destination="PBi-J5-AtX" id="M3j-KK-GXq"/>
......@@ -6104,9 +6175,30 @@
</tableView>
</subviews>
<color key="backgroundColor" red="0.87182146355081735" green="1" blue="0.50273634798323685" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="Ruv-Bp-ECn" secondAttribute="trailing" id="4KE-gb-kCR"/>
<constraint firstAttribute="trailing" secondItem="WbM-Lk-b90" secondAttribute="trailing" id="HKr-EX-OYT"/>
<constraint firstItem="WbM-Lk-b90" firstAttribute="top" secondItem="fd8-5S-hPm" secondAttribute="top" id="JmU-X4-60P"/>
<constraint firstItem="dOw-id-UoT" firstAttribute="leading" secondItem="fd8-5S-hPm" secondAttribute="leading" id="ZZb-TB-tcf"/>
<constraint firstItem="Ruv-Bp-ECn" firstAttribute="leading" secondItem="fd8-5S-hPm" secondAttribute="leading" id="a8X-tj-HQr"/>
<constraint firstItem="PdL-NN-h2x" firstAttribute="leading" secondItem="fd8-5S-hPm" secondAttribute="leading" id="c5K-zZ-rjb"/>
<constraint firstAttribute="trailing" secondItem="dOw-id-UoT" secondAttribute="trailing" id="eTX-nl-oTH"/>
<constraint firstItem="WbM-Lk-b90" firstAttribute="leading" secondItem="fd8-5S-hPm" secondAttribute="leading" id="lW9-Pf-QkY"/>
<constraint firstItem="PdL-NN-h2x" firstAttribute="top" secondItem="dOw-id-UoT" secondAttribute="bottom" id="m8A-MR-Kc1"/>
<constraint firstItem="Ruv-Bp-ECn" firstAttribute="top" secondItem="WbM-Lk-b90" secondAttribute="bottom" id="qyC-qM-7Vi"/>
<constraint firstAttribute="bottom" secondItem="PdL-NN-h2x" secondAttribute="bottom" id="wWR-Qc-dcX"/>
<constraint firstItem="dOw-id-UoT" firstAttribute="top" secondItem="Ruv-Bp-ECn" secondAttribute="bottom" id="xRC-2M-nxn"/>
<constraint firstAttribute="trailing" secondItem="PdL-NN-h2x" secondAttribute="trailing" id="y9r-Ay-vuE"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="fd8-5S-hPm" secondAttribute="trailing" constant="135" id="Lra-Xb-gJ1"/>
<constraint firstItem="fd8-5S-hPm" firstAttribute="leading" secondItem="TGk-BQ-3Ep" secondAttribute="leading" constant="135" id="brv-OQ-OL5"/>
<constraint firstItem="87R-0L-1sH" firstAttribute="top" secondItem="fd8-5S-hPm" secondAttribute="bottom" constant="135" id="gQu-Km-fBE"/>
<constraint firstItem="fd8-5S-hPm" firstAttribute="top" secondItem="XeS-dF-Ohy" secondAttribute="bottom" constant="60" id="ypL-tm-4jo"/>
</constraints>
</view>
<connections>
<outlet property="delectedButton" destination="Rka-Sf-RRr" id="aTx-5E-kcV"/>
......
......@@ -59,7 +59,7 @@
[super viewDidLoad];
self.automaticallyAdjustsScrollViewInsets = NO;
self.navigationController.navigationBarHidden = YES;
self.navigationController.navigationBar.translucent = NO;
//检测登陆超时通知
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(logintimeoutNotification:) name:LOGINTIMEOUT object:nil];
}
......
......@@ -16,6 +16,11 @@
*/
+ (void)showHUDViewWithDefault;
/**
显示普通加载框
*/
+ (void)showHUDViewWithDefaultWithView:(UIView *)view;
/**
显示文本提示框
......@@ -44,7 +49,10 @@
*/
+ (void)hideHUDViewWithDefault;
/**
隐藏加载框
*/
+ (void)hideHUDViewWithDefaultWithView:(UIView *)view;
......
......@@ -15,7 +15,20 @@
*/
+ (void)showHUDViewWithDefault
{
XBLoadingView *hud = [XBLoadingView showHUDAddedTo:SHARED_APPDELEGATE.window animated:YES];
XBLoadingView *hud = [XBLoadingView showHUDAddedTo:[self hudShowWindow] animated:YES];
hud.animationType = MBProgressHUDAnimationZoom;
hud.mode = MBProgressHUDModeIndeterminate;
hud.color = [UIColor clearColor];
hud.activityIndicatorColor = kMainBlueColor;
hud.removeFromSuperViewOnHide = YES;
}
/**
显示普通加载框
*/
+ (void)showHUDViewWithDefaultWithView:(UIView *)view
{
XBLoadingView *hud = [XBLoadingView showHUDAddedTo:view animated:YES];
hud.animationType = MBProgressHUDAnimationZoom;
hud.mode = MBProgressHUDModeIndeterminate;
hud.color = [UIColor clearColor];
......@@ -30,8 +43,7 @@
*/
+ (void)showHUDViewWithText:(NSString *)text
{
[[self class] hideHUDViewWithDefault];
XBLoadingView *hud = [XBLoadingView showHUDAddedTo:SHARED_APPDELEGATE.window animated:YES];
XBLoadingView *hud = [XBLoadingView showHUDAddedTo:[self hudShowWindow] animated:YES];
hud.labelText = text;
hud.margin = 20.f;
hud.color = [[UIColor blackColor] colorWithAlphaComponent:0.5];
......@@ -48,7 +60,7 @@
*/
+ (void)showHUDViewWithSuccessText:(NSString *)text completeBlock:(void (^)())finish
{
XBLoadingView *hud = [XBLoadingView showHUDAddedTo:SHARED_APPDELEGATE.window animated:YES];
XBLoadingView *hud = [XBLoadingView showHUDAddedTo:[self hudShowWindow] animated:YES];
hud.mode = MBProgressHUDModeCustomView;
UIImage *image = [[UIImage imageNamed:@"success-1"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
hud.customView = [[UIImageView alloc] initWithImage:image];
......@@ -72,7 +84,7 @@
*/
+ (XBLoadingView *)showHUDViewProgressLabel:(NSString *)text
{
XBLoadingView *hud = [XBLoadingView showHUDAddedTo:SHARED_APPDELEGATE.window animated:YES];
XBLoadingView *hud = [XBLoadingView showHUDAddedTo:[self hudShowWindow] animated:YES];
hud.mode = MBProgressHUDModeDeterminateHorizontalBar;
hud.labelText = text;
hud.labelFont = [UIFont systemFontOfSize:12];
......@@ -85,7 +97,30 @@
*/
+ (void)hideHUDViewWithDefault
{
[[self class] hideHUDForView:SHARED_APPDELEGATE.window animated:YES];
[[self class] hideAllHUDsForView:[self hudShowWindow] animated:YES];
}
/**
隐藏加载框
*/
+ (void)hideHUDViewWithDefaultWithView:(UIView *)view
{
[[self class] hideAllHUDsForView:view animated:YES];
}
+ (UIWindow *)hudShowWindow
{
UIWindow *showWindow = nil;
NSArray *windows = [[UIApplication sharedApplication] windows];
if ([windows count] >= 2) {
showWindow = [windows objectAtIndex:1];
}
else {
showWindow = [[UIApplication sharedApplication] keyWindow];
}
return showWindow;
}
@end
......@@ -157,7 +157,7 @@
/**
* 服务器开发地址
*/
//#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://139.196.195.30:8090/opple-web/app%@",URL]
#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://139.196.195.30:8090/opple-web/app%@",URL]
/**
......@@ -168,7 +168,7 @@
//**
// * 服务器正式地址
// */
#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://dg.opple.com/opple-web/app%@",URL]
//#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://dg.opple.com/opple-web/app%@",URL]
/**
* 搜索框输入通知
......
......@@ -28,10 +28,6 @@
*/
@property (nonatomic,strong) NSMutableArray *productDatasArray;
/**
* 当前页数
*/
@property (nonatomic,assign) int indexPage;
/**
* 总页数
......@@ -118,8 +114,11 @@
- (SceneCondition *)conditionModel
{
if (!_conditionModel) {
_conditionModel = [[SceneCondition alloc]init];
DataPage *page = [[DataPage alloc]init];
page.page = ONE;
page.rows = KROWS;
_conditionModel.page = page;
}
return _conditionModel;
}
......@@ -129,6 +128,10 @@
{
if (!_goodsModel) {
_goodsModel = [[GoodsCondition alloc]init];
DataPage *page = [[DataPage alloc]init];
page.page = ONE;
page.rows = KROWS;
_goodsModel.page = page;
}
return _goodsModel;
}
......@@ -167,11 +170,9 @@
self.isScene = [[NSUserDefaults standardUserDefaults] boolForKey:@"SCENE"];
[self UiConfigAction];
[self ReturnDismiss];
if (self.isScene) {
//场景
[self getDatasAction];
}else
{
//产品
......@@ -182,7 +183,6 @@
#pragma mark -UI
- (void)UiConfigAction
{
self.styleButton.layer.masksToBounds = YES;
self.styleButton.layer.cornerRadius = kSelectedCornerRadius;
self.typeButton.layer.masksToBounds = YES;
......@@ -195,7 +195,7 @@
self.priceButton.layer.cornerRadius = kSelectedCornerRadius;
self.styleButton.selected = YES;
self.styleButton.backgroundColor = kMainBlueColor;
self.rightSelectedIndex = 0;
self.rightSelectedIndex = ZERO;
self.searchProductField.delegate = self;
//筛选Tableview
......@@ -210,7 +210,13 @@
self.myTableViewBackView.layer.shadowRadius = 4;
self.myTableViewBackView.layer.shadowOpacity = 0.5;
self.myTableViewBackView.layer.masksToBounds = NO;
self.sceneOrProductClollectionView.dataSource = self;
self.sceneOrProductClollectionView.delegate = self;
}
#pragma mark - 布局完成
- (void)viewDidLayoutSubviews
{
//数据列表UICollectionView
if (self.isScene) {
self.collectionViewLayout.itemSize = CGSizeMake((self.sceneOrProductClollectionView.mj_w-40)/3, (self.sceneOrProductClollectionView.mj_w-40)/4);
......@@ -224,11 +230,8 @@
self.collectionViewLayout.minimumInteritemSpacing = 10;
self.collectionViewLayout.sectionInset = UIEdgeInsetsMake(10, 10, 10, 10);
}
self.sceneOrProductClollectionView.dataSource = self;
self.sceneOrProductClollectionView.delegate = self;
}
#pragma mark -场景数据
- (void)getDatasAction
{
......@@ -237,7 +240,6 @@
[[NetworkRequestClassManager Manager] NetworkRequestWithURL:SERVERREQUESTURL(SCENESCREENING) WithRequestType:ONE WithParameter:nil WithReturnValueBlock:^(id returnValue) {
if ([returnValue[@"code"] isEqualToNumber:@0]) {
SceneFilter *filterModel = [[SceneFilter alloc]initWithDictionary:returnValue[@"data"] error:nil];
//风格
NSMutableArray *styleArray = [NSMutableArray array];
......@@ -271,11 +273,7 @@
//下拉刷新
MjRefreshHeaderCustom *headerRefresh = [MjRefreshHeaderCustom headerWithRefreshingBlock:^{
//默认数据
weakSelf.indexPage = 1;
DataPage *page = [[DataPage alloc]init];
page.page = weakSelf.indexPage;
page.rows = KROWS;
weakSelf.conditionModel.page = page;
weakSelf.conditionModel.page.page = ONE;
[weakSelf.sceneOrProductClollectionView.mj_footer resetNoMoreData];
[weakSelf getSceneLibrarydatas:weakSelf.conditionModel isRemove:YES];
}];
......@@ -287,16 +285,11 @@
//上拉加载
self.sceneOrProductClollectionView.mj_footer = [MJRefreshAutoNormalFooter footerWithRefreshingBlock:^{
if ( ++ weakSelf.indexPage > weakSelf.totalPages) {
if ( ++ weakSelf.conditionModel.page.page > weakSelf.totalPages) {
[weakSelf.sceneOrProductClollectionView.mj_footer endRefreshingWithNoMoreData];
}else
{
//默认数据
DataPage *Newpage = [[DataPage alloc]init];
Newpage.rows = KROWS;
Newpage.page = weakSelf.indexPage;
weakSelf.conditionModel.page = Newpage;
[weakSelf getSceneLibrarydatas:weakSelf.conditionModel isRemove:NO];
}
}];
......@@ -356,17 +349,12 @@
{
[self getScreeningdatasisRemoveArray:YES];
//下拉刷新
__weak typeof(self) weakSelf = self;
WS(weakSelf);
MjRefreshHeaderCustom *headerRefresh = [MjRefreshHeaderCustom headerWithRefreshingBlock:^{
//分页数据
DataPage *Newpage = [[DataPage alloc]init];
Newpage.page = 1;
Newpage.rows = KROWS;
weakSelf.goodsModel.page = Newpage;
weakSelf.indexPage = 1;
weakSelf.goodsModel.page.page = ONE;
[weakSelf.sceneOrProductClollectionView.mj_footer resetNoMoreData];
[weakSelf getGoodsListDatasisRemove:YES Withobject:self.goodsModel];
[weakSelf getGoodsListDatasisRemove:YES Withobject:weakSelf.goodsModel];
}];
headerRefresh.stateLabel.hidden = YES;
headerRefresh.lastUpdatedTimeLabel.hidden = YES;
......@@ -375,28 +363,21 @@
//上拉加载
self.sceneOrProductClollectionView.mj_footer = [MJRefreshAutoNormalFooter footerWithRefreshingBlock:^{
if (++ weakSelf.indexPage > weakSelf.totalPages) {
if (++ weakSelf.goodsModel.page.page > weakSelf.totalPages) {
[weakSelf.sceneOrProductClollectionView.mj_footer endRefreshingWithNoMoreData];
}else
{
//分页数据
DataPage *Newpage = [[DataPage alloc]init];
Newpage.rows = KROWS;
Newpage.page = weakSelf.indexPage;
weakSelf.goodsModel.page = Newpage;
[weakSelf getGoodsListDatasisRemove:NO Withobject:weakSelf.goodsModel];
}
}];
self.sceneOrProductClollectionView.mj_footer.automaticallyHidden = YES;
}
#pragma mark -获取产品筛选数据
- (void)getScreeningdatasisRemoveArray:(BOOL)remove
{
__weak typeof(self) weakSelf = self;
WS(weakSelf);
[[NetworkRequestClassManager Manager] NetworkWithDictionaryRequestWithURL:SERVERREQUESTURL(PRODUCTSCREENING) WithRequestType:ONE WithParameter:nil WithReturnValueBlock:^(id returnValue) {
if ([returnValue[@"code"] isEqualToNumber:@0]) {
......
......@@ -2959,8 +2959,14 @@ extern NSString * const GRADEMETHOD_MANUL;
*
*/
@property (nonatomic, copy) NSString *updateDate;
@end /* interface TOPrizeEntity */
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, strong) TOAttachmentEntity *attachment;
@end /* interface TOPrizeEntity */
/**
......
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