ShowBindVC.m 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //
  2. // ShowBindVC.m
  3. // jiaPei
  4. //
  5. // Created by EchoShacolee on 2018/2/8.
  6. // Copyright © 2018年 JCZ. All rights reserved.
  7. //
  8. #import "ShowBindVC.h"
  9. @interface ShowBindVC ()
  10. @property (weak, nonatomic) IBOutlet UIImageView *imgV;
  11. @property (weak, nonatomic) IBOutlet UILabel *lab;
  12. @end
  13. @implementation ShowBindVC
  14. - (void)viewDidLoad {
  15. [super viewDidLoad];
  16. self.view.backgroundColor = backGroundColor;
  17. [self configNavigationBar];
  18. NSArray *arr = @[@"bindCard",@"",@""];
  19. NSArray *titles = @[@"学员账号",@"QQ",@"微信"];
  20. self.imgV.image = [UIImage imageNamed:arr[_type]];
  21. _labNum = [_labNum substringWithRange:NSMakeRange(_labNum.length-4, 4)];
  22. self.lab.text = [NSString stringWithFormat:@"您已绑定尾号%@的%@",self.labNum,titles[_type]];
  23. }
  24. - (void)didReceiveMemoryWarning {
  25. [super didReceiveMemoryWarning];
  26. // Dispose of any resources that can be recreated.
  27. }
  28. /*
  29. #pragma mark - Navigation
  30. // In a storyboard-based application, you will often want to do a little preparation before navigation
  31. - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  32. // Get the new view controller using [segue destinationViewController].
  33. // Pass the selected object to the new view controller.
  34. }
  35. */
  36. @end