|
@@ -25,7 +25,7 @@ open class TSSaveSuccessTool {
|
|
}()
|
|
}()
|
|
|
|
|
|
|
|
|
|
- private lazy var viewButton:UIView = {
|
|
|
|
|
|
+ private lazy var viewButton:UIButton = {
|
|
let color = "4FEA9D".uiColor
|
|
let color = "4FEA9D".uiColor
|
|
let viewButton = UIButton.createButton(title: "View".localized ,backgroundColor: color.withAlphaComponent(0.1),font: UIFont.font(size: 12),titleColor: color,corner: 14) { [weak self] in
|
|
let viewButton = UIButton.createButton(title: "View".localized ,backgroundColor: color.withAlphaComponent(0.1),font: UIFont.font(size: 12),titleColor: color,corner: 14) { [weak self] in
|
|
guard let self = self else { return }
|
|
guard let self = self else { return }
|
|
@@ -116,6 +116,15 @@ open class TSSaveSuccessTool {
|
|
make.centerX.equalToSuperview()
|
|
make.centerX.equalToSuperview()
|
|
make.top.equalTo(k_Nav_Height + 10)
|
|
make.top.equalTo(k_Nav_Height + 10)
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ self.viewButton.setTitle("View".localized, for: .normal)
|
|
|
|
+ self.viewButton.snp.remakeConstraints { make in
|
|
|
|
+ make.width.equalTo(self.viewButton.intrinsicContentSize.width)
|
|
|
|
+ make.height.equalTo(28)
|
|
|
|
+ make.trailing.equalTo(-8)
|
|
|
|
+ make.centerY.equalToSuperview()
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
DispatchQueue.main.asyncAfter(deadline: .now() + deadline) {
|
|
DispatchQueue.main.asyncAfter(deadline: .now() + deadline) {
|