-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from Rock-Connotation/develop
发布动态页编辑文本重新设置
- Loading branch information
Showing
35 changed files
with
3,185 additions
and
2,520 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-31.2 KB
(81%)
...Mobile2019_iOS.xcworkspace/xcuserdata/shizihan.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...sMobile2019_iOS/NewQA/Search/NewQA_Search.xcassets/SZH发布动态按钮正常背景颜色.colorset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"colors" : [ | ||
{ | ||
"color" : { | ||
"color-space" : "srgb", | ||
"components" : { | ||
"alpha" : "1.000", | ||
"blue" : "238", | ||
"green" : "99", | ||
"red" : "91" | ||
} | ||
}, | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
6 changes: 3 additions & 3 deletions
6
...xcassets/禁用状态按钮背景图.imageset/Contents.json → ...arch.xcassets/原图圈圈.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+518 Bytes
CyxbsMobile2019_iOS/NewQA/Search/NewQA_Search.xcassets/原图圈圈.imageset/椭圆 917.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.03 KB
CyxbsMobile2019_iOS/NewQA/Search/NewQA_Search.xcassets/原图圈圈.imageset/椭圆 [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.9 KB
CyxbsMobile2019_iOS/NewQA/Search/NewQA_Search.xcassets/原图圈圈.imageset/椭圆 [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions
23
CyxbsMobile2019_iOS/NewQA/Search/NewQA_Search.xcassets/原图圈圈点击后.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "组 23.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "组 [email protected]", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "组 [email protected]", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Binary file added
BIN
+672 Bytes
CyxbsMobile2019_iOS/NewQA/Search/NewQA_Search.xcassets/原图圈圈点击后.imageset/组 23.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.06 KB
...sMobile2019_iOS/NewQA/Search/NewQA_Search.xcassets/原图圈圈点击后.imageset/组 [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.11 KB
...sMobile2019_iOS/NewQA/Search/NewQA_Search.xcassets/原图圈圈点击后.imageset/组 [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,15 +5,48 @@ | |
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"appearances" : [ | ||
{ | ||
"appearance" : "luminosity", | ||
"value" : "dark" | ||
} | ||
], | ||
"filename" : "圆角矩形 3-1.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "圆角矩形 [email protected]", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"appearances" : [ | ||
{ | ||
"appearance" : "luminosity", | ||
"value" : "dark" | ||
} | ||
], | ||
"filename" : "圆角矩形 [email protected]", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "圆角矩形 [email protected]", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
}, | ||
{ | ||
"appearances" : [ | ||
{ | ||
"appearance" : "luminosity", | ||
"value" : "dark" | ||
} | ||
], | ||
"filename" : "圆角矩形 [email protected]", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
|
Binary file added
BIN
+1.08 KB
...sMobile2019_iOS/NewQA/Search/NewQA_Search.xcassets/添加图片背景.imageset/圆角矩形 3-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.31 KB
...bile2019_iOS/NewQA/Search/NewQA_Search.xcassets/添加图片背景.imageset/圆角矩形 [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.01 KB
...bile2019_iOS/NewQA/Search/NewQA_Search.xcassets/添加图片背景.imageset/圆角矩形 [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,15 +5,48 @@ | |
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"appearances" : [ | ||
{ | ||
"appearance" : "luminosity", | ||
"value" : "dark" | ||
} | ||
], | ||
"filename" : "组 10-1.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "组 [email protected]", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"appearances" : [ | ||
{ | ||
"appearance" : "luminosity", | ||
"value" : "dark" | ||
} | ||
], | ||
"filename" : "组 [email protected]", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "组 [email protected]", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
}, | ||
{ | ||
"appearances" : [ | ||
{ | ||
"appearance" : "luminosity", | ||
"value" : "dark" | ||
} | ||
], | ||
"filename" : "组 [email protected]", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
|
Binary file added
BIN
+1.05 KB
CyxbsMobile2019_iOS/NewQA/Search/NewQA_Search.xcassets/相机.imageset/组 10-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.72 KB
CyxbsMobile2019_iOS/NewQA/Search/NewQA_Search.xcassets/相机.imageset/组 [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.62 KB
CyxbsMobile2019_iOS/NewQA/Search/NewQA_Search.xcassets/相机.imageset/组 [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-900 Bytes
...2019_iOS/NewQA/Search/NewQA_Search.xcassets/禁用状态按钮背景图.imageset/圆角矩形 18 拷贝 2.png
Binary file not shown.
Binary file removed
BIN
-1.54 KB
...9_iOS/NewQA/Search/NewQA_Search.xcassets/禁用状态按钮背景图.imageset/圆角矩形 18 拷贝 [email protected]
Binary file not shown.
Binary file removed
BIN
-3.2 KB
...9_iOS/NewQA/Search/NewQA_Search.xcassets/禁用状态按钮背景图.imageset/圆角矩形 18 拷贝 [email protected]
Binary file not shown.
24 changes: 24 additions & 0 deletions
24
CyxbsMobile2019_iOS/NewQA/Search/ReleaseDynamic/Controller/SZHPhotoImageView.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// SZHPhotoImageView.h | ||
// CyxbsMobile2019_iOS | ||
// | ||
// Created by 石子涵 on 2021/2/13. | ||
// Copyright © 2021 Redrock. All rights reserved. | ||
// | ||
/**添加图片的UIImageView*/ | ||
#import <UIKit/UIKit.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
@protocol SZHPhotoImageViewDelegate <NSObject> | ||
|
||
/// 删除图片框 | ||
/// @param imageView 需要删除的图片框 | ||
- (void)clearPhotoImageView:(UIImageView *)imageView; | ||
|
||
@end | ||
@interface SZHPhotoImageView : UIImageView | ||
@property (nonatomic, strong) UIButton *clearBtn; | ||
@property (nonatomic, weak) id<SZHPhotoImageViewDelegate> delegate; | ||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
38 changes: 38 additions & 0 deletions
38
CyxbsMobile2019_iOS/NewQA/Search/ReleaseDynamic/Controller/SZHPhotoImageView.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// | ||
// SZHPhotoImageView.m | ||
// CyxbsMobile2019_iOS | ||
// | ||
// Created by 石子涵 on 2021/2/13. | ||
// Copyright © 2021 Redrock. All rights reserved. | ||
// | ||
|
||
#import "SZHPhotoImageView.h" | ||
|
||
@implementation SZHPhotoImageView | ||
- (instancetype)init{ | ||
self = [super init]; | ||
if (self) { | ||
//设置图片框可与用户进行交互,如果不设置,那么button无法被点击 | ||
self.userInteractionEnabled = YES; | ||
self.clearBtn = [[UIButton alloc] init]; | ||
[self.clearBtn addTarget:self action:@selector(clear) forControlEvents:UIControlEventTouchUpInside]; | ||
[self.clearBtn setBackgroundImage:[UIImage imageNamed:@"删除"] forState:UIControlStateNormal]; | ||
[self addSubview:self.clearBtn]; | ||
[self.clearBtn mas_makeConstraints:^(MASConstraintMaker *make) { | ||
make.right.top.equalTo(self); | ||
make.size.mas_equalTo(CGSizeMake(20, 20)); | ||
}]; | ||
|
||
//设置圆角 | ||
self.layer.cornerRadius = 10; | ||
self.layer.masksToBounds = YES; | ||
|
||
} | ||
return self; | ||
} | ||
|
||
- (void)clear{ | ||
[self.delegate clearPhotoImageView:self]; | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.