"]]; _inputTextView.placeholderTextColor = kMainYellow; _inputTextView.placeholderLabel.font = [UIFont boldSystemFontOfSize:13]; _inputTextView.placeholderLabel.text = @"请输入内容"; _inputTextView.keyboardDismissMode = UIScrollViewKeyboardDismissModeOnDrag; _inputTextView.font = [UIFont systemFontOfSize:13]; _inputTextView.textColor = kMainYellow; _inputTextView.delegate = self; _inputTextView.backgroundColor = [UIColor clearColor]; [self.contentView addSubview:_inputTextView]; } return _inputTextView;}- (UIView *)containView{ if (!_containView) { _containView = [[UIView alloc] initWithFrame:CGRectMake(12, 44, self.view.frame.size.width - 24, 290)]; _containView.backgroundColor = [UIColor colorWithRed:45/255.0 green:45/255.0 blue:45/255.0 alpha:1.0]; } return _containView;}- (UIButton *)confirmBtn{ if (!_confirmBtn) { _confirmBtn = [UIButton buttonWithType:UIButtonTypeCustom]; _confirmBtn.frame = CGRectMake(0, 44 290 20, 80, 30); _confirmBtn.center = CGPointMake(self.view.center.x, _confirmBtn.center.y); [_confirmBtn setTitle:@"计算" forState:UIControlStateNormal]; [_confirmBtn setTitleColor:kMainYellow forState:UIControlStateNormal]; _confirmBtn.titleLabel.font = [UIFont boldSystemFontOfSize:14]; _confirmBtn.layer.borderColor = [kMainYellow CGColor]; _confirmBtn.layer.borderWidth = .5; _confirmBtn.layer.cornerRadius = 5; [_confirmBtn addTarget:self action:@selector(clickConfirm) forControlEvents:UIControlEventTouchUpInside]; } return _confirmBtn;}- (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated.}@end