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

活动

parent ac23ec00
......@@ -111,7 +111,7 @@ class YHApplyActivityAlert: UIView {
button.addTarget(self, action: #selector(clickSubmitBtn), for: .touchUpInside)
button.layer.cornerRadius = kCornerRadius3
button.clipsToBounds = true
button.backgroundColor = .brandMainColor
button.backgroundColor = .mainTextColor
return button
}()
......@@ -546,12 +546,12 @@ extension YHApplyActivityAlert {
guard let name = nameTextField.text, name.isEmpty == false, let number = applyNumberTextField.text, number.isEmpty == false, let phone = phoneTextField.text, phone.isEmpty == false else {
self.submitButton.isEnabled = false
self.submitButton.backgroundColor = UIColor.brandMainColor30
self.submitButton.backgroundColor = UIColor.mainTextColor30
return
}
self.submitButton.isEnabled = true
self.submitButton.backgroundColor = UIColor.brandMainColor
self.submitButton.backgroundColor = UIColor.mainTextColor
handleSubAndAddButtonUI()
......
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