Commit 6bedd6f4 authored by pete谢兆麟's avatar pete谢兆麟

隐藏分享小程序

parent 4f0e5590
...@@ -73,11 +73,11 @@ private extension YHHomeWebViewBottomForSavePicView { ...@@ -73,11 +73,11 @@ private extension YHHomeWebViewBottomForSavePicView {
backgroundColor = .white backgroundColor = .white
saveButton = { saveButton = {
let button = UIButton(type: .custom) let button = UIButton(type: .custom)
button.backgroundColor = UIColor.contentBkgColor button.backgroundColor = UIColor.brandMainColor
button.titleLabel?.font = UIFont.PFSC_M(ofSize: 15) button.titleLabel?.font = UIFont.PFSC_M(ofSize: 15)
button.contentHorizontalAlignment = .center button.contentHorizontalAlignment = .center
button.setTitle("保存到相册", for: .normal) button.setTitle("保存到相册", for: .normal)
button.setTitleColor(UIColor.brandMainColor, for: .normal) button.setTitleColor(UIColor.white, for: .normal)
button.layer.cornerRadius = kCornerRadius3 button.layer.cornerRadius = kCornerRadius3
button.layer.borderWidth = 0.5 button.layer.borderWidth = 0.5
button.layer.borderColor = UIColor.brandMainColor.cgColor button.layer.borderColor = UIColor.brandMainColor.cgColor
......
...@@ -252,7 +252,7 @@ class YHDocumentToActionTableViewCell: UITableViewCell { ...@@ -252,7 +252,7 @@ class YHDocumentToActionTableViewCell: UITableViewCell {
fileImageView.image = UIImage(named: iconImgName) fileImageView.image = UIImage(named: iconImgName)
fileNameLabel.text = dataSource.writing_document.doc_sign.doc_type_name fileNameLabel.text = dataSource.writing_document.doc_sign.doc_type_name
if dataSource.writing_document.doc_sign.doc_type == 7 || dataSource.writing_document.doc_sign.doc_type == 8 { if dataSource.writing_document.doc_sign.doc_type == 7 || dataSource.writing_document.doc_sign.doc_type == 8 {
shareButton.isHidden = false // shareButton.isHidden = false
} }
} }
......
...@@ -264,7 +264,7 @@ class YHSignatureToActionTableViewCell: UITableViewCell { ...@@ -264,7 +264,7 @@ class YHSignatureToActionTableViewCell: UITableViewCell {
fileImageView.image = UIImage(named: iconImgName) fileImageView.image = UIImage(named: iconImgName)
fileNameLabel.text = dataSource.doc_type_name fileNameLabel.text = dataSource.doc_type_name
if dataSource.doc_type == 7 || dataSource.doc_type == 8 { if dataSource.doc_type == 7 || dataSource.doc_type == 8 {
shareButton.isHidden = false // shareButton.isHidden = false
} }
} }
......
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