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
67c4bb9a
Commit
67c4bb9a
authored
Nov 03, 2017
by
lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug,fix address back
parent
64e9aca2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
4 deletions
+15
-4
KWMNewProductVC.m
iCemarose/Class/UI/NewProduct/KWMNewProductVC.m
+4
-0
KWMSelectAddressVC.m
iCemarose/Class/UI/ShopCart/KWMSelectAddressVC.m
+8
-1
Header-Prefix.h
iCemarose/Header-Prefix.h
+3
-3
No files found.
iCemarose/Class/UI/NewProduct/KWMNewProductVC.m
View file @
67c4bb9a
...
@@ -226,6 +226,10 @@
...
@@ -226,6 +226,10 @@
[
self
kwm_onClickSizeBtn
];
[
self
kwm_onClickSizeBtn
];
return
;
return
;
}
}
if
(
buyNow
)
{
[
self
addShopWithVariantId
:
self
.
variant
.
identifier
quantity
:
self
.
count
variant
:
self
.
variant
buyNow
:
YES
callback
:^
(
BOOL
_
){}];
return
;
}
__weak
KWMNewProductVC
*
this
=
self
;
__weak
KWMNewProductVC
*
this
=
self
;
// TODO: this
// TODO: this
NSArray
<
KWMShopCartModel
*>
*
items
=
[[
KWMShoppingCart
sharedInstance
]
items
];
NSArray
<
KWMShopCartModel
*>
*
items
=
[[
KWMShoppingCart
sharedInstance
]
items
];
...
...
iCemarose/Class/UI/ShopCart/KWMSelectAddressVC.m
View file @
67c4bb9a
...
@@ -275,7 +275,14 @@
...
@@ -275,7 +275,14 @@
}
}
-
(
void
)
kwm_cancel
{
-
(
void
)
kwm_cancel
{
[[
self
navigationController
]
popViewControllerAnimated
:
YES
];
KWMBeforePayVC
*
vc
=
(
KWMBeforePayVC
*
)
self
.
delegate
;
if
(
vc
.
address
)
{
[[
self
navigationController
]
popViewControllerAnimated
:
YES
];
}
else
{
NSArray
*
vcs
=
[[
self
navigationController
]
viewControllers
];
id
top
=
[
vcs
objectAtIndex
:
vcs
.
count
-
3
];
[[
self
navigationController
]
popToViewController
:
top
animated
:
YES
];
}
}
}
-
(
BOOL
)
navigationShouldPopOnBackButton
{
-
(
BOOL
)
navigationShouldPopOnBackButton
{
...
...
iCemarose/Header-Prefix.h
View file @
67c4bb9a
...
@@ -76,6 +76,8 @@
...
@@ -76,6 +76,8 @@
#define WishList_API_DOMAIN @"test.cemarose.com"
#define WishList_API_DOMAIN @"test.cemarose.com"
#define Pay_API_DOMAIN @"liang.tofnews.com"
#define Pay_API_DOMAIN @"liang.tofnews.com"
// Chris Test
#define Pay_API_DOMAIN @"chris.tofnews.com"
//Shopify对应的key(测试用)
//Shopify对应的key(测试用)
#define Shopify_SHOP_DOMAIN @"cemarose-test.myshopify.com"
#define Shopify_SHOP_DOMAIN @"cemarose-test.myshopify.com"
...
@@ -91,10 +93,8 @@
...
@@ -91,10 +93,8 @@
#define WishList_API_DOMAIN @"apps.cemarose.com"
#define WishList_API_DOMAIN @"apps.cemarose.com"
// Chris Test
#define Pay_API_DOMAIN @"chris.tofnews.com"
// Production
// Production
//
#define Pay_API_DOMAIN @"alipay.cemarose.com"
#define Pay_API_DOMAIN @"alipay.cemarose.com"
//Shopify对应的key(正式)
//Shopify对应的key(正式)
...
...
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