Commit 607e05f1 authored by Steven杜宇's avatar Steven杜宇

// UI

parent d819ff74
...@@ -45,7 +45,7 @@ class YHResignMaterialCell: UITableViewCell { ...@@ -45,7 +45,7 @@ class YHResignMaterialCell: UITableViewCell {
btn.setTitleColor(.brandMainColor, for: .normal) btn.setTitleColor(.brandMainColor, for: .normal)
btn.layer.cornerRadius = kCornerRadius3 btn.layer.cornerRadius = kCornerRadius3
btn.clipsToBounds = true btn.clipsToBounds = true
btn.backgroundColor = .brandMainColor8 btn.backgroundColor = .init(hex: 0x2F7EF6, alpha: 0.08)
btn.addTarget(self, action: #selector(didTemplateBtnClicked), for: .touchUpInside) btn.addTarget(self, action: #selector(didTemplateBtnClicked), for: .touchUpInside)
btn.YH_clickEdgeInsets = UIEdgeInsets(top: 20, left: 20, bottom: 20, right: 20) btn.YH_clickEdgeInsets = UIEdgeInsets(top: 20, left: 20, bottom: 20, right: 20)
return btn return btn
......
...@@ -207,7 +207,7 @@ extension YHResignTemplateSheetView: UITableViewDelegate, UITableViewDataSource ...@@ -207,7 +207,7 @@ extension YHResignTemplateSheetView: UITableViewDelegate, UITableViewDataSource
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: YHCertificateTemplateCell.cellReuseIdentifier, for: indexPath) as! YHCertificateTemplateCell let cell = tableView.dequeueReusableCell(withIdentifier: YHCertificateTemplateCell.cellReuseIdentifier, for: indexPath) as! YHCertificateTemplateCell
cell.update(bottomMargin: 20) cell.update(bottomMargin: 14)
if 0 <= indexPath.row && indexPath.row < templateArr.count { if 0 <= indexPath.row && indexPath.row < templateArr.count {
cell.templateModel = templateArr[indexPath.row] cell.templateModel = templateArr[indexPath.row]
} }
...@@ -243,7 +243,7 @@ extension YHResignTemplateSheetView: UITableViewDelegate, UITableViewDataSource ...@@ -243,7 +243,7 @@ extension YHResignTemplateSheetView: UITableViewDelegate, UITableViewDataSource
let view = UIView() let view = UIView()
if section == 0, let desc = templateInfo?.remark, !desc.isEmpty { if section == 0, let desc = templateInfo?.remark, !desc.isEmpty {
let label = UILabel() let label = UILabel()
label.textColor = UIColor.mainTextColor label.textColor = UIColor.mainTextColor(alpha: 0.7)
label.textAlignment = .left label.textAlignment = .left
label.font = UIFont.PFSC_R(ofSize:14) label.font = UIFont.PFSC_R(ofSize:14)
label.numberOfLines = 0 label.numberOfLines = 0
......
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