Commit 4ad0a294 authored by Steven杜宇's avatar Steven杜宇

// AI

parent 3cbd4414
...@@ -116,7 +116,7 @@ class YHAITabViewController: YHBaseViewController { ...@@ -116,7 +116,7 @@ class YHAITabViewController: YHBaseViewController {
indicator.indicatorWidth = 34 indicator.indicatorWidth = 34
indicator.indicatorHeight = 14 indicator.indicatorHeight = 14
indicator.indicatorCornerRadius = 0.0 indicator.indicatorCornerRadius = 0.0
indicator.verticalOffset = 9 indicator.verticalOffset = 5
segmentedView.indicators = [indicator] segmentedView.indicators = [indicator]
segmentedView.defaultSelectedIndex = defaltIndex segmentedView.defaultSelectedIndex = defaltIndex
......
...@@ -15,7 +15,6 @@ class YHAITextInputView: UIView { ...@@ -15,7 +15,6 @@ class YHAITextInputView: UIView {
lazy var contentView: UIView = { lazy var contentView: UIView = {
let v = UIView() let v = UIView()
v.backgroundColor = .white
v.layer.cornerRadius = 12.0 v.layer.cornerRadius = 12.0
v.layer.borderWidth = 2.0 v.layer.borderWidth = 2.0
v.layer.borderColor = UIColor.brandMainColor.cgColor v.layer.borderColor = UIColor.brandMainColor.cgColor
...@@ -25,7 +24,6 @@ class YHAITextInputView: UIView { ...@@ -25,7 +24,6 @@ class YHAITextInputView: UIView {
lazy var whiteView: UIView = { lazy var whiteView: UIView = {
let v = UIView() let v = UIView()
v.backgroundColor = .white
return v return v
}() }()
...@@ -50,6 +48,7 @@ class YHAITextInputView: UIView { ...@@ -50,6 +48,7 @@ class YHAITextInputView: UIView {
lazy var textView: YHAutoTextView = { lazy var textView: YHAutoTextView = {
let v = YHAutoTextView() let v = YHAutoTextView()
v.backgroundColor = .clear
v.font = .PFSC_R(ofSize: 14) v.font = .PFSC_R(ofSize: 14)
v.textChange = { v.textChange = {
[weak self] text in [weak self] text 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