|
@@ -84,7 +84,7 @@
|
|
|
tipLabel.font = [UIFont systemFontOfSize:12];
|
|
tipLabel.font = [UIFont systemFontOfSize:12];
|
|
|
tipLabel.text = @"一天可发布三条";
|
|
tipLabel.text = @"一天可发布三条";
|
|
|
tipLabel.textAlignment = NSTextAlignmentRight;
|
|
tipLabel.textAlignment = NSTextAlignmentRight;
|
|
|
- [self addSubview:tipLabel];
|
|
|
|
|
|
|
+ //[self addSubview:tipLabel];
|
|
|
|
|
|
|
|
_slider = [[UISlider alloc] initWithFrame:CGRectMake(20, 40, self.nim_width-40, 40)];
|
|
_slider = [[UISlider alloc] initWithFrame:CGRectMake(20, 40, self.nim_width-40, 40)];
|
|
|
_slider.minimumValue = 1;
|
|
_slider.minimumValue = 1;
|
|
@@ -113,6 +113,7 @@
|
|
|
_growTextView.textColor = [UIColor blackColor];
|
|
_growTextView.textColor = [UIColor blackColor];
|
|
|
_growTextView.backgroundColor = [UIColor clearColor];
|
|
_growTextView.backgroundColor = [UIColor clearColor];
|
|
|
_growTextView.returnKeyType = UIReturnKeyDone;
|
|
_growTextView.returnKeyType = UIReturnKeyDone;
|
|
|
|
|
+ _growTextView.placeholderAttributedText = [[NSAttributedString alloc] initWithString:@"输入内容"];
|
|
|
[_textViewContainer addSubview:_growTextView];
|
|
[_textViewContainer addSubview:_growTextView];
|
|
|
|
|
|
|
|
_sendBtn = [[UIButton alloc] initWithFrame:CGRectMake(_textViewContainer.nim_width-75, 0, 75, 40)];
|
|
_sendBtn = [[UIButton alloc] initWithFrame:CGRectMake(_textViewContainer.nim_width-75, 0, 75, 40)];
|