Commit f405fb1f authored by Steven杜宇's avatar Steven杜宇

// 添加温馨提示

parent 919c6ec9
...@@ -52,6 +52,15 @@ class YHResignAppointScheduleListViewController: YHBaseViewController { ...@@ -52,6 +52,15 @@ class YHResignAppointScheduleListViewController: YHBaseViewController {
return tableView return tableView
}() }()
lazy var tipsLabel = {
let label = UILabel()
label.numberOfLines = 0
label.font = UIFont.PFSC_R(ofSize: 12)
label.textColor = .mainTextColor
label.text = "温馨提示:根据入境处系统网站填写规则(最高每4人一组)。若此次您同批次赴港递交人数超过 4 人,系统会自动拆分显示,不影响您的办理,敬请放心~"
return label
}()
lazy var guideBtn: UIButton = { lazy var guideBtn: UIButton = {
let button = UIButton() let button = UIButton()
button.setTitle("在港递交指引", for: .normal) button.setTitle("在港递交指引", for: .normal)
...@@ -101,10 +110,18 @@ class YHResignAppointScheduleListViewController: YHBaseViewController { ...@@ -101,10 +110,18 @@ class YHResignAppointScheduleListViewController: YHBaseViewController {
self.view.backgroundColor = .init(hex: 0xF8F9FB) self.view.backgroundColor = .init(hex: 0xF8F9FB)
self.view.addSubview(tableView) self.view.addSubview(tableView)
self.view.addSubview(bottomView) self.view.addSubview(bottomView)
self.tableView.snp.makeConstraints { make in self.view.addSubview(tipsLabel)
self.tipsLabel.snp.makeConstraints { make in
make.left.equalTo(16) make.left.equalTo(16)
make.right.equalTo(-16) make.right.equalTo(-16)
make.top.equalTo(k_Height_NavigationtBarAndStatuBar+16) make.top.equalTo(k_Height_NavigationtBarAndStatuBar+16)
}
self.tableView.snp.makeConstraints { make in
make.left.equalTo(16)
make.right.equalTo(-16)
make.top.equalTo(tipsLabel.snp.bottom).offset(16)
make.bottom.equalTo(bottomView.snp.top) make.bottom.equalTo(bottomView.snp.top)
} }
self.bottomView.snp.makeConstraints { make in self.bottomView.snp.makeConstraints { make in
......
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