From 7b02207537d35bfa1714bf8beafc921f717d100a Mon Sep 17 00:00:00 2001
From: 单军华
Date: Wed, 11 Jul 2018 10:47:42 +0800
Subject: [PATCH] 首次上传

---
 screendisplay/screendisplay/Classes/Main/LMJNewViewController.m |  107 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 107 insertions(+), 0 deletions(-)

diff --git a/screendisplay/screendisplay/Classes/Main/LMJNewViewController.m b/screendisplay/screendisplay/Classes/Main/LMJNewViewController.m
new file mode 100755
index 0000000..d509346
--- /dev/null
+++ b/screendisplay/screendisplay/Classes/Main/LMJNewViewController.m
@@ -0,0 +1,107 @@
+//  LMJNewViewController.m
+//  PLMMPRJK
+//  Created by windshan on 2017/4/6.
+//  Copyright �� 2017��� GoMePrjk. All rights reserved.
+
+
+#import "LMJNewViewController.h"
+
+@interface LMJNewViewController ()
+
+@end
+
+@implementation LMJNewViewController
+
+- (void)viewDidLoad {
+    [super viewDidLoad];
+
+    self.tableView.backgroundColor = [UIColor whiteColor];
+
+    if (@available(iOS 10.0, *)) {
+        [self.navigationController.tabBarItem setBadgeColor:[UIColor redColor]];
+    } else {
+        // Fallback on earlier versions
+    }
+
+    [self.navigationController.tabBarItem setBadgeValue:@"3"];
+
+    UIEdgeInsets edgeInsets = self.tableView.contentInset;
+    edgeInsets.bottom += self.tabBarController.tabBar.lmj_height;
+    self.tableView.contentInset = edgeInsets;
+//    LMJWordArrowItem *item0 = [LMJWordArrowItem itemWithTitle:@"������" subTitle: nil];
+//    item0.destVc = [LMJLoggerViewController class];
+
+  
+}
+
+
+
+#pragma mark ������BaseViewController������������
+
+- (UIColor *)lmjNavigationBackgroundColor:(LMJNavigationBar *)navigationBar
+{
+    return [UIColor whiteColor];
+}
+- (BOOL)lmjNavigationIsHideBottomLine:(LMJNavigationBar *)navigationBar
+{
+    return NO;
+}
+
+- (void)leftButtonEvent:(UIButton *)sender navigationBar:(LMJNavigationBar *)navigationBar
+{
+    NSLog(@"%s", __func__);
+}
+
+- (void)rightButtonEvent:(UIButton *)sender navigationBar:(LMJNavigationBar *)navigationBar
+{
+    NSLog(@"%s", __func__);
+}
+
+- (void)titleClickEvent:(UILabel *)sender navigationBar:(LMJNavigationBar *)navigationBar
+{
+    NSLog(@"%@", sender);
+}
+
+- (NSMutableAttributedString*)lmjNavigationBarTitle:(LMJNavigationBar *)navigationBar
+{
+    return [self changeTitle:@"������������������ View"];
+}
+
+
+- (UIImage *)lmjNavigationBarLeftButtonImage:(UIButton *)leftButton navigationBar:(LMJNavigationBar *)navigationBar
+{
+    [leftButton setTitle:@"������" forState: UIControlStateNormal];
+    [leftButton setTitleColor:[UIColor redColor] forState:UIControlStateNormal];
+    [leftButton setBackgroundColor:[UIColor lightGrayColor] forState:UIControlStateNormal];
+    
+    return nil;
+}
+
+
+- (UIImage *)lmjNavigationBarRightButtonImage:(UIButton *)rightButton navigationBar:(LMJNavigationBar *)navigationBar
+{
+    rightButton.backgroundColor = [UIColor redColor];
+    [rightButton setTitle:@"������" forState:UIControlStateNormal];
+    [rightButton setTitleColor:[UIColor greenColor] forState:UIControlStateNormal];
+    [rightButton setBackgroundColor:[UIColor lightGrayColor] forState:UIControlStateNormal];
+    
+    return nil;
+}
+
+
+
+#pragma mark ���������������
+
+-(NSMutableAttributedString *)changeTitle:(NSString *)curTitle
+{
+    NSMutableAttributedString *title = [[NSMutableAttributedString alloc] initWithString:curTitle ?: @""];
+    
+    [title addAttribute:NSForegroundColorAttributeName value:[UIColor blackColor] range:NSMakeRange(0, title.length)];
+    
+    [title addAttribute:NSFontAttributeName value:[UIFont boldSystemFontOfSize:16] range:NSMakeRange(0, title.length)];
+    
+    return title;
+}
+
+
+@end

--
Gitblit v1.8.0