This commit is contained in:
启星
2025-10-25 19:38:29 +08:00
parent 3a5cf56099
commit 90709a94c4
144 changed files with 890 additions and 821 deletions

View File

@@ -10,6 +10,7 @@
@interface QXBaseViewController ()
@property (nonatomic,strong)UIImageView *bgImageView;
@property (nonatomic,strong)NSString *imageUrl;
@property (nonatomic,strong)UIButton*backBtn;
@end
@implementation QXBaseViewController
@@ -24,6 +25,10 @@
[self getData];
self.page = 1;
}
-(void)didReceiveMemoryWarning{
[super didReceiveMemoryWarning];
[[SDImageCache sharedImageCache] clearMemory];
}
- (void)initSubViews{
}
@@ -36,7 +41,9 @@
backBtn.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeading;
[backBtn addTarget:self action:@selector(backAction) forControlEvents:(UIControlEventTouchUpInside)];
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:backBtn];
self.backBtn = backBtn;
}
-(void)backAction{
if (self.navigationController.viewControllers.count > 1) {
[self.navigationController popViewControllerAnimated:YES];