Browse Source

关闭深色模式

桂欢 1 year ago
parent
commit
6a640366f9

+ 2 - 0
SLAiELTS/SLAiELTS/Info.plist

@@ -2,6 +2,8 @@
 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>
+	<key>UIUserInterfaceStyle</key>
+	<string>Light</string>
 	<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
 	<string>定位服务用于发现附近的用户</string>
 	<key>NSLocationAlwaysUsageDescription</key>

+ 6 - 1
SLAiELTS/SLAiELTS/ViewControllers/Moments/Views/SLMoentsChatView.m

@@ -69,8 +69,12 @@ static const NSInteger btnTag = 20000;
     if (!_rightSendBtn) {
         _rightSendBtn = [UIButton buttonWithType:UIButtonTypeCustom];
         _rightSendBtn.titleLabel.font = [UIFont systemFontOfSize:16];
-        [_rightSendBtn setTitleColor:SL333Color forState:UIControlStateNormal];
+        [_rightSendBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
         [_rightSendBtn setTitle:@"评论" forState:UIControlStateNormal];
+        _rightSendBtn.clipsToBounds = YES;
+        _rightSendBtn.layer.cornerRadius = 8.0;
+        [_rightSendBtn setBackgroundImage:ImageName(@"icon_btn_blue") forState:UIControlStateNormal];
+        [_rightSendBtn setBackgroundImage:ImageName(@"icon_btn_blue_sel") forState:UIControlStateHighlighted];
         [_rightSendBtn addTarget:self action:@selector(btnClick:) forControlEvents:UIControlEventTouchUpInside];
         _rightSendBtn.tag = btnTag + 2;
         [self.textBgView addSubview:_rightSendBtn];
@@ -85,6 +89,7 @@ static const NSInteger btnTag = 20000;
         _nextGrowingTextView.backgroundColor = [[UIColor whiteColor] colorWithAlphaComponent:1];
         _nextGrowingTextView.placeholderAttributedText = [[NSAttributedString alloc] initWithString:@"请输入关键词" attributes:@{NSFontAttributeName: [UIFont fontWithName:@"PingFang SC" size: 16], NSForegroundColorAttributeName : [UIColor whiteColor]}];
         _nextGrowingTextView.layer.cornerRadius = 4.0;
+        _nextGrowingTextView.textView.keyboardType = UIKeyboardTypeASCIICapable;
         _nextGrowingTextView.maxNumberOfLines = 6;
         [self.textBgView addSubview:_nextGrowingTextView];
     }