|
@@ -54,11 +54,11 @@ class OrderApplyRefundNoteInfoCell: UITableViewCell {
|
|
|
make.height.equalTo(20)
|
|
|
}
|
|
|
noteTextView.snp.remakeConstraints { (make) in
|
|
|
- make.top.equalTo(14)
|
|
|
+ make.top.equalTo(6).priority(999)
|
|
|
+ make.height.greaterThanOrEqualTo(46).priority(888)
|
|
|
+ make.bottom.equalTo(-6).priority(777)
|
|
|
make.left.equalTo(titleLabel.snp_right).offset(20)
|
|
|
make.right.equalToSuperview().offset(-14)
|
|
|
- make.bottom.right.equalTo(-14)
|
|
|
- make.height.greaterThanOrEqualTo(20)
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -77,9 +77,9 @@ class OrderApplyRefundNoteInfoCell: UITableViewCell {
|
|
|
noteTextView.font = kRegularFont14
|
|
|
noteTextView.placeholder = "如需部分商品退款请备注退款商品的名称和数量,如订单疑问可通过“我的”联系社长哦"
|
|
|
noteTextView.placeholderTextColor = k999999Color
|
|
|
+ noteTextView.isScrollEnabled = false
|
|
|
noteTextView.rx.text.orEmpty.changed.subscribe(onNext: {
|
|
|
[weak self] (text) in
|
|
|
-
|
|
|
self?.noteTextView.text = String(text.prefix(150)) as String
|
|
|
|
|
|
if let noteTextViewClosure = self?.noteTextViewClosure {
|