Commit ad22f906 authored by 曹云霄's avatar 曹云霄

修改项说明:xcode8.0

parent c896772f
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
- (void)awakeFromNib - (void)awakeFromNib
{ {
[super awakeFromNib];
self.layer.shadowColor = [UIColor grayColor].CGColor; self.layer.shadowColor = [UIColor grayColor].CGColor;
self.layer.shadowRadius = 4; self.layer.shadowRadius = 4;
self.layer.shadowOpacity = 0.3; self.layer.shadowOpacity = 0.3;
......
...@@ -245,7 +245,7 @@ ...@@ -245,7 +245,7 @@
{ {
WS(weakSelf); WS(weakSelf);
NSData *data = UIImageJPEGRepresentation(image, 0.5); NSData *data = UIImageJPEGRepresentation(image, 0.5);
[[NetworkRequestClassManager Manager] UploadImageWithURL:SERVERREQUESTURL(UPLOADHEADER) WithRequestType:1 WithImageDatas:data WithParameter:nil WithReturnValueBlock:^(id returnValue) { [[NetworkRequestClassManager Manager] UploadImageWithURL:SERVERREQUESTURL(UPLOADHEADER) WithRequestType:ONE WithImageDatas:data WithParameter:nil WithReturnValueBlock:^(id returnValue) {
if ([returnValue[@"code"] isEqualToNumber:@0]) { if ([returnValue[@"code"] isEqualToNumber:@0]) {
[weakSelf activationJDECard:returnValue[@"data"]]; [weakSelf activationJDECard:returnValue[@"data"]];
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
- (void)awakeFromNib - (void)awakeFromNib
{ {
[super awakeFromNib];
[self uiConfigAction]; [self uiConfigAction];
} }
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
- (void)awakeFromNib { - (void)awakeFromNib {
// Initialization code // Initialization code
[super awakeFromNib];
} }
- (void)setSelected:(BOOL)selected animated:(BOOL)animated { - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
......
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
#pragma mark -初始化Nib文件 #pragma mark -初始化Nib文件
- (void)awakeFromNib - (void)awakeFromNib
{ {
[super awakeFromNib];
[self uiConfigAction]; [self uiConfigAction];
} }
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
@interface ProductDetailsViewController ()<UITableViewDelegate,UITableViewDataSource,UITextFieldDelegate> @interface ProductDetailsViewController ()<UITableViewDelegate,UITableViewDataSource,UITextFieldDelegate,CAAnimationDelegate>
@property (nonatomic,strong) ProductDetailsHeaderView *headerView; @property (nonatomic,strong) ProductDetailsHeaderView *headerView;
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#import "ExperienceCentreViewController.h" #import "ExperienceCentreViewController.h"
@interface ProductLibraryViewController ()<UICollectionViewDelegate,UICollectionViewDataSource,UIGestureRecognizerDelegate,ScreeningButtonClickdelegate,TableviewSelectedIndexdelegate,SelectedCollectionItemDelegate,DZNEmptyDataSetSource,DZNEmptyDataSetDelegate> @interface ProductLibraryViewController ()<UICollectionViewDelegate,UICollectionViewDataSource,UIGestureRecognizerDelegate,ScreeningButtonClickdelegate,TableviewSelectedIndexdelegate,SelectedCollectionItemDelegate,DZNEmptyDataSetSource,DZNEmptyDataSetDelegate,CAAnimationDelegate>
/** /**
* 筛选背景框View * 筛选背景框View
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
{ {
if (_dataArray == nil) { if (_dataArray == nil) {
_dataArray = @[@"体验中心",@"场景库",@"产品库",@"客户管理",@"关于"]; _dataArray = @[@"体验中心",@"场景库",@"产品库",@"客户管理",@"学习中心",@"关于"];
} }
return _dataArray; return _dataArray;
} }
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
- (NSArray *)subSectionArray - (NSArray *)subSectionArray
{ {
if (!_subSectionArray) { if (!_subSectionArray) {
_subSectionArray = @[@"所有客户",@"客户订单"]; _subSectionArray = @[@"",@"",@"",@[@"所有客户",@"客户订单"],@[@"技能培训",@"技能考核"],@""];
} }
return _subSectionArray; return _subSectionArray;
} }
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
{ {
if (_imageArray == nil) { if (_imageArray == nil) {
_imageArray = [NSArray arrayWithObjects:@"tiyan",@"changjing",@"chanping",@"kehu",@"guanyu", nil]; _imageArray = [NSArray arrayWithObjects:@"tiyan",@"changjing",@"chanping",@"kehu",@"guanyu",@"guanyu", nil];
} }
return _imageArray; return _imageArray;
} }
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{ {
RightControlTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"RightControlTableViewCell" forIndexPath:indexPath]; RightControlTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"RightControlTableViewCell" forIndexPath:indexPath];
cell.sectionTitle.text = self.subSectionArray[indexPath.row]; cell.sectionTitle.text = self.subSectionArray[indexPath.section][indexPath.row];
return cell; return cell;
} }
...@@ -157,8 +157,9 @@ ...@@ -157,8 +157,9 @@
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{ {
BOOL controlClose = [self.sectionClosedArray[section] boolValue]; BOOL controlClose = [self.sectionClosedArray[section] boolValue];
if (section == 3) { if (section == 3 || section == 4) {
return controlClose?self.subSectionArray.count:0; NSArray *subArray = self.subSectionArray[section];
return controlClose?subArray.count:0;
} }
return 0; return 0;
} }
...@@ -205,13 +206,17 @@ ...@@ -205,13 +206,17 @@
- (void)sectionClickAction:(UITapGestureRecognizer *)sender - (void)sectionClickAction:(UITapGestureRecognizer *)sender
{ {
NSInteger index = sender.view.tag; NSInteger index = sender.view.tag;
if (sender.view.tag == 3) { if (index == 3 || index == 4) {
BOOL controlClose = [self.sectionClosedArray[index] boolValue]; BOOL controlClose = [self.sectionClosedArray[index] boolValue];
self.sectionClosedArray[index] = controlClose?@0:@1; self.sectionClosedArray[index] = controlClose?@0:@1;
[self.rightTableview reloadSections:[NSIndexSet indexSetWithIndex:index] withRowAnimation:UITableViewRowAnimationFade]; [self.rightTableview reloadSections:[NSIndexSet indexSetWithIndex:index] withRowAnimation:UITableViewRowAnimationFade];
}else{ }else{
self.sectionClosedArray[3] = @0; self.sectionClosedArray[3] = @0;
[self.rightTableview reloadSections:[NSIndexSet indexSetWithIndex:3] withRowAnimation:UITableViewRowAnimationFade]; self.sectionClosedArray[4] = @0;
NSMutableIndexSet *indexSet = [[NSMutableIndexSet alloc]init];
[indexSet addIndex:3];
[indexSet addIndex:4];
[self.rightTableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationFade];
[self closeSidebarAndPassEvents:self.dataArray[index]]; [self closeSidebarAndPassEvents:self.dataArray[index]];
} }
RightControlSectionView *sectionView = (RightControlSectionView *)sender.view; RightControlSectionView *sectionView = (RightControlSectionView *)sender.view;
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
- (void)awakeFromNib - (void)awakeFromNib
{ {
[super awakeFromNib];
[self uiConfigAction]; [self uiConfigAction];
} }
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
- (void)awakeFromNib - (void)awakeFromNib
{ {
[super awakeFromNib];
[self uiConfigAction]; [self uiConfigAction];
} }
......
...@@ -161,9 +161,17 @@ ...@@ -161,9 +161,17 @@
break; break;
//某某用户 //公告
case 101: case 101:
{
NSLog(@"公告点击");
}
break;
//某某用户
case 102:
{ {
UserViewController *userVC = [[UserViewController alloc]init]; UserViewController *userVC = [[UserViewController alloc]init];
userVC.delegate = self; userVC.delegate = self;
...@@ -178,14 +186,14 @@ ...@@ -178,14 +186,14 @@
break; break;
//我的客户 //我的客户
case 102: case 103:
self.selectedIndex = 2; self.selectedIndex = 2;
break; break;
//购物车 //购物车
case 103: case 104:
//必须设置当前客户才能跳转到购物车 //必须设置当前客户才能跳转到购物车
if (![Shoppersmanager manager].currentCustomer) { if (![Shoppersmanager manager].currentCustomer) {
......
...@@ -74,10 +74,10 @@ ...@@ -74,10 +74,10 @@
//按钮 //按钮
NSString *realName = [[Shoppersmanager manager].Shoppers.employee.realName length]?[Shoppersmanager manager].Shoppers.employee.realName:@"服务导购"; NSString *realName = [[Shoppersmanager manager].Shoppers.employee.realName length]?[Shoppersmanager manager].Shoppers.employee.realName:@"服务导购";
NSArray *titleArray = [NSArray arrayWithObjects:@"功能菜单",realName,@"我的客户",@"购物袋", nil]; NSArray *titleArray = [NSArray arrayWithObjects:@"功能菜单",@"公告",realName,@"我的客户",@"购物袋", nil];
//图片 //图片
NSArray *imageArray = [NSArray arrayWithObjects:@"dial",@"矢量智能对象-1",@"data",@"ablum", nil]; NSArray *imageArray = [NSArray arrayWithObjects:@"dial",@"tips",@"矢量智能对象-1",@"data",@"ablum", nil];
for (int i=1; i<5; i++) { for (int i=1; i<titleArray.count+1; i++) {
CustomButton *button = [CustomButton buttonWithType:UIButtonTypeCustom]; CustomButton *button = [CustomButton buttonWithType:UIButtonTypeCustom];
button.frame = CGRectMake(ScreenWidth-(i*ButtonWIDTH + Buttoninterval*(i-1)), 10, ButtonWIDTH, ButtonRIGHT); button.frame = CGRectMake(ScreenWidth-(i*ButtonWIDTH + Buttoninterval*(i-1)), 10, ButtonWIDTH, ButtonRIGHT);
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
[button addTarget:self action:@selector(ButtonClick:) forControlEvents:UIControlEventTouchUpInside]; [button addTarget:self action:@selector(ButtonClick:) forControlEvents:UIControlEventTouchUpInside];
[button setImage:TCImage([imageArray objectAtIndex_opple:i-1]) forState:UIControlStateNormal]; [button setImage:TCImage([imageArray objectAtIndex_opple:i-1]) forState:UIControlStateNormal];
[self addSubview:button]; [self addSubview:button];
if (i == 4) { if (i == titleArray.count) {
SHARED_APPDELEGATE.shoppingCarPoint = [self convertPoint:CGPointMake(button.center.x, button.center.y) toView:self.window]; SHARED_APPDELEGATE.shoppingCarPoint = [self convertPoint:CGPointMake(button.center.x, button.center.y) toView:self.window];
} }
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
#pragma mark -刷新购物车显示数量 #pragma mark -刷新购物车显示数量
- (void)refreshGoodsNumber:(NSNotification *)object - (void)refreshGoodsNumber:(NSNotification *)object
{ {
CustomButton *button = (CustomButton *)[self viewWithTag:103]; CustomButton *button = (CustomButton *)[self viewWithTag:104];
NSInteger number = [object.object integerValue]; NSInteger number = [object.object integerValue];
if (number) { if (number) {
button.instructionsNumber += number; button.instructionsNumber += number;
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
#pragma mark - 重置购物车显示数量 #pragma mark - 重置购物车显示数量
- (void)resetGoodNumber:(NSNotification *)object - (void)resetGoodNumber:(NSNotification *)object
{ {
CustomButton *button = (CustomButton *)[self viewWithTag:103]; CustomButton *button = (CustomButton *)[self viewWithTag:104];
NSInteger number = [object.object integerValue]; NSInteger number = [object.object integerValue];
button.instructionsNumber = number; button.instructionsNumber = number;
} }
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
#pragma mark - 提示抽奖机会 #pragma mark - 提示抽奖机会
- (void)promptDrawInformation:(NSNotification *)object - (void)promptDrawInformation:(NSNotification *)object
{ {
CustomButton *button = (CustomButton *)[self viewWithTag:101]; CustomButton *button = (CustomButton *)[self viewWithTag:102];
NSInteger number = [object.object integerValue]; NSInteger number = [object.object integerValue];
if (number) { if (number) {
button.instructionsNumber += number; button.instructionsNumber += number;
...@@ -150,9 +150,9 @@ ...@@ -150,9 +150,9 @@
#pragma mark -更改当前用户名 #pragma mark -更改当前用户名
- (void)ChangeCustomerName:(NSNotification *)object - (void)ChangeCustomerName:(NSNotification *)object
{ {
UIButton *button = [self viewWithTag:102]; UIButton *button = [self viewWithTag:103];
NSString *userName = object.object; NSString *userName = object.object;
if (userName.length == 0 || !userName) { if ([BaseViewController isBlankString:userName]) {
userName = @"我的客户"; userName = @"我的客户";
} }
[button setTitle:userName forState:UIControlStateNormal]; [button setTitle:userName forState:UIControlStateNormal];
...@@ -161,9 +161,9 @@ ...@@ -161,9 +161,9 @@
#pragma mark -更改导购名字 #pragma mark -更改导购名字
- (void)ChangeShoppersName:(NSNotification *)object - (void)ChangeShoppersName:(NSNotification *)object
{ {
UIButton *button = [self viewWithTag:101]; UIButton *button = [self viewWithTag:102];
NSString *userName = object.object; NSString *userName = object.object;
if (userName.length == 0 || !userName) { if ([BaseViewController isBlankString:userName]) {
userName = @"导购"; userName = @"导购";
} }
[button setTitle:userName forState:UIControlStateNormal]; [button setTitle:userName forState:UIControlStateNormal];
...@@ -181,8 +181,8 @@ ...@@ -181,8 +181,8 @@
#pragma mark -按钮事件响应 #pragma mark -按钮事件响应
- (void)ButtonClick:(UIButton *)button - (void)ButtonClick:(UIButton *)button
{ {
if (button.tag == 102 || button.tag == 103) { if (button.tag == 101 || button.tag == 103 || button.tag == 104) {
if (!(button.tag == 103 && ![Shoppersmanager manager].currentCustomer)) { if (!(button.tag == 104 && ![Shoppersmanager manager].currentCustomer)) {
self.underlineView.hidden = NO; self.underlineView.hidden = NO;
//下划线动画 //下划线动画
[UIView animateWithDuration:0.2 delay:0 options:UIViewAnimationOptionCurveEaseOut animations:^{ [UIView animateWithDuration:0.2 delay:0 options:UIViewAnimationOptionCurveEaseOut animations:^{
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
- (void)awakeFromNib { - (void)awakeFromNib {
// Initialization code // Initialization code
[super awakeFromNib];
} }
- (void)setSelected:(BOOL)selected animated:(BOOL)animated { - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
- (void)awakeFromNib - (void)awakeFromNib
{ {
[super awakeFromNib];
} }
- (void)setSelected:(BOOL)selected animated:(BOOL)animated { - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
- (void)awakeFromNib - (void)awakeFromNib
{ {
[super awakeFromNib];
[self uiConfigAction]; [self uiConfigAction];
} }
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
- (void)awakeFromNib - (void)awakeFromNib
{ {
// [self uiConfigAction]; [super awakeFromNib];
self.defaultDatasArray = [NSMutableArray array]; self.defaultDatasArray = [NSMutableArray array];
for (int i=0; i<5; i++) { for (int i=0; i<5; i++) {
......
...@@ -1730,7 +1730,7 @@ ...@@ -1730,7 +1730,7 @@
29706D991CD082980003C412 /* Project object */ = { 29706D991CD082980003C412 /* Project object */ = {
isa = PBXProject; isa = PBXProject;
attributes = { attributes = {
LastUpgradeCheck = 0730; LastUpgradeCheck = 0800;
ORGANIZATIONNAME = "上海勾芒科技有限公司"; ORGANIZATIONNAME = "上海勾芒科技有限公司";
TargetAttributes = { TargetAttributes = {
29706DA01CD082980003C412 = { 29706DA01CD082980003C412 = {
...@@ -2015,6 +2015,7 @@ ...@@ -2015,6 +2015,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++"; CLANG_CXX_LIBRARY = "libc++";
...@@ -2025,8 +2026,10 @@ ...@@ -2025,8 +2026,10 @@
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = ""; CODE_SIGN_IDENTITY = "";
...@@ -2061,6 +2064,7 @@ ...@@ -2061,6 +2064,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++"; CLANG_CXX_LIBRARY = "libc++";
...@@ -2071,8 +2075,10 @@ ...@@ -2071,8 +2075,10 @@
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = ""; CODE_SIGN_IDENTITY = "";
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<Scheme <Scheme
LastUpgradeVersion = "0730" LastUpgradeVersion = "0800"
version = "1.3"> version = "1.3">
<BuildAction <BuildAction
parallelizeBuildables = "YES" parallelizeBuildables = "YES"
......
{
"images" : [
{
"idiom" : "universal",
"filename" : "tips.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "tips@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "tips@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
...@@ -47,6 +47,12 @@ ...@@ -47,6 +47,12 @@
</array> </array>
</dict> </dict>
</array> </array>
<!-- 相册 -->
<key>NSPhotoLibraryUsageDescription</key>
<string>App需要您的同意,才能访问相册</string>
<!-- 相机 -->
<key>NSCameraUsageDescription</key>
<string>App需要您的同意,才能访问相机</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string></string> <string></string>
<key>LSApplicationQueriesSchemes</key> <key>LSApplicationQueriesSchemes</key>
......
This diff is collapsed.
...@@ -66,10 +66,7 @@ ...@@ -66,10 +66,7 @@
*/ */
- (void)SHOWPrompttext:(NSString *)Text; - (void)SHOWPrompttext:(NSString *)Text;
/**
* 调用无线打印机......成功回调、失败回调
*/
- (void)callAirprintWithURL:(NSURL *)datasurl SuccessBlock:(void(^)())success ErrorBlock:(void(^)())failed;
/** /**
* 显示提示图片、文本 * 显示提示图片、文本
......
...@@ -8,13 +8,10 @@ ...@@ -8,13 +8,10 @@
#import "BaseViewController.h" #import "BaseViewController.h"
#import "LoginViewController.h" #import "LoginViewController.h"
#import <WebKit/WebKit.h>
@interface BaseViewController ()<UIPrintInteractionControllerDelegate,UIWebViewDelegate,WKNavigationDelegate> @interface BaseViewController ()<UIPrintInteractionControllerDelegate,UIWebViewDelegate>
@property (nonatomic,strong) WKWebView *webView;
/** /**
* 提示框 * 提示框
*/ */
...@@ -57,18 +54,6 @@ ...@@ -57,18 +54,6 @@
return _promptView; return _promptView;
} }
- (WKWebView *)webView
{
if (_webView == nil) {
_webView = [[WKWebView alloc]initWithFrame:CGRectMake(0, 0, ScreenWidth, ScreenHeight)];
}
return _webView;
}
- (void)viewDidLoad { - (void)viewDidLoad {
[super viewDidLoad]; [super viewDidLoad];
// Do any additional setup after loading the view. // Do any additional setup after loading the view.
......
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
/** /**
* 服务器开发地址 * 服务器开发地址
*/ */
//#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://139.196.195.30:8090/opple-web/app%@",URL] #define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://139.196.195.30:8090/opple-web/app%@",URL]
/** /**
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
///** ///**
// * 服务器正式地址 // * 服务器正式地址
// */ // */
#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://dg.opple.com/opple-web/app%@",URL] //#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://dg.opple.com/opple-web/app%@",URL]
/** /**
* 搜索框输入通知 * 搜索框输入通知
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#import "ProductScreeningCollectionViewCell.h" #import "ProductScreeningCollectionViewCell.h"
#import "GoodsCategoryModel.h" #import "GoodsCategoryModel.h"
@interface SceneViewController ()<UITableViewDelegate,UITableViewDataSource,UIGestureRecognizerDelegate,UICollectionViewDelegate,UICollectionViewDataSource,DZNEmptyDataSetSource,UITextFieldDelegate> @interface SceneViewController ()<UITableViewDelegate,UITableViewDataSource,UIGestureRecognizerDelegate,UICollectionViewDelegate,UICollectionViewDataSource,DZNEmptyDataSetSource,UITextFieldDelegate,CAAnimationDelegate>
/** /**
* 场景数据源 * 场景数据源
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment