Quellcode durchsuchen

1.分享页面完成80%

huangxiaodong vor 1 Jahr
Ursprung
Commit
bd3e0b617d

+ 24 - 0
创维盒子/双子星云手机.xcodeproj/project.pbxproj

@@ -325,6 +325,14 @@
 		6B9354A12BF37D2D00AA8D31 /* previewAudioOrDocumentViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B93549E2BF37D2D00AA8D31 /* previewAudioOrDocumentViewController.h */; };
 		6B9354A22BF37D2D00AA8D31 /* previewAudioOrDocumentViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B93549E2BF37D2D00AA8D31 /* previewAudioOrDocumentViewController.h */; };
 		6B9354A32BF37D2D00AA8D31 /* previewAudioOrDocumentViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B93549F2BF37D2D00AA8D31 /* previewAudioOrDocumentViewController.m */; };
+		6B9354A62BF3848D00AA8D31 /* shareRecordViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B9354A52BF3848D00AA8D31 /* shareRecordViewController.m */; };
+		6B9354A72BF3848D00AA8D31 /* shareRecordViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B9354A42BF3848D00AA8D31 /* shareRecordViewController.h */; };
+		6B9354A82BF3848D00AA8D31 /* shareRecordViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B9354A42BF3848D00AA8D31 /* shareRecordViewController.h */; };
+		6B9354A92BF3848D00AA8D31 /* shareRecordViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B9354A52BF3848D00AA8D31 /* shareRecordViewController.m */; };
+		6B9354AC2BF3879200AA8D31 /* shareRecordTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B9354AB2BF3879200AA8D31 /* shareRecordTableViewCell.m */; };
+		6B9354AD2BF3879200AA8D31 /* shareRecordTableViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B9354AA2BF3879200AA8D31 /* shareRecordTableViewCell.h */; };
+		6B9354AE2BF3879200AA8D31 /* shareRecordTableViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B9354AA2BF3879200AA8D31 /* shareRecordTableViewCell.h */; };
+		6B9354AF2BF3879200AA8D31 /* shareRecordTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B9354AB2BF3879200AA8D31 /* shareRecordTableViewCell.m */; };
 		6B97143F2BCD00CA00CE0096 /* ComontAlretType2ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B97143E2BCD00C900CE0096 /* ComontAlretType2ViewController.m */; };
 		6B9714402BCD00CA00CE0096 /* ComontAlretType2ViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B97143D2BCD00C900CE0096 /* ComontAlretType2ViewController.h */; };
 		6B9714412BCD00CA00CE0096 /* ComontAlretType2ViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B97143D2BCD00C900CE0096 /* ComontAlretType2ViewController.h */; };
@@ -1189,6 +1197,10 @@
 		6B9354992BF369D000AA8D31 /* previewToUploadFileView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = previewToUploadFileView.m; sourceTree = "<group>"; };
 		6B93549E2BF37D2D00AA8D31 /* previewAudioOrDocumentViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = previewAudioOrDocumentViewController.h; sourceTree = "<group>"; };
 		6B93549F2BF37D2D00AA8D31 /* previewAudioOrDocumentViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = previewAudioOrDocumentViewController.m; sourceTree = "<group>"; };
+		6B9354A42BF3848D00AA8D31 /* shareRecordViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = shareRecordViewController.h; sourceTree = "<group>"; };
+		6B9354A52BF3848D00AA8D31 /* shareRecordViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = shareRecordViewController.m; sourceTree = "<group>"; };
+		6B9354AA2BF3879200AA8D31 /* shareRecordTableViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = shareRecordTableViewCell.h; sourceTree = "<group>"; };
+		6B9354AB2BF3879200AA8D31 /* shareRecordTableViewCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = shareRecordTableViewCell.m; sourceTree = "<group>"; };
 		6B97143D2BCD00C900CE0096 /* ComontAlretType2ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ComontAlretType2ViewController.h; sourceTree = "<group>"; };
 		6B97143E2BCD00C900CE0096 /* ComontAlretType2ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ComontAlretType2ViewController.m; sourceTree = "<group>"; };
 		6BA533362B16E65500D1CB5C /* TvStatusModel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TvStatusModel.h; sourceTree = "<group>"; };
@@ -1955,6 +1967,8 @@
 				6B34DC4C2BF1BA11002DD1EF /* previewImageOrVideoViewController.m */,
 				6B93549E2BF37D2D00AA8D31 /* previewAudioOrDocumentViewController.h */,
 				6B93549F2BF37D2D00AA8D31 /* previewAudioOrDocumentViewController.m */,
+				6B9354A42BF3848D00AA8D31 /* shareRecordViewController.h */,
+				6B9354A52BF3848D00AA8D31 /* shareRecordViewController.m */,
 			);
 			path = previewFile;
 			sourceTree = "<group>";
@@ -1974,6 +1988,8 @@
 				6B9354932BF33F2700AA8D31 /* editShareView.m */,
 				6B9354982BF369D000AA8D31 /* previewToUploadFileView.h */,
 				6B9354992BF369D000AA8D31 /* previewToUploadFileView.m */,
+				6B9354AA2BF3879200AA8D31 /* shareRecordTableViewCell.h */,
+				6B9354AB2BF3879200AA8D31 /* shareRecordTableViewCell.m */,
 			);
 			path = view;
 			sourceTree = "<group>";
@@ -2546,6 +2562,7 @@
 				6B8661DD2BBA578600B19846 /* HaveNoticeView.h in Headers */,
 				6B5D403F2B4CE40F000965CF /* downloadManager.h in Headers */,
 				6B5D40372B4BEEF8000965CF /* downloadThumbnailManager.h in Headers */,
+				6B9354AD2BF3879200AA8D31 /* shareRecordTableViewCell.h in Headers */,
 				6B0582802B01C67400D37290 /* uploadFileRecordViewController.h in Headers */,
 				6BEA31752BB65606005167AA /* clearCacheAlretViewController.h in Headers */,
 				6B467BB32BC7E4360039A6A6 /* addLogObject.h in Headers */,
@@ -2639,6 +2656,7 @@
 				6B5B60722B3D8098009A2AE2 /* fileTransferPathCheckTableViewCell.h in Headers */,
 				6B3A4B152B6F69A500F74679 /* cloudPhoneCommonModel.h in Headers */,
 				6B05819F2AFCF4E800D37290 /* AJPhotoListView.h in Headers */,
+				6B9354A72BF3848D00AA8D31 /* shareRecordViewController.h in Headers */,
 				18963B462AB84398006E7C50 /* GuideView.h in Headers */,
 				6B1FBD322B455DBD00926382 /* PlayerViewController+upLoadFile.h in Headers */,
 				6B72725B2B0E22D000C03F87 /* uploadFileRecordBgScorllView.h in Headers */,
@@ -2684,6 +2702,7 @@
 				6B8661DE2BBA578600B19846 /* HaveNoticeView.h in Headers */,
 				6BD506A62B9576A4006E7CB0 /* downloadManager.h in Headers */,
 				6BD506A72B9576A4006E7CB0 /* downloadThumbnailManager.h in Headers */,
+				6B9354AE2BF3879200AA8D31 /* shareRecordTableViewCell.h in Headers */,
 				6BD506A82B9576A4006E7CB0 /* uploadFileRecordViewController.h in Headers */,
 				6BEA31782BB65606005167AA /* clearCacheAlretViewController.h in Headers */,
 				6B467BB52BC7E4360039A6A6 /* addLogObject.h in Headers */,
@@ -2777,6 +2796,7 @@
 				6BD506F82B9576A4006E7CB0 /* fileTransferPathCheckTableViewCell.h in Headers */,
 				6BD506F92B9576A4006E7CB0 /* cloudPhoneCommonModel.h in Headers */,
 				6BD506FA2B9576A4006E7CB0 /* AJPhotoListView.h in Headers */,
+				6B9354A82BF3848D00AA8D31 /* shareRecordViewController.h in Headers */,
 				6BD506FB2B9576A4006E7CB0 /* GuideView.h in Headers */,
 				6BD506FC2B9576A4006E7CB0 /* PlayerViewController+upLoadFile.h in Headers */,
 				6BD506FD2B9576A4006E7CB0 /* uploadFileRecordBgScorllView.h in Headers */,
@@ -3195,6 +3215,7 @@
 				6BD507222B9576A4006E7CB0 /* AuthCodeTextField.m in Sources */,
 				6BD507232B9576A4006E7CB0 /* ShearDeviceUDPManager.m in Sources */,
 				6BD507242B9576A4006E7CB0 /* filePathCreatPopView.m in Sources */,
+				6B9354AF2BF3879200AA8D31 /* shareRecordTableViewCell.m in Sources */,
 				6BD507252B9576A4006E7CB0 /* inputPWDViewController.m in Sources */,
 				6BD507262B9576A4006E7CB0 /* UIColor+Colors.m in Sources */,
 				6BD507272B9576A4006E7CB0 /* AJPhotoListView.m in Sources */,
@@ -3332,6 +3353,7 @@
 				6B34DC4F2BF1BA11002DD1EF /* previewImageOrVideoViewController.m in Sources */,
 				6BD507A32B9576A4006E7CB0 /* HWFolderModel.m in Sources */,
 				6BD507A42B9576A4006E7CB0 /* fileTransferPathCheckViewController.m in Sources */,
+				6B9354A92BF3848D00AA8D31 /* shareRecordViewController.m in Sources */,
 				6BD507A52B9576A4006E7CB0 /* RCCommandHelp.m in Sources */,
 				6BD507A62B9576A4006E7CB0 /* HWBookmarkModel.m in Sources */,
 				6BD507A72B9576A4006E7CB0 /* NSCache+BGCache.m in Sources */,
@@ -3418,6 +3440,7 @@
 				6BFF26922AF9D88200FCB4F7 /* AuthCodeTextField.m in Sources */,
 				18664FF52AC2B3A4008F8A61 /* ShearDeviceUDPManager.m in Sources */,
 				6B5B60772B3E665E009A2AE2 /* filePathCreatPopView.m in Sources */,
+				6B9354AC2BF3879200AA8D31 /* shareRecordTableViewCell.m in Sources */,
 				6BF52CA22AD7C2F600A617DB /* inputPWDViewController.m in Sources */,
 				A003F6B627D841EE00715CBF /* UIColor+Colors.m in Sources */,
 				6B05819E2AFCF4E800D37290 /* AJPhotoListView.m in Sources */,
@@ -3555,6 +3578,7 @@
 				6B34DC4D2BF1BA11002DD1EF /* previewImageOrVideoViewController.m in Sources */,
 				A00221E427EB256D00E45F78 /* HWFolderModel.m in Sources */,
 				6B5B606F2B3D7E3B009A2AE2 /* fileTransferPathCheckViewController.m in Sources */,
+				6B9354A62BF3848D00AA8D31 /* shareRecordViewController.m in Sources */,
 				183AE6B02A8C9EAB00B11CB0 /* RCCommandHelp.m in Sources */,
 				A00221E727EB25B000E45F78 /* HWBookmarkModel.m in Sources */,
 				A08A94FC27E9A4E400C544BB /* NSCache+BGCache.m in Sources */,

+ 22 - 0
创维盒子/双子星云手机/Assets.xcassets/Set/fileSet/share_lock_icon.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "share_lock_icon@2x.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "share_lock_icon@3x.png",
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
创维盒子/双子星云手机/Assets.xcassets/Set/fileSet/share_lock_icon.imageset/share_lock_icon@2x.png


BIN
创维盒子/双子星云手机/Assets.xcassets/Set/fileSet/share_lock_icon.imageset/share_lock_icon@3x.png


+ 6 - 0
创维盒子/双子星云手机/Class/Set/MySetViewController.m

@@ -39,6 +39,7 @@
 
 #import "previewImageOrVideoViewController.h"
 #import "previewAudioOrDocumentViewController.h"
+#import "shareRecordViewController.h"
 
 @interface MySetViewController ()<HelpDownScrollViewDelegate,UITableViewDelegate,UITableViewDataSource,ComontAlretViewControllerDelegate>
 {
@@ -192,6 +193,11 @@
             [self.navigationController pushViewController:vc animated:YES];
         }
             break;
+        case 104:{
+            shareRecordViewController *vc = [shareRecordViewController new];
+            [self.navigationController pushViewController:vc animated:YES];
+        }
+            break;
             
         case 1:
         {

+ 16 - 0
创维盒子/双子星云手机/Class/Set/previewFile/shareRecordViewController.h

@@ -0,0 +1,16 @@
+//
+//  shareRecordViewController.h
+//  双子星云手机
+//
+//  Created by xd h on 2024/5/14.
+//
+
+#import "BaseViewController.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface shareRecordViewController : BaseViewController
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 139 - 0
创维盒子/双子星云手机/Class/Set/previewFile/shareRecordViewController.m

@@ -0,0 +1,139 @@
+//
+//  shareRecordViewController.m
+//  双子星云手机
+//
+//  Created by xd h on 2024/5/14.
+//
+
+#import "shareRecordViewController.h"
+#import "shareRecordTableViewCell.h"
+
+@interface shareRecordViewController ()<UITableViewDelegate,UITableViewDataSource,DZNEmptyDataSetSource, DZNEmptyDataSetDelegate>
+{
+}
+
+@property (nonatomic, strong) UITableView *tableView;
+
+@end
+
+@implementation shareRecordViewController
+
+- (void)viewDidLoad {
+    [super viewDidLoad];
+    // Do any additional setup after loading the view.
+    
+    [self.toolBar setHidden:YES];
+    [self.navigationBar setHidden:YES];
+    [self.navBarBGView setHidden:NO];
+    self.navBarBGView.backgroundColor = [UIColor whiteColor];
+    [self.view setBackgroundColor:[UIColor hwColor:@"#F5F7FA"]];
+    self.titleLabel.text = NSLocalizedString(@"my_set_no_share",nil);
+    
+    [self drawAnyView];
+}
+
+- (void)drawAnyView{
+        
+    [self.view addSubview:self.tableView];
+    [self.tableView mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.left.mas_equalTo(0);
+        make.right.mas_equalTo(0);
+        make.bottom.mas_equalTo(-(60 + safeArea));
+        make.top.equalTo(self.navBarBGView.mas_bottom).offset(10.f);
+    }];
+}
+
+#pragma mark - 懒加载
+- (UITableView *)tableView{
+    if (!_tableView) {
+        _tableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_W, SCREEN_H - TABBARHEIGHT) style:UITableViewStylePlain];
+        _tableView.delegate = self;
+        _tableView.dataSource = self;
+        _tableView.showsVerticalScrollIndicator = NO;
+        _tableView.showsHorizontalScrollIndicator = NO;
+//        _tableView.contentInset = UIEdgeInsetsMake(-H_STATE_BAR, 0, 0, 0);
+        [_tableView setSeparatorStyle:(UITableViewCellSeparatorStyleNone)];
+        [_tableView setSeparatorColor:[UIColor clearColor]];
+        [_tableView setBackgroundColor:[UIColor clearColor]];
+        [_tableView setTableFooterView:[UIView new]];
+        [_tableView setBounces:YES];
+        
+        if (@available(iOS 15.0, *)) {
+            _tableView.sectionHeaderTopPadding = 0;
+        }
+        
+        //空数据引入第三方开源处理
+        _tableView.emptyDataSetSource = self;
+        _tableView.emptyDataSetDelegate = self;
+    }
+    
+    return _tableView;
+}
+
+#pragma mark - 列表委托
+- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
+    return 1;
+}
+
+- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
+    return 2;
+}
+
+- (shareRecordTableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
+    
+    __block NSInteger row = indexPath.row;
+    static NSString *identifier = @"shareRecordTableViewCell";
+    
+    shareRecordTableViewCell * cell =  [tableView dequeueReusableCellWithIdentifier:identifier];
+    cell.selectionStyle = UITableViewCellSelectionStyleNone;
+    if (!cell){
+        cell = [[shareRecordTableViewCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:identifier];
+        [cell setSelectionStyle:UITableViewCellSelectionStyleNone];
+        [cell setBackgroundColor:[UIColor clearColor]];
+        [cell setAccessoryType:(UITableViewCellAccessoryNone)];
+        
+        
+    }
+    
+//    if(row < _curCouldPhoneFileListMod.data.list.count){
+//        couldPhoneFileModel* fileModel = _curCouldPhoneFileListMod.data.list[row];
+//        cell.curFileModel = fileModel;
+//        
+//        KWeakSelf
+//        cell.didClickSwitch = ^(BOOL SwitchOn) {
+//            if([weakSelf userCheckFileModel:fileModel withShowTip:YES]){
+//                [weakSelf userCheckFilePreviewByRow:row];
+//            }
+//        };
+//    }
+    return cell;
+}
+
+- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
+    return 70;
+}
+
+#pragma mark 空数据
+- (UIImage *)imageForEmptyDataSet:(UIScrollView *)scrollView {
+    
+    NSString *imageName = @"uploadFile_noData";
+    
+    return [UIImage imageNamed:imageName];
+}
+
+- (NSAttributedString *)titleForEmptyDataSet:(UIScrollView *)scrollView {
+    NSString *text = NSLocalizedString(@"File_download_file_no_data",nil);
+    
+    NSDictionary *attributes = @{NSFontAttributeName: [UIFont systemFontOfSize:16.0f],
+                                 NSForegroundColorAttributeName: HW999999Color};
+    
+    return [[NSAttributedString alloc] initWithString:text attributes:attributes];
+}
+
+//调整图片位置
+- (CGFloat)verticalOffsetForEmptyDataSet:(UIScrollView *)scrollView {
+    return -150;
+}
+
+
+@end

+ 16 - 0
创维盒子/双子星云手机/Class/Set/previewFile/view/shareRecordTableViewCell.h

@@ -0,0 +1,16 @@
+//
+//  shareRecordTableViewCell.h
+//  双子星云手机
+//
+//  Created by xd h on 2024/5/14.
+//
+
+#import <UIKit/UIKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface shareRecordTableViewCell : UITableViewCell
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 123 - 0
创维盒子/双子星云手机/Class/Set/previewFile/view/shareRecordTableViewCell.m

@@ -0,0 +1,123 @@
+//
+//  shareRecordTableViewCell.m
+//  双子星云手机
+//
+//  Created by xd h on 2024/5/14.
+//
+
+#import "shareRecordTableViewCell.h"
+
+@interface shareRecordTableViewCell ()
+
+@property(nonatomic,strong)UIImageView *mImageView;
+@property(nonatomic,strong)UILabel *titleLabel;
+@property(nonatomic,strong)UILabel *titleLabel2;
+@property(nonatomic,strong)UIImageView *rightImage;
+@property(nonatomic,strong)UIImageView *lockImageView;
+@property(nonatomic,strong)UILabel *stateLabel;
+@end
+
+@implementation shareRecordTableViewCell
+
+- (void)awakeFromNib {
+    [super awakeFromNib];
+    // Initialization code
+}
+
+- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
+{
+    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
+    
+    if (self)
+    {
+        [self drawView];
+    }
+    
+    return self;
+}
+
+- (void)drawView
+{
+    
+    /*图片*/
+    _mImageView = [[UIImageView alloc] init];
+    [_mImageView setBackgroundColor:[UIColor clearColor]];
+    _mImageView.image = [UIImage imageNamed:@"uploadFile_file_icon"];
+    [self.contentView addSubview:_mImageView];
+    [_mImageView setContentMode:(UIViewContentModeScaleAspectFit)];
+    [_mImageView mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.left.mas_equalTo(15);
+        make.width.mas_equalTo(36);
+        make.height.mas_equalTo(36);
+        make.centerY.equalTo(self.mas_centerY);
+    }];
+    
+    /*右侧箭头*/
+    _rightImage = [[UIImageView alloc] init];
+    [_rightImage setBackgroundColor:[UIColor clearColor]];
+    [_rightImage setImage:[UIImage imageNamed:@"cell_right_access"]];
+    [self.contentView addSubview:_rightImage];
+    [_rightImage mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.width.mas_equalTo(28);
+        make.right.mas_equalTo(-15.f);
+        make.height.mas_equalTo(28);
+        make.centerY.equalTo(self.mas_centerY);
+    }];
+    
+    _stateLabel = [[UILabel alloc] init];
+    [self.contentView addSubview:_stateLabel];
+    _stateLabel.textAlignment = NSTextAlignmentRight;
+    _stateLabel.font = [UIFont systemFontOfSize:12.f];
+    [_stateLabel setTextColor:HW666666Color]; //#01B7EA
+    [_stateLabel mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.width.mas_equalTo(60);
+        make.right.equalTo(_rightImage.mas_left).offset(-5.f);
+        make.centerY.equalTo(self.mas_centerY);
+        //make.top.mas_equalTo(15.f);
+    }];
+    
+    _stateLabel.text = @"已失效";
+    
+    /**标题*/
+    _titleLabel = [[UILabel alloc] init];
+    [self.contentView addSubview:_titleLabel];
+    _titleLabel.font = [UIFont boldSystemFontOfSize:14.f];
+    _titleLabel.numberOfLines = 1;
+    [_titleLabel setTextColor:HW0A132BColor];
+    [_titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.left.equalTo(_mImageView.mas_right).offset(5.f);
+        make.right.equalTo(_stateLabel.mas_left).offset(-5.f);
+        //make.centerY.equalTo(self.mas_centerY);
+        make.top.mas_equalTo(15.f);
+    }];
+    
+    _titleLabel.text = @"banner.png等多个文件";
+    
+    _lockImageView = [[UIImageView alloc] init];
+    [_lockImageView setImage:[UIImage imageNamed:@"share_lock_icon"]];
+    [self.contentView addSubview:_lockImageView];
+    [_lockImageView mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.width.mas_equalTo(16);
+        make.height.mas_equalTo(16);
+        make.left.equalTo(_titleLabel.mas_left);
+        make.top.equalTo(_titleLabel.mas_bottom).offset(5);
+    }];
+    
+    /**副标题*/
+    _titleLabel2 = [[UILabel alloc] init];
+    [self.contentView  addSubview:_titleLabel2];
+    _titleLabel2.font = [UIFont systemFontOfSize:12.f];
+    //[titleLabel2 setTextAlignment:(NSTextAlignmentRight)];
+    [_titleLabel2 setTextColor:HW666666Color];
+    [_titleLabel2 mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.right.equalTo(_titleLabel.mas_right);
+        make.left.equalTo(_lockImageView.mas_right);
+        make.centerY.equalTo(_lockImageView.mas_centerY);
+        make.height.mas_equalTo(16);
+    }];
+    
+    _titleLabel2.text = @"2024/04/25 19:45";
+    
+}
+
+@end