Commit 242e1916 authored by Steven杜宇's avatar Steven杜宇

// AI

parent 9a06c24b
...@@ -26,7 +26,8 @@ class YHAIChatInputShadowView: UIView { ...@@ -26,7 +26,8 @@ class YHAIChatInputShadowView: UIView {
let shadowPath = UIBezierPath(roundedRect: bounds, cornerRadius: 12) let shadowPath = UIBezierPath(roundedRect: bounds, cornerRadius: 12)
layer.shadowPath = shadowPath.cgPath layer.shadowPath = shadowPath.cgPath
layer.shadowColor = UIColor(red: 0, green: 0, blue: 0, alpha: 0.12).cgColor
layer.shadowColor = UIColor(red: 0.35, green: 0.432, blue: 0.556, alpha: 0.12).cgColor
layer.shadowOpacity = 1 layer.shadowOpacity = 1
layer.shadowRadius = 6 layer.shadowRadius = 6
layer.shadowOffset = CGSize(width: 0, height: 0) layer.shadowOffset = CGSize(width: 0, height: 0)
......
...@@ -181,7 +181,7 @@ class YHAITextInputView: UIView { ...@@ -181,7 +181,7 @@ class YHAITextInputView: UIView {
} }
textView.snp.makeConstraints { make in textView.snp.makeConstraints { make in
make.left.equalTo(5) make.left.equalTo(16)
make.top.equalTo(11-YHAutoTextView.verticalGap) make.top.equalTo(11-YHAutoTextView.verticalGap)
make.bottom.equalTo(-(11-YHAutoTextView.verticalGap)) make.bottom.equalTo(-(11-YHAutoTextView.verticalGap))
make.right.equalTo(sendBtn.snp.left).offset(-5) make.right.equalTo(sendBtn.snp.left).offset(-5)
......
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