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
1ba158ed
Commit
1ba158ed
authored
Sep 21, 2016
by
曹云霄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加冻结金额
parent
46f6b34b
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
126 additions
and
76 deletions
+126
-76
LoginViewController.m
Lighting/Class/Login/LoginViewController.m
+1
-1
PaymentsViewController.m
Lighting/Class/PaymentsViewController.m
+23
-5
RebateDetailsViewController.h
Lighting/Class/RebateDetailsViewController.h
+1
-1
RebateDetailsViewController.m
Lighting/Class/RebateDetailsViewController.m
+2
-3
RebateViewController.m
Lighting/Class/RebateViewController.m
+8
-17
SceneLibraryViewController.m
Lighting/Class/SceneLibraryViewController.m
+0
-8
WithdrawalViewController.m
Lighting/Class/WithdrawalViewController.m
+25
-8
project.pbxproj
Lighting/Lighting.xcodeproj/project.pbxproj
+2
-2
Info.plist
Lighting/Lighting/Info.plist
+1
-1
StoryboardwithCYX.storyboard
Lighting/Lighting/StoryboardwithCYX.storyboard
+45
-22
PrefixHeader.pch
Lighting/Tools/PrefixHeader.pch
+3
-3
SceneViewController.m
Lighting/Tools/SceneViewController.m
+1
-5
opple_objc_json_client.h
Lighting/Tools/opple_objc_json_client.h
+12
-0
opple_objc_json_client.m
Lighting/Tools/opple_objc_json_client.m
+2
-0
No files found.
Lighting/Class/Login/LoginViewController.m
View file @
1ba158ed
...
...
@@ -494,7 +494,7 @@
[[
UIApplication
sharedApplication
]
openURL
:[
NSURL
URLWithString
:
dict
[
@"url"
]]];
}]];
//是否强制更新
if
(
!
[
dict
[
@"forceupdate"
]
isEqualToString
:
@"
yes
"
])
{
if
(
!
[
dict
[
@"forceupdate"
]
isEqualToString
:
@"
1
"
])
{
[
alertVC
addAction
:[
UIAlertAction
actionWithTitle
:
@"以后再说"
style
:
UIAlertActionStyleCancel
handler
:
^
(
UIAlertAction
*
_Nonnull
action
)
{
[
weakSelf
dismissViewControllerAnimated
:
YES
completion
:
nil
];
}]];
...
...
Lighting/Class/PaymentsViewController.m
View file @
1ba158ed
...
...
@@ -11,7 +11,7 @@
#import "PaymentsDetailsTableViewController.h"
@interface
PaymentsViewController
()
<
UITableViewDelegate
,
UITableViewDataSource
>
@interface
PaymentsViewController
()
<
UITableViewDelegate
,
UITableViewDataSource
,
DZNEmptyDataSetSource
,
DZNEmptyDataSetDelegate
>
@property
(
weak
,
nonatomic
)
IBOutlet
UITableView
*
paymentsTableView
;
/**
...
...
@@ -63,7 +63,7 @@
[
self
setupRefreshing
];
}
-
(
void
)
view
Will
Appear
:
(
BOOL
)
animated
-
(
void
)
view
Did
Appear
:
(
BOOL
)
animated
{
[
self
.
paymentsTableView
.
mj_header
beginRefreshing
];
}
...
...
@@ -80,9 +80,8 @@
headerRefresh
.
stateLabel
.
hidden
=
YES
;
headerRefresh
.
lastUpdatedTimeLabel
.
hidden
=
YES
;
self
.
paymentsTableView
.
mj_header
=
headerRefresh
;
[
self
.
paymentsTableView
.
mj_header
beginRefreshing
];
self
.
paymentsTableView
.
mj_
footer
=
[
MJRefreshAutoNormalFooter
footerWithRefreshingBlock
:
^
{
MJRefreshAutoNormalFooter
*
footer
=
[
MJRefreshAutoNormalFooter
footerWithRefreshingBlock
:
^
{
if
(
++
weakSelf
.
model
.
page
.
page
>=
weakSelf
.
totalPage
)
{
[
weakSelf
.
paymentsTableView
.
mj_footer
endRefreshingWithNoMoreData
];
}
else
...
...
@@ -90,7 +89,8 @@
[
weakSelf
getDatasAction
:
NO
];
}
}];
footer
.
automaticallyHidden
=
YES
;
self
.
paymentsTableView
.
mj_footer
=
footer
;
}
#pragma mark - 获取收支明细
...
...
@@ -99,6 +99,9 @@
WS
(
weakSelf
);
[
self
CreateMBProgressHUDLoding
];
[[
NetworkRequestClassManager
Manager
]
NetworkRequestWithURL
:
SERVERREQUESTURL
(
PAYMENTS
)
WithRequestType
:
0
WithParameter
:
self
.
model
WithReturnValueBlock
:^
(
id
returnValue
)
{
weakSelf
.
paymentsTableView
.
emptyDataSetSource
=
self
;
weakSelf
.
paymentsTableView
.
emptyDataSetDelegate
=
self
;
[
weakSelf
endRefreshingForTableView
:
weakSelf
.
paymentsTableView
];
[
weakSelf
RemoveMBProgressHUDLoding
];
if
([
returnValue
[
@"code"
]
isEqualToNumber
:
@0
])
{
...
...
@@ -171,6 +174,21 @@
#pragma mark -友好界面
-
(
UIImage
*
)
imageForEmptyDataSet
:
(
UIScrollView
*
)
scrollView
{
return
kNoDataImage
;
}
-
(
BOOL
)
emptyDataSetShouldAllowScroll
:
(
UIScrollView
*
)
scrollView
{
return
YES
;
}
-
(
NSAttributedString
*
)
titleForEmptyDataSet
:
(
UIScrollView
*
)
scrollView
{
return
[[
NSAttributedString
alloc
]
initWithString
:
@"暂无数据"
attributes
:
nil
];
}
@end
Lighting/Class/RebateDetailsViewController.h
View file @
1ba158ed
...
...
@@ -13,7 +13,7 @@
/**
* 最大提现金额
*/
@property
(
nonatomic
,
copy
)
NSString
*
rebateAmount
;
@property
(
nonatomic
,
assign
)
CGFloat
rebateAmount
;
/**
* 查看此次申请详情
...
...
Lighting/Class/RebateDetailsViewController.m
View file @
1ba158ed
...
...
@@ -29,7 +29,7 @@
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
self
.
inputRebateTextField
.
placeholder
=
[
NSString
stringWithFormat
:
@"当前可提现:%.2f"
,
[
self
.
rebateAmount
floatValue
]
];
self
.
inputRebateTextField
.
placeholder
=
[
NSString
stringWithFormat
:
@"当前可提现:%.2f"
,
self
.
rebateAmount
];
}
-
(
IBAction
)
rebateButtonClickAction
:
(
UIButton
*
)
sender
{
...
...
@@ -38,7 +38,7 @@
if
(
!
[
self
.
inputRebateTextField
.
text
length
])
{
[
self
SHOWPrompttext
:
@"请输入提现金额"
];
return
;
}
if
([
self
.
inputRebateTextField
.
text
floatValue
]
>
[
self
.
rebateAmount
floatValue
]
)
{
if
([
self
.
inputRebateTextField
.
text
floatValue
]
>
self
.
rebateAmount
)
{
[
self
SHOWPrompttext
:
@"当前账户余额不足"
];
return
;
}
if
([
self
.
inputRebateTextField
.
text
floatValue
]
<=
0
)
{
...
...
@@ -81,7 +81,6 @@
[
success
setClickEvent
:
^
(
NSIndexPath
*
indexPath
)
{
if
(
indexPath
.
row
==
1
)
{
[
weakSelf
.
navigationController
popViewControllerAnimated
:
YES
];
[[
NSNotificationCenter
defaultCenter
]
postNotificationName
:
@"setupRefreshing"
object
:
nil
];
}
else
if
(
indexPath
.
row
==
0
)
{
[
weakSelf
queryDetails
];
...
...
Lighting/Class/RebateViewController.m
View file @
1ba158ed
...
...
@@ -35,6 +35,11 @@
*/
@property
(
weak
,
nonatomic
)
IBOutlet
UILabel
*
historyAmountLabel
;
/**
* 冻结金额
*/
@property
(
weak
,
nonatomic
)
IBOutlet
UILabel
*
freezeAmountLabel
;
/**
* 提现
*/
...
...
@@ -75,7 +80,7 @@
@implementation
RebateViewController
-
(
void
)
view
Will
Appear
:(
BOOL
)
animated
-
(
void
)
view
Did
Appear
:(
BOOL
)
animated
{
[
self
getRebateDatasFromUser
];
}
...
...
@@ -157,6 +162,7 @@
weakSelf
.
currentAmountLabel
.
text
=
[
NSString
stringWithFormat
:
@"%.2f"
,[
returnValue
[
@"data"
][
@"accountTotal"
]
floatValue
]];
weakSelf
.
yesterdayAmountLabel
.
text
=
[
NSString
stringWithFormat
:
@"%.2f"
,[
returnValue
[
@"data"
][
@"yesterdayEarnings"
]
floatValue
]];
weakSelf
.
historyAmountLabel
.
text
=
[
NSString
stringWithFormat
:
@"%.2f"
,[
returnValue
[
@"data"
][
@"historyEarning"
]
floatValue
]];
weakSelf
.
freezeAmountLabel
.
text
=
[
NSString
stringWithFormat
:
@"%.2f"
,[
returnValue
[
@"data"
][
@"applytotal"
]
floatValue
]];
}
else
{
[
weakSelf
SHOWPrompttext
:
returnValue
[
@"message"
]];
...
...
@@ -177,7 +183,7 @@
WS
(
weakSelf
);
RebateDetailsViewController
*
rebateDetails
=
[
self
.
getStoryboardWithName
instantiateViewControllerWithIdentifier
:
@"RebateDetailsViewController"
];
rebateDetails
.
rebateAmount
=
[
self
.
model
.
accountTotal
string
Value
];
rebateDetails
.
rebateAmount
=
[
self
.
model
.
accountTotal
floatValue
]
-
[
self
.
model
.
applytotal
float
Value
];
[
rebateDetails
setShowApplyDetails
:
^
(
TOApplyBillEntity
*
entity
)
{
WithdrawalTableViewController
*
detailVC
=
[
weakSelf
.
getStoryboardWithName
instantiateViewControllerWithIdentifier
:
@"WithdrawalTableViewController"
];
detailVC
.
model
=
entity
;
...
...
@@ -189,19 +195,4 @@
@end
Lighting/Class/SceneLibraryViewController.m
View file @
1ba158ed
...
...
@@ -83,19 +83,13 @@
return
_conditionModel
;
}
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
// Do any additional setup after loading the view.
[
self
uiConfigAction
];
[
self
getdatasAction
];
}
#pragma mark -UI
-
(
void
)
uiConfigAction
{
...
...
@@ -125,8 +119,6 @@
self
.
SpaceButton
.
layer
.
cornerRadius
=
10
;
[
self
.
backView
addSubview
:
self
.
StyleButton
];
[
self
.
backView
addSubview
:
self
.
SpaceButton
];
self
.
indexPage
=
1
;
//下拉刷新
MjRefreshHeaderCustom
*
headerRefresh
=
[
MjRefreshHeaderCustom
headerWithRefreshingBlock
:
^
{
...
...
Lighting/Class/WithdrawalViewController.m
View file @
1ba158ed
...
...
@@ -10,7 +10,7 @@
#import "WithdrawalTableViewCell.h"
#import "WithdrawalTableViewController.h"
@interface
WithdrawalViewController
()
@interface
WithdrawalViewController
()
<
UITableViewDelegate
,
UITableViewDataSource
,
DZNEmptyDataSetDelegate
,
DZNEmptyDataSetSource
>
@property
(
weak
,
nonatomic
)
IBOutlet
UITableView
*
withdrawalTableView
;
...
...
@@ -59,14 +59,12 @@
[
super
viewDidLoad
];
self
.
withdrawalTableView
.
tableFooterView
=
[
UIView
new
];
[[
NSNotificationCenter
defaultCenter
]
addObserver
:
self
selector
:
@selector
(
refreshList
)
name
:
@"setupRefreshing"
object
:
nil
];
[
self
setupRefreshing
];
}
#pragma mark - 通知刷新
-
(
void
)
refreshList
-
(
void
)
viewDidAppear
:
(
BOOL
)
animated
{
[
self
.
withdrawalTableView
.
mj_header
beginRefreshing
];
[
self
.
withdrawalTableView
.
mj_header
beginRefreshing
];
}
#pragma mark - 设置刷新
...
...
@@ -81,9 +79,8 @@
headerRefresh
.
stateLabel
.
hidden
=
YES
;
headerRefresh
.
lastUpdatedTimeLabel
.
hidden
=
YES
;
self
.
withdrawalTableView
.
mj_header
=
headerRefresh
;
[
self
.
withdrawalTableView
.
mj_header
beginRefreshing
];
self
.
withdrawalTableView
.
mj_
footer
=
[
MJRefreshAutoNormalFooter
footerWithRefreshingBlock
:
^
{
MJRefreshAutoNormalFooter
*
footer
=
[
MJRefreshAutoNormalFooter
footerWithRefreshingBlock
:
^
{
if
(
++
weakSelf
.
model
.
page
.
page
>=
weakSelf
.
totalPage
)
{
[
weakSelf
.
withdrawalTableView
.
mj_footer
endRefreshingWithNoMoreData
];
}
else
...
...
@@ -91,14 +88,19 @@
[
weakSelf
getDatasAction
:
NO
];
}
}];
footer
.
automaticallyHidden
=
YES
;
self
.
withdrawalTableView
.
mj_footer
=
footer
;
}
#pragma mark - 获取
收支明细
#pragma mark - 获取
提现进度
-
(
void
)
getDatasAction
:
(
BOOL
)
isRemoveAll
{
WS
(
weakSelf
);
[
self
CreateMBProgressHUDLoding
];
[[
NetworkRequestClassManager
Manager
]
NetworkRequestWithURL
:
SERVERREQUESTURL
(
WITHDRAWALPROGRESS
)
WithRequestType
:
0
WithParameter
:
self
.
model
WithReturnValueBlock
:^
(
id
returnValue
)
{
weakSelf
.
withdrawalTableView
.
emptyDataSetSource
=
self
;
weakSelf
.
withdrawalTableView
.
emptyDataSetDelegate
=
self
;
[
weakSelf
endRefreshingForTableView
:
weakSelf
.
withdrawalTableView
];
[
weakSelf
RemoveMBProgressHUDLoding
];
if
([
returnValue
[
@"code"
]
isEqualToNumber
:
@0
])
{
...
...
@@ -176,6 +178,21 @@
}
#pragma mark -友好界面
-
(
UIImage
*
)
imageForEmptyDataSet
:
(
UIScrollView
*
)
scrollView
{
return
kNoDataImage
;
}
-
(
BOOL
)
emptyDataSetShouldAllowScroll
:
(
UIScrollView
*
)
scrollView
{
return
YES
;
}
-
(
NSAttributedString
*
)
titleForEmptyDataSet
:
(
UIScrollView
*
)
scrollView
{
return
[[
NSAttributedString
alloc
]
initWithString
:
@"暂无数据"
attributes
:
nil
];
}
...
...
Lighting/Lighting.xcodeproj/project.pbxproj
View file @
1ba158ed
...
...
@@ -1821,7 +1821,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME
=
"Brand Assets"
;
CLANG_ENABLE_OBJC_WEAK
=
YES
;
CODE_SIGN_IDENTITY
=
"iPhone Developer"
;
CODE_SIGN_IDENTITY
=
"iPhone Developer
: 云霄 曹 (WM8ZU7YY98)
"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer: 云霄 曹 (WM8ZU7YY98)"
;
COMPRESS_PNG_FILES
=
NO
;
ENABLE_BITCODE
=
NO
;
...
...
@@ -1882,7 +1882,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME
=
"Brand Assets"
;
CLANG_ENABLE_OBJC_WEAK
=
YES
;
CODE_SIGN_IDENTITY
=
"iPhone Developer"
;
CODE_SIGN_IDENTITY
=
"iPhone Developer
: 云霄 曹 (WM8ZU7YY98)
"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer: 云霄 曹 (WM8ZU7YY98)"
;
COMPRESS_PNG_FILES
=
NO
;
ENABLE_BITCODE
=
NO
;
...
...
Lighting/Lighting/Info.plist
View file @
1ba158ed
...
...
@@ -13,7 +13,7 @@
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
string
>
欧立方
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
1.0.
6
<
/string
>
<
string
>
1.0.
7
<
/string
>
<
k
e
y
>
CFBundleURLTypes
<
/k
e
y
>
<
a
rr
a
y
>
<
d
i
c
t
>
...
...
Lighting/Lighting/StoryboardwithCYX.storyboard
View file @
1ba158ed
...
...
@@ -2220,15 +2220,11 @@
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
</imageView>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"qian"
id=
"N12-vr-9mx"
>
<rect
key=
"frame"
x=
"85"
y=
"24"
width=
"15"
height=
"15"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
</imageView>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"zuotian"
id=
"b5s-CG-YyK"
>
<rect
key=
"frame"
x=
"212"
y=
"24"
width=
"15"
height=
"15"
/>
<rect
key=
"frame"
x=
"86"
y=
"24"
width=
"15"
height=
"15"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
</imageView>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"all"
id=
"euc-cv-Yab"
>
<rect
key=
"frame"
x=
"
338"
y=
"24
"
width=
"15"
height=
"15"
/>
<rect
key=
"frame"
x=
"
427"
y=
"25
"
width=
"15"
height=
"15"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
</imageView>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"账户金额"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"J28-hy-Vb1"
>
...
...
@@ -2238,34 +2234,27 @@
<color
key=
"textColor"
white=
"0.66666666666666663"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"昨日收益"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"U78-NG-Fec"
>
<rect
key=
"frame"
x=
"231"
y=
"22"
width=
"68"
height=
"20"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
white=
"0.66666666666666663"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"历史收益"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"aze-ex-YcG"
>
<rect
key=
"frame"
x=
"
357"
y=
"21
"
width=
"66"
height=
"20"
/>
<rect
key=
"frame"
x=
"
446"
y=
"22
"
width=
"66"
height=
"20"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
white=
"0.66666666666666663"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
""
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"CIr-H0-jGO"
>
<rect
key=
"frame"
x=
"8
5
"
y=
"48"
width=
"100"
height=
"21"
/>
<rect
key=
"frame"
x=
"8
9
"
y=
"48"
width=
"100"
height=
"21"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<color
key=
"textColor"
red=
"0.98039215686274506"
green=
"0.32156862745098036"
blue=
"0.050980392156862744"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
</label>
<view
contentMode=
"scaleToFill"
id=
"AwP-sa-g7C"
>
<rect
key=
"frame"
x=
"
310
"
y=
"20"
width=
"1"
height=
"50"
/>
<rect
key=
"frame"
x=
"
414
"
y=
"20"
width=
"1"
height=
"50"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
<color
key=
"backgroundColor"
red=
"0.87058823529999996"
green=
"0.87058823529999996"
blue=
"0.87058823529999996"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
""
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"GB6-Be-cTJ"
>
<rect
key=
"frame"
x=
"
338"
y=
"47
"
width=
"100"
height=
"21"
/>
<rect
key=
"frame"
x=
"
430"
y=
"48
"
width=
"100"
height=
"21"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<nil
key=
"highlightedColor"
/>
...
...
@@ -2287,16 +2276,49 @@
</connections>
</button>
<view
contentMode=
"scaleToFill"
id=
"7yy-AS-r4P"
>
<rect
key=
"frame"
x=
"18
4
"
y=
"20"
width=
"1"
height=
"50"
/>
<rect
key=
"frame"
x=
"18
6
"
y=
"20"
width=
"1"
height=
"50"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
<color
key=
"backgroundColor"
red=
"0.87058823529411766"
green=
"0.87058823529411766"
blue=
"0.87058823529411766"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
</view>
<view
contentMode=
"scaleToFill"
id=
"adU-4d-rYf"
>
<rect
key=
"frame"
x=
"301"
y=
"20"
width=
"1"
height=
"50"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
<color
key=
"backgroundColor"
red=
"0.87058823529999996"
green=
"0.87058823529999996"
blue=
"0.87058823529999996"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
""
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"ix4-ZS-Oz4"
>
<rect
key=
"frame"
x=
"212"
y=
"47"
width=
"100"
height=
"21"
/>
<rect
key=
"frame"
x=
"317"
y=
"48"
width=
"100"
height=
"21"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
""
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"jeQ-n1-pxh"
>
<rect
key=
"frame"
x=
"201"
y=
"48"
width=
"100"
height=
"21"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<nil
key=
"highlightedColor"
/>
</label>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"qian"
id=
"9OU-7W-eXU"
>
<rect
key=
"frame"
x=
"198"
y=
"24"
width=
"15"
height=
"15"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
</imageView>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"冻结金额"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"1AN-NI-ETh"
>
<rect
key=
"frame"
x=
"217"
y=
"22"
width=
"68"
height=
"20"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
white=
"0.66666666666666663"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<nil
key=
"highlightedColor"
/>
</label>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"zuotian"
id=
"b5s-CG-YyK"
>
<rect
key=
"frame"
x=
"314"
y=
"24"
width=
"15"
height=
"15"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
</imageView>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"昨日收益"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"U78-NG-Fec"
>
<rect
key=
"frame"
x=
"333"
y=
"22"
width=
"68"
height=
"20"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
flexibleMaxX=
"YES"
flexibleMinY=
"YES"
flexibleMaxY=
"YES"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
white=
"0.66666666666666663"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<userDefinedRuntimeAttributes>
...
...
@@ -2364,6 +2386,7 @@
<connections>
<outlet
property=
"contentBackgroundView"
destination=
"RNp-jt-Nkv"
id=
"zXm-ML-FnX"
/>
<outlet
property=
"currentAmountLabel"
destination=
"CIr-H0-jGO"
id=
"MED-Zy-mPP"
/>
<outlet
property=
"freezeAmountLabel"
destination=
"jeQ-n1-pxh"
id=
"fBv-lc-dac"
/>
<outlet
property=
"headerImageView"
destination=
"RER-Ld-URf"
id=
"3XL-2b-0t2"
/>
<outlet
property=
"historyAmountLabel"
destination=
"GB6-Be-cTJ"
id=
"Ugh-V7-xua"
/>
<outlet
property=
"instructionsLinesView"
destination=
"1OU-Hd-sE5"
id=
"d0C-Fl-RRc"
/>
...
...
@@ -2375,7 +2398,7 @@
</viewController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"w7k-sG-NwZ"
userLabel=
"First Responder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"4050"
y=
"3
80
"
/>
<point
key=
"canvasLocation"
x=
"4050"
y=
"3
74
"
/>
</scene>
<!--Payments View Controller-->
<scene
sceneID=
"zvg-OG-IeA"
>
...
...
@@ -2388,7 +2411,7 @@
<tableView
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
alwaysBounceVertical=
"YES"
dataMode=
"prototypes"
style=
"plain"
separatorStyle=
"default"
rowHeight=
"60"
sectionHeaderHeight=
"28"
sectionFooterHeight=
"28"
id=
"X5N-SY-GaL"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"768"
height=
"1024"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<color
key=
"backgroundColor"
red=
"0.91372549020000005"
green=
"0.91764705879999997"
blue=
"0.92156862750000001"
alpha=
"1"
colorSpace=
"calibratedRGB
"
/>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite
"
/>
<prototypes>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"default"
indentationWidth=
"10"
reuseIdentifier=
"PaymentsTableViewCell"
rowHeight=
"70"
id=
"ycT-hi-XMt"
customClass=
"PaymentsTableViewCell"
>
<rect
key=
"frame"
x=
"0.0"
y=
"28"
width=
"768"
height=
"70"
/>
...
...
@@ -2635,7 +2658,7 @@
</viewController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"fPq-MU-1mj"
userLabel=
"First Responder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"57
47"
y=
"380
"
/>
<point
key=
"canvasLocation"
x=
"57
15"
y=
"333
"
/>
</scene>
<!--Withdrawal Table View Controller-->
<scene
sceneID=
"fU9-tc-XNn"
>
...
...
Lighting/Tools/PrefixHeader.pch
View file @
1ba158ed
...
...
@@ -117,13 +117,13 @@
/**
* 服务器测试地址
*/
#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://dg-dev.opple.com/opple-web/app%@",URL]
//
#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://dg-dev.opple.com/opple-web/app%@",URL]
///**
// * 服务器正式地址
// */
//
#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://dg.opple.com/opple-web/app%@",URL]
//
#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://dg.opple.com/opple-web/app%@",URL]
/**
* 搜索框输入通知
*/
...
...
Lighting/Tools/SceneViewController.m
View file @
1ba158ed
...
...
@@ -292,21 +292,19 @@
//上拉加载
self
.
sceneOrProductClollectionView
.
mj_footer
=
[
MJRefreshAutoNormalFooter
footerWithRefreshingBlock
:
^
{
if
(
++
weakSelf
.
indexPage
>
weakSelf
.
totalPages
)
{
if
(
++
weakSelf
.
indexPage
>
weakSelf
.
totalPages
)
{
[
weakSelf
.
sceneOrProductClollectionView
.
mj_footer
endRefreshingWithNoMoreData
];
}
else
{
//默认数据
DataPage
*
Newpage
=
[[
DataPage
alloc
]
init
];
Newpage
.
page
=
weakSelf
.
indexPage
++
;
Newpage
.
rows
=
KROWS
;
weakSelf
.
conditionModel
.
page
=
Newpage
;
[
weakSelf
getSceneLibrarydatas
:
weakSelf
.
conditionModel
isRemove
:
NO
];
}
}];
self
.
sceneOrProductClollectionView
.
mj_footer
.
automaticallyHidden
=
YES
;
}
...
...
@@ -345,7 +343,6 @@
}
}
}
[
weakSelf
.
sceneOrProductClollectionView
reloadData
];
}
else
...
...
@@ -393,7 +390,6 @@
{
//分页数据
DataPage
*
Newpage
=
[[
DataPage
alloc
]
init
];
Newpage
.
page
=
weakSelf
.
indexPage
++
;
Newpage
.
rows
=
KROWS
;
weakSelf
.
goodsModel
.
page
=
Newpage
;
[
weakSelf
getGoodsListDatasisRemove
:
NO
Withobject
:
weakSelf
.
goodsModel
];
...
...
Lighting/Tools/opple_objc_json_client.h
View file @
1ba158ed
...
...
@@ -1457,6 +1457,12 @@ extern NSString * const SORTDIRECTION_DESC;
*/
@interface
TOOrderdetailEntity
:
JSONModel
/**
* (no documentation provided)
*
*
*/
@property
(
nonatomic
,
copy
)
NSString
*
brandName
;
/**
* 方法: 取得java.lang.String
*
...
...
@@ -2557,6 +2563,12 @@ extern NSString * const SORTDIRECTION_DESC;
*
*/
@property
(
nonatomic
,
strong
)
NSNumber
*
historyEarning
;
/**
* (no documentation provided)
*
*
*/
@property
(
nonatomic
,
strong
)
NSNumber
*
applytotal
;
@end
/* interface EarningsResponse */
...
...
Lighting/Tools/opple_objc_json_client.m
View file @
1ba158ed
...
...
@@ -562,6 +562,7 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end
@implementation
TOOrderdetailEntity
@synthesize
brandName
;
@synthesize
fid
;
@synthesize
goodsId
;
@synthesize
goodsCode
;
...
...
@@ -930,6 +931,7 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@synthesize
accountTotal
;
@synthesize
yesterdayEarnings
;
@synthesize
historyEarning
;
@synthesize
applytotal
;
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
...
...
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