1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- //
- // TiXianAlertViewController.swift
- // xingchuangke
- //
- // Created by Virgil on 2019/4/21.
- // Copyright © 2019 Virgil. All rights reserved.
- //
- import UIKit
- class TiXianAlertViewController: BaseViewController {
- @IBOutlet weak var btnViewRecrod: UIButton!
- var machineTypeId: String = ""
- override func viewDidLoad() {
- super.viewDidLoad()
- self.title = "提示"
- initNavLeftBackButton()
- btnViewRecrod.setLayer(borderWidth: 1, color: 0xf7f7f9)
- btnViewRecrod.setCornerRadius(size: 4)
- }
- override func handleBack() {
- if !CommonUntils.reBackView(controller: self, aclass: MyWalletViewController.classForCoder()) {
- self.navigationController?.popToRootViewController(animated: true)
- }
- }
- //btnAddTarget(view: self.view, selector: #selector(self.btnMenuClick))
- @IBAction func btnMenuClick(_ sender: AnyObject) {
- switch (sender as! UIButton).tag {
- case 1001: // 查看提现记录
- let vc = TiXianRecordListViewController()
- vc.backType = 1
- vc.machineTypeId = machineTypeId
- toViewController(viewController: vc)
- break
- case 1002: //
- break
- case 1003: //
- break
- case 1004: //
- break
- case 1005: //
- break
- case 1006: //
- break
- default:
- break
- }
- }
- override func viewWillAppear(_ animated: Bool) {
- super.viewWillAppear(animated)
- }
- override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
- super.init(nibName: "TiXianAlertViewController", bundle: nil)
- }
- required init?(coder aDecoder: NSCoder) {
- fatalError("init(coder:) has not been implemented")
- }
- }
|