//
|
// PublishSellCarSuccessVC.swift
|
// OKProject
|
//
|
// Created by 无故事王国 on 2022/5/10.
|
// Copyright © 2022 yangwang. All rights reserved.
|
//
|
|
import UIKit
|
|
enum PublishType {
|
case rent
|
case sell
|
case jobDel
|
}
|
|
class PublishSellCarSuccessVC: YYViewController {
|
private var type:PublishType!
|
@IBOutlet weak var contentL: UILabel!
|
|
override func viewDidLoad() {
|
super.viewDidLoad()
|
|
if type == .sell{
|
navigationItem.title = "卖车信息发布"
|
}else if type == .rent{
|
navigationItem.title = "租车信息发布"
|
}else if type == .jobDel{
|
navigationItem.title = "招聘详情"
|
contentL.text = "数据已被删除!"
|
}
|
|
yy_popBlock = {[weak self] () in
|
guard let weakSelf = self else { return }
|
weakSelf.yy_popToRoot()
|
}
|
}
|
|
required init(type:PublishType) {
|
super.init(nibName: nil, bundle: nil)
|
self.type = type
|
}
|
|
required init?(coder: NSCoder) {
|
fatalError("init(coder:) has not been implemented")
|
}
|
}
|