Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
ios1x
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cemarose
ios1x
Commits
69ae7ccc
Commit
69ae7ccc
authored
Jul 14, 2017
by
lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u add service up home bug
parent
23f1b4a7
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
7 deletions
+8
-7
KWMAPIManager.m
iCemarose/Class/Api/KWMAPIManager.m
+1
-1
AppDelegate+Deeplink.m
iCemarose/Class/AppDelegate+Deeplink.m
+1
-1
KWMHomeVC.m
iCemarose/Class/UI/Home/KWMHomeVC.m
+0
-2
KWMMainVC.m
iCemarose/Class/UI/KWMMainVC.m
+1
-0
KWMNewHomeVC.m
iCemarose/Class/UI/NewHome/KWMNewHomeVC.m
+3
-1
KWMNewProductVC.m
iCemarose/Class/UI/NewProduct/KWMNewProductVC.m
+2
-2
No files found.
iCemarose/Class/Api/KWMAPIManager.m
View file @
69ae7ccc
...
...
@@ -683,7 +683,7 @@ static NSString *const passwordTest = @"9e84aae218c57cdf0762763c4cf5a651";
}
-
(
NSURLSessionDataTask
*
)
getHomeDataWithSuccess
:
(
void
(
^
)(
NSURLSessionDataTask
*
,
KWMHomeDataResult
*
))
success
failure
:
(
void
(
^
)(
NSURLSessionDataTask
*
,
NSError
*
))
failure
{
NSString
*
apiPath
=
@"https://ogbgohpla.qnssl.com/App.Home.json
?1
"
;
NSString
*
apiPath
=
@"https://ogbgohpla.qnssl.com/App.Home.json"
;
return
[
self
startSessionTask
:
KWMHTTPMethodGET
apiPath
:
apiPath
parameters
:
nil
result
:
[
KWMHomeDataResult
class
]
model
:
nil
success
:
success
failure
:
failure
];
}
...
...
iCemarose/Class/AppDelegate+Deeplink.m
View file @
69ae7ccc
...
...
@@ -34,7 +34,7 @@
KWMNewProductVC
*
vc
=
[
KWMNewProductVC
getNewInstance
];
// KWMProductDetailVC *productDetailVC = (KWMProductDetailVC*)[KWMBaseVC findControllerBy:[KWMProductDetailVC kwmTag] fromStoryboard:@"New"];
// productDetailVC.product = brandCell.leftProduct;
// productDetailVC
.handle = parameters[@"id"];
vc
.
handle
=
parameters
[
@"id"
];
// NSLog(@"%@",[AppDelegate mainViewController].selectedViewController);
[[
AppDelegate
mainViewController
].
selectedViewController
pushViewController
:
vc
animated
:
YES
];
return
YES
;
...
...
iCemarose/Class/UI/Home/KWMHomeVC.m
View file @
69ae7ccc
...
...
@@ -43,8 +43,6 @@
[
super
viewDidLoad
];
_dataArr
=
[
NSArray
array
];
[
self
requestBlogAPI
];
// FIXME: mo to main
[
self
.
api
loginWebSuccess
:
nil
failure
:
nil
];
}
-
(
UITableView
*
)
targetTableView
{
...
...
iCemarose/Class/UI/KWMMainVC.m
View file @
69ae7ccc
...
...
@@ -51,6 +51,7 @@
[
defaults
setBool
:
NO
forKey
:
KEY_USER_REGISTER
];
[
defaults
synchronize
];
}
[[
KWMAPIManager
sharedManager
]
loginWebSuccess
:
nil
failure
:
nil
];
}
-
(
void
)
initSplash
{
...
...
iCemarose/Class/UI/NewHome/KWMNewHomeVC.m
View file @
69ae7ccc
...
...
@@ -170,6 +170,7 @@ typedef enum{
-
(
void
)
kwm_onClickDeliveryMenu
{
NSLog
(
@"deliverymenu"
);
[
self
openURLWithString
:
@"https://www.cemarose.com/blogs/service-description/sd"
];
}
#pragma makr - KWMRecommendDelegate KWMClothingSetsDelegate KWMHotSalesDelegate
...
...
@@ -370,7 +371,8 @@ typedef enum{
self
.
clothingSetsHeader
.
headerImage
=
self
.
homeData
.
clothing_sets
.
image
;
// self.hotSalesHeader.singleShowArray = testArray;
// self.hotSalesHeader.bannerArray = testArray;
NSArray
*
clothingParam
=
[
self
.
homeData
.
clothing_sets
.
url
arrayOfCaptureComponentsMatchedByRegex
:
@"collections
\\
/(.*?)
\\
/(.*)"
];
// self.homeData.clothing_sets.url =@"https://www.cemarose.cn/collections/skirts/girls+spring-summer-2016";
NSArray
*
clothingParam
=
[
self
.
homeData
.
clothing_sets
.
url
arrayOfCaptureComponentsMatchedByRegex
:
@"collections
\\
/([^/]*+)
\\
/?(.*)$"
];
if
(
clothingParam
.
count
)
{
clothingParam
=
clothingParam
.
firstObject
;
NSString
*
handle
=
clothingParam
.
count
>
1
?
clothingParam
[
1
]
:
nil
;
...
...
iCemarose/Class/UI/NewProduct/KWMNewProductVC.m
View file @
69ae7ccc
...
...
@@ -66,8 +66,8 @@
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
self
.
productId
=
@
(
7436196294
);
self
.
product
=
nil
;
//
self.productId = @(7436196294);
//
self.product = nil;
[
self
initView
];
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment