// // JXAboutJiXinVc.m // shiku_im // // Created by 123 on 2020/5/23. // Copyright © 2020 Reese. All rights reserved. // #import "JXAboutJiXinVc.h" @interface JXAboutJiXinVc () @end @implementation JXAboutJiXinVc - (void)bacbtnClick{ [g_navigation dismissViewController:self animated:NO]; } - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. self.view.backgroundColor=kRGBColor246; [self defineNavBar:@"关于即信" andRinghtBtnImg:@""]; self.navigationItem.title=@"关于即信"; UIImageView *iconIMG=[[UIImageView alloc]init]; iconIMG.image=[UIImage imageNamed:@"BG111"]; [self.view addSubview:iconIMG]; [iconIMG mas_makeConstraints:^(MASConstraintMaker *make) { make.bottom.mas_equalTo(0); make.centerX.mas_equalTo(0); make.height.mas_equalTo(0); make.width.mas_equalTo(0); }]; UIImageView *iconV=[[UIImageView alloc]init]; iconV.image=[UIImage imageNamed:@"jixin"]; [self.view addSubview:iconV]; [iconV mas_makeConstraints:^(MASConstraintMaker *make) { make.top.mas_equalTo(JX_SCREEN_HEIGHT>812?100:80); make.centerX.mas_equalTo(0); }]; UILabel *banBen=[[UILabel alloc]init]; NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary]; NSString *app_Version = [infoDictionary objectForKey:@"CFBundleShortVersionString"]; banBen.text=[NSString stringWithFormat:@"版本号 %@", app_Version]; banBen.textColor=kRGBColor(153, 153, 153); banBen.font=[UIFont systemFontOfSize:15 weight:UIFontWeightMedium]; [self.view addSubview:banBen]; [banBen mas_makeConstraints:^(MASConstraintMaker *make) { make.top.mas_equalTo(iconV.mas_bottom).mas_offset(10); make.centerX.mas_equalTo(0); }]; UILabel *guanF=[[UILabel alloc]init]; guanF.text=@"官方认证"; guanF.textColor=kRGBColor(92, 14, 7); guanF.font=[UIFont systemFontOfSize:24 weight:UIFontWeightMedium]; [self.view addSubview:guanF]; [guanF mas_makeConstraints:^(MASConstraintMaker *make) { make.top.mas_equalTo(banBen.mas_bottom).mas_offset(50); make.centerX.mas_equalTo(0); }]; CGFloat btnW=(JX_SCREEN_WIDTH-114)/3; NSArray *images=@[@"yinguo",@"passes",@"diyi"]; UIButton *btn=nil; for (int i=0; i