关闭用户发布素材
This commit is contained in:
parent
c7453a62d4
commit
824ba33961
|
@ -3683,7 +3683,7 @@
|
|||
CLANG_ENABLE_MODULES = YES;
|
||||
CODE_SIGN_ENTITLEMENTS = KuaiCunShiPin/KuaiCunShiPin.entitlements;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 113;
|
||||
CURRENT_PROJECT_VERSION = 114;
|
||||
DEVELOPMENT_TEAM = B8MTNU3W9A;
|
||||
GCC_PREFIX_HEADER = "$(SRCROOT)/KuaiCunShiPin/PrefixHeader.pch";
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
|
@ -3712,14 +3712,14 @@
|
|||
"\"$(SRCROOT)/KuaiCunShiPin/OtherFrameworks/Category/RSAEncrypt/lib/include\"",
|
||||
);
|
||||
INFOPLIST_FILE = KuaiCunShiPin/Info.plist;
|
||||
INFOPLIST_KEY_CFBundleDisplayName = "快存视频-VideoDeep";
|
||||
INFOPLIST_KEY_NSCalendarsUsageDescription = "快存视频-VideoDeep需要使用日历功能";
|
||||
INFOPLIST_KEY_NSCameraUsageDescription = "快存视频-VideoDeep处理视频、图片处理和意见反馈需要使用相机拍摄照片";
|
||||
INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "快存视频-VideoDeep友盟SDK需要使用您的位置信息";
|
||||
INFOPLIST_KEY_NSMicrophoneUsageDescription = "快存视频-VideoDeep拍摄需要使用麦克风";
|
||||
INFOPLIST_KEY_NSPhotoLibraryAddUsageDescription = "快存视频-VideoDeep处理视频、保存图片、处理图片和意见反馈需要使用相册";
|
||||
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "快存视频-VideoDeep处理视频、保存图片、处理图片和意见反馈需要使用相册";
|
||||
INFOPLIST_KEY_NSUserTrackingUsageDescription = "快存视频-VideoDeep用于推荐个性化广告";
|
||||
INFOPLIST_KEY_CFBundleDisplayName = "快存视频";
|
||||
INFOPLIST_KEY_NSCalendarsUsageDescription = "快存视频需要使用日历功能";
|
||||
INFOPLIST_KEY_NSCameraUsageDescription = "快存视频处理视频、图片处理和意见反馈需要使用相机拍摄照片";
|
||||
INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "快存视频友盟SDK需要使用您的位置信息";
|
||||
INFOPLIST_KEY_NSMicrophoneUsageDescription = "快存视频拍摄需要使用麦克风";
|
||||
INFOPLIST_KEY_NSPhotoLibraryAddUsageDescription = "快存视频处理视频、保存图片、处理图片和意见反馈需要使用相册";
|
||||
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "快存视频处理视频、保存图片、处理图片和意见反馈需要使用相册";
|
||||
INFOPLIST_KEY_NSUserTrackingUsageDescription = "快存视频用于推荐个性化广告";
|
||||
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
||||
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
|
||||
INFOPLIST_KEY_UIMainStoryboardFile = Main;
|
||||
|
@ -3758,7 +3758,7 @@
|
|||
CLANG_ENABLE_MODULES = YES;
|
||||
CODE_SIGN_ENTITLEMENTS = KuaiCunShiPin/KuaiCunShiPin.entitlements;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 113;
|
||||
CURRENT_PROJECT_VERSION = 114;
|
||||
DEVELOPMENT_TEAM = B8MTNU3W9A;
|
||||
GCC_PREFIX_HEADER = "$(SRCROOT)/KuaiCunShiPin/PrefixHeader.pch";
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
|
@ -3787,14 +3787,14 @@
|
|||
"\"$(SRCROOT)/KuaiCunShiPin/OtherFrameworks/Category/RSAEncrypt/lib/include\"",
|
||||
);
|
||||
INFOPLIST_FILE = KuaiCunShiPin/Info.plist;
|
||||
INFOPLIST_KEY_CFBundleDisplayName = "快存视频-VideoDeep";
|
||||
INFOPLIST_KEY_NSCalendarsUsageDescription = "快存视频-VideoDeep需要使用日历功能";
|
||||
INFOPLIST_KEY_NSCameraUsageDescription = "快存视频-VideoDeep处理视频、图片处理和意见反馈需要使用相机拍摄照片";
|
||||
INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "快存视频-VideoDeep友盟SDK需要使用您的位置信息";
|
||||
INFOPLIST_KEY_NSMicrophoneUsageDescription = "快存视频-VideoDeep拍摄需要使用麦克风";
|
||||
INFOPLIST_KEY_NSPhotoLibraryAddUsageDescription = "快存视频-VideoDeep处理视频、保存图片、处理图片和意见反馈需要使用相册";
|
||||
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "快存视频-VideoDeep处理视频、保存图片、处理图片和意见反馈需要使用相册";
|
||||
INFOPLIST_KEY_NSUserTrackingUsageDescription = "快存视频-VideoDeep用于推荐个性化广告";
|
||||
INFOPLIST_KEY_CFBundleDisplayName = "快存视频";
|
||||
INFOPLIST_KEY_NSCalendarsUsageDescription = "快存视频需要使用日历功能";
|
||||
INFOPLIST_KEY_NSCameraUsageDescription = "快存视频处理视频、图片处理和意见反馈需要使用相机拍摄照片";
|
||||
INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "快存视频友盟SDK需要使用您的位置信息";
|
||||
INFOPLIST_KEY_NSMicrophoneUsageDescription = "快存视频拍摄需要使用麦克风";
|
||||
INFOPLIST_KEY_NSPhotoLibraryAddUsageDescription = "快存视频处理视频、保存图片、处理图片和意见反馈需要使用相册";
|
||||
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "快存视频处理视频、保存图片、处理图片和意见反馈需要使用相册";
|
||||
INFOPLIST_KEY_NSUserTrackingUsageDescription = "快存视频用于推荐个性化广告";
|
||||
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
||||
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
|
||||
INFOPLIST_KEY_UIMainStoryboardFile = Main;
|
||||
|
|
Binary file not shown.
|
@ -1,9 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="23504" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
|
||||
<device id="retina6_12" orientation="portrait" appearance="light"/>
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23506"/>
|
||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
|
@ -23,8 +22,8 @@
|
|||
<constraint firstAttribute="height" constant="80" id="qLb-oS-J0b"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="快存视频-VideoDeep" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8EN-E5-2vu">
|
||||
<rect key="frame" x="103.33333333333333" y="301" width="186.33333333333337" height="24"/>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="快存视频" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8EN-E5-2vu">
|
||||
<rect key="frame" x="158.33333333333334" y="301" width="76.666666666666657" height="24"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="20"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<nil key="highlightedColor"/>
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
}];
|
||||
|
||||
UILabel *lbname = [[UILabel alloc] init];
|
||||
[lbname setText:@"快存视频-VideoDeep"];
|
||||
[lbname setText:@"快存视频"];
|
||||
[lbname setTextColor:RGBACOLOR(255, 255, 255, 0.9)];
|
||||
[lbname setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbname setFont:[UIFont systemFontOfSize:20]];
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
|
||||
|
||||
UILabel *lbname = [[UILabel alloc] init];
|
||||
[lbname setText:@"快存视频-VideoDeep"];
|
||||
[lbname setText:@"快存视频"];
|
||||
[lbname setTextColor:[UIColor whiteColor]];
|
||||
[lbname setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbname setFont:[UIFont fontWithName:@"PingFangSC-Medium" size:16]];
|
||||
|
|
|
@ -208,7 +208,7 @@
|
|||
[view setUserInteractionEnabled:YES];
|
||||
|
||||
UILabel *lbnameHY = [[UILabel alloc] init];
|
||||
[lbnameHY setText:@"快存视频-VideoDeep·会员"];
|
||||
[lbnameHY setText:@"快存视频·会员"];
|
||||
[lbnameHY setTextColor:RGBACOLOR(255, 255, 255, 0.9)];
|
||||
[lbnameHY setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbnameHY setFont:[UIFont fontWithName:@"AlimamaShuHeiTi-Bold" size:18]];
|
||||
|
@ -278,7 +278,7 @@
|
|||
}];
|
||||
[self.imgvback setHidden:NO];
|
||||
[self.imgvback setImage:imagebc];
|
||||
[self.lbnameHY setText:@"快存视频-VideoDeep·普通会员"];
|
||||
[self.lbnameHY setText:@"快存视频·普通会员"];
|
||||
[self.lbinfoHY setText:[NSString stringWithFormat:@"%@ 会员到期",modelDetail.vip_expire]];
|
||||
}
|
||||
else if([UserDetailModel shareModel].vip.intValue==3)
|
||||
|
@ -290,7 +290,7 @@
|
|||
[self.imgvback setHidden:NO];
|
||||
[self.imgvback setImage:imagebc];
|
||||
|
||||
[self.lbnameHY setText:@"快存视频-VideoDeep·终身会员"];
|
||||
[self.lbnameHY setText:@"快存视频·终身会员"];
|
||||
[self.lbinfoHY setText:@"享受永久会员专属权益"];
|
||||
[self.btkt setHidden:YES];
|
||||
}
|
||||
|
@ -303,7 +303,7 @@
|
|||
[self.imgvback setHidden:NO];
|
||||
[self.imgvback setImage:imagebc];
|
||||
|
||||
[self.lbnameHY setText:@"快存视频-VideoDeep"];
|
||||
[self.lbnameHY setText:@"快存视频"];
|
||||
[self.lbinfoHY setText:@"点击成为会员解锁所有功能"];
|
||||
if([Tools isStringnil:self.modelDetail.vip_expire].length>6)
|
||||
{
|
||||
|
@ -315,7 +315,7 @@
|
|||
{
|
||||
self.arrdata = [NSMutableArray new];
|
||||
[self.arrdata addObject:@"账号绑定"];
|
||||
[self.arrdata addObject:@"发布素材"];
|
||||
// [self.arrdata addObject:@"发布素材"];
|
||||
[self.arrdata addObject:@"兑换钻石"];
|
||||
// [self.arrdata addObject:@"分享APP"];
|
||||
// [self.arrdata addObject:@"联系客服"];
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
_imgvhd = imgvhd;
|
||||
|
||||
UILabel *lbname = [[UILabel alloc] init];
|
||||
[lbname setText:@"快存视频-VideoDeep·会员"];
|
||||
[lbname setText:@"快存视频·会员"];
|
||||
[lbname setTextColor:RGBCOLOR(14, 3, 24)];
|
||||
[lbname setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbname setFont:[UIFont fontWithName:@"AlimamaShuHeiTi-Bold" size:22]];//PingFangSC-Medium 18
|
||||
|
|
|
@ -192,6 +192,10 @@
|
|||
}
|
||||
[self.imgvhd sd_setImageWithURL:[NSURL URLWithString:model.user_avatar] placeholderImage:[UIImage imageNamed:@"my_headnomo"]];
|
||||
self.lbname.text = model.user_name.length==0?@"游客":[Tools isStringnilkong:model.user_name];
|
||||
if([model.user_name isEqualToString:@"用户已注销"])
|
||||
{
|
||||
self.lbname.text = @"管理员";
|
||||
}
|
||||
self.lbdown.text = [NSString stringWithFormat:@"%d",model.download.intValue];
|
||||
if(model.download.intValue>10000)
|
||||
{
|
||||
|
|
|
@ -191,6 +191,12 @@
|
|||
|
||||
[self.imgvhd sd_setImageWithURL:[NSURL URLWithString:model.user_avatar] placeholderImage:[UIImage imageNamed:@"my_headnomo"]];
|
||||
self.lbname.text = model.user_name.length==0?@"游客":[Tools isStringnilkong:model.user_name];
|
||||
|
||||
if([model.user_name isEqualToString:@"用户已注销"])
|
||||
{
|
||||
self.lbname.text = @"管理员";
|
||||
}
|
||||
|
||||
self.lbdown.text = [NSString stringWithFormat:@"%d",model.download.intValue];
|
||||
if(model.download.intValue>10000)
|
||||
{
|
||||
|
|
|
@ -27,7 +27,8 @@
|
|||
make.left.offset(16);
|
||||
make.height.offset(34);
|
||||
make.centerY.equalTo(self);
|
||||
make.right.equalTo(self).offset(-100);
|
||||
// make.right.equalTo(self).offset(-100);
|
||||
make.right.equalTo(self).offset(-16);
|
||||
}];
|
||||
[viewback.layer setMasksToBounds:YES];
|
||||
[viewback.layer setCornerRadius:17];
|
||||
|
@ -72,31 +73,31 @@
|
|||
}];
|
||||
[btsearch addTarget:self action:@selector(searchAction) forControlEvents:UIControlEventTouchUpInside];
|
||||
|
||||
UIView *viewsend = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 74, 30)];
|
||||
[viewsend setBackgroundColor:[UIColor whiteColor]];
|
||||
[viewsend.layer setMasksToBounds:YES];
|
||||
[viewsend.layer setCornerRadius:15];
|
||||
[self addSubview:viewsend];
|
||||
[viewsend mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.size.sizeOffset(CGSizeMake(74, 30));
|
||||
make.centerY.equalTo(self);
|
||||
make.right.equalTo(self).offset(-16);
|
||||
}];
|
||||
[Tools changedView:viewsend colors:@[(id)RGBCOLOR(246, 44, 108).CGColor,(id)RGBCOLOR(252, 79, 84).CGColor] startPoint:CGPointMake(0, 0) endPoint:CGPointMake(1, 0)];
|
||||
|
||||
UIButton *btsend = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 74, 30)];
|
||||
[btsend setTitle:@"发布" forState:UIControlStateNormal];
|
||||
[btsend setTitleColor:RGBACOLOR(255, 255, 255, 0.9) forState:UIControlStateNormal];
|
||||
[btsend.titleLabel setFont:[UIFont systemFontOfSize:13]];
|
||||
[btsend setImage:[UIImage imageNamed:@"sc_send"] forState:UIControlStateNormal];
|
||||
[self addSubview:btsend];
|
||||
[btsend mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.size.sizeOffset(CGSizeMake(74, 30));
|
||||
make.centerY.equalTo(self);
|
||||
make.right.equalTo(self).offset(-16);
|
||||
}];
|
||||
[btsend setIconInLeft];
|
||||
[btsend addTarget:self action:@selector(sendAction) forControlEvents:UIControlEventTouchUpInside];
|
||||
// UIView *viewsend = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 74, 30)];
|
||||
// [viewsend setBackgroundColor:[UIColor whiteColor]];
|
||||
// [viewsend.layer setMasksToBounds:YES];
|
||||
// [viewsend.layer setCornerRadius:15];
|
||||
// [self addSubview:viewsend];
|
||||
// [viewsend mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
// make.size.sizeOffset(CGSizeMake(74, 30));
|
||||
// make.centerY.equalTo(self);
|
||||
// make.right.equalTo(self).offset(-16);
|
||||
// }];
|
||||
// [Tools changedView:viewsend colors:@[(id)RGBCOLOR(246, 44, 108).CGColor,(id)RGBCOLOR(252, 79, 84).CGColor] startPoint:CGPointMake(0, 0) endPoint:CGPointMake(1, 0)];
|
||||
//
|
||||
// UIButton *btsend = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 74, 30)];
|
||||
// [btsend setTitle:@"发布" forState:UIControlStateNormal];
|
||||
// [btsend setTitleColor:RGBACOLOR(255, 255, 255, 0.9) forState:UIControlStateNormal];
|
||||
// [btsend.titleLabel setFont:[UIFont systemFontOfSize:13]];
|
||||
// [btsend setImage:[UIImage imageNamed:@"sc_send"] forState:UIControlStateNormal];
|
||||
// [self addSubview:btsend];
|
||||
// [btsend mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
// make.size.sizeOffset(CGSizeMake(74, 30));
|
||||
// make.centerY.equalTo(self);
|
||||
// make.right.equalTo(self).offset(-16);
|
||||
// }];
|
||||
// [btsend setIconInLeft];
|
||||
// [btsend addTarget:self action:@selector(sendAction) forControlEvents:UIControlEventTouchUpInside];
|
||||
|
||||
}
|
||||
return self;
|
||||
|
|
|
@ -129,6 +129,10 @@
|
|||
}];
|
||||
_lbname = lbname;
|
||||
self.lbname.text = self.modelDetail.user_name.length==0?@"游客":[Tools isStringnilkong:self.modelDetail.user_name];
|
||||
if([self.modelDetail.user_name isEqualToString:@"用户已注销"])
|
||||
{
|
||||
self.lbname.text = @"管理员";
|
||||
}
|
||||
|
||||
UILabel *lbdown = [[UILabel alloc] init];
|
||||
[lbdown setText:@"1"];
|
||||
|
|
|
@ -367,7 +367,7 @@
|
|||
}];
|
||||
|
||||
UILabel *lbthree = [[UILabel alloc] init];
|
||||
[lbthree setText:@"3、返回【快存视频-VideoDeepAPP】微信视频号页面,下拉刷新即可 微信号视频。"];
|
||||
[lbthree setText:@"3、返回【快存视频APP】微信视频号页面,下拉刷新即可 微信号视频。"];
|
||||
[lbthree setTextColor:RGBACOLOR(255, 255, 255, 0.6)];
|
||||
[lbthree setTextAlignment:NSTextAlignmentLeft];
|
||||
[lbthree setFont:[UIFont systemFontOfSize:12]];
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#import "KCSPXZManager.h"
|
||||
#import "VChangeManager.h"
|
||||
|
||||
#define ZDYXCName @"快存视频-VideoDeep"
|
||||
#define ZDYXCName @"快存视频"
|
||||
static PHAssetChangeRequest *changeRequest;
|
||||
@implementation ImagesConnectManager
|
||||
// 获得刚才添加到【相机胶卷】中的图片
|
||||
|
|
|
@ -148,7 +148,7 @@
|
|||
[imgvlog.layer setCornerRadius:6];
|
||||
|
||||
UILabel *lbname = [[UILabel alloc] init];
|
||||
[lbname setText:@"快存视频-VideoDeep"];
|
||||
[lbname setText:@"快存视频"];
|
||||
[lbname setTextColor:[UIColor whiteColor]];
|
||||
[lbname setTextAlignment:NSTextAlignmentCenter];
|
||||
[lbname setFont:[UIFont fontWithName:@"AlimamaShuHeiTi-Bold" size:36]];
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
|
||||
@interface ZhiNengShiPingBottomView ()<WYCamaImageToolsDelegate>
|
||||
///
|
||||
@property (nonatomic , strong) UIView *viewfunctop;
|
||||
///
|
||||
@property (nonatomic , strong) UIButton *btselect;
|
||||
///
|
||||
@property (nonatomic , strong) UIView *viewtext;
|
||||
|
@ -76,6 +78,15 @@
|
|||
[viewline.layer setMasksToBounds:YES];
|
||||
[viewline.layer setCornerRadius:2];
|
||||
|
||||
UIButton *btselect = [[UIButton alloc] init];
|
||||
[self addSubview:btselect];
|
||||
[btselect mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.center.equalTo(viewline);
|
||||
make.height.offset(28);
|
||||
make.width.offset(50);
|
||||
}];
|
||||
[btselect addTarget:self action:@selector(zankaiAction:) forControlEvents:UIControlEventTouchUpInside];
|
||||
|
||||
UIView *viewnomo = [[UIView alloc] init];
|
||||
[self addSubview:viewnomo];
|
||||
[viewnomo mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
|
@ -90,6 +101,14 @@
|
|||
|
||||
-(void)drawNoMoView:(UIView *)view
|
||||
{
|
||||
UIView *viewfunctop = [[UIView alloc] init];
|
||||
[view addSubview:viewfunctop];
|
||||
[viewfunctop mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.right.equalTo(view);
|
||||
make.top.offset(0);
|
||||
make.height.offset(30);
|
||||
}];
|
||||
_viewfunctop = viewfunctop;
|
||||
NSArray *arrbt = @[@"文本消息",@"上传图片"];
|
||||
for(int i = 0 ; i < arrbt.count; i++)
|
||||
{
|
||||
|
@ -104,7 +123,7 @@
|
|||
[btitem setBackgroundColor:RGBCOLOR(34, 37, 46)];
|
||||
[btitem.layer setBorderWidth:1];
|
||||
[btitem.layer setBorderColor:RGBCOLOR(34, 37, 46).CGColor];
|
||||
[view addSubview:btitem];
|
||||
[viewfunctop addSubview:btitem];
|
||||
[btitem mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.top.offset(0);
|
||||
make.left.offset(16+96*i);
|
||||
|
@ -126,11 +145,11 @@
|
|||
|
||||
UIButton *btset = [[UIButton alloc] init];
|
||||
[btset setImage:[UIImage imageNamed:@"znsp_set"] forState:UIControlStateNormal];
|
||||
[view addSubview:btset];
|
||||
[viewfunctop addSubview:btset];
|
||||
[btset mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.width.offset(36);
|
||||
make.height.offset(30);
|
||||
make.right.equalTo(view).offset(-16);
|
||||
make.right.equalTo(viewfunctop).offset(-16);
|
||||
make.top.offset(0);
|
||||
}];
|
||||
[btset setTag:0];
|
||||
|
@ -138,7 +157,7 @@
|
|||
|
||||
UIButton *btclear = [[UIButton alloc] init];
|
||||
[btclear setImage:[UIImage imageNamed:@"znsp_clear"] forState:UIControlStateNormal];
|
||||
[view addSubview:btclear];
|
||||
[viewfunctop addSubview:btclear];
|
||||
[btclear mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.width.offset(36);
|
||||
make.height.offset(30);
|
||||
|
@ -185,10 +204,11 @@
|
|||
[textView setPlaceholder:@"请填写您对素材的要求"];
|
||||
[textView setPlaceholderColor:RGBCOLOR(90, 98, 106)];
|
||||
[textView setBackgroundColor:[UIColor clearColor]];
|
||||
[textView setMaxLength:200];
|
||||
[view addSubview:textView];
|
||||
[textView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.top.offset(5);
|
||||
make.bottom.equalTo(view).offset(-50);
|
||||
make.bottom.equalTo(view).offset(-5);
|
||||
make.right.equalTo(view).offset(-5);;
|
||||
}];
|
||||
_textImgView = textView;
|
||||
|
@ -222,7 +242,7 @@
|
|||
[btsend mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.size.sizeOffset(CGSizeMake(74, 30));
|
||||
make.right.equalTo(view).offset(-12);
|
||||
make.bottom.equalTo(view).offset(-20);
|
||||
make.bottom.equalTo(view).offset(-12);
|
||||
}];
|
||||
[btsend addTarget:self action:@selector(sendAction) forControlEvents:UIControlEventTouchUpInside];
|
||||
[Tools changedView:btsend colors:@[(id)RGBCOLOR(246, 44, 108).CGColor,(id)RGBCOLOR(252, 79, 84).CGColor] startPoint:CGPointMake(0, 0) endPoint:CGPointMake(1, 0)];
|
||||
|
@ -236,10 +256,11 @@
|
|||
[textView setPlaceholder:@"请填写您对素材的要求"];
|
||||
[textView setPlaceholderColor:RGBCOLOR(90, 98, 106)];
|
||||
[textView setBackgroundColor:[UIColor clearColor]];
|
||||
[textView setMaxLength:200];
|
||||
[view addSubview:textView];
|
||||
[textView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.top.offset(5);
|
||||
make.bottom.equalTo(view).offset(-42);
|
||||
make.bottom.equalTo(view).offset(-5);
|
||||
make.right.equalTo(view).offset(-5);;
|
||||
}];
|
||||
_textView = textView;
|
||||
|
@ -258,7 +279,44 @@
|
|||
[btsend addTarget:self action:@selector(sendAction) forControlEvents:UIControlEventTouchUpInside];
|
||||
[Tools changedView:btsend colors:@[(id)RGBCOLOR(246, 44, 108).CGColor,(id)RGBCOLOR(252, 79, 84).CGColor] startPoint:CGPointMake(0, 0) endPoint:CGPointMake(1, 0)];
|
||||
}
|
||||
-(void)zankaiAction:(UIButton *)sender
|
||||
{
|
||||
sender.selected = !sender.selected;
|
||||
if(sender.selected)
|
||||
{
|
||||
[self.viewtext mas_updateConstraints:^(MASConstraintMaker *make) {
|
||||
make.top.offset(0);
|
||||
}];
|
||||
[self.viewfunctop setHidden:YES];
|
||||
[self mas_updateConstraints:^(MASConstraintMaker *make) {
|
||||
make.height.offset(92+TabHeight-30);
|
||||
}];
|
||||
|
||||
[self.imgvadd mas_updateConstraints:^(MASConstraintMaker *make) {
|
||||
make.width.height.offset(30);
|
||||
}];
|
||||
[self.textImgView mas_updateConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.offset(48);
|
||||
}];
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
[self.viewfunctop setHidden:NO];
|
||||
[self.viewtext mas_updateConstraints:^(MASConstraintMaker *make) {
|
||||
make.top.offset(42);
|
||||
}];
|
||||
[self mas_updateConstraints:^(MASConstraintMaker *make) {
|
||||
make.height.offset(200+TabHeight);
|
||||
}];
|
||||
[self.imgvadd mas_updateConstraints:^(MASConstraintMaker *make) {
|
||||
make.width.height.offset(52);
|
||||
}];
|
||||
[self.textImgView mas_updateConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.offset(5);
|
||||
}];
|
||||
}
|
||||
}
|
||||
-(void)topAction:(UIButton *)sender
|
||||
{
|
||||
if(sender.tag==self.btselect.tag)return;;
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
[self addSubview:player];
|
||||
[player mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
make.left.width.top.equalTo(self);
|
||||
make.height.offset(UISCREEN_HEIGHT-TabHeight-NavHeight-190);
|
||||
make.height.offset(UISCREEN_HEIGHT-NavHeight-TabHeight-90);
|
||||
}];
|
||||
|
||||
UILabel *lbli = [[UILabel alloc] init];
|
||||
|
|
Loading…
Reference in New Issue