123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- //
- // 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:@"ALOGO_1200"];
- [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",@"diyi",@"passes"];
- UIButton *btn=nil;
- for (int i=0; i<images.count; i++) {
- btn=[[UIButton alloc]init];
- [btn setImage:[UIImage imageNamed:images[i]] forState:UIControlStateNormal];
- [self.view addSubview:btn];
-
- [btn mas_makeConstraints:^(MASConstraintMaker *make) {
- make.width.mas_equalTo(btnW);
- make.top.mas_equalTo(guanF.mas_bottom).mas_offset(20);
- make.height.mas_equalTo(btnW+20);
- if (i == 0) {
- make.left.mas_equalTo(20);
- } else if(i == 1) {
- make.left.mas_equalTo(20 + 1*(btnW+36));
-
- } else {
- make.left.mas_equalTo(20 + 2*(btnW+36));
-
- }
- }];
- }
-
- UIButton *taizi=[[UIButton alloc]init];
- [taizi setBackgroundImage:[UIImage imageNamed:@"taizi"] forState:UIControlStateNormal];
- taizi.contentMode=UIViewContentModeScaleAspectFill;
- [self.view addSubview:taizi];
- [taizi mas_makeConstraints:^(MASConstraintMaker *make) {
- make.top.mas_equalTo(btn.mas_bottom).mas_offset(0);
- make.left.mas_equalTo(0);
- make.right.mas_equalTo(0);
- make.height.mas_equalTo(20);
- }];
-
- CGFloat btnW2=(JX_SCREEN_WIDTH-20)/3;
-
- NSArray *titles=@[@"英国曼岛博彩监督委员会",@"第一卡格扬格",@"菲律宾PARCOR"];
- //NSArray *titles=@[@"英国曼岛博彩监督委员会",@"第一卡格扬格",@"PAGCOR"];
- for (int i=0; i<titles.count; i++) {
- UIButton *btn=[[UIButton alloc]init];
- [btn setTitle:titles[i] forState:UIControlStateNormal];
- [btn setTitleColor:kRGBColor(51, 51, 51) forState:UIControlStateNormal];
- btn.titleLabel.font=[UIFont systemFontOfSize:9 weight:UIFontWeightRegular];
- [self.view addSubview:btn];
-
- [btn mas_makeConstraints:^(MASConstraintMaker *make) {
- make.width.mas_equalTo(btnW2);
- make.top.mas_equalTo(taizi.mas_bottom).mas_offset(1);
- if (i == 0) {
- make.left.mas_equalTo(0);
- } else if(i == 1) {
- make.left.mas_equalTo(10 + 1*(btnW2+0));
-
- } else {
- make.left.mas_equalTo(10 + 2*(btnW2+0));
-
- }
- }];
- }
-
-
- UILabel *titleL=[[UILabel alloc]init];
- titleL.text=@"让未来现在就来";
- titleL.textColor=kRGBColor(92, 14, 7);
- titleL.font=[UIFont systemFontOfSize:15 weight:UIFontWeightMedium];
- [self.view addSubview:titleL];
- [titleL mas_makeConstraints:^(MASConstraintMaker *make) {
- make.bottom.mas_equalTo(-60);
- make.centerX.mas_equalTo(0);
- }];
-
-
-
-
-
- }
- /*
- #pragma mark - Navigation
- // In a storyboard-based application, you will often want to do a little preparation before navigation
- - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
- // Get the new view controller using [segue destinationViewController].
- // Pass the selected object to the new view controller.
- }
- */
- @end
|