1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- //
- // FKOrderIdCardController.m
- // FirstLink
- //
- // Created by jack on 15/11/28.
- // Copyright © 2015年 FirstLink. All rights reserved.
- //
- #import "FKOrderIdCardController.h"
- #import "FKOrderIdCardCenter.h"
- @implementation FKOrderIdCardController
- - (instancetype)initWithDefaultIdCard:(FKIdCardItem *)defaultItem orderId:(NSString *)orderId{
- self = [super init];
- if (self) {
- FKOrderIdCardCenter *order = [[FKOrderIdCardCenter alloc]init];
- order.defaultIdCardItem = defaultItem;
- order.orderId = orderId;
- self.idCardCenter = order;
- }
- return self;
- }
- - (void)configNavBar{
- self.navigationItem.title = @"绑定身份信息";
- }
- - (void)configActionBtnInPickCell:(FKBindIdCardPickCell *)pickCell{
-
- pickCell.cancelBtn.hidden = YES;
- pickCell.moreIdBtn.hidden = YES;
- pickCell.cancelBtn.userInteractionEnabled = NO;
- pickCell.moreIdBtn.userInteractionEnabled = NO;
-
- if (self.idCardCenter.idCardItemList.count > 0) {
- pickCell.moreIdBtn.hidden = NO;
- pickCell.moreIdBtn.userInteractionEnabled = YES;
- }
-
- [pickCell.saveBtn setTitle:@"上传身份信息" forState:UIControlStateNormal];
- }
- - (void)configTipCell:(FKBindTipCell *)tipCell{
- tipCell.titleLabel.text = @"请为您购买的直邮商品补全身份证信息";
- tipCell.iconImgView.image = [UIImage imageNamed:@"red_alert"];
- }
- @end
|