       self.inputTextView.isHidden = true
       self.inputTextView.resignFirstResponder()
       self.inputTextView.snp.updateConstraints({ (make) -> Void in
-        make.height.equalTo(35)
+//        make.height.equalTo(35)
       })
     }
     self.switchBtn.isSelected = !self.switchBtn.isSelected;

  func updateInputTextViewHeight(_ textView: UITextView) {
    let textContentH = textView.contentSize.height
    print("output：\(textContentH)")
    let textHeight = textContentH > 35 ? (textContentH<100 ? textContentH:100):30
    UIView.animate(withDuration: 0.2) { () -> Void in
      self.inputTextView.snp.updateConstraints({ (make) -> Void in
        make.height.equalTo(textHeight)
      })
    }

    inputTextView?.snp.makeConstraints({ (make) -> Void in
      make.right.equalTo(self.showMoreBtn.snp.left).offset(-5)
      make.left.equalTo(self.switchBtn.snp.right).offset(5)
      make.top.equalTo(self.inputWrapView).offset(5)
      make.bottom.equalTo(self.inputWrapView).offset(-5)
      make.height.greaterThanOrEqualTo(30)
      make.height.lessThanOrEqualTo(100)
      make.height.equalTo(35)
    })
    self.updateInputTextViewHeight(self.inputTextView)
    
