Commit 4fd3da65 by lee

r

parent 338cdd9e
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
}]; }];
[alertView addButtonWithTitle:@"确定" block:^{ [alertView addButtonWithTitle:@"确定" block:^{
NSString *phoneNum = @"+33(0)983043057"; NSString *phoneNum = @"4006878706";
NSString *phone = [[NSString alloc]initWithFormat:@"tel:%@",phoneNum]; NSString *phone = [[NSString alloc]initWithFormat:@"tel:%@",phoneNum];
[[UIApplication sharedApplication]openURL:[NSURL URLWithString:phone]]; [[UIApplication sharedApplication]openURL:[NSURL URLWithString:phone]];
}]; }];
...@@ -53,7 +53,17 @@ ...@@ -53,7 +53,17 @@
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:Email]]; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:Email]];
} }
- (IBAction)wechatAction:(id)sender {
[self showToast:@"复制成功"];
UIPasteboard *pb = [UIPasteboard generalPasteboard];
pb.string = @"cemarose1";
}
- (IBAction)weiboAction:(id)sender {
[self showToast:@"复制成功"];
UIPasteboard *pb = [UIPasteboard generalPasteboard];
pb.string = @"cemarose";
}
@end @end
...@@ -57,7 +57,7 @@ typedef enum{ ...@@ -57,7 +57,7 @@ typedef enum{
@property(nonatomic) NSMutableDictionary *dataMapping; @property(nonatomic) NSMutableDictionary *dataMapping;
@property(nonatomic) NSString *clotingSetsHandle; //@property(nonatomic) NSString *clotingSetsHandle;
@end @end
...@@ -184,7 +184,8 @@ typedef enum{ ...@@ -184,7 +184,8 @@ typedef enum{
} }
-(void)kwm_gotoClothingSetsPage{ -(void)kwm_gotoClothingSetsPage{
[self openURLWithString:[NSString stringWithFormat:@"https://cemarose.myshopify.com/collections/%@",self.clotingSetsHandle]]; // [self openURLWithString:[NSString stringWithFormat:@"https://cemarose.myshopify.com/collections/%@",self.clotingSetsHandle]];
[self openURLWithString:self.homeData.clothing_sets.url];
} }
#pragma mark - KWMRecommendDelegate KWMClothingSetsDelegate KWMHotSalesDelegate #pragma mark - KWMRecommendDelegate KWMClothingSetsDelegate KWMHotSalesDelegate
...@@ -388,7 +389,7 @@ typedef enum{ ...@@ -388,7 +389,7 @@ typedef enum{
NSString *handle = clothingParam.count > 1 ? clothingParam[1] : nil; NSString *handle = clothingParam.count > 1 ? clothingParam[1] : nil;
NSArray *tags = clothingParam.count > 2 ? [clothingParam[2] componentsSeparatedByString:@"+"] : nil; NSArray *tags = clothingParam.count > 2 ? [clothingParam[2] componentsSeparatedByString:@"+"] : nil;
if (handle) { if (handle) {
self.clotingSetsHandle = handle; // self.clotingSetsHandle = handle;
[self requestProductWithHandle:handle tags:tags valueKeyPath:@"clothingSetsHeader.productArray"]; [self requestProductWithHandle:handle tags:tags valueKeyPath:@"clothingSetsHeader.productArray"];
} }
} }
......
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