|
|
@@ -50,7 +50,7 @@ class KeyboardBaseView: UIView {
|
|
|
|
|
|
let label = UILabel()
|
|
|
label.text = "“允许”【从其他app粘贴】,不再弹出询问弹窗>"
|
|
|
- label.font = .systemFont(ofSize: 11)
|
|
|
+ label.font = .systemFont(ofSize: 13)
|
|
|
label.textColor = .hexStringColor(hexString: "#FFA616")
|
|
|
|
|
|
label.isUserInteractionEnabled = true
|
|
|
@@ -73,7 +73,7 @@ class KeyboardBaseView: UIView {
|
|
|
button.setBackgroundImage(UIImage(named: "keyboard_paste_btn_bg"), for: .normal)
|
|
|
button.setTitle("粘贴", for: .normal)
|
|
|
button.setTitleColor(.white, for: .normal)
|
|
|
- button.titleLabel?.font = .systemFont(ofSize: 12, weight: .medium)
|
|
|
+ button.titleLabel?.font = .systemFont(ofSize: 14, weight: .medium)
|
|
|
button.addTarget(self, action: #selector(pasteBtnAction), for: .touchUpInside)
|
|
|
return button
|
|
|
}()
|
|
|
@@ -84,7 +84,7 @@ class KeyboardBaseView: UIView {
|
|
|
button.setBackgroundImage(UIImage(named: "keyboard_normal_btn_bg"), for: .normal)
|
|
|
button.setTitle("删除", for: .normal)
|
|
|
button.setTitleColor(.hexStringColor(hexString: "#000000").withAlphaComponent(0.9), for: .normal)
|
|
|
- button.titleLabel?.font = .systemFont(ofSize: 12, weight: .medium)
|
|
|
+ button.titleLabel?.font = .systemFont(ofSize: 14, weight: .medium)
|
|
|
button.addTarget(self, action: #selector(deleteBtnAction), for: .touchUpInside)
|
|
|
|
|
|
// 添加长按手势
|
|
|
@@ -100,7 +100,7 @@ class KeyboardBaseView: UIView {
|
|
|
button.setBackgroundImage(UIImage(named: "keyboard_normal_btn_bg"), for: .normal)
|
|
|
button.setTitle("清空", for: .normal)
|
|
|
button.setTitleColor(.hexStringColor(hexString: "#000000").withAlphaComponent(0.9), for: .normal)
|
|
|
- button.titleLabel?.font = .systemFont(ofSize: 12, weight: .medium)
|
|
|
+ button.titleLabel?.font = .systemFont(ofSize: 14, weight: .medium)
|
|
|
button.addTarget(self, action: #selector(clearBtnAction), for: .touchUpInside)
|
|
|
return button
|
|
|
}()
|
|
|
@@ -111,7 +111,7 @@ class KeyboardBaseView: UIView {
|
|
|
button.setBackgroundImage(UIImage(named: "keyboard_normal_btn_bg"), for: .normal)
|
|
|
button.setTitle("发送", for: .normal)
|
|
|
button.setTitleColor(.hexStringColor(hexString: "#000000").withAlphaComponent(0.9), for: .normal)
|
|
|
- button.titleLabel?.font = .systemFont(ofSize: 12, weight: .medium)
|
|
|
+ button.titleLabel?.font = .systemFont(ofSize: 14, weight: .medium)
|
|
|
button.addTarget(self, action: #selector(sendBtnAction), for: .touchUpInside)
|
|
|
return button
|
|
|
}()
|
|
|
@@ -136,7 +136,7 @@ class KeyboardBaseView: UIView {
|
|
|
attr.append(copyAttr)
|
|
|
|
|
|
let titleText = NSMutableAttributedString(string: "复制对方的话自动粘贴")
|
|
|
- titleText.addAttributes([.font: UIFont.systemFont(ofSize: 14, weight: .medium), .foregroundColor: UIColor.hexStringColor(hexString: "#996DFF")], range: NSRange(location: 0, length: titleText.length))
|
|
|
+ titleText.addAttributes([.font: UIFont.systemFont(ofSize: 16, weight: .medium), .foregroundColor: UIColor.hexStringColor(hexString: "#996DFF")], range: NSRange(location: 0, length: titleText.length))
|
|
|
attr.append(titleText)
|
|
|
|
|
|
label.attributedText = attr
|
|
|
@@ -150,7 +150,7 @@ class KeyboardBaseView: UIView {
|
|
|
label.textAlignment = .center
|
|
|
label.text = ""
|
|
|
label.textColor = .hexStringColor(hexString: "#996DFF")
|
|
|
- label.font = .systemFont(ofSize: 14, weight: .medium)
|
|
|
+ label.font = .systemFont(ofSize: 16, weight: .medium)
|
|
|
return label
|
|
|
}()
|
|
|
|