//
|
// JoinMemberIntroduceVC.swift
|
// WanPai
|
//
|
// Created by 杨锴 on 2023/6/8.
|
//
|
|
import UIKit
|
import QMUIKit
|
|
class JoinMemberIntroduceVC: BaseVC {
|
@IBOutlet weak var btn_join: QMUIButton!
|
|
override func viewDidLoad() {
|
super.viewDidLoad()
|
title = "成为会员"
|
|
}
|
|
override func setUI() {
|
btn_join.spacingBetweenImageAndTitle = 3
|
btn_join.imagePosition = .left
|
}
|
|
|
@IBAction func joinAction(_ sender: QMUIButton) {
|
PaymentView.show { status in
|
let paymentState:PaymentResultVC.PaymentResult = status ? .success:.fail
|
let vc = PaymentResultVC(result: paymentState, objType: .member)
|
vc.modalPresentationStyle = .fullScreen
|
self.present(vc, animated: true)
|
|
}
|
}
|
}
|