Commit 0273fe03 authored by Steven杜宇's avatar Steven杜宇

// UI

parent d81a27e8
......@@ -291,6 +291,10 @@ class YHCertificateAppointViewController: YHBaseViewController {
} else { // 还有未预约人员
// 不显示底部按钮
self.bottomStatus = .hidden
if self.successList.count > 0 { // 有不分成功预约人员
// 底部按钮显示下一步去缴费
self.bottomStatus = .nextStepToPay
}
}
}
......
......@@ -86,6 +86,11 @@ class YHGrabNumberInfoItemView: UIView {
detailLabel.textColor = infoColor
}
detailLabel.snp.updateConstraints { make in
make.left.greaterThanOrEqualTo(titleLabel.snp.right).offset(item.isSingleLine ? -20 : 0)
}
dotView.isHidden = (item.type != .grab)
collectionView.isHidden = item.type != .files
collectionView.reloadData()
......
......@@ -68,7 +68,7 @@ class YHGrabingNumberListView: UIView {
view.titleLabel.text = "意向信息"
let items = [YHGrabItem(type: .info, title: "期望赴港时间:", detail: "", isSingleLine: true),
YHGrabItem(type: .info, title: "期望香港办证点:", detail: "", isSingleLine: false),
YHGrabItem(type: .files, title: "抢号反馈回执:", detail: ""),]
YHGrabItem(type: .files, title: "抢号反馈回执:", detail: "", isSingleLine: true),]
view.updateItems(items)
return view
}()
......
......@@ -41,8 +41,8 @@ class YHHaveGrabbedNumberInfoView: UIView {
lazy var grabInfoView: YHGrabNumberInfoView = {
let view = YHGrabNumberInfoView(frame: .zero)
view.titleLabel.text = "抢号信息"
let items = [YHGrabItem(type: .info, title: "赴港时间:", detail: ""),
YHGrabItem(type: .info, title: "香港办证点:", detail: ""),
let items = [YHGrabItem(type: .info, title: "赴港时间:", detail: "", isSingleLine: true),
YHGrabItem(type: .info, title: "香港办证点:", detail: "", isSingleLine: false),
YHGrabItem(type: .files, title: "抢号反馈回执:", detail: "", files: []),]
view.updateItems(items)
return view
......@@ -51,8 +51,8 @@ class YHHaveGrabbedNumberInfoView: UIView {
lazy var intentionInfoView: YHGrabNumberInfoView = {
let view = YHGrabNumberInfoView(frame: .zero)
view.titleLabel.text = "意向信息"
let items = [YHGrabItem(type: .info, title: "期望赴港时间:", detail: ""),
YHGrabItem(type: .info, title: "期望香港办证点:", detail: "")]
let items = [YHGrabItem(type: .info, title: "期望赴港时间:", detail: "", isSingleLine: true),
YHGrabItem(type: .info, title: "期望香港办证点:", detail: "", isSingleLine: false)]
view.updateItems(items)
return view
}()
......
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