//
|
// ActivityDetailVC.swift
|
// WanPai
|
//
|
// Created by 杨锴 on 2023/6/13.
|
//
|
|
import UIKit
|
|
class ActivityDetailVC: BaseVC {
|
private var id:Int!
|
|
|
required init(id:Int) {
|
super.init(nibName: nil, bundle: nil)
|
self.id = id
|
}
|
|
required init?(coder: NSCoder) {
|
fatalError("init(coder:) has not been implemented")
|
}
|
|
override func viewDidLoad() {
|
super.viewDidLoad()
|
title = "活动详情"
|
|
Services.queryCompetitionDetail(id: id).subscribe(onNext: {data in
|
|
}).disposed(by: disposeBag)
|
}
|
|
@IBAction func joinAction(_ sender: UIButton) {
|
let vc = ActivityDetailApplyVC()
|
push(vc: vc)
|
}
|
}
|