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

// AI

parent 6e258771
...@@ -25,7 +25,7 @@ class YHAIChatShadowView: UIView { ...@@ -25,7 +25,7 @@ class YHAIChatShadowView: UIView {
let shadowPath = UIBezierPath(roundedRect: bounds, cornerRadius: 6) let shadowPath = UIBezierPath(roundedRect: bounds, cornerRadius: 6)
// 设置阴影属性 // 设置阴影属性
layer.shadowPath = shadowPath.cgPath layer.shadowPath = shadowPath.cgPath
layer.shadowColor = UIColor(red: 0, green: 0, blue: 0, alpha: 0.06).cgColor layer.shadowColor = UIColor(red: 0, green: 0, blue: 0, alpha: 0.08).cgColor
layer.shadowOpacity = 1 layer.shadowOpacity = 1
layer.shadowRadius = 6.0 layer.shadowRadius = 6.0
layer.shadowOffset = CGSize(width: 0, height: 4) layer.shadowOffset = CGSize(width: 0, height: 4)
......
...@@ -143,7 +143,10 @@ class YHAIPictureMessageCell: UITableViewCell { ...@@ -143,7 +143,10 @@ class YHAIPictureMessageCell: UITableViewCell {
} }
shadowView.snp.makeConstraints { make in shadowView.snp.makeConstraints { make in
make.edges.equalTo(whiteContentView) make.left.equalTo(whiteContentView).offset(-0)
make.right.equalTo(whiteContentView).offset(0)
make.top.equalTo(whiteContentView).offset(-0)
make.bottom.equalTo(whiteContentView).offset(0)
} }
} }
......
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