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

// AI

parent 74fe5f06
......@@ -25,7 +25,7 @@ class YHAutoTextView: UITextView, UITextViewDelegate {
var realHeight = self.calculateHeight
if self.calculateHeight > maxHeight {
height = maxHeight
realHeight = maxHeight
self.snp.updateConstraints { make in
make.top.equalTo(11)
make.height.equalTo(realHeight)
......
......@@ -21,14 +21,14 @@ class YHAIChatBannerItemCell: FSPagerViewCell {
static let cellReuseIdentifier = "YHAIChatBannerItemCell"
lazy var effectView:VisualEffectView = {
let visualEffectView = VisualEffectView()
visualEffectView.colorTint = UIColor(hex: 0xAFAFAF).withAlphaComponent(0.15)
visualEffectView.blurRadius = 16
visualEffectView.scale = 1
visualEffectView.isHidden = true
return visualEffectView
}()
// lazy var effectView:VisualEffectView = {
// let visualEffectView = VisualEffectView()
// visualEffectView.colorTint = UIColor(hex: 0xAFAFAF).withAlphaComponent(0.15)
// visualEffectView.blurRadius = 16
// visualEffectView.scale = 1
// visualEffectView.isHidden = true
// return visualEffectView
// }()
lazy var titleLabel: UILabel = {
let lable = UILabel()
......@@ -62,11 +62,11 @@ class YHAIChatBannerItemCell: FSPagerViewCell {
contentView.layer.shadowOpacity = 0
contentView.layer.shadowOffset = .zero
contentView.addSubview(effectView)
effectView.snp.makeConstraints { make in
make.bottom.left.right.equalToSuperview()
make.height.equalTo(95)
}
// contentView.addSubview(effectView)
// effectView.snp.makeConstraints { make in
// make.bottom.left.right.equalToSuperview()
// make.height.equalTo(95)
// }
contentView.addSubview(subtitleLabel)
subtitleLabel.snp.makeConstraints { make in
......
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