| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 | 
							- //
 
- //  ASPayFailedViewController.m
 
- //  Asteria
 
- //
 
- //  Created by xingyu on 2024/5/16.
 
- //
 
- #import "ASPayFailedViewController.h"
 
- #import "ASPayFinishHeadView.h"
 
- @interface ASPayFailedViewController ()
 
- @property (nonatomic, strong) UIScrollView *scrollView;
 
- @end
 
- @implementation ASPayFailedViewController
 
- - (void)viewDidLoad {
 
-     [super viewDidLoad];
 
-     self.statusBgV.backgroundColor = Col_FFF;
 
-     self.customNavBar.backgroundColor = Col_FFF;
 
-     
 
-     _scrollView = [[UIScrollView alloc] init];
 
-     [self.view addSubview:_scrollView];
 
-     [_scrollView mas_makeConstraints:^(MASConstraintMaker *make) {
 
-         make.top.equalTo(self.customNavBar.mas_bottom);
 
-         make.leading.trailing.bottom.equalTo(self.view);
 
-     }];
 
-     
 
-     ASPayFinishHeadView *payFailedView = [[ASPayFinishHeadView alloc] initWithFrame:CGRectMake(0, 0, KScreenWidth, 100) status:0 desc:@""];
 
-     [self.scrollView addSubview:payFailedView];
 
-     K_WEAK_SELF;
 
-     payFailedView.clickBlock = ^(int type) {
 
-         K_STRONG_SELF;
 
-         if (type == 1) {
 
-             [self.navigationController popViewControllerAnimated:true];
 
-         } else if (type == 2) {
 
-             UIViewController *vc = [CTMediator.sharedInstance getWebViewVc:@{
 
-                 @"title":@"Faq",
 
-                 @"url":HelpFaqsWebUrl,
 
-             }];
 
-             [weakSelf.navigationController pushViewController:vc animated:true];
 
-         } else if (type == 3) {
 
-             UIViewController *vc = [CTMediator.sharedInstance getWebViewVc:@{
 
-                 @"title":@"Contact Us",
 
-                 @"url":ContactUsWebUrl,
 
-             }];
 
-             [weakSelf.navigationController pushViewController:vc animated:true];
 
-         }
 
-     };
 
-     
 
-     float viewHeight = [payFailedView getViewHeight];
 
-     payFailedView.frame = CGRectMake(0, 0, KScreenWidth, viewHeight);
 
-     
 
-     self.scrollView.contentSize = CGSizeMake(KScreenWidth, viewHeight);
 
-     
 
-     
 
- }
 
- @end
 
 
  |