Commit 909ba335 authored by pete谢兆麟's avatar pete谢兆麟

邀请有礼细节调整

parent 4e6df320
...@@ -54,6 +54,8 @@ class YHInvitationWithGiftsSecondTableViewCell: UITableViewCell { ...@@ -54,6 +54,8 @@ class YHInvitationWithGiftsSecondTableViewCell: UITableViewCell {
label.textAlignment = .center label.textAlignment = .center
label.layer.borderWidth = 1 label.layer.borderWidth = 1
label.layer.borderColor = UIColor(hex: 0xebf4fe).cgColor label.layer.borderColor = UIColor(hex: 0xebf4fe).cgColor
label.layer.cornerRadius = kCornerRadius3
label.layer.maskedCorners = [.layerMinXMaxYCorner,.layerMaxXMaxYCorner]
self.tableView.tableFooterView = label self.tableView.tableFooterView = label
} else { } else {
self.tableView.tableFooterView = UIView() self.tableView.tableFooterView = UIView()
...@@ -261,6 +263,8 @@ class YHInvitationWithGiftsSecondTableViewCell: UITableViewCell { ...@@ -261,6 +263,8 @@ class YHInvitationWithGiftsSecondTableViewCell: UITableViewCell {
peopleOneView = { peopleOneView = {
let view = YHInvitationPeopleItemView() let view = YHInvitationPeopleItemView()
view.titleLabel.text = "被邀请人" view.titleLabel.text = "被邀请人"
view.layer.cornerRadius = kCornerRadius3
view.layer.maskedCorners = [.layerMinXMinYCorner]
return view return view
}() }()
centerView.addSubview(peopleOneView) centerView.addSubview(peopleOneView)
...@@ -274,6 +278,8 @@ class YHInvitationWithGiftsSecondTableViewCell: UITableViewCell { ...@@ -274,6 +278,8 @@ class YHInvitationWithGiftsSecondTableViewCell: UITableViewCell {
peopleFiveView = { peopleFiveView = {
let view = YHInvitationPeopleItemView() let view = YHInvitationPeopleItemView()
view.titleLabel.text = "签约" view.titleLabel.text = "签约"
view.layer.cornerRadius = kCornerRadius3
view.layer.maskedCorners = [.layerMaxXMinYCorner]
return view return view
}() }()
centerView.addSubview(peopleFiveView) centerView.addSubview(peopleFiveView)
...@@ -358,6 +364,7 @@ class YHInvitationWithGiftsSecondTableViewCell: UITableViewCell { ...@@ -358,6 +364,7 @@ class YHInvitationWithGiftsSecondTableViewCell: UITableViewCell {
self.tableView.reloadData() self.tableView.reloadData()
} }
} }
} }
} }
......
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