ZJJJViewController.m 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // ZJJJViewController.m
  3. // jitao
  4. //
  5. // Created by 罗云飞 on 2018/8/17.
  6. // Copyright © 2018年 罗云飞. All rights reserved.
  7. //
  8. #import "ZJJJViewController.h"
  9. @interface ZJJJViewController ()
  10. @end
  11. @implementation ZJJJViewController
  12. - (void)viewDidLoad {
  13. [super viewDidLoad];
  14. self.view.backgroundColor = NewWhiteColor;
  15. UILabel *title = [UILabel new];
  16. title.font = NewFont(13);
  17. if (self.neirong == NULL) {
  18. title.text = @"暂无简介";
  19. }else{
  20. title.text = self.neirong;
  21. }
  22. title.textColor = [UIColor colorWithString:@"#6C6C6C"];
  23. [self.view addSubview:title];
  24. title.sd_layout
  25. .leftSpaceToView(self.view, 15)
  26. .rightSpaceToView(self.view, 15)
  27. .autoHeightRatio(0)
  28. .topSpaceToView(self.view, 15);
  29. // Do any additional setup after loading the view.
  30. }
  31. - (void)didReceiveMemoryWarning {
  32. [super didReceiveMemoryWarning];
  33. // Dispose of any resources that can be recreated.
  34. }
  35. /*
  36. #pragma mark - Navigation
  37. // In a storyboard-based application, you will often want to do a little preparation before navigation
  38. - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  39. // Get the new view controller using [segue destinationViewController].
  40. // Pass the selected object to the new view controller.
  41. }
  42. */
  43. @end