- XJHomeWatchDataView 新增 heightChangeBlock,无数据/未登录高度 104,有数据高度 200 - XJHomePageV2HeardView 初始高度改为 104,绑定回调动态更新约束带动画 - BindWatchPopView 姓名工号同行布局,工号固定右侧优先显示,姓名占满剩余空间
46 lines
868 B
Objective-C
46 lines
868 B
Objective-C
//
|
|
// XJHomePageV2HeardView.h
|
|
// XinjiangProject
|
|
//
|
|
// Created by Apple on 2026/2/9.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import "XJHomeWatchModel.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@protocol homePageHeardDelegate <NSObject>
|
|
|
|
- (void)SDTitleItemClick;
|
|
|
|
- (void)heardTopToolsClick:(NSInteger)type;
|
|
|
|
- (void)heardImageClick:(NSInteger)imageIndex;
|
|
|
|
- (void)watchDetailClick;
|
|
|
|
@end
|
|
|
|
@interface XJHomePageV2HeardView : UIView
|
|
|
|
@property (nonatomic, strong) NSArray * dataArray;
|
|
|
|
@property (nonatomic, weak) id<homePageHeardDelegate> homeTopDelegate;
|
|
|
|
|
|
@property (nonatomic, strong) NSArray * bannerArray;
|
|
|
|
@property (nonatomic, strong) XJHomeWatchModel * model;
|
|
|
|
@property (nonatomic, strong) NSArray * watchArray;
|
|
|
|
@property (nonatomic, copy, nullable) void (^bindDeviceBlock)(NSString * watchNo);
|
|
|
|
@property (nonatomic, strong) NSString * totalponits;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|