Initial commit
This commit is contained in:
Vendored
BIN
Binary file not shown.
+22
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// IfishShopCerNewViewController.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/4.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "BaseVIewContorller.h"
|
||||
#import "ShopCertifyStausModel.h"
|
||||
typedef NS_ENUM(NSInteger, ShopCerProgressType){
|
||||
ShopCerProgressTypeStart = 0,
|
||||
ShopCerProgressTypeSub = 1,
|
||||
ShopCerProgressTypeDone = 2
|
||||
|
||||
};
|
||||
@interface IfishShopCerNewViewController : BaseVIewContorller
|
||||
|
||||
@property(nonatomic) ShopCerProgressType cerProgressType;
|
||||
@property (nonatomic,strong) ShopCertifyStausModel *statusM;
|
||||
|
||||
@end
|
||||
+594
@@ -0,0 +1,594 @@
|
||||
//
|
||||
// IfishShopCerNewViewController.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/4.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "IfishShopCerNewViewController.h"
|
||||
#import "FishShopCer.h"
|
||||
|
||||
#import "ShopCerPart1InfoViewCell.h"
|
||||
#import "ShopCerProgressHeaderView.h"
|
||||
#import "ShopCerSelectImgViewCell.h"
|
||||
#import "ShopCerPart3DoneViewCell.h"
|
||||
#import "FishShopCer.h"
|
||||
#define CELLUPLOADIMG_TAG 1
|
||||
#import "CusomeCameraViewController.h"
|
||||
#import "WFPhotosViewController.h"
|
||||
#import "MBProgressHUD.h"
|
||||
#import "UIImageView+WebCache.h"
|
||||
@interface IfishShopCerNewViewController ()<UITableViewDelegate,UITableViewDataSource,ShopCerPart1InfoViewDelegate,UIActionSheetDelegate,MBProgressHUDDelegate>
|
||||
@property (nonatomic,strong) UITableView *tableView;
|
||||
|
||||
@property (nonatomic,strong) ShopCerProgressHeaderView *headerView;
|
||||
@property (nonatomic,strong) FishShopCer *cerdata;
|
||||
@property (nonatomic,strong) NSArray *uploadImgs;
|
||||
@property(nonatomic) NSInteger selectTmg;
|
||||
@property(nonatomic,strong)UIActionSheet*photosheet;
|
||||
@property(nonatomic,strong)MBProgressHUD *HUD;
|
||||
@property (nonatomic) BOOL isEditedInfo;
|
||||
@property (nonatomic) BOOL sufaceUpload;
|
||||
@property (nonatomic) BOOL backUpload;
|
||||
@property (nonatomic) BOOL cerUpload;
|
||||
@end
|
||||
|
||||
extern BOOL cerViewFormRootVC;
|
||||
|
||||
@implementation IfishShopCerNewViewController
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
// Do any additional setup after loading the view.
|
||||
[self addTitleViewWithTitle:@"商家认证"];
|
||||
_isEditedInfo =NO;
|
||||
_sufaceUpload = NO;
|
||||
_backUpload = NO;
|
||||
_cerUpload = NO;
|
||||
_cerdata = [[FishShopCer alloc] init];
|
||||
_uploadImgs = [[NSArray alloc] init];
|
||||
_cerProgressType = ShopCerProgressTypeStart;
|
||||
[self creatTab];
|
||||
|
||||
}
|
||||
|
||||
-(void)viewWillAppear:(BOOL)animated{
|
||||
[super viewWillAppear:animated];
|
||||
|
||||
|
||||
}
|
||||
|
||||
-(void)viewWillDisappear:(BOOL)animated{
|
||||
[super viewWillDisappear:animated];
|
||||
|
||||
|
||||
}
|
||||
-(void)goBackAction{
|
||||
|
||||
//IOS 8
|
||||
if (!_isEditedInfo) {
|
||||
UIAlertController*al=[UIAlertController alertControllerWithTitle:@"" message:@"是否放弃当前操作" preferredStyle:UIAlertControllerStyleAlert];
|
||||
|
||||
[self presentViewController:al animated:YES completion:nil];
|
||||
[al addAction:[UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleCancel handler:^(UIAlertAction*action){
|
||||
|
||||
}]];
|
||||
[al addAction:[UIAlertAction actionWithTitle:@"放弃" style:UIAlertActionStyleDefault handler:^(UIAlertAction*action){
|
||||
if (cerViewFormRootVC) {
|
||||
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:1] animated:YES];
|
||||
return;
|
||||
}
|
||||
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:2] animated:YES];
|
||||
|
||||
}]];
|
||||
|
||||
}else{
|
||||
|
||||
if (cerViewFormRootVC) {
|
||||
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:1] animated:YES];
|
||||
return;
|
||||
}
|
||||
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:2] animated:YES];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-(void)creatTab{
|
||||
|
||||
self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height) style:UITableViewStyleGrouped];
|
||||
self.tableView.delegate = self;
|
||||
self.tableView.dataSource = self;
|
||||
self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
|
||||
self.tableView.showsVerticalScrollIndicator = NO;
|
||||
self.tableView.backgroundColor = TABLE_BACKGROUD_COLOR;
|
||||
self.tableView.bounces = NO;
|
||||
[self.view addSubview:self.tableView];
|
||||
|
||||
}
|
||||
|
||||
-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
|
||||
switch (_cerProgressType) {
|
||||
case ShopCerProgressTypeStart:
|
||||
{
|
||||
ShopCerPart1InfoViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"ShopCerPart1InfoViewCell"];
|
||||
if (!cell) {
|
||||
cell = [[[NSBundle mainBundle]loadNibNamed:@"ShopCerPart1InfoViewCell" owner:self options:nil]lastObject];
|
||||
|
||||
}
|
||||
cell.delegate = self;
|
||||
if (self.statusM) {
|
||||
[cell setStatem:self.statusM];
|
||||
}
|
||||
|
||||
return cell;
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case ShopCerProgressTypeSub:
|
||||
{
|
||||
|
||||
ShopCerSelectImgViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"ShopCerSelectImgViewCell"];
|
||||
if (!cell) {
|
||||
cell = [[[NSBundle mainBundle]loadNibNamed:@"ShopCerSelectImgViewCell" owner:self options:nil]lastObject];
|
||||
}
|
||||
|
||||
[cell.supStepBtn addTarget:self action:@selector(supStepBtnAction) forControlEvents:UIControlEventTouchUpInside];
|
||||
[cell.subBtn addTarget:self action:@selector(subBtnAction) forControlEvents:UIControlEventTouchUpInside];
|
||||
cell.tag = CELLUPLOADIMG_TAG;
|
||||
cell.iDsurface.userInteractionEnabled = YES;
|
||||
UITapGestureRecognizer *surfaceTapgs =[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(surfaceIDTap)];
|
||||
[cell.iDsurface addGestureRecognizer:surfaceTapgs];
|
||||
|
||||
cell.iDback.userInteractionEnabled = YES;
|
||||
UITapGestureRecognizer *idbackTapges =[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(idbackTap)];
|
||||
[cell.iDback addGestureRecognizer:idbackTapges];
|
||||
|
||||
cell.shopCer.userInteractionEnabled = YES;
|
||||
UITapGestureRecognizer *shopCerTapgs =[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(shopCerTap)];
|
||||
[cell.shopCer addGestureRecognizer:shopCerTapgs];
|
||||
|
||||
//获取系统当前的时间戳
|
||||
if (self.statusM) {
|
||||
|
||||
_sufaceUpload = YES;
|
||||
_backUpload = YES;
|
||||
_cerUpload = YES;
|
||||
|
||||
NSDate* dat = [NSDate dateWithTimeIntervalSinceNow:0];
|
||||
NSTimeInterval time=[dat timeIntervalSince1970]*1000;
|
||||
NSString *timeString = [NSString stringWithFormat:@"%.0f",time];
|
||||
|
||||
NSString *iDsurfaceUrl =[NSString stringWithFormat:@"%@/shops/%@/%@?time=%@",JIEKOUPORTHTTP,self.statusM.userId,self.statusM.picture1,timeString];
|
||||
[cell.iDsurface sd_setImageWithURL:[NSURL URLWithString:iDsurfaceUrl] placeholderImage:[UIImage imageNamed:@"live_hold.png"]];
|
||||
|
||||
NSString *iDbackUrl =[NSString stringWithFormat:@"%@/shops/%@/%@?time=%@",JIEKOUPORTHTTP,self.statusM.userId,self.statusM.picture2,timeString];
|
||||
[cell.iDback sd_setImageWithURL:[NSURL URLWithString:iDbackUrl] placeholderImage:[UIImage imageNamed:@"live_hold.png"]];
|
||||
|
||||
NSString *shopCerUrl =[NSString stringWithFormat:@"%@/shops/%@/%@?time=%@",JIEKOUPORTHTTP,self.statusM.userId,self.statusM.picture3,timeString];
|
||||
[cell.shopCer sd_setImageWithURL:[NSURL URLWithString:shopCerUrl] placeholderImage:[UIImage imageNamed:@"live_hold.png"]];
|
||||
|
||||
}
|
||||
|
||||
return cell;
|
||||
|
||||
}
|
||||
break;
|
||||
case ShopCerProgressTypeDone:
|
||||
|
||||
{
|
||||
ShopCerPart3DoneViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"ShopCerPart3DoneViewCell"];
|
||||
if (!cell) {
|
||||
cell = [[[NSBundle mainBundle]loadNibNamed:@"ShopCerPart3DoneViewCell" owner:self options:nil]lastObject];
|
||||
}
|
||||
return cell;
|
||||
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
#pragma mark - 身份证正面
|
||||
-(void)surfaceIDTap{
|
||||
_selectTmg = 1;
|
||||
[self picImgHandler];
|
||||
}
|
||||
|
||||
#pragma mark - 身份证反面
|
||||
-(void)idbackTap{
|
||||
_selectTmg = 2;
|
||||
[self picImgHandler];
|
||||
}
|
||||
|
||||
#pragma mark - 营业执照
|
||||
-(void)shopCerTap{
|
||||
_selectTmg = 3;
|
||||
[self picImgHandler];
|
||||
}
|
||||
|
||||
-(void)picImgHandler{
|
||||
|
||||
self.photosheet=[[UIActionSheet alloc]initWithTitle:@"获取图片" delegate:self cancelButtonTitle:@"取消" destructiveButtonTitle:nil otherButtonTitles:@"拍照",@"从相册选择", nil];
|
||||
[self.photosheet showInView:self.view];
|
||||
|
||||
}
|
||||
|
||||
#pragma mark--UIActionSheetDelegate IOS7
|
||||
|
||||
-(void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex{
|
||||
|
||||
if (actionSheet==self.photosheet) {
|
||||
if (buttonIndex==actionSheet.cancelButtonIndex) {
|
||||
return;
|
||||
}
|
||||
|
||||
switch (buttonIndex) {
|
||||
|
||||
case 0:
|
||||
{
|
||||
//相机
|
||||
[self loadImgfromCamera];
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
case 1:
|
||||
{
|
||||
//相册
|
||||
[self loadImgfromPhotoBrowser];
|
||||
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
|
||||
return self.view.frame.size.height - 44 - 10;
|
||||
}
|
||||
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
|
||||
|
||||
return 10 + 44;
|
||||
}
|
||||
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
|
||||
|
||||
return 0.1;
|
||||
}
|
||||
|
||||
-(UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{
|
||||
|
||||
if (!_headerView) {
|
||||
_headerView =[[ShopCerProgressHeaderView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, 54)];
|
||||
|
||||
}
|
||||
[_headerView refreshLabeColor:_cerProgressType];
|
||||
|
||||
return _headerView;
|
||||
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
}
|
||||
|
||||
#pragma mark - 下一步 part1
|
||||
|
||||
-(void)nextBtnClickAction:(FishShopCer *)cermodel{
|
||||
|
||||
[self upDateViewData:cermodel];
|
||||
_cerProgressType = ShopCerProgressTypeSub;
|
||||
|
||||
[self.tableView reloadData];
|
||||
|
||||
}
|
||||
|
||||
//获取填写信息
|
||||
-(void)upDateViewData:(FishShopCer *)cermodel{
|
||||
self.cerdata = cermodel;
|
||||
}
|
||||
|
||||
#pragma mark - 上一步part2
|
||||
-(void)supStepBtnAction{
|
||||
|
||||
_cerProgressType = ShopCerProgressTypeStart;
|
||||
[self.tableView reloadData];
|
||||
[self.tableView setContentOffset:CGPointMake(0, -64) animated:NO];
|
||||
}
|
||||
|
||||
#pragma mark - part1ImgDetagate
|
||||
|
||||
-(void)loadImgfromCamera{
|
||||
//相机
|
||||
CusomeCameraViewController *customVC= [[CusomeCameraViewController alloc] init]
|
||||
;
|
||||
|
||||
customVC.tailoredImage = ^ (UIImage *image){
|
||||
|
||||
ShopCerSelectImgViewCell *cell = [self.view viewWithTag:CELLUPLOADIMG_TAG];
|
||||
|
||||
switch (self.selectTmg) {
|
||||
|
||||
case 1:
|
||||
{
|
||||
_sufaceUpload = YES;
|
||||
cell.iDsurface.image = image;
|
||||
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
{
|
||||
_backUpload = YES;
|
||||
cell.iDback.image = image;
|
||||
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
{
|
||||
_cerUpload = YES;
|
||||
cell.shopCer.image= image;
|
||||
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
||||
[self presentViewController:customVC animated:YES completion:nil];
|
||||
|
||||
}
|
||||
|
||||
-(void)loadImgfromPhotoBrowser{
|
||||
//相册
|
||||
|
||||
UIImageWriteToSavedPhotosAlbum([[UIImage alloc] init], nil, nil, nil);
|
||||
WFPhotosViewController *photosVC = [[WFPhotosViewController alloc] init];
|
||||
UINavigationController *naviVC = [[UINavigationController alloc] initWithRootViewController:photosVC];
|
||||
photosVC.tailoredImage = ^ (UIImage *image){
|
||||
|
||||
ShopCerSelectImgViewCell *cell = [self.view viewWithTag:CELLUPLOADIMG_TAG];
|
||||
|
||||
switch (self.selectTmg) {
|
||||
|
||||
case 1:
|
||||
{
|
||||
_sufaceUpload = YES;
|
||||
cell.iDsurface.image = image;
|
||||
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
{
|
||||
_backUpload = YES;
|
||||
cell.iDback.image = image;
|
||||
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
{
|
||||
_cerUpload = YES;
|
||||
cell.shopCer.image= image;
|
||||
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
[self presentViewController:naviVC animated:YES completion:nil];
|
||||
|
||||
}
|
||||
|
||||
#pragma mark --选取完成后调用方法
|
||||
-(void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary<NSString *,id> *)info{
|
||||
|
||||
[picker dismissViewControllerAnimated:YES completion:nil]
|
||||
;
|
||||
UIImage*img=[info objectForKey:UIImagePickerControllerEditedImage];
|
||||
|
||||
//UIImage *smallImage = [self thumbnailWithImageWithoutScale:img size:CGSizeMake(300.0f, 200.0f)];
|
||||
|
||||
UIImage *smallImage = [self scaleFromImage:img toSize:CGSizeMake(kScreenSize.width,kScreenSize.width*2/3)];
|
||||
|
||||
// NSData*imageData=UIImageJPEGRepresentation(smallImage,1.0f);// 1 不缩放保存
|
||||
ShopCerSelectImgViewCell *cell = [self.view viewWithTag:CELLUPLOADIMG_TAG];
|
||||
|
||||
switch (self.selectTmg) {
|
||||
|
||||
case 1:
|
||||
{
|
||||
cell.iDsurface.image = smallImage;
|
||||
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
{
|
||||
cell.iDback.image = smallImage;
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
{
|
||||
cell.shopCer.image= smallImage;
|
||||
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
- (UIImage *) scaleFromImage: (UIImage *) image toSize: (CGSize) size
|
||||
{
|
||||
UIGraphicsBeginImageContext(size);
|
||||
[image drawInRect:CGRectMake(0, 0, size.width, size.height)];
|
||||
UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext();
|
||||
UIGraphicsEndImageContext();
|
||||
return newImage;
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - 提交信息
|
||||
-(void)subBtnAction
|
||||
{
|
||||
|
||||
_HUD=[MBProgressHUD showHUDAddedTo:self.view animated:YES];
|
||||
_HUD.delegate=self;
|
||||
|
||||
ShopCerSelectImgViewCell *cell = [self.view viewWithTag:CELLUPLOADIMG_TAG];
|
||||
//NSLog(@"提交信息:名字 %@,店铺 %@,电话 %@,地址 %@,详细地址 %@,img1 %@,img2 %@,img3 %@",_cerdata.userName,_cerdata.shopName,_cerdata.phoneNumber, _cerdata.shopPCA, _cerdata.shopAddress,cell.iDsurface.image,cell.iDback.image,cell.shopCer.image);
|
||||
|
||||
// if (cell.iDsurface.image==nil) {
|
||||
//
|
||||
// [self.view makeToast:@"请上传身份证正面图片"];
|
||||
// return;
|
||||
// }
|
||||
//
|
||||
// if (cell.iDback.image==nil) {
|
||||
//
|
||||
// [self.view makeToast:@"请上传身份证反面图片"];
|
||||
// return;
|
||||
// }
|
||||
//
|
||||
// if (cell.shopCer.image==nil) {
|
||||
//
|
||||
// [self.view makeToast:@"请上传营业执照图片"];
|
||||
// return;
|
||||
// }
|
||||
if (!_sufaceUpload) {
|
||||
[self.view makeToast:@"请上传身份证正面图片"];
|
||||
return;
|
||||
}
|
||||
|
||||
if (!_backUpload) {
|
||||
[self.view makeToast:@"请上传身份证反面图片"];
|
||||
return;
|
||||
}
|
||||
if (!_cerUpload) {
|
||||
[self.view makeToast:@"请上传营业执照图片"];
|
||||
return;
|
||||
}
|
||||
|
||||
UserModel*user=[dataContorl getUserInfo];
|
||||
NSData*imgdataFace=UIImagePNGRepresentation(cell.iDsurface.image);
|
||||
NSData*imgdataBack=UIImagePNGRepresentation(cell.iDback.image);
|
||||
NSData*imgdataZhiZhao=UIImagePNGRepresentation(cell.shopCer.image);
|
||||
NSArray *imgDataArr=@[imgdataFace,imgdataBack,imgdataZhiZhao];
|
||||
NSString *url = nil;
|
||||
NSDictionary *paras=nil;
|
||||
|
||||
if (self.statusM) {
|
||||
url=IfishUpdateShopsInfoV3;
|
||||
//更新
|
||||
paras= @{
|
||||
@"shopsId":self.statusM.shopsId,
|
||||
@"userId" :self.statusM.userId,
|
||||
@"userName":_cerdata.userName,
|
||||
@"shopsName":_cerdata.shopName,
|
||||
@"shopsPhone":_cerdata.phoneNumber,
|
||||
@"shopsProvince":_cerdata.privence,
|
||||
@"shopsCity":_cerdata.city,
|
||||
@"shopsArea":_cerdata.area,
|
||||
@"shopsAddress":_cerdata.shopAddress,
|
||||
@"file1":@"png",
|
||||
@"file2":@"png",
|
||||
@"file3":@"png",
|
||||
@"weixinCode":@"",
|
||||
@"shopLink":@""
|
||||
};
|
||||
|
||||
|
||||
}else{
|
||||
//新加
|
||||
paras= @{
|
||||
@"userId":user.userId,
|
||||
@"userName":_cerdata.userName,
|
||||
@"shopsName":_cerdata.shopName,
|
||||
@"shopsPhone":_cerdata.phoneNumber,
|
||||
@"shopsProvince":_cerdata.privence,
|
||||
@"shopsCity":_cerdata.city,
|
||||
@"shopsArea":_cerdata.area,
|
||||
@"shopsAddress":_cerdata.shopAddress,
|
||||
@"file1":@"png",
|
||||
@"file2":@"png",
|
||||
@"file3":@"png",
|
||||
@"weixinCode":@"",
|
||||
@"shopLink":@""
|
||||
};
|
||||
|
||||
url =IfishSaveShopsInfoV3;
|
||||
}
|
||||
|
||||
__weak typeof (self)weskSelf=self;
|
||||
[AFHttpTool saveShopsInfo:paras formatImgArr:imgDataArr requsetUrl:url success:^(id response) {
|
||||
NSDictionary*resultDic=[NSJSONSerialization JSONObjectWithData:response options:NSJSONReadingMutableContainers error:nil];
|
||||
NSLog(@"result:%@",resultDic[@"result"]);
|
||||
_isEditedInfo = YES;
|
||||
if ([resultDic[@"result"] isEqualToString:@"100"]) {
|
||||
|
||||
NSDictionary*shopsInfoDic= resultDic[@"data"];
|
||||
CertificationShopModel *shopInfo=[[CertificationShopModel alloc] initWithDict:shopsInfoDic];
|
||||
[[DataCenter defaultDtacenter]setValue:shopInfo forKey:@"ShopsInfo"];
|
||||
_cerProgressType = ShopCerProgressTypeDone;
|
||||
[_HUD hide:YES];
|
||||
[weskSelf.tableView reloadData];
|
||||
[weskSelf.tableView setContentOffset:CGPointMake(0, -64) animated:NO];
|
||||
|
||||
}else if ([resultDic[@"result"] isEqualToString:@"101"]){
|
||||
|
||||
[weskSelf.view makeToast:@"提交失败错误码101"];
|
||||
}else if ([resultDic[@"result"] isEqualToString:@"206"]){
|
||||
|
||||
[weskSelf.view makeToast:@"提交失败错误码206上传图片太大"];
|
||||
}else if ([resultDic[@"result"] isEqualToString:@"211"]){
|
||||
|
||||
[weskSelf.view makeToast:@"提交失败错误码211用户ID不能存在"];
|
||||
}
|
||||
[_HUD hide:YES];
|
||||
} failure:^(NSError *err) {
|
||||
[_HUD hide:YES];
|
||||
[weskSelf.view makeToast:@"请求异常"];
|
||||
_isEditedInfo = YES;
|
||||
}];
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
#pragma mark - Navigation
|
||||
|
||||
// In a storyboard-based application, you will often want to do a little preparation before navigation
|
||||
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
|
||||
// Get the new view controller using [segue destinationViewController].
|
||||
// Pass the selected object to the new view controller.
|
||||
}
|
||||
*/
|
||||
|
||||
@end
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// FishShopCer.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/4.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface FishShopCer : NSObject
|
||||
@property (nonatomic,copy) NSString *userName;
|
||||
@property (nonatomic,copy) NSString *shopName;
|
||||
@property (nonatomic,copy) NSString *phoneNumber;
|
||||
@property (nonatomic,copy) NSString *shopPCA;
|
||||
@property (nonatomic,copy) NSString *privence;
|
||||
@property (nonatomic,copy) NSString *city;
|
||||
@property (nonatomic,copy) NSString *area;
|
||||
@property (nonatomic,copy) NSString *shopAddress;
|
||||
|
||||
@end
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// FishShopCer.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/4.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "FishShopCer.h"
|
||||
|
||||
@implementation FishShopCer
|
||||
|
||||
@end
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// ShopCerPart1InfoViewCell.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/4.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "FishShopCer.h"
|
||||
#import "ShopCertifyStausModel.h"
|
||||
@protocol ShopCerPart1InfoViewDelegate <NSObject>
|
||||
@optional
|
||||
-(void)nextBtnClickAction:(FishShopCer *)cermodel;
|
||||
|
||||
@end
|
||||
|
||||
@interface ShopCerPart1InfoViewCell : UITableViewCell
|
||||
@property (weak, nonatomic) IBOutlet UITableView *firstPartTab;
|
||||
@property(nonatomic,assign) id<ShopCerPart1InfoViewDelegate> delegate;
|
||||
@property(nonatomic,strong) ShopCertifyStausModel *statem;
|
||||
|
||||
|
||||
@end
|
||||
+448
@@ -0,0 +1,448 @@
|
||||
//
|
||||
// ShopCerPart1InfoViewCell.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/4.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ShopCerPart1InfoViewCell.h"
|
||||
#import "ShopCerPart1TableCell.h"
|
||||
#import "shopCerpart1LoactionCell.h"
|
||||
#import "ShopCerPatr1DetailLocationCell.h"
|
||||
#import "ShopCerPatr1NextStepCell.h"
|
||||
#define DETALLACATION_TAG 11111000
|
||||
#define CELLPCA_TAG 11111001
|
||||
#define CELLTAGS_INFO 10000
|
||||
#import "ChinaPlckerView.h"
|
||||
#import <BaiduMapAPI_Location/BMKLocationService.h>
|
||||
#import <BaiduMapAPI_Search/BMKSearchComponent.h>
|
||||
#import <BaiduMapAPI_Utils/BMKUtilsComponent.h>
|
||||
#import "FishShopCer.h"
|
||||
@interface ShopCerPart1InfoViewCell ()<UITableViewDelegate,UITableViewDataSource,UITextViewDelegate,UITextFieldDelegate, ChinaPlckerViewDelegate,BMKLocationServiceDelegate,
|
||||
BMKGeoCodeSearchDelegate>
|
||||
|
||||
{
|
||||
BMKGeoCodeSearch*_geocodesearch;
|
||||
}
|
||||
|
||||
@property(nonatomic,strong) NSString *privence;
|
||||
@property(nonatomic,strong) NSString *city;
|
||||
@property(nonatomic,strong) NSString *area;
|
||||
@property(nonatomic,strong) NSString *address;
|
||||
@property(nonatomic)BMKLocationService *locService;
|
||||
|
||||
@end
|
||||
|
||||
@implementation ShopCerPart1InfoViewCell
|
||||
|
||||
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
self.firstPartTab.delegate = self;
|
||||
self.firstPartTab.dataSource = self;
|
||||
self.privence = @"省.";
|
||||
self.city = @"市.";
|
||||
self.area = @"区";
|
||||
[self getLocation];
|
||||
}
|
||||
|
||||
#pragma mark 定位
|
||||
-(void)getLocation{
|
||||
//初始化BMKLocationService
|
||||
_locService=[[BMKLocationService alloc]init];
|
||||
_locService.delegate=self;
|
||||
//启动LocationService
|
||||
[_locService startUserLocationService];
|
||||
_geocodesearch=[[BMKGeoCodeSearch alloc]init];
|
||||
_geocodesearch.delegate=self;// 此处记得不用的时候需要置nil,
|
||||
|
||||
}
|
||||
|
||||
//处理方向变更信息
|
||||
- (void)didUpdateUserHeading:(BMKUserLocation *)userLocation
|
||||
{
|
||||
//NSLog(@"heading is %@",userLocation.heading);
|
||||
}
|
||||
//处理位置坐标更新
|
||||
- (void)didUpdateBMKUserLocation:(BMKUserLocation *)userLocation
|
||||
{
|
||||
//NSLog(@"didUpdateUserLocation lat %f,long %f",userLocation.location.coordinate.latitude,userLocation.location.coordinate.longitude);
|
||||
[self reverseGeoCodeWithlatitude:userLocation.location.coordinate.latitude addlongitude:userLocation.location.coordinate.longitude];
|
||||
// static dispatch_once_t disOnce;
|
||||
// dispatch_once(&disOnce, ^ {
|
||||
//
|
||||
// [self reverseGeoCodeWithlatitude:userLocation.location.coordinate.latitude addlongitude:userLocation.location.coordinate.longitude];
|
||||
// });
|
||||
|
||||
}
|
||||
/**
|
||||
* 地理反编码
|
||||
*/
|
||||
-(void)reverseGeoCodeWithlatitude:(CLLocationDegrees)latitude addlongitude:(CLLocationDegrees)longitude{
|
||||
CLLocationCoordinate2D pt=(CLLocationCoordinate2D){latitude,longitude};
|
||||
BMKReverseGeoCodeOption *reverseGeocodeSearchOption = [[BMKReverseGeoCodeOption alloc]init];
|
||||
reverseGeocodeSearchOption.reverseGeoPoint=pt;
|
||||
BOOL flag = [_geocodesearch reverseGeoCode:reverseGeocodeSearchOption];
|
||||
if(flag)
|
||||
{
|
||||
NSLog(@"反geo检索发送成功");
|
||||
}
|
||||
else
|
||||
{
|
||||
NSLog(@"反geo检索发送失败");
|
||||
}
|
||||
|
||||
}
|
||||
-(void)dealloc{
|
||||
|
||||
if (_geocodesearch!=nil) {
|
||||
_geocodesearch=nil;
|
||||
}
|
||||
}
|
||||
|
||||
#pragma mark BMKGeoCodeSearchDelegate
|
||||
-(void)onGetReverseGeoCodeResult:(BMKGeoCodeSearch *)searcher result:(BMKReverseGeoCodeResult *)result errorCode:(BMKSearchErrorCode)error{
|
||||
NSLog(@"address%@",result.address);
|
||||
self.address = result.address;
|
||||
|
||||
|
||||
NSIndexPath *index=[NSIndexPath indexPathForRow:4 inSection:0];
|
||||
NSArray *dexArr = @[index];
|
||||
[self.firstPartTab reloadRowsAtIndexPaths:dexArr withRowAnimation:UITableViewRowAnimationNone];
|
||||
|
||||
// static dispatch_once_t disOnce;
|
||||
// dispatch_once(&disOnce, ^ {
|
||||
//
|
||||
//
|
||||
// });
|
||||
|
||||
|
||||
}
|
||||
|
||||
- (void)onGetGeoCodeResult:(BMKGeoCodeSearch *)searcher result:(BMKGeoCodeResult *)result errorCode:(BMKSearchErrorCode)error{
|
||||
|
||||
}
|
||||
|
||||
|
||||
-(void)layoutSubviews{
|
||||
[super layoutSubviews];
|
||||
//[self.firstPartTab setContentOffset:CGPointMake(0, -82)];
|
||||
[self.firstPartTab setContentOffset:CGPointMake(0, 0) animated:YES];
|
||||
}
|
||||
|
||||
-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
|
||||
|
||||
return 6;
|
||||
}
|
||||
|
||||
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
|
||||
if (indexPath.row>=0&&indexPath.row<=2) {
|
||||
|
||||
NSArray *titleArr = @[@"您的姓名",@"店铺名称",@"联系电话"];
|
||||
NSArray *holderText = @[@"请填写和营业执照中一致的姓名",@"请输入您的店铺名称",@"请输入您的联系电话号码"];
|
||||
|
||||
ShopCerPart1TableCell *cell = [tableView dequeueReusableCellWithIdentifier:@"ShopCerPart1TableCell"];
|
||||
if (!cell) {
|
||||
cell = [[[NSBundle mainBundle]loadNibNamed:@"ShopCerPart1TableCell" owner:self options:nil]lastObject];
|
||||
}
|
||||
cell.title.text = titleArr[indexPath.row];
|
||||
cell.tag = CELLTAGS_INFO + indexPath.row;
|
||||
cell.detailTexFiled.placeholder = holderText[indexPath.row];
|
||||
cell.detailTexFiled.delegate = self;
|
||||
if (self.statem) {
|
||||
[self loadCellData:self.statem atIndex:indexPath withCell:cell];
|
||||
}
|
||||
|
||||
return cell;
|
||||
}else if (indexPath.row==3){
|
||||
shopCerpart1LoactionCell *cell = [tableView dequeueReusableCellWithIdentifier:@"shopCerpart1LoactionCell"];
|
||||
if (!cell) {
|
||||
cell = [[[NSBundle mainBundle]loadNibNamed:@"shopCerpart1LoactionCell" owner:self options:nil]lastObject];
|
||||
}
|
||||
if (self.statem) {
|
||||
|
||||
[cell.picCityBtn setTitle:[NSString stringWithFormat:@"%@%@%@",self.statem.shopsProvince,self.statem.shopsCity,self.statem.shopsArea] forState:UIControlStateNormal];
|
||||
}else{
|
||||
[cell.picCityBtn setTitle:[NSString stringWithFormat:@"%@%@%@",self.privence,self.city,self.area] forState:UIControlStateNormal];
|
||||
}
|
||||
|
||||
[cell.picCityBtn addTarget:self action:@selector(picCityBtnAction) forControlEvents:UIControlEventTouchUpInside];
|
||||
cell.tag = CELLPCA_TAG;
|
||||
return cell;
|
||||
}else if (indexPath.row ==4){
|
||||
ShopCerPatr1DetailLocationCell *cell = [tableView dequeueReusableCellWithIdentifier:@"ShopCerPatr1DetailLocationCell"];
|
||||
if (!cell) {
|
||||
cell = [[[NSBundle mainBundle]loadNibNamed:@"ShopCerPatr1DetailLocationCell" owner:self options:nil]lastObject];
|
||||
}
|
||||
cell.tag = DETALLACATION_TAG;
|
||||
cell.detailLactionTextView.delegate = self;
|
||||
if (self.statem) {
|
||||
cell.detailLactionTextView.text = self.statem.shopsAddress;
|
||||
[cell.palceHoolderLab setHidden:YES];
|
||||
|
||||
}else{
|
||||
|
||||
if (self.address) {
|
||||
cell.detailLactionTextView.text = self.address;
|
||||
[cell.palceHoolderLab setHidden:YES];
|
||||
}else{
|
||||
[cell.palceHoolderLab setHidden:NO];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return cell;
|
||||
|
||||
}else if (indexPath.row ==5){
|
||||
ShopCerPatr1NextStepCell *cell = [tableView dequeueReusableCellWithIdentifier:@"ShopCerPatr1NextStepCell"];
|
||||
if (!cell) {
|
||||
cell = [[[NSBundle mainBundle]loadNibNamed:@"ShopCerPatr1NextStepCell" owner:self options:nil]lastObject];
|
||||
}
|
||||
[cell.nextBtn addTarget:self action:@selector(nextBtnClick) forControlEvents:UIControlEventTouchUpInside];
|
||||
return cell;
|
||||
}
|
||||
|
||||
return nil;
|
||||
|
||||
}
|
||||
|
||||
-(void)loadCellData:(ShopCertifyStausModel *)model atIndex:(NSIndexPath *)indexPath withCell:(ShopCerPart1TableCell *)cell
|
||||
{
|
||||
if (indexPath.row==0) {
|
||||
|
||||
cell.detailTexFiled.text = model.userName;
|
||||
}else if (indexPath.row==1){
|
||||
cell.detailTexFiled.text = model.shopsName;
|
||||
|
||||
}else if (indexPath.row ==2){
|
||||
cell.detailTexFiled.text = model.shopsPhone;
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
|
||||
if (indexPath.row>=0&&indexPath.row<=3) {
|
||||
return 49;
|
||||
}else if (indexPath.row ==4){
|
||||
return 98;
|
||||
}else if (indexPath.row ==5){
|
||||
return kScreenSize.width *0.675;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
|
||||
}
|
||||
|
||||
#pragma mark - picCityBtnAction
|
||||
-(void)picCityBtnAction{
|
||||
|
||||
[self xuanzeAddress];
|
||||
}
|
||||
|
||||
#pragma mark- 省市区选择器
|
||||
-(void)xuanzeAddress{
|
||||
|
||||
[ChinaPlckerView customChinaPicker:self superView:self.superview];
|
||||
|
||||
}
|
||||
|
||||
#pragma mark - ChinaPlckerViewDelegate
|
||||
- (void)chinaPlckerViewDelegateChinaModel:(ChinaArea *)chinaModel{
|
||||
|
||||
|
||||
// CertifyListViewFirstCell *cell =[self.view viewWithTag:CERTYVIEW_CELLTAGROW3];
|
||||
//
|
||||
//
|
||||
// cell.infoDetailTextfeild.text = [NSString stringWithFormat:@"%@%@%@",chinaModel.provinceModel.NAME,chinaModel.cityModel.NAME,chinaModel.areaModel.NAME];
|
||||
|
||||
self.privence = chinaModel.provinceModel.NAME;
|
||||
self.city = chinaModel.cityModel.NAME;
|
||||
self.area = chinaModel.areaModel.NAME;
|
||||
[self.firstPartTab reloadData];
|
||||
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - 下一步
|
||||
|
||||
-(void)nextBtnClick
|
||||
{
|
||||
|
||||
ShopCerPart1TableCell *cell = [self viewWithTag:CELLTAGS_INFO];
|
||||
if (cell.detailTexFiled.text.length==0) {
|
||||
[self makeToast:@"请输入您的姓名"];
|
||||
return;
|
||||
}
|
||||
if (cell.detailTexFiled.text.length>=10) {
|
||||
[self makeToast:@"请输入名字太长"];
|
||||
return;
|
||||
}
|
||||
ShopCerPart1TableCell *shopNamecell = [self viewWithTag:CELLTAGS_INFO +1];
|
||||
if (shopNamecell.detailTexFiled.text.length==0) {
|
||||
[self makeToast:@"请输入店铺名"];
|
||||
return;
|
||||
|
||||
}
|
||||
if (shopNamecell.detailTexFiled.text.length>20) {
|
||||
[self makeToast:@"请输入少于20字店铺名"];
|
||||
return;
|
||||
|
||||
}
|
||||
ShopCerPart1TableCell *phoneCell = [self viewWithTag:CELLTAGS_INFO +2];
|
||||
if (phoneCell.detailTexFiled.text.length ==0 || phoneCell.detailTexFiled.text.length >11) {
|
||||
[self makeToast:@"请正确输入正确的手机号或电话"];
|
||||
return;
|
||||
}
|
||||
|
||||
ShopCerPatr1DetailLocationCell *detailLocation = [self viewWithTag:DETALLACATION_TAG];
|
||||
if (detailLocation.detailLactionTextView.text.length == 0) {
|
||||
[self makeToast:@"请输入详情地址"];
|
||||
return;
|
||||
}
|
||||
if (detailLocation.detailLactionTextView.text.length>20) {
|
||||
[self makeToast:@"详情地址不能超过20个字"];
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
FishShopCer *cermod= [[FishShopCer alloc] init];
|
||||
if (self.statem) {
|
||||
|
||||
NSString *formatPca =[NSString stringWithFormat:@"%@%@%@",self.statem.shopsProvince,self.statem.shopsCity,self.statem.shopsArea];
|
||||
if (self.statem.shopsProvince==nil||[self.statem.shopsProvince isKindOfClass:[NSNull class]]) {
|
||||
|
||||
self.statem.shopsProvince = @"无";
|
||||
}
|
||||
|
||||
if (self.statem.shopsCity==nil ||[self.statem.shopsCity isKindOfClass:[NSNull class]]) {
|
||||
self.statem.shopsCity = @"无";
|
||||
|
||||
}
|
||||
|
||||
if (self.statem.shopsArea ==nil||[self.statem.shopsArea isKindOfClass:[NSNull class]]) {
|
||||
//有省份无地区
|
||||
self.area =@"无";
|
||||
}
|
||||
cermod.userName = cell.detailTexFiled.text;
|
||||
cermod.shopName = shopNamecell.detailTexFiled.text;
|
||||
cermod.phoneNumber = phoneCell.detailTexFiled.text;
|
||||
cermod.shopPCA = formatPca;
|
||||
cermod.privence = self.statem.shopsProvince;
|
||||
cermod.city = self.statem.shopsCity;
|
||||
cermod.area = self.statem.shopsArea;
|
||||
cermod.shopAddress = detailLocation.detailLactionTextView.text;
|
||||
|
||||
|
||||
}else{
|
||||
NSString *formatPca =[NSString stringWithFormat:@"%@%@%@",self.privence,self.city,self.area];
|
||||
if ([formatPca isEqualToString:@"省.市.区"]) {
|
||||
[self makeToast:@"请选择省市区"];
|
||||
return;
|
||||
}
|
||||
|
||||
if (self.privence==nil||[self.privence isKindOfClass:[NSNull class]]) {
|
||||
|
||||
self.privence = @"无";
|
||||
}
|
||||
|
||||
if (self.city==nil ||[self.city isKindOfClass:[NSNull class]]) {
|
||||
self.city = @"无";
|
||||
|
||||
}
|
||||
|
||||
if (self.area ==nil||[self.area isKindOfClass:[NSNull class]]) {
|
||||
//有省份无地区
|
||||
self.area =@"无";
|
||||
}
|
||||
|
||||
cermod.userName = cell.detailTexFiled.text;
|
||||
cermod.shopName = shopNamecell.detailTexFiled.text;
|
||||
cermod.phoneNumber = phoneCell.detailTexFiled.text;
|
||||
cermod.shopPCA = formatPca;
|
||||
cermod.privence = self.privence;
|
||||
cermod.city = self.city;
|
||||
cermod.area = self.area;
|
||||
|
||||
cermod.shopAddress = detailLocation.detailLactionTextView.text;
|
||||
}
|
||||
|
||||
_locService.delegate=nil;
|
||||
if (self.delegate) {
|
||||
[self.delegate nextBtnClickAction:cermod];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
#pragma mark--UITextViewDelegate
|
||||
// 设置textView的默认提示文字
|
||||
-(void)textViewDidChange:(UITextView *)textView{
|
||||
|
||||
ShopCerPatr1DetailLocationCell *cell =[self viewWithTag:DETALLACATION_TAG];
|
||||
if (textView.text.length ==0) {
|
||||
|
||||
[cell.palceHoolderLab setHidden:NO];
|
||||
|
||||
}else{
|
||||
|
||||
[cell.palceHoolderLab setHidden:YES];
|
||||
}
|
||||
}
|
||||
|
||||
-(void)textViewDidBeginEditing:(UITextView *)textView{
|
||||
ShopCerPatr1DetailLocationCell *cell =[self viewWithTag:DETALLACATION_TAG];
|
||||
[cell.palceHoolderLab setHidden:YES];
|
||||
|
||||
}
|
||||
|
||||
-(BOOL)textViewShouldBeginEditing:(UITextView *)textView{
|
||||
|
||||
return YES;
|
||||
}
|
||||
|
||||
-(BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text{
|
||||
if ([text isEqualToString:@"\n"]) {
|
||||
ShopCerPatr1DetailLocationCell *cell =[self viewWithTag:DETALLACATION_TAG];
|
||||
if (textView == cell.detailLactionTextView) {
|
||||
if (textView.text.length ==0) {
|
||||
[cell.palceHoolderLab setHidden:NO];
|
||||
|
||||
}else{
|
||||
[cell.palceHoolderLab setHidden:YES];
|
||||
}
|
||||
|
||||
[cell.detailLactionTextView resignFirstResponder];
|
||||
}
|
||||
return NO;
|
||||
}
|
||||
return YES;
|
||||
|
||||
}
|
||||
|
||||
#pragma mark -UITextFieldDelegate
|
||||
-(BOOL)textFieldShouldReturn:(UITextField *)textField{
|
||||
[textField resignFirstResponder];
|
||||
return YES;
|
||||
}
|
||||
|
||||
@end
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16E195" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait">
|
||||
<adaptation id="fullscreen"/>
|
||||
</device>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="ShopCerPart1InfoViewCell" id="KGk-i7-Jjw" customClass="ShopCerPart1InfoViewCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="426"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="425.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<tableView clipsSubviews="YES" contentMode="scaleToFill" bounces="NO" alwaysBounceVertical="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" style="plain" separatorStyle="none" allowsSelection="NO" rowHeight="49" sectionHeaderHeight="1" sectionFooterHeight="1" translatesAutoresizingMaskIntoConstraints="NO" id="d0a-EE-njB">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="426"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
</tableView>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="trailing" secondItem="d0a-EE-njB" secondAttribute="trailing" id="Nd7-yJ-EqL"/>
|
||||
<constraint firstItem="d0a-EE-njB" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="OB8-1v-N6b"/>
|
||||
<constraint firstAttribute="bottom" secondItem="d0a-EE-njB" secondAttribute="bottom" id="gcO-9j-sDQ"/>
|
||||
<constraint firstItem="d0a-EE-njB" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="muk-vz-H9a"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<connections>
|
||||
<outlet property="firstPartTab" destination="d0a-EE-njB" id="vUf-qC-7d1"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="1" y="-102"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
</document>
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// ShopCerPart1TableCell.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/4.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface ShopCerPart1TableCell : UITableViewCell
|
||||
@property (weak, nonatomic) IBOutlet UILabel *title;
|
||||
@property (weak, nonatomic) IBOutlet UITextField *detailTexFiled;
|
||||
|
||||
@end
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// ShopCerPart1TableCell.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/4.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ShopCerPart1TableCell.h"
|
||||
|
||||
@implementation ShopCerPart1TableCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
+60
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16E195" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait">
|
||||
<adaptation id="fullscreen"/>
|
||||
</device>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
|
||||
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="ShopCerPart1TableCell" id="KGk-i7-Jjw" customClass="ShopCerPart1TableCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="49"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="48.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="内容标题" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JQV-vj-35V">
|
||||
<rect key="frame" x="15" y="14" width="64" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="64" id="EKS-FS-GTM"/>
|
||||
<constraint firstAttribute="height" constant="21" id="Jf4-hf-8ZW"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Hw5-eY-l1d">
|
||||
<rect key="frame" x="15" y="47" width="305" height="1"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" red="0.93715304136276245" green="0.93731355667114258" blue="0.93714290857315063" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
</view>
|
||||
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="内容" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="RpK-ca-EcN">
|
||||
<rect key="frame" x="82" y="0.0" width="238" height="48"/>
|
||||
<nil key="textColor"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<textInputTraits key="textInputTraits" returnKeyType="done"/>
|
||||
</textField>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="bottom" secondItem="RpK-ca-EcN" secondAttribute="bottom" id="3ey-If-K4M"/>
|
||||
<constraint firstItem="JQV-vj-35V" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="BKo-D9-9er"/>
|
||||
<constraint firstAttribute="trailing" secondItem="RpK-ca-EcN" secondAttribute="trailing" id="Bwy-ar-OiX"/>
|
||||
<constraint firstItem="RpK-ca-EcN" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="DfM-XQ-qHt"/>
|
||||
<constraint firstItem="JQV-vj-35V" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="7" id="jLE-Pw-TdG"/>
|
||||
<constraint firstItem="RpK-ca-EcN" firstAttribute="leading" secondItem="JQV-vj-35V" secondAttribute="trailing" constant="3" id="oZZ-aq-vuE"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<connections>
|
||||
<outlet property="detailTexFiled" destination="RpK-ca-EcN" id="FAf-uB-Or6"/>
|
||||
<outlet property="title" destination="JQV-vj-35V" id="sHn-mQ-YBh"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="25" y="51.5"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
</document>
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// ShopCerPart3DoneViewCell.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/5.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface ShopCerPart3DoneViewCell : UITableViewCell
|
||||
|
||||
@end
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// ShopCerPart3DoneViewCell.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/5.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ShopCerPart3DoneViewCell.h"
|
||||
|
||||
@implementation ShopCerPart3DoneViewCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16E195" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait">
|
||||
<adaptation id="fullscreen"/>
|
||||
</device>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
|
||||
<capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
|
||||
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="ShopCerPart3DoneViewCell" id="KGk-i7-Jjw" customClass="ShopCerPart3DoneViewCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="426"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="425.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="attestation_icon.png" translatesAutoresizingMaskIntoConstraints="NO" id="DmX-CE-A7h">
|
||||
<rect key="frame" x="113" y="130" width="94" height="94"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" secondItem="DmX-CE-A7h" secondAttribute="height" multiplier="1:1" id="o7S-oN-l66"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="工作人员正在审核,请耐心等待。" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="meO-X1-0CY">
|
||||
<rect key="frame" x="8" y="254" width="304" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="21" id="mOW-oh-gVS"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="详询电话:021-64532745" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pTn-iC-awb">
|
||||
<rect key="frame" x="8" y="276" width="304" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="21" id="8Nf-ie-kHp"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="12"/>
|
||||
<color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="meO-X1-0CY" firstAttribute="top" secondItem="DmX-CE-A7h" secondAttribute="bottom" constant="30" id="4kF-8E-rSu"/>
|
||||
<constraint firstItem="pTn-iC-awb" firstAttribute="top" secondItem="meO-X1-0CY" secondAttribute="bottom" constant="1" id="DyW-jO-g2M"/>
|
||||
<constraint firstAttribute="leadingMargin" secondItem="pTn-iC-awb" secondAttribute="leading" id="Hxe-3e-VTG"/>
|
||||
<constraint firstAttribute="trailingMargin" secondItem="meO-X1-0CY" secondAttribute="trailing" id="Pjd-e0-VXE"/>
|
||||
<constraint firstItem="DmX-CE-A7h" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="122" id="XDq-qu-vaW"/>
|
||||
<constraint firstItem="DmX-CE-A7h" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="gMO-TT-i6Q"/>
|
||||
<constraint firstItem="meO-X1-0CY" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="lbz-n6-o8J"/>
|
||||
<constraint firstItem="pTn-iC-awb" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="mPk-Zc-Oa1"/>
|
||||
<constraint firstAttribute="trailingMargin" secondItem="pTn-iC-awb" secondAttribute="trailing" id="nUq-nL-b1B"/>
|
||||
<constraint firstAttribute="leadingMargin" secondItem="meO-X1-0CY" secondAttribute="leading" id="orU-f6-aup"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="attestation_icon.png" width="94" height="94"/>
|
||||
</resources>
|
||||
</document>
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// ShopCerPatr1DetailLocationCell.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/5.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface ShopCerPatr1DetailLocationCell : UITableViewCell
|
||||
@property (weak, nonatomic) IBOutlet UITextView *detailLactionTextView;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *palceHoolderLab;
|
||||
|
||||
@end
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// ShopCerPatr1DetailLocationCell.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/5.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ShopCerPatr1DetailLocationCell.h"
|
||||
|
||||
@implementation ShopCerPatr1DetailLocationCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16E195" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait">
|
||||
<adaptation id="fullscreen"/>
|
||||
</device>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
|
||||
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="ShopCerPatr1DetailLocationCell" id="KGk-i7-Jjw" customClass="ShopCerPatr1DetailLocationCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="98"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="97.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="Els-OI-gFf">
|
||||
<rect key="frame" x="7" y="0.0" width="305" height="98"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<textInputTraits key="textInputTraits" autocapitalizationType="sentences" returnKeyType="done"/>
|
||||
</textView>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="3u5-EK-EUf">
|
||||
<rect key="frame" x="0.0" y="97" width="320" height="1"/>
|
||||
<color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.93725490199999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="1" id="li3-1y-ghE"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="请填写和营业执照一样的详情地址" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="03S-Dc-LSH">
|
||||
<rect key="frame" x="12" y="8" width="218" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="218" id="74L-hr-gSy"/>
|
||||
<constraint firstAttribute="height" constant="21" id="MIL-7v-nL4"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="03S-Dc-LSH" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="4" id="0fw-Y8-RIB"/>
|
||||
<constraint firstItem="Els-OI-gFf" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="6Gc-Nm-I7f"/>
|
||||
<constraint firstItem="Els-OI-gFf" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="7" id="7HI-Qk-exl"/>
|
||||
<constraint firstAttribute="bottom" secondItem="Els-OI-gFf" secondAttribute="bottom" id="Fgc-8J-XfM"/>
|
||||
<constraint firstAttribute="trailing" secondItem="3u5-EK-EUf" secondAttribute="trailing" id="HDT-FH-tpR"/>
|
||||
<constraint firstItem="3u5-EK-EUf" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="QhF-nl-y0G"/>
|
||||
<constraint firstAttribute="bottom" secondItem="3u5-EK-EUf" secondAttribute="bottom" id="S6n-BO-7G9"/>
|
||||
<constraint firstItem="Els-OI-gFf" firstAttribute="top" secondItem="03S-Dc-LSH" secondAttribute="bottom" constant="-29" id="Z8e-vA-9sO"/>
|
||||
<constraint firstAttribute="trailing" secondItem="Els-OI-gFf" secondAttribute="trailing" constant="8" id="uXs-5N-oGe"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<connections>
|
||||
<outlet property="detailLactionTextView" destination="Els-OI-gFf" id="QZ4-sZ-dFU"/>
|
||||
<outlet property="palceHoolderLab" destination="03S-Dc-LSH" id="yBg-ez-5Hu"/>
|
||||
</connections>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
</document>
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
//
|
||||
// ShopCerPatr1NextStepCell.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/5.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface ShopCerPatr1NextStepCell : UITableViewCell
|
||||
@property (weak, nonatomic) IBOutlet UIButton *nextBtn;
|
||||
|
||||
@end
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// ShopCerPatr1NextStepCell.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/5.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ShopCerPatr1NextStepCell.h"
|
||||
|
||||
@implementation ShopCerPatr1NextStepCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16E195" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait">
|
||||
<adaptation id="fullscreen"/>
|
||||
</device>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="ShopCerPatr1NextStepCell" id="KGk-i7-Jjw" customClass="ShopCerPatr1NextStepCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="216"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="215.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="1RV-ux-aII">
|
||||
<rect key="frame" x="32" y="99.5" width="256" height="44"/>
|
||||
<color key="backgroundColor" red="0.1960784314" green="0.72156862749999995" blue="0.99607843139999996" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="44" id="QFU-Du-Hy2"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="23"/>
|
||||
<state key="normal" title="下一步"/>
|
||||
</button>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="bottom" secondItem="1RV-ux-aII" secondAttribute="bottom" constant="72" id="DnV-HE-QPI"/>
|
||||
<constraint firstAttribute="trailing" secondItem="1RV-ux-aII" secondAttribute="trailing" constant="32" id="NmK-8O-aHJ"/>
|
||||
<constraint firstItem="1RV-ux-aII" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="32" id="coE-gt-lxV"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<connections>
|
||||
<outlet property="nextBtn" destination="1RV-ux-aII" id="Kqu-i7-IQL"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="25" y="51.5"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
</document>
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// ShopCerProgressHeaderView.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/5.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface ShopCerProgressHeaderView : UIView
|
||||
|
||||
@property (strong, nonatomic) UILabel *labelfirst;
|
||||
@property (strong, nonatomic) UILabel *labelSecond;
|
||||
@property (strong, nonatomic) UILabel *labelThird;
|
||||
@property (strong, nonatomic) UILabel *xinxiLabel;
|
||||
@property (strong, nonatomic) UILabel *picLabel;
|
||||
@property (strong, nonatomic) UILabel *doneLabel;
|
||||
@property (strong, nonatomic) UIView *firstView;
|
||||
@property (strong, nonatomic) UIView *secondView;
|
||||
@property (strong, nonatomic) UIView *thirdView;
|
||||
-(void)refreshLabeColor:(NSInteger)progrestype;
|
||||
|
||||
@end
|
||||
+100
@@ -0,0 +1,100 @@
|
||||
//
|
||||
// ShopCerProgressHeaderView.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/5.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ShopCerProgressHeaderView.h"
|
||||
|
||||
@implementation ShopCerProgressHeaderView
|
||||
|
||||
/*
|
||||
// Only override drawRect: if you perform custom drawing.
|
||||
// An empty implementation adversely affects performance during animation.
|
||||
- (void)drawRect:(CGRect)rect {
|
||||
// Drawing code
|
||||
}
|
||||
*/
|
||||
|
||||
-(instancetype)initWithFrame:(CGRect)frame
|
||||
{
|
||||
if (self = [super initWithFrame:frame]) {
|
||||
|
||||
[self intiUI];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
-(void)intiUI{
|
||||
|
||||
NSArray *InputNibs = [[NSBundle mainBundle]loadNibNamed:@"ShopCerProgressHeaderView" owner:self options:nil];
|
||||
UIView *subView = [InputNibs objectAtIndex:0];
|
||||
self.labelfirst = [subView.subviews objectAtIndex:0];
|
||||
self.xinxiLabel = [subView.subviews objectAtIndex:1];
|
||||
self.labelSecond = [subView.subviews objectAtIndex:2];
|
||||
self.picLabel = [subView.subviews objectAtIndex:3];
|
||||
self.labelThird = [subView.subviews objectAtIndex:4];
|
||||
self.doneLabel = [subView.subviews objectAtIndex:5];
|
||||
self.firstView = [subView.subviews objectAtIndex:6];
|
||||
self.secondView = [subView.subviews objectAtIndex:7];
|
||||
self.thirdView =[subView.subviews objectAtIndex:8];
|
||||
[self addSubview:subView];
|
||||
|
||||
self.labelfirst.layer.masksToBounds = YES;
|
||||
self.labelfirst.layer.cornerRadius = self.labelfirst.frame.size.width/2;
|
||||
self.labelSecond.layer.masksToBounds = YES;
|
||||
self.labelSecond.layer.cornerRadius = self.labelSecond.frame.size.width/2;
|
||||
self.labelThird.layer.masksToBounds = YES;
|
||||
self.labelThird.layer.cornerRadius = self.labelThird.frame.size.width/2;
|
||||
}
|
||||
-(void)refreshLabeColor:(NSInteger)progrestype{
|
||||
|
||||
switch (progrestype) {
|
||||
case 0:
|
||||
{
|
||||
self.labelfirst.backgroundColor = RGB(50, 184, 254);
|
||||
self.xinxiLabel.textColor = RGB(50, 184, 254);
|
||||
self.labelSecond.backgroundColor = RGB(242, 242, 242);
|
||||
self.picLabel.textColor = RGB(0, 0, 0);
|
||||
self.labelThird.backgroundColor = RGB(242, 242, 242);
|
||||
self.doneLabel.textColor =RGB(0, 0, 0);
|
||||
self.firstView.hidden = NO;
|
||||
self.secondView.hidden = YES;
|
||||
self.thirdView.hidden = YES;
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
{
|
||||
self.labelfirst.backgroundColor = RGB(242, 242, 242);
|
||||
self.xinxiLabel.textColor = RGB(0, 0, 0);
|
||||
self.labelSecond.backgroundColor = RGB(50, 184, 254);
|
||||
self.picLabel.textColor = RGB(50, 184, 254);
|
||||
self.labelThird.backgroundColor = RGB(242, 242, 242);
|
||||
self.doneLabel.textColor =RGB(0, 0, 0);
|
||||
self.firstView.hidden = YES;
|
||||
self.secondView.hidden = NO;
|
||||
self.thirdView.hidden = YES;
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
{
|
||||
self.labelfirst.backgroundColor = RGB(242, 242, 242);
|
||||
self.xinxiLabel.textColor = RGB(0, 0, 0);
|
||||
self.labelSecond.backgroundColor = RGB(242, 242, 242);
|
||||
self.picLabel.textColor = RGB(0, 0, 0);
|
||||
self.labelThird.backgroundColor = RGB(50, 184, 254);
|
||||
self.doneLabel.textColor =RGB(50, 184, 254);
|
||||
self.firstView.hidden = YES;
|
||||
self.secondView.hidden = YES;
|
||||
self.thirdView.hidden = NO;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@end
|
||||
+147
@@ -0,0 +1,147 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16E195" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait">
|
||||
<adaptation id="fullscreen"/>
|
||||
</device>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<view contentMode="scaleToFill" id="iN0-l3-epB">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="54"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bXg-Jp-vsz">
|
||||
<rect key="frame" x="15" y="13" width="18" height="18"/>
|
||||
<color key="backgroundColor" red="0.1960784314" green="0.72156862749999995" blue="0.99607843139999996" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="18" id="3PN-bx-kvZ"/>
|
||||
<constraint firstAttribute="width" constant="18" id="AAS-Aj-r77"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="填写信息" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="UuG-Ly-SKJ">
|
||||
<rect key="frame" x="35" y="15" width="55" height="15"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="15" id="3gw-PX-ge2"/>
|
||||
<constraint firstAttribute="width" constant="55" id="qgs-xQ-Oll"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<color key="textColor" red="0.1960784314" green="0.72156862749999995" blue="0.99607843139999996" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="iQo-E6-4UY">
|
||||
<rect key="frame" x="118" y="13" width="18" height="18"/>
|
||||
<color key="backgroundColor" red="0.94901960780000005" green="0.94901960780000005" blue="0.94901960780000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="18" id="FDv-Kc-OHe"/>
|
||||
<constraint firstAttribute="width" constant="18" id="Qt1-5F-4zT"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="上传照片" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DBJ-mf-wZa">
|
||||
<rect key="frame" x="146" y="15" width="54" height="15"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="54" id="4rR-JB-AhZ"/>
|
||||
<constraint firstAttribute="height" constant="15" id="nT0-Je-617"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="3" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sV6-lh-7I9">
|
||||
<rect key="frame" x="246" y="13" width="18" height="18"/>
|
||||
<color key="backgroundColor" red="0.94901960780000005" green="0.94901960780000005" blue="0.94901960780000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="18" id="K18-0S-ncB"/>
|
||||
<constraint firstAttribute="width" constant="18" id="NB9-hK-qd4"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="完成" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AWy-yU-t1J">
|
||||
<rect key="frame" x="272" y="15" width="32" height="15"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="32" id="A1k-SX-LgN"/>
|
||||
<constraint firstAttribute="height" constant="15" id="uhG-ln-y1u"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uxe-Hj-8kc">
|
||||
<rect key="frame" x="0.0" y="41" width="90" height="3"/>
|
||||
<color key="backgroundColor" red="0.1960784314" green="0.72156862749999995" blue="0.99607843139999996" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="3" id="QDU-H1-OBU"/>
|
||||
<constraint firstAttribute="width" constant="90" id="nrC-mC-eR2"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="pgP-2e-CYL">
|
||||
<rect key="frame" x="118" y="41" width="79" height="3"/>
|
||||
<color key="backgroundColor" red="0.1960784314" green="0.72156862749999995" blue="0.99607843139999996" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="79" id="CnH-A2-Ih0"/>
|
||||
<constraint firstAttribute="height" constant="3" id="zLv-ja-MFn"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Thy-Wz-rOH">
|
||||
<rect key="frame" x="246" y="41" width="74" height="3"/>
|
||||
<color key="backgroundColor" red="0.1960784314" green="0.72156862749999995" blue="0.99607843139999996" alpha="1" colorSpace="calibratedRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="3" id="jtR-Hz-6Oc"/>
|
||||
<constraint firstAttribute="width" constant="74" id="mvg-zS-s7H"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yKY-OH-ao3">
|
||||
<rect key="frame" x="0.0" y="44" width="320" height="10"/>
|
||||
<color key="backgroundColor" red="0.95283776521682739" green="0.95300072431564331" blue="0.95282751321792603" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="10" id="79g-I7-YSZ"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</subviews>
|
||||
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstItem="yKY-OH-ao3" firstAttribute="top" secondItem="uxe-Hj-8kc" secondAttribute="bottom" id="2fi-EZ-wiv"/>
|
||||
<constraint firstItem="UuG-Ly-SKJ" firstAttribute="centerY" secondItem="bXg-Jp-vsz" secondAttribute="centerY" id="4Sb-9X-BtM"/>
|
||||
<constraint firstAttribute="bottom" secondItem="yKY-OH-ao3" secondAttribute="bottom" id="8P1-Yi-YT7"/>
|
||||
<constraint firstAttribute="trailing" secondItem="Thy-Wz-rOH" secondAttribute="trailing" id="9WA-ma-c3b"/>
|
||||
<constraint firstItem="AWy-yU-t1J" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="15" id="AjX-Hl-xdQ"/>
|
||||
<constraint firstAttribute="trailing" secondItem="AWy-yU-t1J" secondAttribute="trailing" constant="16" id="GLq-SC-wbY"/>
|
||||
<constraint firstAttribute="trailing" secondItem="yKY-OH-ao3" secondAttribute="trailing" id="HNZ-Ga-pVp"/>
|
||||
<constraint firstItem="Thy-Wz-rOH" firstAttribute="top" secondItem="AWy-yU-t1J" secondAttribute="bottom" constant="11" id="IuE-lR-Cu4"/>
|
||||
<constraint firstItem="sV6-lh-7I9" firstAttribute="centerY" secondItem="AWy-yU-t1J" secondAttribute="centerY" id="J3G-Aa-cTg"/>
|
||||
<constraint firstItem="pgP-2e-CYL" firstAttribute="top" secondItem="iQo-E6-4UY" secondAttribute="bottom" constant="10" id="R9M-F7-wXD"/>
|
||||
<constraint firstItem="uxe-Hj-8kc" firstAttribute="leading" secondItem="yKY-OH-ao3" secondAttribute="leading" id="VLW-dW-WWA"/>
|
||||
<constraint firstItem="DBJ-mf-wZa" firstAttribute="leading" secondItem="iQo-E6-4UY" secondAttribute="trailing" constant="10" id="YuD-J3-ICV"/>
|
||||
<constraint firstAttribute="bottom" secondItem="yKY-OH-ao3" secondAttribute="bottom" id="a8d-rU-in0"/>
|
||||
<constraint firstItem="uxe-Hj-8kc" firstAttribute="trailing" secondItem="UuG-Ly-SKJ" secondAttribute="trailing" id="bNi-wf-s8M"/>
|
||||
<constraint firstItem="yKY-OH-ao3" firstAttribute="top" secondItem="pgP-2e-CYL" secondAttribute="bottom" id="duz-MQ-ltA"/>
|
||||
<constraint firstItem="bXg-Jp-vsz" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="15" id="hWK-OV-VSY"/>
|
||||
<constraint firstItem="DBJ-mf-wZa" firstAttribute="centerY" secondItem="iQo-E6-4UY" secondAttribute="centerY" id="hn6-lQ-M0B"/>
|
||||
<constraint firstItem="UuG-Ly-SKJ" firstAttribute="leading" secondItem="bXg-Jp-vsz" secondAttribute="trailing" constant="2" id="jTy-ME-hMb"/>
|
||||
<constraint firstItem="uxe-Hj-8kc" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="jvX-10-cU9"/>
|
||||
<constraint firstAttribute="trailing" secondItem="yKY-OH-ao3" secondAttribute="trailing" id="mic-oj-czV"/>
|
||||
<constraint firstItem="bXg-Jp-vsz" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="13" id="tWO-jI-Sid"/>
|
||||
<constraint firstItem="uxe-Hj-8kc" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="viu-Zx-cS0"/>
|
||||
<constraint firstItem="pgP-2e-CYL" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" constant="-2.5" id="xqk-Nt-Lp1"/>
|
||||
<constraint firstItem="AWy-yU-t1J" firstAttribute="leading" secondItem="sV6-lh-7I9" secondAttribute="trailing" constant="8" symbolic="YES" id="yxV-SK-QyI"/>
|
||||
<constraint firstItem="yKY-OH-ao3" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="z3l-Gc-QWg"/>
|
||||
<constraint firstItem="iQo-E6-4UY" firstAttribute="leading" secondItem="pgP-2e-CYL" secondAttribute="leading" id="z9J-ip-RUz"/>
|
||||
</constraints>
|
||||
<nil key="simulatedStatusBarMetrics"/>
|
||||
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
|
||||
<point key="canvasLocation" x="-59" y="47"/>
|
||||
</view>
|
||||
</objects>
|
||||
</document>
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// ShopCerSelectImgViewCell.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/5.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface ShopCerSelectImgViewCell : UITableViewCell
|
||||
@property (weak, nonatomic) IBOutlet UIImageView *iDsurface;
|
||||
@property (weak, nonatomic) IBOutlet UIImageView *iDback;
|
||||
@property (weak, nonatomic) IBOutlet UIImageView *shopCer;
|
||||
@property (weak, nonatomic) IBOutlet UIButton *supStepBtn;
|
||||
@property (weak, nonatomic) IBOutlet UIButton *subBtn;
|
||||
|
||||
@end
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// ShopCerSelectImgViewCell.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/5.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ShopCerSelectImgViewCell.h"
|
||||
|
||||
@implementation ShopCerSelectImgViewCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
|
||||
@end
|
||||
+102
@@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16E195" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait">
|
||||
<adaptation id="fullscreen"/>
|
||||
</device>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
|
||||
<capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
|
||||
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="ShopCerSelectImgViewCell" id="KGk-i7-Jjw" customClass="ShopCerSelectImgViewCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="548"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="547.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="您的证件照仅用于审核,我们将为您严格保密" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Tfh-of-Xyt">
|
||||
<rect key="frame" x="-12" y="44" width="344" height="16"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="16" id="FKj-Eb-4hj"/>
|
||||
<constraint firstAttribute="width" constant="344" id="nws-9N-4ov"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="attestation_positive.png" translatesAutoresizingMaskIntoConstraints="NO" id="wcQ-Vd-0bp">
|
||||
<rect key="frame" x="16" y="90" width="140.5" height="84.5"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" secondItem="wcQ-Vd-0bp" secondAttribute="height" multiplier="168:101" id="eD6-AV-sO1"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="attestation_back.png" translatesAutoresizingMaskIntoConstraints="NO" id="orc-TQ-XPZ">
|
||||
<rect key="frame" x="166.5" y="90" width="138.5" height="84.5"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" secondItem="orc-TQ-XPZ" secondAttribute="height" multiplier="166:101" id="haw-BY-y14"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="attestation_license.png" translatesAutoresizingMaskIntoConstraints="NO" id="7im-eW-NEo">
|
||||
<rect key="frame" x="48.5" y="231.5" width="223" height="134"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" secondItem="7im-eW-NEo" secondAttribute="height" multiplier="223:134" id="oVs-Zm-Mdc"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Grn-c6-jex">
|
||||
<rect key="frame" x="166" y="405.5" width="139" height="44"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" secondItem="Grn-c6-jex" secondAttribute="height" multiplier="139:44" id="4ue-8g-XGG"/>
|
||||
</constraints>
|
||||
<state key="normal" backgroundImage="attestation_next_button.png"/>
|
||||
</button>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5oC-yE-nwL">
|
||||
<rect key="frame" x="17" y="405.5" width="140" height="44"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" secondItem="5oC-yE-nwL" secondAttribute="height" multiplier="35:11" id="mgD-Me-S3N"/>
|
||||
</constraints>
|
||||
<state key="normal" backgroundImage="attestation_laststep_button.png"/>
|
||||
</button>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="trailingMargin" secondItem="Grn-c6-jex" secondAttribute="trailing" constant="7" id="18v-zU-dhH"/>
|
||||
<constraint firstAttribute="trailingMargin" secondItem="orc-TQ-XPZ" secondAttribute="trailing" constant="7" id="5Qr-sZ-9pW"/>
|
||||
<constraint firstItem="7im-eW-NEo" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="40.5" id="5b3-pN-5OJ"/>
|
||||
<constraint firstItem="5oC-yE-nwL" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="9" id="AYU-Ab-vo0"/>
|
||||
<constraint firstItem="Tfh-of-Xyt" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="FVF-Td-5gp"/>
|
||||
<constraint firstItem="wcQ-Vd-0bp" firstAttribute="top" secondItem="Tfh-of-Xyt" secondAttribute="bottom" constant="30" id="Fq0-fL-Xmv"/>
|
||||
<constraint firstItem="Grn-c6-jex" firstAttribute="top" secondItem="7im-eW-NEo" secondAttribute="bottom" constant="40" id="Ig8-N8-Q2U"/>
|
||||
<constraint firstItem="7im-eW-NEo" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="RmC-fN-jNX"/>
|
||||
<constraint firstItem="orc-TQ-XPZ" firstAttribute="leading" secondItem="wcQ-Vd-0bp" secondAttribute="trailing" constant="10" id="T1a-5b-4lR"/>
|
||||
<constraint firstItem="orc-TQ-XPZ" firstAttribute="top" secondItem="Tfh-of-Xyt" secondAttribute="bottom" constant="30" id="bEB-hz-l7U"/>
|
||||
<constraint firstItem="wcQ-Vd-0bp" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="8" id="hKp-i0-clx"/>
|
||||
<constraint firstItem="Tfh-of-Xyt" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" constant="36" id="r4P-uQ-G5I"/>
|
||||
<constraint firstItem="7im-eW-NEo" firstAttribute="top" secondItem="wcQ-Vd-0bp" secondAttribute="bottom" constant="57" id="t0A-4A-Pq4"/>
|
||||
<constraint firstAttribute="trailingMargin" secondItem="7im-eW-NEo" secondAttribute="trailing" constant="40.5" id="uvx-jO-4PW"/>
|
||||
<constraint firstItem="5oC-yE-nwL" firstAttribute="top" secondItem="7im-eW-NEo" secondAttribute="bottom" constant="40" id="x5P-OW-169"/>
|
||||
<constraint firstItem="7im-eW-NEo" firstAttribute="top" secondItem="orc-TQ-XPZ" secondAttribute="bottom" constant="57" id="yOH-Qg-tGA"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<connections>
|
||||
<outlet property="iDback" destination="orc-TQ-XPZ" id="Ttj-P0-LLH"/>
|
||||
<outlet property="iDsurface" destination="wcQ-Vd-0bp" id="7fj-eP-7Kx"/>
|
||||
<outlet property="shopCer" destination="7im-eW-NEo" id="AH3-Ki-erf"/>
|
||||
<outlet property="subBtn" destination="Grn-c6-jex" id="bwT-pr-Inw"/>
|
||||
<outlet property="supStepBtn" destination="5oC-yE-nwL" id="CUz-dw-UxH"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="23.5" y="52"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="attestation_back.png" width="166" height="100"/>
|
||||
<image name="attestation_laststep_button.png" width="139" height="44"/>
|
||||
<image name="attestation_license.png" width="223" height="134"/>
|
||||
<image name="attestation_next_button.png" width="139" height="44"/>
|
||||
<image name="attestation_positive.png" width="166" height="100"/>
|
||||
</resources>
|
||||
</document>
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// shopCerpart1LoactionCell.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/5.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface shopCerpart1LoactionCell : UITableViewCell
|
||||
@property (weak, nonatomic) IBOutlet UIButton *picCityBtn;
|
||||
|
||||
|
||||
@end
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// shopCerpart1LoactionCell.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by imac on 2017/5/5.
|
||||
// Copyright © 2017年 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "shopCerpart1LoactionCell.h"
|
||||
|
||||
@implementation shopCerpart1LoactionCell
|
||||
|
||||
- (void)awakeFromNib {
|
||||
[super awakeFromNib];
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
||||
[super setSelected:selected animated:animated];
|
||||
|
||||
// Configure the view for the selected state
|
||||
}
|
||||
|
||||
@end
|
||||
+78
@@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16E195" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
|
||||
<device id="retina4_7" orientation="portrait">
|
||||
<adaptation id="fullscreen"/>
|
||||
</device>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
|
||||
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="shopCerpart1LoactionCell" id="KGk-i7-Jjw" customClass="shopCerpart1LoactionCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
|
||||
<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="oBH-db-gym">
|
||||
<rect key="frame" x="15" y="11.5" width="59" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="59" id="9DW-Gf-JaJ"/>
|
||||
<constraint firstAttribute="height" constant="21" id="jGC-NA-hp9"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="13"/>
|
||||
<color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="kankan_rowindicator.png" translatesAutoresizingMaskIntoConstraints="NO" id="gW1-oF-x2O">
|
||||
<rect key="frame" x="293" y="16" width="6" height="12"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="6" id="XEg-zd-Wed"/>
|
||||
<constraint firstAttribute="height" constant="12" id="tp8-9d-dKj"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="fAn-40-Jlf">
|
||||
<rect key="frame" x="0.0" y="43" width="320" height="1"/>
|
||||
<color key="backgroundColor" red="0.93725490196078431" green="0.93725490196078431" blue="0.93725490196078431" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="1" id="rOE-k6-0Tn"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="right" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8hQ-XT-vOz">
|
||||
<rect key="frame" x="94" y="-0.5" width="191" height="44"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="44" id="tvw-gO-oUy"/>
|
||||
<constraint firstAttribute="width" constant="191" id="zj6-bn-9Xw"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<state key="normal" title="省市区">
|
||||
<color key="titleColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
|
||||
</state>
|
||||
</button>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstAttribute="trailingMargin" secondItem="8hQ-XT-vOz" secondAttribute="trailing" constant="27" id="4Pu-Xx-YY7"/>
|
||||
<constraint firstAttribute="trailingMargin" secondItem="gW1-oF-x2O" secondAttribute="trailing" constant="13" id="8OY-dP-Nz6"/>
|
||||
<constraint firstItem="gW1-oF-x2O" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="Rx7-HJ-Itj"/>
|
||||
<constraint firstAttribute="bottom" secondItem="fAn-40-Jlf" secondAttribute="bottom" id="S3P-Hn-A9i"/>
|
||||
<constraint firstItem="oBH-db-gym" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" constant="7" id="W5u-GT-t9u"/>
|
||||
<constraint firstAttribute="trailing" secondItem="fAn-40-Jlf" secondAttribute="trailing" id="XpM-d7-oZa"/>
|
||||
<constraint firstItem="fAn-40-Jlf" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="hLf-Lp-Ncr"/>
|
||||
<constraint firstItem="oBH-db-gym" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="wea-C8-zfj"/>
|
||||
<constraint firstItem="8hQ-XT-vOz" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="yvf-mr-tAZ"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<connections>
|
||||
<outlet property="picCityBtn" destination="8hQ-XT-vOz" id="6yN-xf-gnT"/>
|
||||
</connections>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="kankan_rowindicator.png" width="18" height="36"/>
|
||||
</resources>
|
||||
</document>
|
||||
Reference in New Issue
Block a user