//
//  SLMomentDetailTableVc.m
//  SLAiELTS
//
//  Created by Gusont on 2023/4/13.
//

#import "SLMomentDetailTableVc.h"

@interface SLMomentDetailTableVc ()

@end

@implementation SLMomentDetailTableVc

- (void)viewDidLoad {
    [super viewDidLoad];
    UIImage *backImage =[UIImage imageNamed:@"icon_nav_back"];
    YMBarButtonItem *backBarButtonItem =[[YMBarButtonItem alloc]initWithImage:backImage style:YMBarButtonItemPlain target:self action:@selector(backBarButtonPressed:)];
    backBarButtonItem.imageInsets = UIEdgeInsetsMake(0, 5, 0, 0);
    backBarButtonItem.title = @"取消";
    self.navigationBar.leftBarButtonItem = backBarButtonItem;
    self.title = @"详情";
    [self.tableView mas_updateConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(kNavBarHeight);
    }];
    self.tableView.tableHeaderView.frame = CGRectZero;
    self.tableView.tableHeaderView = [[UIView alloc] init];
}

- (void)confignNavigationBar {
    
}

- (void)backBarButtonPressed:(id)pressed {
    [self.navigationController popViewControllerAnimated:YES];
}

- (void)creatModelsWithCount:(NSInteger)count {

}

- (void)scrollViewDidScroll:(UIScrollView *)scrollView {
    
}

#pragma mark - Table view data source

//- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
//#warning Incomplete implementation, return the number of sections
//    return 0;
//}
//
//- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
//#warning Incomplete implementation, return the number of rows
//    return 0;
//}

@end
