Commit 8443b04b authored by Steven杜宇's avatar Steven杜宇

// 高才

parent 9d376840
......@@ -381,6 +381,7 @@ extension YHMyFileListViewController : UITableViewDelegate, UITableViewDataSourc
func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? {
if section == items.count-1 {
let view = YHMyFileListFooterView(frame: .zero)
view.type = .qmas
return view
}
let view = UIView()
......
......@@ -8,7 +8,23 @@
import UIKit
enum YHFileListFooterType: Int {
case qmas = 0 // 优才
case ttps = 1 // 高才
}
class YHMyFileListFooterView: UIView {
var type: YHFileListFooterType = .qmas {
didSet {
if type == .qmas {
thanksLabel.text = "*感谢您对银河集团的信赖,以上信息均用于香港优才签证申请银河集团承诺对您所提供的信息将绝对保密"
} else if type == .ttps {
thanksLabel.text = "*感谢您对银河集团的信赖,以上信息均用于香港高才签证申请银河集团承诺对您所提供的信息将绝对保密"
}
}
}
lazy var whiteContentView:UIView = {
let view = UIView()
......
......@@ -382,6 +382,7 @@ extension YHGCMyFileListViewController : UITableViewDelegate, UITableViewDataSou
func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? {
if section == items.count-1 {
let view = YHMyFileListFooterView(frame: .zero)
view.type = .ttps
return view
}
let view = UIView()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment