Commit 6d585141 authored by 曹云霄's avatar 曹云霄

no message

parent 1b63bffd
...@@ -630,7 +630,7 @@ NSString *const PROMOTIONALSTRING = @"促销信息"; ...@@ -630,7 +630,7 @@ NSString *const PROMOTIONALSTRING = @"促销信息";
[printButton setTitle:@"打印" forState:UIControlStateNormal]; [printButton setTitle:@"打印" forState:UIControlStateNormal];
[printButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; [printButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
printButton.titleLabel.font = [UIFont systemFontOfSize:12]; printButton.titleLabel.font = [UIFont systemFontOfSize:12];
[printButton addTarget:self action:@selector(AirprintButtonClick:) forControlEvents:UIControlEventTouchUpInside]; [printButton addTarget:self action:@selector(airprintButtonClick:) forControlEvents:UIControlEventTouchUpInside];
printButton.layer.masksToBounds = YES; printButton.layer.masksToBounds = YES;
printButton.layer.cornerRadius = kCornerRadius; printButton.layer.cornerRadius = kCornerRadius;
printButton.backgroundColor = kMainBlueColor; printButton.backgroundColor = kMainBlueColor;
...@@ -642,7 +642,7 @@ NSString *const PROMOTIONALSTRING = @"促销信息"; ...@@ -642,7 +642,7 @@ NSString *const PROMOTIONALSTRING = @"促销信息";
[shareButton setTitle:@"分享" forState:UIControlStateNormal]; [shareButton setTitle:@"分享" forState:UIControlStateNormal];
[shareButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; [shareButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
shareButton.titleLabel.font = [UIFont systemFontOfSize:12]; shareButton.titleLabel.font = [UIFont systemFontOfSize:12];
[shareButton addTarget:self action:@selector(ShareButtonClick:) forControlEvents:UIControlEventTouchUpInside]; [shareButton addTarget:self action:@selector(shareButtonClick:) forControlEvents:UIControlEventTouchUpInside];
shareButton.layer.masksToBounds = YES; shareButton.layer.masksToBounds = YES;
shareButton.layer.cornerRadius = kCornerRadius; shareButton.layer.cornerRadius = kCornerRadius;
shareButton.backgroundColor = kMainBlueColor; shareButton.backgroundColor = kMainBlueColor;
...@@ -981,7 +981,7 @@ NSString *const PROMOTIONALSTRING = @"促销信息"; ...@@ -981,7 +981,7 @@ NSString *const PROMOTIONALSTRING = @"促销信息";
} }
#pragma mark -打印订单 #pragma mark -打印订单
- (void)AirprintButtonClick:(UIButton *)button - (void)airprintButtonClick:(UIButton *)button
{ {
NSString *server = [NSString stringWithFormat:SERVERREQUESTURL(ORDERDETAILSURL),[Shoppersmanager manager].shoppers.employee.departid,self.orderCode]; NSString *server = [NSString stringWithFormat:SERVERREQUESTURL(ORDERDETAILSURL),[Shoppersmanager manager].shoppers.employee.departid,self.orderCode];
NSString *newServer = [server stringByReplacingOccurrencesOfString:@"/app" withString:@""]; NSString *newServer = [server stringByReplacingOccurrencesOfString:@"/app" withString:@""];
...@@ -1069,7 +1069,7 @@ NSString *const PROMOTIONALSTRING = @"促销信息"; ...@@ -1069,7 +1069,7 @@ NSString *const PROMOTIONALSTRING = @"促销信息";
} }
#pragma mark - 分享订单 #pragma mark - 分享订单
- (void)ShareButtonClick:(UIButton *)sender - (void)shareButtonClick:(UIButton *)sender
{ {
ShareGoodsViewController *shareController = [[ShareGoodsViewController alloc]init]; ShareGoodsViewController *shareController = [[ShareGoodsViewController alloc]init];
shareController.type = SHARE_ORDER; shareController.type = SHARE_ORDER;
......
...@@ -96,14 +96,14 @@ typedef NS_ENUM(NSInteger,COMMENT_PRAISE) { ...@@ -96,14 +96,14 @@ typedef NS_ENUM(NSInteger,COMMENT_PRAISE) {
/** /**
* 服务器开发地址 * 服务器开发地址
*/ */
#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://gomoredev:8082/opple-web/app%@",URL] //#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://gomoredev:8082/opple-web/app%@",URL]
//外网http://debenson.picp.io/opple-web/ //外网http://debenson.picp.io/opple-web/
/** /**
* 服务器测试地址 * 服务器测试地址
*/ */
//#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://dg-dev.opple.com/opple-web/app%@",URL] #define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://dg-dev.opple.com/opple-web/app%@",URL]
//** //**
// * 服务器正式地址 // * 服务器正式地址
......
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