// // JXCsHomeVc.h // shiku_im // // Created by 123 on 2020/4/28. // Copyright © 2020 Reese. All rights reserved. // #import #import "XMGTitleButton.h" typedef void(^shuaxinBtn)(UIButton *btn); @interface JXCsHomeVc : UIViewController /** 顶部的所有标签 */ @property (nonatomic, weak) UIView *titlesView; /** 底部的所有内容 */ @property (nonatomic, weak) UIScrollView *contentView; @property (nonatomic ,copy) NSString * name; @property (nonatomic ,copy) NSString * strURL; @property (nonatomic,copy) shuaxinBtn blcokBTb; @property (nonatomic,weak) UILabel *countTipL; @property (nonatomic,weak) XMGTitleButton *topButton; // 是否调用好友和群组列表接口 @property (nonatomic, assign) BOOL isLoadFriendAndGroup; @end /** UILabel *countTipL = [[UILabel alloc]init]; countTipL.font=[UIFont systemFontOfSize:11 weight:UIFontWeightMedium]; countTipL.textColor=[UIColor whiteColor]; countTipL.backgroundColor=[UIColor redColor]; countTipL.textAlignment=NSTextAlignmentCenter; countTipL.layer.cornerRadius=9; countTipL.layer.masksToBounds=YES; countTipL.hidden=YES; [button addSubview:countTipL]; self.countTipL=countTipL; countTipL.xmg_x=CGRectGetMaxX(button.titleLabel.frame)-5; countTipL.xmg_height = 18; countTipL.xmg_width = 18; countTipL.xmg_y = 5; if(AppStore == 1){ } else { _vcnum = (int)g_App.linkArray.count; } if (self.vcnum < 0 || self.vcnum >2) { self.vcnum = 0; }else{ for (int i = 0; i < self.vcnum; i++) { if (i == 0) { _linkName1 = g_App.linkArray[i][@"desc"]; _imgUrl1 = g_App.linkArray[i][@"imgUrl"]; if (_linkName1.length < 1) { _linkName1 = @"百度"; } if (_linkURL1.length < 1) { _linkURL1 = @"http://www.baidu.com"; } }else if (i == 1){ _linkName2 = g_App.linkArray[i][@"desc"]; _linkURL2 = g_App.linkArray[i][@"link"]; _imgUrl2 = g_App.linkArray[i][@"imgUrl"]; if (_linkName2.length < 1) { _linkName2 = @"百度"; } if (_linkURL2.length < 1) { _linkURL2 = @"http://www.baidu.com"; } } } } */