//
|
// PublishGoodsViewController.m
|
// BuWanVideo2.0
|
//
|
// Created by apple on 17/1/4.
|
// Copyright © 2017年 com.yeshi.buwansheque.ios. All rights reserved.
|
//
|
|
#import "PublishGoodsViewController.h"
|
#import "ConfirmTheGoodsViewController.h"
|
|
@interface PublishGoodsViewController ()
|
|
@end
|
|
@implementation PublishGoodsViewController
|
|
- (void)viewDidLoad {
|
[super viewDidLoad];
|
//返回按钮
|
UIButton *backButton=[UIButton buttonWithType:UIButtonTypeRoundedRect];
|
backButton.frame=CGRectMake(0, 0, 50, 44);
|
[backButton setTitle:@"<返回" forState:UIControlStateNormal];
|
[backButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
|
backButton.titleLabel.font = [UIFont systemFontOfSize:17.0];
|
[backButton addTarget:self action:@selector(BackClick:) forControlEvents:UIControlEventTouchUpInside];
|
UIBarButtonItem *backBtnItem=[[UIBarButtonItem alloc] initWithCustomView:backButton];
|
self.navigationItem.leftBarButtonItem=backBtnItem;
|
|
//标题
|
UILabel *TLabel=[[UILabel alloc] initWithFrame:CGRectMake(0, 0, 50, 44)];
|
TLabel.text=@"发布";
|
TLabel.textColor=[UIColor whiteColor];
|
TLabel.font=[UIFont systemFontOfSize:18];
|
self.navigationItem.titleView=TLabel;
|
|
_image1H.constant=(KScreenW-60)/45*22;
|
_image2H.constant=(KScreenW-60)/45*24;
|
}
|
|
-(void)BackClick:(UIButton *)sender{
|
[self.navigationController popViewControllerAnimated:NO];
|
}
|
- (IBAction)GetProductInformation:(UIButton *)sender {
|
ConfirmTheGoodsViewController *ConfirmTheGoodsVC=[[ConfirmTheGoodsViewController alloc] init];
|
[self.navigationController pushViewController:ConfirmTheGoodsVC animated:YES];
|
}
|
|
- (void)didReceiveMemoryWarning {
|
[super didReceiveMemoryWarning];
|
// Dispose of any resources that can be recreated.
|
}
|
|
@end
|