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

// 文件

parent ed5345a9
...@@ -50,7 +50,7 @@ class YHMyFileListCell: UITableViewCell { ...@@ -50,7 +50,7 @@ class YHMyFileListCell: UITableViewCell {
var isLastCell:Bool = false { var isLastCell:Bool = false {
didSet { didSet {
self.grayView.layer.cornerRadius = isLastCell ? 6.0 : 0.0 self.grayView.layer.cornerRadius = isLastCell ? 6.0 : 0.0
self.grayView.layer.borderWidth = isLastCell ? 1.0 : 0.0 self.grayView.layer.borderWidth = isLastCell ? 0.5 : 0.0
self.grayView.snp.updateConstraints { make in self.grayView.snp.updateConstraints { make in
make.top.equalToSuperview().offset(isLastCell ? -6.0 : 0.0) make.top.equalToSuperview().offset(isLastCell ? -6.0 : 0.0)
} }
......
...@@ -151,7 +151,7 @@ class YHMyFileListHeaderView: UIView { ...@@ -151,7 +151,7 @@ class YHMyFileListHeaderView: UIView {
lineView.snp.makeConstraints { make in lineView.snp.makeConstraints { make in
make.left.right.bottom.equalToSuperview() make.left.right.bottom.equalToSuperview()
make.height.equalTo(1) make.height.equalTo(0.5)
} }
self.grayView.snp.makeConstraints { make in self.grayView.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