12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- //
- // JXCsHomeVc.h
- // shiku_im
- //
- // Created by 123 on 2020/4/28.
- // Copyright © 2020 Reese. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #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";
- }
- }
- }
- }
-
- */
|