Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
Opple-iOS
Project
Project
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
张杰
Opple-iOS
Commits
4c5cda30
Commit
4c5cda30
authored
May 25, 2016
by
勾芒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
3c7dd16d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
367 additions
and
223 deletions
+367
-223
AllCustomerViewController.m
Lighting/Class/AllCustomerViewController.m
+30
-35
ClientViewController.m
Lighting/Class/ClientViewController.m
+43
-2
FullScreenViewCell.h
Lighting/Class/FullScreenViewCell.h
+6
-0
FullScreenViewCell.m
Lighting/Class/FullScreenViewCell.m
+3
-4
FullScreenViewController.h
Lighting/Class/FullScreenViewController.h
+7
-0
FullScreenViewController.m
Lighting/Class/FullScreenViewController.m
+38
-8
LoginViewController.m
Lighting/Class/Login/LoginViewController.m
+16
-1
OrderTableViewCell.m
Lighting/Class/OrderTableViewCell.m
+1
-1
ProductDetailsHeaderView.xib
Lighting/Class/ProductDetailsHeaderView.xib
+36
-36
ProductDetailsViewController.m
Lighting/Class/ProductDetailsViewController.m
+15
-9
ProductLibraryViewController.h
Lighting/Class/ProductLibraryViewController.h
+5
-0
ProductLibraryViewController.m
Lighting/Class/ProductLibraryViewController.m
+73
-61
SceneLibraryViewController.m
Lighting/Class/SceneLibraryViewController.m
+33
-35
SettlementViewController.h
Lighting/Class/SettlementViewController.h
+4
-0
SettlementViewController.m
Lighting/Class/SettlementViewController.m
+1
-1
SettlementViewController.xib
Lighting/Class/SettlementViewController.xib
+1
-0
AddressViewController.m
Lighting/Class/Shoppingcart/AddressViewController.m
+0
-2
CustomTabbarController.m
Lighting/Class/Tabbar/CustomTabbarController.m
+1
-0
AppDelegate.h
Lighting/Lighting/AppDelegate.h
+4
-0
Contents.json
.../Lighting/Images.xcassets/icondown.imageset/Contents.json
+22
-0
icondown.png
...g/Lighting/Images.xcassets/icondown.imageset/icondown.png
+0
-0
icondown@2x.png
...ighting/Images.xcassets/icondown.imageset/icondown@2x.png
+0
-0
StoryboardwithCYX.storyboard
Lighting/Lighting/StoryboardwithCYX.storyboard
+28
-28
No files found.
Lighting/Class/AllCustomerViewController.m
View file @
4c5cda30
...
@@ -52,41 +52,6 @@
...
@@ -52,41 +52,6 @@
}
}
#pragma mark -视图渲染完成
-
(
void
)
viewDidAppear
:
(
BOOL
)
animated
{
//下拉刷新
MjRefreshHeaderCustom
*
headerRefresh
=
[
MjRefreshHeaderCustom
headerWithRefreshingBlock
:
^
{
ConsumerQueryCondition
*
condition
=
[[
ConsumerQueryCondition
alloc
]
init
];
DataPage
*
page
=
[[
DataPage
alloc
]
init
];
page
.
page
=
1
;
page
.
rows
=
10
;
condition
.
page
=
page
;
[
self
getShoppersAssociatedCustomer
:
condition
isRemove
:
YES
];
}];
headerRefresh
.
stateLabel
.
hidden
=
YES
;
headerRefresh
.
lastUpdatedTimeLabel
.
hidden
=
YES
;
self
.
allCustomerTableview
.
mj_header
=
headerRefresh
;
[
self
.
allCustomerTableview
.
mj_header
beginRefreshing
];
//上拉加载
self
.
allCustomerTableview
.
mj_footer
=
[
MJRefreshAutoNormalFooter
footerWithRefreshingBlock
:
^
{
ConsumerQueryCondition
*
condition
=
[[
ConsumerQueryCondition
alloc
]
init
];
DataPage
*
page
=
[[
DataPage
alloc
]
init
];
page
.
rows
=
10
;
if
(
self
.
indexPage
++
>
self
.
totalPages
)
{
[
self
.
allCustomerTableview
.
mj_footer
endRefreshingWithNoMoreData
];
}
else
{
page
.
page
=
self
.
indexPage
++
;
condition
.
page
=
page
;
[
self
getShoppersAssociatedCustomer
:
condition
isRemove
:
NO
];
}
}];
}
#pragma mark -UI
#pragma mark -UI
...
@@ -129,6 +94,36 @@
...
@@ -129,6 +94,36 @@
self
.
begindateButton
.
layer
.
cornerRadius
=
10
;
self
.
begindateButton
.
layer
.
cornerRadius
=
10
;
self
.
enddateButton
.
layer
.
masksToBounds
=
YES
;
self
.
enddateButton
.
layer
.
masksToBounds
=
YES
;
self
.
enddateButton
.
layer
.
cornerRadius
=
10
;
self
.
enddateButton
.
layer
.
cornerRadius
=
10
;
//下拉刷新
MjRefreshHeaderCustom
*
headerRefresh
=
[
MjRefreshHeaderCustom
headerWithRefreshingBlock
:
^
{
ConsumerQueryCondition
*
condition
=
[[
ConsumerQueryCondition
alloc
]
init
];
DataPage
*
page
=
[[
DataPage
alloc
]
init
];
page
.
page
=
1
;
page
.
rows
=
10
;
condition
.
page
=
page
;
[
self
getShoppersAssociatedCustomer
:
condition
isRemove
:
YES
];
}];
headerRefresh
.
stateLabel
.
hidden
=
YES
;
headerRefresh
.
lastUpdatedTimeLabel
.
hidden
=
YES
;
self
.
allCustomerTableview
.
mj_header
=
headerRefresh
;
[
self
.
allCustomerTableview
.
mj_header
beginRefreshing
];
//上拉加载
self
.
allCustomerTableview
.
mj_footer
=
[
MJRefreshAutoNormalFooter
footerWithRefreshingBlock
:
^
{
ConsumerQueryCondition
*
condition
=
[[
ConsumerQueryCondition
alloc
]
init
];
DataPage
*
page
=
[[
DataPage
alloc
]
init
];
page
.
rows
=
10
;
if
(
self
.
indexPage
++
>
self
.
totalPages
)
{
[
self
.
allCustomerTableview
.
mj_footer
endRefreshingWithNoMoreData
];
}
else
{
page
.
page
=
self
.
indexPage
++
;
condition
.
page
=
page
;
[
self
getShoppersAssociatedCustomer
:
condition
isRemove
:
NO
];
}
}];
}
}
...
...
Lighting/Class/ClientViewController.m
View file @
4c5cda30
...
@@ -198,7 +198,8 @@
...
@@ -198,7 +198,8 @@
}
}
}
WithErrorCodeBlock
:^
(
id
errorCodeValue
)
{
}
WithErrorCodeBlock
:^
(
id
errorCodeValue
)
{
[
self
RemoveMBProgressHUDLoding
];
[
self
promptCustomerWithString
:
@"网络连接已断开"
];
}
WithFailureBlock
:^
(
id
error
)
{
}
WithFailureBlock
:^
(
id
error
)
{
...
@@ -313,6 +314,9 @@
...
@@ -313,6 +314,9 @@
}
WithErrorCodeBlock
:^
(
id
errorCodeValue
)
{
}
WithErrorCodeBlock
:^
(
id
errorCodeValue
)
{
[
self
RemoveMBProgressHUDLoding
];
[
self
promptCustomerWithString
:
@"网络连接已断开"
];
}
WithFailureBlock
:^
(
id
error
)
{
}
WithFailureBlock
:^
(
id
error
)
{
NSLog
(
@"写入客户访问时间失败"
);
NSLog
(
@"写入客户访问时间失败"
);
...
@@ -426,6 +430,7 @@
...
@@ -426,6 +430,7 @@
[
self
SetupUserShoppingCarNumberRequest
];
[
self
SetupUserShoppingCarNumberRequest
];
[
self
SetupUserRequest
];
[
self
SetupUserRequest
];
[
self
ChangeCustomerName
];
[
self
ChangeCustomerName
];
[
self
addAddressInformationRequest
];
}
}
else
else
{
{
...
@@ -434,7 +439,8 @@
...
@@ -434,7 +439,8 @@
}
WithErrorCodeBlock
:^
(
id
errorCodeValue
)
{
}
WithErrorCodeBlock
:^
(
id
errorCodeValue
)
{
[
self
RemoveMBProgressHUDLoding
];
[
self
promptCustomerWithString
:
@"网络连接已断开"
];
}
WithFailureBlock
:^
(
id
error
)
{
}
WithFailureBlock
:^
(
id
error
)
{
...
@@ -444,6 +450,38 @@
...
@@ -444,6 +450,38 @@
}
}
#pragma mark -新增客户成功写入默认地址信息
-
(
void
)
addAddressInformationRequest
{
TOShippingAddrEntity
*
address
=
[[
TOShippingAddrEntity
alloc
]
init
];
address
.
consumerId
=
[
Customermanager
manager
].
customerID
;
address
.
name
=
self
.
customerNameField
.
text
;
address
.
miblephone
=
self
.
phoneNumberField
.
text
;
address
.
address
=
self
.
customerAddress
.
text
;
[[
NetworkRequestClassManager
Manager
]
NetworkRequestWithURL
:[
NSString
stringWithFormat
:
@"%@%@"
,
ServerAddress
,
@"/shippingAddress/save"
]
WithRequestType
:
0
WithParameter
:
address
WithReturnValueBlock
:^
(
id
returnValue
)
{
if
([
returnValue
[
@"code"
]
isEqualToNumber
:
@0
])
{
NSLog
(
@"写入默认收货地址成功"
);
}
else
{
[
self
ErrorMBProgressView
:
returnValue
[
@"message"
]];
}
}
WithErrorCodeBlock
:^
(
id
errorCodeValue
)
{
[
self
RemoveMBProgressHUDLoding
];
[
self
promptCustomerWithString
:
@"网络连接已断开"
];
}
WithFailureBlock
:^
(
id
error
)
{
NSLog
(
@"写入默认收货地址失败"
);
}];
}
#pragma mark -更改客户信息
#pragma mark -更改客户信息
-
(
IBAction
)
changeCustomerInformation
:
(
UIButton
*
)
sender
{
-
(
IBAction
)
changeCustomerInformation
:
(
UIButton
*
)
sender
{
...
@@ -530,6 +568,9 @@
...
@@ -530,6 +568,9 @@
}
WithErrorCodeBlock
:^
(
id
errorCodeValue
)
{
}
WithErrorCodeBlock
:^
(
id
errorCodeValue
)
{
[
self
RemoveMBProgressHUDLoding
];
[
self
promptCustomerWithString
:
@"网络连接已断开"
];
}
WithFailureBlock
:^
(
id
error
)
{
}
WithFailureBlock
:^
(
id
error
)
{
[
self
RemoveMBProgressHUDLoding
];
[
self
RemoveMBProgressHUDLoding
];
...
...
Lighting/Class/FullScreenViewCell.h
View file @
4c5cda30
...
@@ -10,4 +10,10 @@
...
@@ -10,4 +10,10 @@
@interface
FullScreenViewCell
:
UICollectionViewCell
@interface
FullScreenViewCell
:
UICollectionViewCell
/**
* 显示图片
*/
@property
(
nonatomic
,
strong
)
UIImageView
*
imageView
;
@end
@end
Lighting/Class/FullScreenViewCell.m
View file @
4c5cda30
...
@@ -16,10 +16,9 @@
...
@@ -16,10 +16,9 @@
{
{
if
(
self
=
[
super
initWithFrame
:
frame
])
{
if
(
self
=
[
super
initWithFrame
:
frame
])
{
UIImageView
*
imageView
=
[[
UIImageView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
0
,
ScreenWidth
,
ScreenHeight
)];
self
.
imageView
=
[[
UIImageView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
0
,
ScreenWidth
,
ScreenHeight
)];
imageView
.
image
=
TCImage
(
@"登录"
);
self
.
imageView
.
userInteractionEnabled
=
YES
;
imageView
.
userInteractionEnabled
=
YES
;
[
self
.
contentView
addSubview
:
self
.
imageView
];
[
self
.
contentView
addSubview
:
imageView
];
}
}
return
self
;
return
self
;
}
}
...
...
Lighting/Class/FullScreenViewController.h
View file @
4c5cda30
...
@@ -10,4 +10,11 @@
...
@@ -10,4 +10,11 @@
@interface
FullScreenViewController
:
UICollectionViewController
@interface
FullScreenViewController
:
UICollectionViewController
/**
* 传入数据源数组
*/
@property
(
nonatomic
,
copy
)
NSArray
*
datasArray
;
@end
@end
Lighting/Class/FullScreenViewController.m
View file @
4c5cda30
...
@@ -63,18 +63,23 @@ static NSString * const reuseIdentifier = @"Cell";
...
@@ -63,18 +63,23 @@ static NSString * const reuseIdentifier = @"Cell";
#pragma amrk 返回View
#pragma amrk 返回View
-
(
void
)
CreateBackView
-
(
void
)
CreateBackView
{
{
self
.
backView
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
0
,
ScreenWidth
,
64
)];
self
.
backView
=
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
0
,
ScreenWidth
,
0
)];
self
.
backView
.
backgroundColor
=
kMainGrayColor
;
self
.
backView
.
backgroundColor
=
[
kMainGrayColor
colorWithAlphaComponent
:
0
.
5
]
;
[
self
.
view
addSubview
:
self
.
backView
];
[
self
.
view
addSubview
:
self
.
backView
];
//返回按钮
//返回按钮
UIButton
*
backButton
=
[
UIButton
buttonWithType
:
UIButtonTypeCustom
];
UIButton
*
backButton
=
[
UIButton
buttonWithType
:
UIButtonTypeCustom
];
backButton
.
frame
=
CGRectMake
(
50
,
0
,
100
,
64
);
backButton
.
frame
=
CGRectMake
(
30
,
0
,
100
,
64
);
[
backButton
setTitle
:
@"返回"
forState
:
UIControlStateNormal
];
[
backButton
setImage
:
TCImage
(
@"1"
)
forState
:
UIControlStateNormal
];
[
backButton
addTarget
:
self
action
:
@selector
(
BackButtonClick
)
forControlEvents
:
UIControlEventTouchUpInside
];
[
backButton
addTarget
:
self
action
:
@selector
(
BackButtonClick
)
forControlEvents
:
UIControlEventTouchUpInside
];
[
self
.
backView
addSubview
:
backButton
];
[
self
.
backView
addSubview
:
backButton
];
//随心配
//体验中心
UIButton
*
tiYanCenterButton
=
[
UIButton
buttonWithType
:
UIButtonTypeCustom
];
tiYanCenterButton
.
frame
=
CGRectMake
(
ScreenWidth
-
100
,
0
,
100
,
64
);
[
tiYanCenterButton
setImage
:
TCImage
(
@"1"
)
forState
:
UIControlStateNormal
];
[
tiYanCenterButton
addTarget
:
self
action
:
@selector
(
GotoTiYanCenterButtonClick
)
forControlEvents
:
UIControlEventTouchUpInside
];
[
self
.
backView
addSubview
:
tiYanCenterButton
];
}
}
#pragma mark -返回
#pragma mark -返回
...
@@ -83,12 +88,17 @@ static NSString * const reuseIdentifier = @"Cell";
...
@@ -83,12 +88,17 @@ static NSString * const reuseIdentifier = @"Cell";
[
self
dismissViewControllerAnimated
:
YES
completion
:
nil
];
[
self
dismissViewControllerAnimated
:
YES
completion
:
nil
];
}
}
#pragma mark -体验中心
-
(
void
)
GotoTiYanCenterButtonClick
{
}
#pragma mark -UI
#pragma mark -UI
-
(
void
)
uiConfigAction
-
(
void
)
uiConfigAction
{
{
self
.
collectionView
.
pagingEnabled
=
YES
;
self
.
collectionView
.
pagingEnabled
=
YES
;
self
.
collectionView
.
backgroundColor
=
[
UIColor
whiteColor
];
[
self
.
collectionView
registerClass
:[
FullScreenViewCell
class
]
forCellWithReuseIdentifier
:
reuseIdentifier
];
[
self
.
collectionView
registerClass
:[
FullScreenViewCell
class
]
forCellWithReuseIdentifier
:
reuseIdentifier
];
}
}
...
@@ -96,18 +106,38 @@ static NSString * const reuseIdentifier = @"Cell";
...
@@ -96,18 +106,38 @@ static NSString * const reuseIdentifier = @"Cell";
#pragma mark <UICollectionViewDataSource>
#pragma mark <UICollectionViewDataSource>
-
(
NSInteger
)
collectionView
:
(
UICollectionView
*
)
collectionView
numberOfItemsInSection
:
(
NSInteger
)
section
{
-
(
NSInteger
)
collectionView
:
(
UICollectionView
*
)
collectionView
numberOfItemsInSection
:
(
NSInteger
)
section
{
return
10
;
return
self
.
datasArray
.
count
;
}
}
-
(
UICollectionViewCell
*
)
collectionView
:
(
UICollectionView
*
)
collectionView
cellForItemAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
-
(
UICollectionViewCell
*
)
collectionView
:
(
UICollectionView
*
)
collectionView
cellForItemAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
FullScreenViewCell
*
cell
=
[
collectionView
dequeueReusableCellWithReuseIdentifier
:
reuseIdentifier
forIndexPath
:
indexPath
];
FullScreenViewCell
*
cell
=
[
collectionView
dequeueReusableCellWithReuseIdentifier
:
reuseIdentifier
forIndexPath
:
indexPath
];
cell
.
backgroundColor
=
kTCColor
(
251
,
248
,
241
);
[
cell
.
imageView
sd_setImageWithURL
:[
NSURL
URLWithString
:[
self
.
datasArray
objectAtIndex_opple
:
indexPath
.
item
]]
placeholderImage
:
REPLACEIMAGE
];
return
cell
;
return
cell
;
}
}
-
(
void
)
collectionView
:
(
UICollectionView
*
)
collectionView
didSelectItemAtIndexPath
:
(
NSIndexPath
*
)
indexPath
-
(
void
)
collectionView
:
(
UICollectionView
*
)
collectionView
didSelectItemAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
{
NSLog
(
@"%ld"
,
indexPath
.
item
);
NSLog
(
@"%ld"
,
indexPath
.
item
);
if
(
self
.
backView
.
frame
.
size
.
height
==
0
)
{
[
UIView
animateWithDuration
:
0
.
5
animations
:
^
{
CGRect
frame
=
self
.
backView
.
frame
;
frame
.
size
.
height
=
64
;
self
.
backView
.
frame
=
frame
;
}];
}
else
if
(
self
.
backView
.
frame
.
size
.
height
==
64
)
{
[
UIView
animateWithDuration
:
0
.
5
animations
:
^
{
CGRect
frame
=
self
.
backView
.
frame
;
frame
.
size
.
height
=
0
;
self
.
backView
.
frame
=
frame
;
}];
}
}
}
#pragma mark <UICollectionViewDelegate>
#pragma mark <UICollectionViewDelegate>
...
...
Lighting/Class/Login/LoginViewController.m
View file @
4c5cda30
...
@@ -11,6 +11,10 @@
...
@@ -11,6 +11,10 @@
#import "AppDelegate.h"
#import "AppDelegate.h"
#import "authenticateView.h"
#import "authenticateView.h"
#import "FollowHeartViewController.h"
#import "FollowHeartViewController.h"
#import "SceneLibraryViewController.h"
#import "ProductLibraryViewController.h"
#import "AllCustomerViewController.h"
#import "CustomerOrderViewController.h"
@interface
LoginViewController
()
<
RightVCselectedDelegate
>
@interface
LoginViewController
()
<
RightVCselectedDelegate
>
...
@@ -170,6 +174,7 @@
...
@@ -170,6 +174,7 @@
//保存用户名密码
//保存用户名密码
[[
NSUserDefaults
standardUserDefaults
]
setObject
:
self
.
userName
.
text
forKey
:
USERNAME
];
[[
NSUserDefaults
standardUserDefaults
]
setObject
:
self
.
userName
.
text
forKey
:
USERNAME
];
[[
NSUserDefaults
standardUserDefaults
]
setObject
:
self
.
passWord
.
text
forKey
:
PASSWORD
];
[[
NSUserDefaults
standardUserDefaults
]
setObject
:
self
.
passWord
.
text
forKey
:
PASSWORD
];
[[
NSUserDefaults
standardUserDefaults
]
synchronize
];
[
self
SetTheRootViewController
];
[
self
SetTheRootViewController
];
}
else
}
else
...
@@ -200,19 +205,29 @@
...
@@ -200,19 +205,29 @@
}
else
if
([
Name
isEqualToString
:
@"场景库"
])
}
else
if
([
Name
isEqualToString
:
@"场景库"
])
{
{
selectedIndex
=
5
;
selectedIndex
=
5
;
SceneLibraryViewController
*
sceneVC
=
[
SHARED_APPDELEGATE
.
allControllerArray
objectAtIndex_opple
:
5
];
[
sceneVC
.
seceneLibararyCollectionView
.
mj_header
beginRefreshing
];
}
else
if
([
Name
isEqualToString
:
@"产品库"
])
}
else
if
([
Name
isEqualToString
:
@"产品库"
])
{
{
selectedIndex
=
4
;
selectedIndex
=
4
;
ProductLibraryViewController
*
productVC
=
[
SHARED_APPDELEGATE
.
allControllerArray
objectAtIndex_opple
:
4
];
[
productVC
.
productCollectionView
.
mj_header
beginRefreshing
];
}
else
if
([
Name
isEqualToString
:
@"客户管理"
])
}
else
if
([
Name
isEqualToString
:
@"客户管理"
])
{
{
selectedIndex
=
3
;
selectedIndex
=
3
;
}
else
if
([
Name
isEqualToString
:
@"所有客户"
])
}
else
if
([
Name
isEqualToString
:
@"所有客户"
])
{
{
selectedIndex
=
2
;
selectedIndex
=
2
;
AllCustomerViewController
*
AllcustomerVC
=
[
SHARED_APPDELEGATE
.
allControllerArray
objectAtIndex_opple
:
2
];
[
AllcustomerVC
.
allCustomerTableview
.
mj_header
beginRefreshing
];
}
else
if
([
Name
isEqualToString
:
@"客户订单"
])
}
else
if
([
Name
isEqualToString
:
@"客户订单"
])
{
{
selectedIndex
=
1
;
selectedIndex
=
1
;
CustomerOrderViewController
*
customerVC
=
[
SHARED_APPDELEGATE
.
allControllerArray
objectAtIndex_opple
:
1
];
[
customerVC
.
customerOrderTableView
.
mj_header
beginRefreshing
];
}
else
if
([
Name
isEqualToString
:
@"关于"
])
}
else
if
([
Name
isEqualToString
:
@"关于"
])
{
{
selectedIndex
=
0
;
selectedIndex
=
0
;
...
...
Lighting/Class/OrderTableViewCell.m
View file @
4c5cda30
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
-
(
void
)
setModel
:
(
OrderBill
*
)
model
-
(
void
)
setModel
:
(
OrderBill
*
)
model
{
{
_model
=
model
;
_model
=
model
;
self
.
orderTime
.
text
=
[
self
dateAsString
:
_model
.
order
.
orderTime
]
;
self
.
orderTime
.
text
=
_model
.
order
.
orderTime
;
self
.
orderState
.
text
=
_model
.
order
.
orderState
;
self
.
orderState
.
text
=
_model
.
order
.
orderState
;
self
.
customerName
.
text
=
_model
.
consumer
.
name
;
self
.
customerName
.
text
=
_model
.
consumer
.
name
;
//总数量
//总数量
...
...
Lighting/Class/ProductDetailsHeaderView.xib
View file @
4c5cda30
This diff is collapsed.
Click to expand it.
Lighting/Class/ProductDetailsViewController.m
View file @
4c5cda30
...
@@ -97,15 +97,12 @@
...
@@ -97,15 +97,12 @@
[
self
ErrorMBProgressView
:
returnValue
[
@"message"
]];
[
self
ErrorMBProgressView
:
returnValue
[
@"message"
]];
}
}
}
WithErrorCodeBlock
:^
(
id
errorCodeValue
)
{
}
WithErrorCodeBlock
:^
(
id
errorCodeValue
)
{
}
WithFailureBlock
:^
(
id
error
)
{
}
WithFailureBlock
:^
(
id
error
)
{
[
self
RemoveMBProgressHUDLoding
];
[
self
RemoveMBProgressHUDLoding
];
NSLog
(
@"%@"
,
error
);
}];
}];
}
}
...
@@ -133,15 +130,15 @@
...
@@ -133,15 +130,15 @@
self
.
headerView
.
serialNumber
.
text
=
self
.
entity
.
code
;
self
.
headerView
.
serialNumber
.
text
=
self
.
entity
.
code
;
self
.
headerView
.
nameLabe
.
text
=
self
.
entity
.
name
;
self
.
headerView
.
nameLabe
.
text
=
self
.
entity
.
name
;
self
.
headerView
.
brandName
.
text
=
self
.
entity
.
company
;
self
.
headerView
.
brandName
.
text
=
self
.
entity
.
company
;
self
.
headerView
.
dorpPriceLabe
.
text
=
[
NSString
stringWithFormat
:
@"
%.2f"
,[
self
.
entity
.
tag
Price
floatValue
]];
self
.
headerView
.
dorpPriceLabe
.
text
=
[
NSString
stringWithFormat
:
@"
¥%.2f"
,[
self
.
entity
.
guide
Price
floatValue
]];
self
.
imagesArray
=
[
NSMutableArray
arrayWithArray
:[
self
.
entity
.
pictures
componentsSeparatedByString
:
@","
]];
self
.
imagesArray
=
[
NSMutableArray
arrayWithArray
:[
self
.
entity
.
pictures
componentsSeparatedByString
:
@","
]];
[
self
.
headerView
.
goodsImageview
sd_setImageWithURL
:[
self
.
imagesArray
firstObject
]
placeholderImage
:
REPLACEIMAGE
];
[
self
.
headerView
.
goodsImageview
sd_setImageWithURL
:[
self
.
imagesArray
firstObject
]
placeholderImage
:
REPLACEIMAGE
];
//商品小图
//商品小图
self
.
imagesArray
=
[
NSMutableArray
arrayWithArray
:[
self
.
entity
.
pictures
componentsSeparatedByString
:
@","
]];
self
.
imagesArray
=
[
NSMutableArray
arrayWithArray
:[
self
.
entity
.
pictures
componentsSeparatedByString
:
@","
]];
for
(
int
i
=
0
;
i
<
self
.
imagesArray
.
count
;
i
++
)
{
for
(
int
i
=
0
;
i
<
self
.
imagesArray
.
count
;
i
++
)
{
UIImageView
*
subImageview
=
[[
UIImageView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
i
*
100
,
80
,
80
)];
UIImageView
*
subImageview
=
[[
UIImageView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
i
*
100
,
80
,
60
)];
subImageview
.
backgroundColor
=
[
UIColor
redColor
];
subImageview
.
tag
=
100
+
i
;
subImageview
.
tag
=
100
+
i
;
subImageview
.
userInteractionEnabled
=
YES
;
[
subImageview
sd_setImageWithURL
:[
NSURL
URLWithString
:[
self
.
imagesArray
objectAtIndex_opple
:
i
]]
placeholderImage
:
REPLACEIMAGE
];
[
subImageview
sd_setImageWithURL
:[
NSURL
URLWithString
:[
self
.
imagesArray
objectAtIndex_opple
:
i
]]
placeholderImage
:
REPLACEIMAGE
];
[
subImageview
addGestureRecognizer
:[[
UITapGestureRecognizer
alloc
]
initWithTarget
:
self
action
:
@selector
(
SubimageViewClickAction
:)]];
[
subImageview
addGestureRecognizer
:[[
UITapGestureRecognizer
alloc
]
initWithTarget
:
self
action
:
@selector
(
SubimageViewClickAction
:)]];
[
self
.
headerView
.
goodsBrotherScrollview
addSubview
:
subImageview
];
[
self
.
headerView
.
goodsBrotherScrollview
addSubview
:
subImageview
];
...
@@ -157,20 +154,28 @@
...
@@ -157,20 +154,28 @@
}
}
#pragma mark -小图点击手势
#pragma mark -小图点击手势
、切换图片显示
-
(
void
)
SubimageViewClickAction
:
(
UITapGestureRecognizer
*
)
tap
-
(
void
)
SubimageViewClickAction
:
(
UITapGestureRecognizer
*
)
tap
{
{
[
self
.
headerView
.
goodsImageview
sd_setImageWithURL
:[
self
.
imagesArray
objectAtIndex_opple
:
tap
.
view
.
tag
-
100
]
placeholderImage
:
REPLACEIMAGE
];
}
}
#pragma mark -图片放大点击
#pragma mark -图片放大点击
-
(
void
)
amplificationButtonClick
-
(
void
)
amplificationButtonClick
{
{
FullScreenViewController
*
fullScreenVC
=
[[
FullScreenViewController
alloc
]
init
];
FullScreenViewController
*
fullScreenVC
=
[[
FullScreenViewController
alloc
]
init
];
[
self
presentViewController
:
fullScreenVC
animated
:
YES
completion
:
nil
];
fullScreenVC
.
datasArray
=
self
.
imagesArray
;
dispatch_async
(
dispatch_get_main_queue
(),
^
{
[
self
presentViewController
:
fullScreenVC
animated
:
YES
completion
:
nil
];
});
}
}
-
(
UITableViewCell
*
)
tableView
:
(
UITableView
*
)
tableView
cellForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
-
(
UITableViewCell
*
)
tableView
:
(
UITableView
*
)
tableView
cellForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
{
if
(
indexPath
.
section
==
0
)
{
if
(
indexPath
.
section
==
0
)
{
...
@@ -183,6 +188,7 @@
...
@@ -183,6 +188,7 @@
{
{
goodsDetailsTableViewCell
*
cell
=
[
tableView
dequeueReusableCellWithIdentifier
:
@"goodsdetailscell"
forIndexPath
:
indexPath
];
goodsDetailsTableViewCell
*
cell
=
[
tableView
dequeueReusableCellWithIdentifier
:
@"goodsdetailscell"
forIndexPath
:
indexPath
];
[
cell
.
detailsImageView
sd_setImageWithURL
:[
NSURL
URLWithString
:[
self
.
goodsDetailsArray
objectAtIndex_opple
:
indexPath
.
row
]]
placeholderImage
:
REPLACEIMAGE
];
[
cell
.
detailsImageView
sd_setImageWithURL
:[
NSURL
URLWithString
:[
self
.
goodsDetailsArray
objectAtIndex_opple
:
indexPath
.
row
]]
placeholderImage
:
REPLACEIMAGE
];
return
cell
;
return
cell
;
}
}
return
nil
;
return
nil
;
...
...
Lighting/Class/ProductLibraryViewController.h
View file @
4c5cda30
...
@@ -27,4 +27,9 @@
...
@@ -27,4 +27,9 @@
*/
*/
@property
(
nonatomic
,
copy
)
NSString
*
selectedCode
;
@property
(
nonatomic
,
copy
)
NSString
*
selectedCode
;
/**
* 二维码code
*/
@property
(
nonatomic
,
copy
)
NSString
*
barcode
;
@end
@end
Lighting/Class/ProductLibraryViewController.m
View file @
4c5cda30
...
@@ -88,15 +88,6 @@
...
@@ -88,15 +88,6 @@
}
}
-
(
void
)
viewWillAppear
:
(
BOOL
)
animated
{
// if (_screeningDatas != nil) {
//
// [self getGoodsListDatas];
// }
}
/**
/**
* 初始化商品数据源数组
* 初始化商品数据源数组
*/
*/
...
@@ -119,61 +110,10 @@
...
@@ -119,61 +110,10 @@
self
.
view
.
backgroundColor
=
[
UIColor
blueColor
];
self
.
view
.
backgroundColor
=
[
UIColor
blueColor
];
[
self
uiConfigAction
];
[
self
uiConfigAction
];
[
self
GetdatasAction
];
}
}
#pragma mark 视图渲染完成
-
(
void
)
viewDidAppear
:
(
BOOL
)
animated
{
//下拉刷新
MjRefreshHeaderCustom
*
headerRefresh
=
[
MjRefreshHeaderCustom
headerWithRefreshingBlock
:
^
{
//默认数据
GoodsCondition
*
conditon
=
[[
GoodsCondition
alloc
]
init
];
//分页数据
DataPage
*
Newpage
=
[[
DataPage
alloc
]
init
];
Newpage
.
page
=
1
;
Newpage
.
rows
=
10
;
conditon
.
page
=
Newpage
;
self
.
indexPage
=
1
;
//搜索
if
(
_selectedCode
)
{
conditon
.
categoryEquals
=
_selectedCode
;
conditon
.
nameLike
=
_selectedCode
;
}
[
self
.
productCollectionView
.
mj_footer
resetNoMoreData
];
[
self
getScreeningdatasisRemoveArray
:
YES
];
[
self
getGoodsListDatasisRemove
:
YES
Withobject
:
conditon
];
}];
headerRefresh
.
stateLabel
.
hidden
=
YES
;
headerRefresh
.
lastUpdatedTimeLabel
.
hidden
=
YES
;
self
.
productCollectionView
.
mj_header
=
headerRefresh
;
[
self
.
productCollectionView
.
mj_header
beginRefreshing
];
//上拉加载
self
.
productCollectionView
.
mj_footer
=
[
MJRefreshAutoNormalFooter
footerWithRefreshingBlock
:
^
{
//默认数据
GoodsCondition
*
conditon
=
[[
GoodsCondition
alloc
]
init
];
//分页数据
DataPage
*
Newpage
=
[[
DataPage
alloc
]
init
];
if
(
self
.
indexPage
++
>
self
.
totalPages
)
{
[
self
.
productCollectionView
.
mj_footer
endRefreshingWithNoMoreData
];
}
else
{
Newpage
.
page
=
self
.
indexPage
++
;
Newpage
.
rows
=
10
;
conditon
.
page
=
Newpage
;
//搜索
if
(
_selectedCode
)
{
conditon
.
categoryEquals
=
_selectedCode
;
conditon
.
nameLike
=
_selectedCode
;
}
[
self
getGoodsListDatasisRemove
:
NO
Withobject
:
conditon
];
}
}];
}
#pragma mark -获取商品列表数据
#pragma mark -获取商品列表数据
-
(
void
)
getGoodsListDatasisRemove
:
(
BOOL
)
remove
Withobject
:
(
GoodsCondition
*
)
conditon
-
(
void
)
getGoodsListDatasisRemove
:
(
BOOL
)
remove
Withobject
:
(
GoodsCondition
*
)
conditon
...
@@ -275,10 +215,82 @@
...
@@ -275,10 +215,82 @@
self
.
productCollectionView
.
delegate
=
self
;
self
.
productCollectionView
.
delegate
=
self
;
self
.
productCollectionView
.
alwaysBounceVertical
=
YES
;
self
.
productCollectionView
.
alwaysBounceVertical
=
YES
;
[
self
CreatescreeningButton
];
[
self
CreatescreeningButton
];
}
#pragma mark -获取数据
-
(
void
)
GetdatasAction
{
//下拉刷新
MjRefreshHeaderCustom
*
headerRefresh
=
[
MjRefreshHeaderCustom
headerWithRefreshingBlock
:
^
{
//默认数据
GoodsCondition
*
conditon
=
[[
GoodsCondition
alloc
]
init
];
//分页数据
DataPage
*
Newpage
=
[[
DataPage
alloc
]
init
];
Newpage
.
page
=
1
;
Newpage
.
rows
=
10
;
conditon
.
page
=
Newpage
;
self
.
indexPage
=
1
;
//搜索
if
(
_selectedCode
)
{
conditon
.
categoryEquals
=
_selectedCode
;
conditon
.
nameLike
=
_selectedCode
;
}
[
self
.
productCollectionView
.
mj_footer
resetNoMoreData
];
[
self
getScreeningdatasisRemoveArray
:
YES
];
[
self
getGoodsListDatasisRemove
:
YES
Withobject
:
conditon
];
}];
headerRefresh
.
stateLabel
.
hidden
=
YES
;
headerRefresh
.
lastUpdatedTimeLabel
.
hidden
=
YES
;
self
.
productCollectionView
.
mj_header
=
headerRefresh
;
[
self
.
productCollectionView
.
mj_header
beginRefreshing
];
//上拉加载
self
.
productCollectionView
.
mj_footer
=
[
MJRefreshAutoNormalFooter
footerWithRefreshingBlock
:
^
{
//默认数据
GoodsCondition
*
conditon
=
[[
GoodsCondition
alloc
]
init
];
//分页数据
DataPage
*
Newpage
=
[[
DataPage
alloc
]
init
];
if
(
self
.
indexPage
++
>
self
.
totalPages
)
{
[
self
.
productCollectionView
.
mj_footer
endRefreshingWithNoMoreData
];
}
else
{
Newpage
.
page
=
self
.
indexPage
++
;
Newpage
.
rows
=
10
;
conditon
.
page
=
Newpage
;
//搜索
if
(
_selectedCode
)
{
conditon
.
categoryEquals
=
_selectedCode
;
conditon
.
nameLike
=
_selectedCode
;
}
[
self
getGoodsListDatasisRemove
:
NO
Withobject
:
conditon
];
}
}];
}
}
#pragma mark 填条形码搜索
-
(
void
)
barCodeSearchRequest
{
if
(
self
.
barcode
)
{
[[
NetworkRequestClassManager
Manager
]
NetworkWithDictionaryRequestWithURL
:[
NSString
stringWithFormat
:
@"%@%@"
,
ServerAddress
,
@"/goods/getGoodsByCode/"
]
WithRequestType
:
1
WithParameter
:
nil
WithReturnValueBlock
:^
(
id
returnValue
)
{
}
WithErrorCodeBlock
:^
(
id
errorCodeValue
)
{
}
WithFailureBlock
:^
(
id
error
)
{
}];
}
}
#pragma mark -筛选按钮
#pragma mark -筛选按钮
...
...
Lighting/Class/SceneLibraryViewController.m
View file @
4c5cda30
...
@@ -78,41 +78,6 @@
...
@@ -78,41 +78,6 @@
}
}
#pragma mark -视图渲染完成
-
(
void
)
viewDidAppear
:
(
BOOL
)
animated
{
//下拉刷新
MjRefreshHeaderCustom
*
headerRefresh
=
[
MjRefreshHeaderCustom
headerWithRefreshingBlock
:
^
{
//默认数据
SceneCondition
*
condition
=
[[
SceneCondition
alloc
]
init
];
DataPage
*
page
=
[[
DataPage
alloc
]
init
];
page
.
page
=
1
;
page
.
rows
=
10
;
condition
.
page
=
page
;
[
self
.
seceneLibararyCollectionView
.
mj_footer
resetNoMoreData
];
[
self
getSceneLibrarydatas
:
condition
isRemove
:
YES
];
}];
headerRefresh
.
stateLabel
.
hidden
=
YES
;
headerRefresh
.
lastUpdatedTimeLabel
.
hidden
=
YES
;
self
.
seceneLibararyCollectionView
.
mj_header
=
headerRefresh
;
[
self
.
seceneLibararyCollectionView
.
mj_header
beginRefreshing
];
//上拉加载
self
.
seceneLibararyCollectionView
.
mj_footer
=
[
MJRefreshAutoNormalFooter
footerWithRefreshingBlock
:
^
{
//默认数据
SceneCondition
*
condition
=
[[
SceneCondition
alloc
]
init
];
DataPage
*
page
=
[[
DataPage
alloc
]
init
];
if
(
self
.
indexPage
++
>
self
.
totalPages
)
{
[
self
.
seceneLibararyCollectionView
.
mj_footer
endRefreshingWithNoMoreData
];
}
else
{
page
.
page
=
self
.
indexPage
++
;
page
.
rows
=
10
;
condition
.
page
=
page
;
[
self
getSceneLibrarydatas
:
condition
isRemove
:
NO
];
}
}];
}
#pragma mark -UI
#pragma mark -UI
...
@@ -146,6 +111,39 @@
...
@@ -146,6 +111,39 @@
[
self
.
backView
addSubview
:
self
.
SpaceButton
];
[
self
.
backView
addSubview
:
self
.
SpaceButton
];
self
.
indexPage
=
1
;
self
.
indexPage
=
1
;
//下拉刷新
MjRefreshHeaderCustom
*
headerRefresh
=
[
MjRefreshHeaderCustom
headerWithRefreshingBlock
:
^
{
//默认数据
SceneCondition
*
condition
=
[[
SceneCondition
alloc
]
init
];
DataPage
*
page
=
[[
DataPage
alloc
]
init
];
page
.
page
=
1
;
page
.
rows
=
10
;
condition
.
page
=
page
;
[
self
.
seceneLibararyCollectionView
.
mj_footer
resetNoMoreData
];
[
self
getSceneLibrarydatas
:
condition
isRemove
:
YES
];
}];
headerRefresh
.
stateLabel
.
hidden
=
YES
;
headerRefresh
.
lastUpdatedTimeLabel
.
hidden
=
YES
;
self
.
seceneLibararyCollectionView
.
mj_header
=
headerRefresh
;
[
self
.
seceneLibararyCollectionView
.
mj_header
beginRefreshing
];
//上拉加载
self
.
seceneLibararyCollectionView
.
mj_footer
=
[
MJRefreshAutoNormalFooter
footerWithRefreshingBlock
:
^
{
//默认数据
SceneCondition
*
condition
=
[[
SceneCondition
alloc
]
init
];
DataPage
*
page
=
[[
DataPage
alloc
]
init
];
if
(
self
.
indexPage
++
>
self
.
totalPages
)
{
[
self
.
seceneLibararyCollectionView
.
mj_footer
endRefreshingWithNoMoreData
];
}
else
{
page
.
page
=
self
.
indexPage
++
;
page
.
rows
=
10
;
condition
.
page
=
page
;
[
self
getSceneLibrarydatas
:
condition
isRemove
:
NO
];
}
}];
}
}
#pragma mark -获取场景筛选数据
#pragma mark -获取场景筛选数据
-
(
void
)
getdatasAction
-
(
void
)
getdatasAction
...
...
Lighting/Class/SettlementViewController.h
View file @
4c5cda30
...
@@ -115,6 +115,10 @@
...
@@ -115,6 +115,10 @@
@property
(
nonatomic
,
copy
)
void
(
^
PaySuccessReturnBlock
)();
@property
(
nonatomic
,
copy
)
void
(
^
PaySuccessReturnBlock
)();
/**
* 背景Scrollview
*/
@property
(
weak
,
nonatomic
)
IBOutlet
UIScrollView
*
myScrollView
;
@end
@end
Lighting/Class/SettlementViewController.m
View file @
4c5cda30
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
self
.
cancelButton
.
layer
.
cornerRadius
=
kCornerRadius
;
self
.
cancelButton
.
layer
.
cornerRadius
=
kCornerRadius
;
self
.
sureButton
.
layer
.
masksToBounds
=
YES
;
self
.
sureButton
.
layer
.
masksToBounds
=
YES
;
self
.
sureButton
.
layer
.
cornerRadius
=
kCornerRadius
;
self
.
sureButton
.
layer
.
cornerRadius
=
kCornerRadius
;
self
.
myScrollView
.
contentSize
=
CGSizeMake
(
0
,
self
.
view
.
frame
.
size
.
height
+
100
);
}
}
...
...
Lighting/Class/SettlementViewController.xib
View file @
4c5cda30
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
<outlet
property=
"invoiceBackView"
destination=
"beF-Oa-HVo"
id=
"m2o-SG-Fwk"
/>
<outlet
property=
"invoiceBackView"
destination=
"beF-Oa-HVo"
id=
"m2o-SG-Fwk"
/>
<outlet
property=
"invoiceHeader"
destination=
"nrc-w9-AuC"
id=
"bst-2e-Eeb"
/>
<outlet
property=
"invoiceHeader"
destination=
"nrc-w9-AuC"
id=
"bst-2e-Eeb"
/>
<outlet
property=
"invoiceType"
destination=
"h52-sh-k1p"
id=
"JeZ-ug-MEv"
/>
<outlet
property=
"invoiceType"
destination=
"h52-sh-k1p"
id=
"JeZ-ug-MEv"
/>
<outlet
property=
"myScrollView"
destination=
"Zin-kL-ulL"
id=
"DbE-Wx-6aV"
/>
<outlet
property=
"payTreasureButton"
destination=
"u1Q-iA-oUv"
id=
"kTp-v5-rTM"
/>
<outlet
property=
"payTreasureButton"
destination=
"u1Q-iA-oUv"
id=
"kTp-v5-rTM"
/>
<outlet
property=
"payTypeButton"
destination=
"BtK-gu-0KG"
id=
"kZG-tn-0Xt"
/>
<outlet
property=
"payTypeButton"
destination=
"BtK-gu-0KG"
id=
"kZG-tn-0Xt"
/>
<outlet
property=
"showPayQrCodeImageView"
destination=
"evA-uJ-YEb"
id=
"nJS-kx-aPc"
/>
<outlet
property=
"showPayQrCodeImageView"
destination=
"evA-uJ-YEb"
id=
"nJS-kx-aPc"
/>
...
...
Lighting/Class/Shoppingcart/AddressViewController.m
View file @
4c5cda30
...
@@ -206,8 +206,6 @@
...
@@ -206,8 +206,6 @@
NSLog
(
@"%@"
,
error
);
NSLog
(
@"%@"
,
error
);
[
self
RemoveMBProgressHUDLoding
];
[
self
RemoveMBProgressHUDLoding
];
}];
}];
}
}
//@synthesize fid;
//@synthesize fid;
//@synthesize createDate;
//@synthesize createDate;
...
...
Lighting/Class/Tabbar/CustomTabbarController.m
View file @
4c5cda30
...
@@ -132,6 +132,7 @@
...
@@ -132,6 +132,7 @@
self
.
vcArray
=
[
NSArray
arrayWithObjects
:
aboutNav
,
cutomerorderNav
,
allcustomerNav
,
customerNav
,
productNav
,
sceneNav
,
followNav
,
clientNav
,
shoppingNav
,
searchNav
,
nil
];
self
.
vcArray
=
[
NSArray
arrayWithObjects
:
aboutNav
,
cutomerorderNav
,
allcustomerNav
,
customerNav
,
productNav
,
sceneNav
,
followNav
,
clientNav
,
shoppingNav
,
searchNav
,
nil
];
self
.
viewControllers
=
self
.
vcArray
;
self
.
viewControllers
=
self
.
vcArray
;
SHARED_APPDELEGATE
.
allControllerArray
=
[
NSArray
arrayWithObjects
:
aboutVC
,
customerOrderVC
,
allcustomerVC
,
customerVC
,
productVC
,
sceneVC
,
followVC
,
clientVC
,
shoppingVC
,
searchVC
,
nil
];
self
.
selectedIndex
=
7
;
self
.
selectedIndex
=
7
;
}
}
...
...
Lighting/Lighting/AppDelegate.h
View file @
4c5cda30
...
@@ -42,6 +42,10 @@
...
@@ -42,6 +42,10 @@
*/
*/
@property
(
nonatomic
,
assign
)
CGPoint
shoppingCarPoint
;
@property
(
nonatomic
,
assign
)
CGPoint
shoppingCarPoint
;
/**
* 所有控制器对象
*/
@property
(
nonatomic
,
strong
)
NSArray
*
allControllerArray
;
-
(
void
)
saveContext
;
-
(
void
)
saveContext
;
-
(
NSURL
*
)
applicationDocumentsDirectory
;
-
(
NSURL
*
)
applicationDocumentsDirectory
;
...
...
Lighting/Lighting/Images.xcassets/icondown.imageset/Contents.json
0 → 100644
View file @
4c5cda30
{
"images"
:
[
{
"idiom"
:
"universal"
,
"filename"
:
"icondown.png"
,
"scale"
:
"1x"
},
{
"idiom"
:
"universal"
,
"filename"
:
"icondown@2x.png"
,
"scale"
:
"2x"
},
{
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
}
}
\ No newline at end of file
Lighting/Lighting/Images.xcassets/icondown.imageset/icondown.png
0 → 100644
View file @
4c5cda30
1.22 KB
Lighting/Lighting/Images.xcassets/icondown.imageset/icondown@2x.png
0 → 100644
View file @
4c5cda30
1.62 KB
Lighting/Lighting/StoryboardwithCYX.storyboard
View file @
4c5cda30
This diff is collapsed.
Click to expand it.
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