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
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
...
@@ -11,15 +11,15 @@
...
@@ -11,15 +11,15 @@
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<subviews>
<view
contentMode=
"scaleToFill"
id=
"NBT-2d-V2o"
>
<view
contentMode=
"scaleToFill"
id=
"NBT-2d-V2o"
>
<rect
key=
"frame"
x=
"20"
y=
"2
0"
width=
"350"
height=
"350
"
/>
<rect
key=
"frame"
x=
"20"
y=
"2
1"
width=
"385"
height=
"358
"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
flexibleMaxX=
"YES"
heightSizable=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
flexibleMaxX=
"YES"
heightSizable=
"YES"
/>
<subviews>
<subviews>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"140046029-MX260-D112-03-星冠-5700K(4)"
id=
"tLl-kB-n3W"
>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"140046029-MX260-D112-03-星冠-5700K(4)"
id=
"tLl-kB-n3W"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"3
50"
height=
"350
"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"3
85"
height=
"358
"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
flexibleMaxX=
"YES"
heightSizable=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
</imageView>
</imageView>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
id=
"JMO-LV-nJ6"
>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
id=
"JMO-LV-nJ6"
>
<rect
key=
"frame"
x=
"
270
"
y=
"0.0"
width=
"80"
height=
"80"
/>
<rect
key=
"frame"
x=
"
305
"
y=
"0.0"
width=
"80"
height=
"80"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<state
key=
"normal"
image=
"2"
/>
<state
key=
"normal"
image=
"2"
/>
</button>
</button>
...
@@ -27,109 +27,109 @@
...
@@ -27,109 +27,109 @@
<color
key=
"backgroundColor"
red=
"0.9882352941176471"
green=
"0.97254901960784312"
blue=
"0.93725490196078431"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"backgroundColor"
red=
"0.9882352941176471"
green=
"0.97254901960784312"
blue=
"0.93725490196078431"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
</view>
</view>
<scrollView
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"scaleToFill"
id=
"tsa-PY-0mz"
>
<scrollView
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"scaleToFill"
id=
"tsa-PY-0mz"
>
<rect
key=
"frame"
x=
"
38
3"
y=
"59"
width=
"80"
height=
"269"
/>
<rect
key=
"frame"
x=
"
41
3"
y=
"59"
width=
"80"
height=
"269"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
</scrollView>
</scrollView>
<view
contentMode=
"scaleToFill"
id=
"hq9-lr-unI"
>
<view
contentMode=
"scaleToFill"
id=
"hq9-lr-unI"
>
<rect
key=
"frame"
x=
"
487
"
y=
"15"
width=
"1"
height=
"350"
/>
<rect
key=
"frame"
x=
"
515
"
y=
"15"
width=
"1"
height=
"350"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<color
key=
"backgroundColor"
red=
"0.81960784313725488"
green=
"0.81960784313725488"
blue=
"0.81960784313725488"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"backgroundColor"
red=
"0.81960784313725488"
green=
"0.81960784313725488"
blue=
"0.81960784313725488"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
</view>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"编号:"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"usf-4V-c8q"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"编号:"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"usf-4V-c8q"
>
<rect
key=
"frame"
x=
"5
14
"
y=
"44"
width=
"56"
height=
"17"
/>
<rect
key=
"frame"
x=
"5
30
"
y=
"44"
width=
"56"
height=
"17"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<color
key=
"textColor"
red=
"0.
0"
green=
"0.0"
blue=
"0.0
"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"textColor"
red=
"0.
59999999999999998"
green=
"0.59999999999999998"
blue=
"0.59999999999999998
"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"LAD-89757"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"b7B-yI-JEC"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"LAD-89757"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"b7B-yI-JEC"
>
<rect
key=
"frame"
x=
"5
72"
y=
"44"
width=
"130"
height=
"17
"
/>
<rect
key=
"frame"
x=
"5
88"
y=
"42"
width=
"163"
height=
"20
"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"
14
"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"
20
"
/>
<color
key=
"textColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"textColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"名称:"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"5aK-6t-o1q"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"名称:"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"5aK-6t-o1q"
>
<rect
key=
"frame"
x=
"5
14
"
y=
"76"
width=
"56"
height=
"17"
/>
<rect
key=
"frame"
x=
"5
30
"
y=
"76"
width=
"56"
height=
"17"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<color
key=
"textColor"
red=
"0.
0"
green=
"0.0"
blue=
"0.0
"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"textColor"
red=
"0.
59999999999999998"
green=
"0.59999999999999998"
blue=
"0.59999999999999998
"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"名称字段"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"NlJ-8b-gcl"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"名称字段"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"NlJ-8b-gcl"
>
<rect
key=
"frame"
x=
"5
72
"
y=
"76"
width=
"130"
height=
"17"
/>
<rect
key=
"frame"
x=
"5
88
"
y=
"76"
width=
"130"
height=
"17"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<color
key=
"textColor"
red=
"0.
0"
green=
"0.0"
blue=
"0.0
"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"textColor"
red=
"0.
59999999999999998"
green=
"0.59999999999999998"
blue=
"0.59999999999999998
"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"品牌:"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"hX3-Vg-O1n"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"品牌:"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"hX3-Vg-O1n"
>
<rect
key=
"frame"
x=
"5
14
"
y=
"106"
width=
"56"
height=
"17"
/>
<rect
key=
"frame"
x=
"5
30
"
y=
"106"
width=
"56"
height=
"17"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<color
key=
"textColor"
red=
"0.
0"
green=
"0.0"
blue=
"0.0
"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"textColor"
red=
"0.
59999999999999998"
green=
"0.59999999999999998"
blue=
"0.59999999999999998
"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"欧普"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"Hf9-WK-7u5"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"欧普"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"Hf9-WK-7u5"
>
<rect
key=
"frame"
x=
"5
72
"
y=
"106"
width=
"130"
height=
"17"
/>
<rect
key=
"frame"
x=
"5
88
"
y=
"106"
width=
"130"
height=
"17"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<color
key=
"textColor"
red=
"0.
0"
green=
"0.0"
blue=
"0.0
"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"textColor"
red=
"0.
59999999999999998"
green=
"0.59999999999999998"
blue=
"0.59999999999999998
"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"吊牌价:"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"ol6-U8-o5v"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"吊牌价:"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"ol6-U8-o5v"
>
<rect
key=
"frame"
x=
"5
14"
y=
"137
"
width=
"56"
height=
"17"
/>
<rect
key=
"frame"
x=
"5
30"
y=
"150
"
width=
"56"
height=
"17"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<color
key=
"textColor"
red=
"0.
0"
green=
"0.0"
blue=
"0.0
"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"textColor"
red=
"0.
59999999999999998"
green=
"0.59999999999999998"
blue=
"0.59999999999999998
"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"¥12800"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"Rka-oV-nyM"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"¥12800"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"Rka-oV-nyM"
>
<rect
key=
"frame"
x=
"5
72"
y=
"137"
width=
"130"
height=
"17
"
/>
<rect
key=
"frame"
x=
"5
88"
y=
"148"
width=
"163"
height=
"20
"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"
14
"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"
20
"
/>
<color
key=
"textColor"
red=
"0.
0"
green=
"0.0"
blue=
"0.0
"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"textColor"
red=
"0.
9882352941176471"
green=
"0.33725490196078434"
blue=
"0.12156862745098039
"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"数量:"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"Vfu-v1-b5l"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"数量:"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"Vfu-v1-b5l"
>
<rect
key=
"frame"
x=
"5
14
"
y=
"227"
width=
"56"
height=
"17"
/>
<rect
key=
"frame"
x=
"5
30
"
y=
"227"
width=
"56"
height=
"17"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<color
key=
"textColor"
red=
"0.
0"
green=
"0.0"
blue=
"0.0
"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"textColor"
red=
"0.
59999999999999998"
green=
"0.59999999999999998"
blue=
"0.59999999999999998
"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"库存:"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"9XR-2D-r0I"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"库存:"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"9XR-2D-r0I"
>
<rect
key=
"frame"
x=
"5
14
"
y=
"272"
width=
"56"
height=
"17"
/>
<rect
key=
"frame"
x=
"5
30
"
y=
"272"
width=
"56"
height=
"17"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<color
key=
"textColor"
red=
"0.
0"
green=
"0.0"
blue=
"0.0
"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"textColor"
red=
"0.
59999999999999998"
green=
"0.59999999999999998"
blue=
"0.59999999999999998
"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"34"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"zXN-Uh-XtZ"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"34"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"zXN-Uh-XtZ"
>
<rect
key=
"frame"
x=
"5
72
"
y=
"272"
width=
"70"
height=
"17"
/>
<rect
key=
"frame"
x=
"5
88
"
y=
"272"
width=
"70"
height=
"17"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<color
key=
"textColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"textColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<button
opaque=
"NO"
tag=
"101"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"roundedRect"
lineBreakMode=
"middleTruncation"
id=
"SQd-9e-TXr"
>
<button
opaque=
"NO"
tag=
"101"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"roundedRect"
lineBreakMode=
"middleTruncation"
id=
"SQd-9e-TXr"
>
<rect
key=
"frame"
x=
"6
59
"
y=
"221"
width=
"30"
height=
"30"
/>
<rect
key=
"frame"
x=
"6
75
"
y=
"221"
width=
"30"
height=
"30"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<state
key=
"normal"
backgroundImage=
"add"
/>
<state
key=
"normal"
backgroundImage=
"add"
/>
</button>
</button>
<button
opaque=
"NO"
tag=
"100"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"roundedRect"
lineBreakMode=
"middleTruncation"
id=
"rRp-ny-V8g"
>
<button
opaque=
"NO"
tag=
"100"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"roundedRect"
lineBreakMode=
"middleTruncation"
id=
"rRp-ny-V8g"
>
<rect
key=
"frame"
x=
"5
72
"
y=
"221"
width=
"30"
height=
"30"
/>
<rect
key=
"frame"
x=
"5
88
"
y=
"221"
width=
"30"
height=
"30"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<state
key=
"normal"
backgroundImage=
"reduce"
/>
<state
key=
"normal"
backgroundImage=
"reduce"
/>
</button>
</button>
<textField
opaque=
"NO"
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
text=
"1"
borderStyle=
"roundedRect"
textAlignment=
"center"
minimumFontSize=
"17"
id=
"gOn-EI-HN5"
>
<textField
opaque=
"NO"
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"left"
contentVerticalAlignment=
"center"
text=
"1"
borderStyle=
"roundedRect"
textAlignment=
"center"
minimumFontSize=
"17"
id=
"gOn-EI-HN5"
>
<rect
key=
"frame"
x=
"6
04
"
y=
"221"
width=
"50"
height=
"30"
/>
<rect
key=
"frame"
x=
"6
20
"
y=
"221"
width=
"50"
height=
"30"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<textInputTraits
key=
"textInputTraits"
/>
<textInputTraits
key=
"textInputTraits"
/>
</textField>
</textField>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"roundedRect"
lineBreakMode=
"middleTruncation"
id=
"frs-v4-sgw"
>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"roundedRect"
lineBreakMode=
"middleTruncation"
id=
"frs-v4-sgw"
>
<rect
key=
"frame"
x=
"5
14
"
y=
"307"
width=
"229"
height=
"40"
/>
<rect
key=
"frame"
x=
"5
30
"
y=
"307"
width=
"229"
height=
"40"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
<color
key=
"backgroundColor"
red=
"0.34901960784313724"
green=
"0.67450980392156867"
blue=
"0.86274509803921573"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"backgroundColor"
red=
"0.34901960784313724"
green=
"0.67450980392156867"
blue=
"0.86274509803921573"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<state
key=
"normal"
title=
"添加至购物车"
>
<state
key=
"normal"
title=
"添加至购物车"
>
...
@@ -137,12 +137,12 @@
...
@@ -137,12 +137,12 @@
</state>
</state>
</button>
</button>
<button
opaque=
"NO"
tag=
"101"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
id=
"tM7-hf-9rp"
>
<button
opaque=
"NO"
tag=
"101"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
id=
"tM7-hf-9rp"
>
<rect
key=
"frame"
x=
"
39
8"
y=
"328"
width=
"50"
height=
"50"
/>
<rect
key=
"frame"
x=
"
42
8"
y=
"328"
width=
"50"
height=
"50"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
/>
<state
key=
"normal"
image=
"
矩形-3-副本
"
/>
<state
key=
"normal"
image=
"
icondown
"
/>
</button>
</button>
<button
opaque=
"NO"
tag=
"101"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
id=
"0ee-HS-ilS"
>
<button
opaque=
"NO"
tag=
"101"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
id=
"0ee-HS-ilS"
>
<rect
key=
"frame"
x=
"
39
8"
y=
"9"
width=
"50"
height=
"50"
/>
<rect
key=
"frame"
x=
"
42
8"
y=
"9"
width=
"50"
height=
"50"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<state
key=
"normal"
image=
"icon-2"
/>
<state
key=
"normal"
image=
"icon-2"
/>
</button>
</button>
...
@@ -174,7 +174,7 @@
...
@@ -174,7 +174,7 @@
<image
name=
"2"
width=
"45"
height=
"45"
/>
<image
name=
"2"
width=
"45"
height=
"45"
/>
<image
name=
"add"
width=
"49"
height=
"45"
/>
<image
name=
"add"
width=
"49"
height=
"45"
/>
<image
name=
"icon-2"
width=
"25"
height=
"15"
/>
<image
name=
"icon-2"
width=
"25"
height=
"15"
/>
<image
name=
"icondown"
width=
"25"
height=
"15"
/>
<image
name=
"reduce"
width=
"49"
height=
"45"
/>
<image
name=
"reduce"
width=
"49"
height=
"45"
/>
<image
name=
"矩形-3-副本"
width=
"20"
height=
"11"
/>
</resources>
</resources>
</document>
</document>
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1011
7"
systemVersion=
"15F34
"
targetRuntime=
"iOS.CocoaTouch.iPad"
propertyAccessControl=
"none"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"1011
6"
systemVersion=
"15E65
"
targetRuntime=
"iOS.CocoaTouch.iPad"
propertyAccessControl=
"none"
>
<dependencies>
<dependencies>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"10085"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"10085"
/>
</dependencies>
</dependencies>
...
@@ -153,7 +153,7 @@
...
@@ -153,7 +153,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"28"
width=
"721"
height=
"100"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"28"
width=
"721"
height=
"100"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"NV8-I4-ig4"
id=
"E0m-wU-1b5"
>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"NV8-I4-ig4"
id=
"E0m-wU-1b5"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"721"
height=
"99"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"721"
height=
"99
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<subviews>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"05产品库-详情_03"
id=
"F66-vh-va3"
>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"05产品库-详情_03"
id=
"F66-vh-va3"
>
...
@@ -420,7 +420,7 @@
...
@@ -420,7 +420,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"28"
width=
"717"
height=
"100"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"28"
width=
"717"
height=
"100"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"1Sl-4a-xI0"
id=
"Kls-Lg-VEy"
>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"1Sl-4a-xI0"
id=
"Kls-Lg-VEy"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"717"
height=
"99"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"717"
height=
"99
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<subviews>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"05产品库-详情_03"
id=
"mhA-C1-oB5"
>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"05产品库-详情_03"
id=
"mhA-C1-oB5"
>
...
@@ -513,7 +513,7 @@
...
@@ -513,7 +513,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"128"
width=
"717"
height=
"200"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"128"
width=
"717"
height=
"200"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"1pL-BK-mae"
id=
"zJa-bo-n5G"
>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"1pL-BK-mae"
id=
"zJa-bo-n5G"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"717"
height=
"199"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"717"
height=
"199
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"下单时间:"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"DqG-UR-Q08"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"下单时间:"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"DqG-UR-Q08"
>
...
@@ -732,10 +732,10 @@
...
@@ -732,10 +732,10 @@
<color
key=
"backgroundColor"
red=
"0.93725490199999995"
green=
"0.93725490199999995"
blue=
"0.95686274510000002"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"backgroundColor"
red=
"0.93725490199999995"
green=
"0.93725490199999995"
blue=
"0.95686274510000002"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<prototypes>
<prototypes>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"none"
indentationWidth=
"10"
reuseIdentifier=
"firstcell"
rowHeight=
"84"
id=
"XgA-9w-ut9"
customClass=
"OrderInformationTableViewCell"
>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"none"
indentationWidth=
"10"
reuseIdentifier=
"firstcell"
rowHeight=
"84"
id=
"XgA-9w-ut9"
customClass=
"OrderInformationTableViewCell"
>
<rect
key=
"frame"
x=
"0.0"
y=
"
114
"
width=
"1024"
height=
"84"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"
49.5
"
width=
"1024"
height=
"84"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"XgA-9w-ut9"
id=
"BWi-jv-OOH"
>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"XgA-9w-ut9"
id=
"BWi-jv-OOH"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"83"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"83
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"订单编号:"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"KGm-XJ-NyV"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"订单编号:"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"KGm-XJ-NyV"
>
...
@@ -805,10 +805,10 @@
...
@@ -805,10 +805,10 @@
</connections>
</connections>
</tableViewCell>
</tableViewCell>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"none"
indentationWidth=
"10"
reuseIdentifier=
"secondcell"
rowHeight=
"110"
id=
"rIO-yd-hh7"
customClass=
"PersonInformationTableViewCell"
>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"none"
indentationWidth=
"10"
reuseIdentifier=
"secondcell"
rowHeight=
"110"
id=
"rIO-yd-hh7"
customClass=
"PersonInformationTableViewCell"
>
<rect
key=
"frame"
x=
"0.0"
y=
"1
98
"
width=
"1024"
height=
"110"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"1
33.5
"
width=
"1024"
height=
"110"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"rIO-yd-hh7"
id=
"mn8-g0-Zqo"
>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"rIO-yd-hh7"
id=
"mn8-g0-Zqo"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"109"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"109
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<subviews>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"05产品库-详情_03"
id=
"Zdg-s0-xfD"
>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"05产品库-详情_03"
id=
"Zdg-s0-xfD"
>
...
@@ -882,10 +882,10 @@
...
@@ -882,10 +882,10 @@
</connections>
</connections>
</tableViewCell>
</tableViewCell>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"none"
indentationWidth=
"10"
reuseIdentifier=
"thirdcell"
rowHeight=
"90"
id=
"PfN-24-v5t"
customClass=
"GoodsInformationTableViewCell"
>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"none"
indentationWidth=
"10"
reuseIdentifier=
"thirdcell"
rowHeight=
"90"
id=
"PfN-24-v5t"
customClass=
"GoodsInformationTableViewCell"
>
<rect
key=
"frame"
x=
"0.0"
y=
"
308
"
width=
"1024"
height=
"90"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"
243.5
"
width=
"1024"
height=
"90"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"PfN-24-v5t"
id=
"2Je-94-WVY"
>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"PfN-24-v5t"
id=
"2Je-94-WVY"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"89"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"89
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"收货人:"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"tiK-JC-Jy4"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"收货人:"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"tiK-JC-Jy4"
>
...
@@ -939,10 +939,10 @@
...
@@ -939,10 +939,10 @@
</connections>
</connections>
</tableViewCell>
</tableViewCell>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"none"
indentationWidth=
"10"
reuseIdentifier=
"fourthcell"
rowHeight=
"80"
id=
"47T-H0-tG7"
customClass=
"CommodityListTableViewCell"
>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"none"
indentationWidth=
"10"
reuseIdentifier=
"fourthcell"
rowHeight=
"80"
id=
"47T-H0-tG7"
customClass=
"CommodityListTableViewCell"
>
<rect
key=
"frame"
x=
"0.0"
y=
"3
98
"
width=
"1024"
height=
"80"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"3
33.5
"
width=
"1024"
height=
"80"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"47T-H0-tG7"
id=
"zXR-bC-Wdh"
>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"47T-H0-tG7"
id=
"zXR-bC-Wdh"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"79"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"79
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<subviews>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"05产品库-详情_03"
id=
"6MS-gq-TMk"
>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"05产品库-详情_03"
id=
"6MS-gq-TMk"
>
...
@@ -1003,10 +1003,10 @@
...
@@ -1003,10 +1003,10 @@
</connections>
</connections>
</tableViewCell>
</tableViewCell>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"default"
indentationWidth=
"10"
reuseIdentifier=
"sixthcell"
rowHeight=
"50"
id=
"PNT-Fy-4Hi"
customClass=
"AllpriceTableViewCell"
>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"default"
indentationWidth=
"10"
reuseIdentifier=
"sixthcell"
rowHeight=
"50"
id=
"PNT-Fy-4Hi"
customClass=
"AllpriceTableViewCell"
>
<rect
key=
"frame"
x=
"0.0"
y=
"4
78
"
width=
"1024"
height=
"50"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"4
13.5
"
width=
"1024"
height=
"50"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"PNT-Fy-4Hi"
id=
"PxE-0c-Zdt"
>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"PNT-Fy-4Hi"
id=
"PxE-0c-Zdt"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"49"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"49
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"总数量:"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"rbZ-Pg-7Uu"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"总数量:"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"rbZ-Pg-7Uu"
>
...
@@ -1164,7 +1164,7 @@
...
@@ -1164,7 +1164,7 @@
</collectionViewFlowLayout>
</collectionViewFlowLayout>
<cells>
<cells>
<collectionViewCell
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
reuseIdentifier=
"productcell"
id=
"J5m-0M-uqb"
customClass=
"ProductCollectionViewCell"
>
<collectionViewCell
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
reuseIdentifier=
"productcell"
id=
"J5m-0M-uqb"
customClass=
"ProductCollectionViewCell"
>
<rect
key=
"frame"
x=
"0.0"
y=
"
64
"
width=
"300"
height=
"300"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"
0.0
"
width=
"300"
height=
"300"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<view
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
>
<view
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"300"
height=
"300"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"300"
height=
"300"
/>
...
@@ -1246,10 +1246,10 @@
...
@@ -1246,10 +1246,10 @@
<color
key=
"backgroundColor"
red=
"0.93725490199999995"
green=
"0.93725490199999995"
blue=
"0.95686274510000002"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"backgroundColor"
red=
"0.93725490199999995"
green=
"0.93725490199999995"
blue=
"0.95686274510000002"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<prototypes>
<prototypes>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"default"
indentationWidth=
"10"
reuseIdentifier=
"productDetailscell"
rowHeight=
"170"
id=
"Sye-2R-IQf"
customClass=
"ProductDetailsTableViewCell"
>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"default"
indentationWidth=
"10"
reuseIdentifier=
"productDetailscell"
rowHeight=
"170"
id=
"Sye-2R-IQf"
customClass=
"ProductDetailsTableViewCell"
>
<rect
key=
"frame"
x=
"0.0"
y=
"
114
"
width=
"768"
height=
"170"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"
49.5
"
width=
"768"
height=
"170"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"Sye-2R-IQf"
id=
"CXs-SR-gHP"
>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"Sye-2R-IQf"
id=
"CXs-SR-gHP"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"768"
height=
"169"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"768"
height=
"169
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<subviews>
<view
contentMode=
"scaleToFill"
id=
"2bG-Ip-ptr"
>
<view
contentMode=
"scaleToFill"
id=
"2bG-Ip-ptr"
>
...
@@ -1636,7 +1636,7 @@
...
@@ -1636,7 +1636,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"28"
width=
"973"
height=
"80"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"28"
width=
"973"
height=
"80"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"ZT1-XJ-ObI"
id=
"GWp-Jl-7br"
>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"ZT1-XJ-ObI"
id=
"GWp-Jl-7br"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"973"
height=
"79"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"973"
height=
"79
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<subviews>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
id=
"PkJ-eJ-ksY"
>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
id=
"PkJ-eJ-ksY"
>
...
@@ -1857,7 +1857,7 @@
...
@@ -1857,7 +1857,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"92"
width=
"768"
height=
"110"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"92"
width=
"768"
height=
"110"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"LsY-i0-h5H"
id=
"dPG-p9-V2i"
>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"LsY-i0-h5H"
id=
"dPG-p9-V2i"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"768"
height=
"109"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"768"
height=
"109
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<subviews>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"05产品库-详情_03"
id=
"qWT-p0-Gta"
>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"05产品库-详情_03"
id=
"qWT-p0-Gta"
>
...
@@ -1934,11 +1934,11 @@
...
@@ -1934,11 +1934,11 @@
<rect
key=
"frame"
x=
"0.0"
y=
"202"
width=
"768"
height=
"56"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"202"
width=
"768"
height=
"56"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"gfQ-UE-mXV"
id=
"za6-HU-VEw"
>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"gfQ-UE-mXV"
id=
"za6-HU-VEw"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"768"
height=
"55"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"768"
height=
"55
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"手机号码:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"X0Z-8j-BdI"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"手机号码:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"X0Z-8j-BdI"
>
<rect
key=
"frame"
x=
"2
36
"
y=
"18"
width=
"72"
height=
"21"
/>
<rect
key=
"frame"
x=
"2
52
"
y=
"18"
width=
"72"
height=
"21"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<color
key=
"textColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"textColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
...
@@ -1952,21 +1952,21 @@
...
@@ -1952,21 +1952,21 @@
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"曹云霄"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"uq3-fp-QuI"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"曹云霄"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"uq3-fp-QuI"
>
<rect
key=
"frame"
x=
"147"
y=
"17"
width=
"
65
"
height=
"21"
/>
<rect
key=
"frame"
x=
"147"
y=
"17"
width=
"
92
"
height=
"21"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<color
key=
"textColor"
white=
"0.66666666666666663"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<color
key=
"textColor"
white=
"0.66666666666666663"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"收货地址:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"Qrd-yC-cV5"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"收货地址:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"Qrd-yC-cV5"
>
<rect
key=
"frame"
x=
"4
29
"
y=
"17"
width=
"72"
height=
"21"
/>
<rect
key=
"frame"
x=
"4
38
"
y=
"17"
width=
"72"
height=
"21"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<color
key=
"textColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<color
key=
"textColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"上海市闵行区鹤坡南路闵铺二村8号楼401室"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"XKV-b4-HNM"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"上海市闵行区鹤坡南路闵铺二村8号楼401室"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"XKV-b4-HNM"
>
<rect
key=
"frame"
x=
"
499
"
y=
"17"
width=
"252"
height=
"21"
/>
<rect
key=
"frame"
x=
"
508
"
y=
"17"
width=
"252"
height=
"21"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<color
key=
"textColor"
white=
"0.66666666666666663"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<color
key=
"textColor"
white=
"0.66666666666666663"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
...
@@ -1982,7 +1982,7 @@
...
@@ -1982,7 +1982,7 @@
</connections>
</connections>
</button>
</button>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"15121161964"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"1dD-es-x4K"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"15121161964"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"1dD-es-x4K"
>
<rect
key=
"frame"
x=
"3
01
"
y=
"18"
width=
"103"
height=
"21"
/>
<rect
key=
"frame"
x=
"3
17
"
y=
"18"
width=
"103"
height=
"21"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"14"
/>
<color
key=
"textColor"
white=
"0.66666666666666663"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<color
key=
"textColor"
white=
"0.66666666666666663"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
...
@@ -2002,7 +2002,7 @@
...
@@ -2002,7 +2002,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"258"
width=
"768"
height=
"56"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"258"
width=
"768"
height=
"56"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"Kk4-Fh-HhL"
id=
"oRX-7p-HkY"
>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"Kk4-Fh-HhL"
id=
"oRX-7p-HkY"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"768"
height=
"55"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"768"
height=
"55
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<subviews>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"roundedRect"
lineBreakMode=
"middleTruncation"
id=
"m0f-EW-LM5"
>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"roundedRect"
lineBreakMode=
"middleTruncation"
id=
"m0f-EW-LM5"
>
...
@@ -2033,7 +2033,7 @@
...
@@ -2033,7 +2033,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"314"
width=
"768"
height=
"80"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"314"
width=
"768"
height=
"80"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"G7o-xS-1mB"
id=
"l3e-TL-GCT"
>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"G7o-xS-1mB"
id=
"l3e-TL-GCT"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"768"
height=
"79"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"768"
height=
"79
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<subviews>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"05产品库-详情_03"
id=
"Un4-g0-sG6"
>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"05产品库-详情_03"
id=
"Un4-g0-sG6"
>
...
@@ -2105,7 +2105,7 @@
...
@@ -2105,7 +2105,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"394"
width=
"768"
height=
"50"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"394"
width=
"768"
height=
"50"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"6K9-mc-7RW"
id=
"Vc7-f6-wGb"
>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"6K9-mc-7RW"
id=
"Vc7-f6-wGb"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"768"
height=
"49"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"768"
height=
"49
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"总数量:"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"ULe-0J-pCd"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"总数量:"
textAlignment=
"right"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"ULe-0J-pCd"
>
...
...
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