Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhongChaoMerchant_iOS
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhukai
zhongChaoMerchant_iOS
Commits
9bbc7da8
Commit
9bbc7da8
authored
Aug 21, 2019
by
ChenCD
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交1.2
parent
905d8be8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
23 deletions
+33
-23
project.pbxproj
ZhongChaoApp/UniversalApp.xcodeproj/project.pbxproj
+1
-1
UserInterfaceState.xcuserstate
...rdata/dongchen.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
Breakpoints_v2.xcbkptlist
...dongchen.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
+23
-0
ZCWithdrawViewController.m
...er/Withdraw[提现管理]/Withdraw[提现]/ZCWithdrawViewController.m
+4
-4
ZCWithdrawInputCell.m
...pp/Modules/Home/View/Withdraw[提现相关]/ZCWithdrawInputCell.m
+3
-10
Info.plist
ZhongChaoApp/UniversalApp/Supporting Flies/Info.plist
+2
-8
No files found.
ZhongChaoApp/UniversalApp.xcodeproj/project.pbxproj
View file @
9bbc7da8
...
...
@@ -2391,7 +2391,7 @@
ProvisioningStyle
=
Automatic
;
SystemCapabilities
=
{
com.apple.BackgroundModes
=
{
enabled
=
1
;
enabled
=
0
;
};
com.apple.InAppPurchase
=
{
enabled
=
1
;
...
...
ZhongChaoApp/UniversalApp.xcworkspace/xcuserdata/dongchen.xcuserdatad/UserInterfaceState.xcuserstate
View file @
9bbc7da8
No preview for this file type
ZhongChaoApp/UniversalApp.xcworkspace/xcuserdata/dongchen.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
0 → 100644
View file @
9bbc7da8
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type =
"0"
version =
"2.0"
>
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID =
"Xcode.Breakpoint.FileBreakpoint"
>
<BreakpointContent
shouldBeEnabled =
"No"
ignoreCount =
"0"
continueAfterRunningActions =
"No"
filePath =
"UniversalApp/Modules/Home/Controller/Withdraw[提现管理]/Withdraw[提现]/ZCWithdrawViewController.m"
timestampString =
"587998760.879873"
startingColumnNumber =
"9223372036854775807"
endingColumnNumber =
"9223372036854775807"
startingLineNumber =
"110"
endingLineNumber =
"110"
landmarkName =
"-updateInputCell:"
landmarkType =
"7"
>
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
ZhongChaoApp/UniversalApp/Modules/Home/Controller/Withdraw[提现管理]/Withdraw[提现]/ZCWithdrawViewController.m
View file @
9bbc7da8
//
//
...
...
@@ -80,8 +80,7 @@ static NSString *const kWithdrawInputCellId = @"ZCWithdrawInputCell";
_withdrawModel
.
charge
=
kSTRING
(
data
[
@"charge"
]);
_withdrawModel
.
min_money
=
kSTRING
(
data
[
@"min_money"
]);
_withdrawModel
.
max_money
=
kSTRING
(
data
[
@"max_money"
]);
_withdrawModel
.
withdrawCharge
=
[
NSString
stringWithFormat
:
@"%.2f"
,[
_withdrawModel
.
withdrawMoney
doubleValue
]
*
[
_withdrawModel
.
charge
doubleValue
]];
_withdrawModel
.
withdrawCharge
=
[
NSString
stringWithFormat
:
@"%.2f"
,[
_withdrawModel
.
withdrawMoney
doubleValue
]];
[
_myTableView
reloadData
];
}];
}
...
...
@@ -108,8 +107,9 @@ static NSString *const kWithdrawInputCellId = @"ZCWithdrawInputCell";
*/
-
(
void
)
updateInputCell
:
(
ZCWithdrawInputCell
*
)
cell
{
_withdrawModel
.
withdrawCharge
=
[
NSString
stringWithFormat
:
@"%.2f"
,[
_withdrawModel
.
withdrawMoney
doubleValue
]
*
[
_withdrawModel
.
charge
doubleValue
]
];
_withdrawModel
.
withdrawCharge
=
[
NSString
stringWithFormat
:
@"%.2f"
,[
_withdrawModel
.
withdrawMoney
doubleValue
]];
NSLog
(
@"---------%@"
,
_withdrawModel
.
withdrawCharge
);
[
cell
paddingWithModel
:
_withdrawModel
];
}
...
...
ZhongChaoApp/UniversalApp/Modules/Home/View/Withdraw[提现相关]/ZCWithdrawInputCell.m
View file @
9bbc7da8
//
//
...
...
@@ -29,16 +29,9 @@
-
(
void
)
paddingWithModel
:
(
ZCWithdrawModel
*
)
model
{
//有输入提现金额
if
(
model
.
withdrawCharge
&&
model
.
withdrawMoney
.
length
>
0
)
{
_balanceLbl
.
text
=
[
NSString
stringWithFormat
:
@"手续费:%@"
,
model
.
withdrawCharge
];
_balanceLbl
.
font
=
kFont
(
14
);
}
else
{
_balanceLbl
.
text
=
[
NSString
stringWithFormat
:
@"可用余额 %.2f元"
,[
kUserInfo
.
money
doubleValue
]];
_balanceLbl
.
font
=
kFont
(
12
);
}
_balanceLbl
.
text
=
[
NSString
stringWithFormat
:
@"可用余额 %.2f元"
,[
kUserInfo
.
money
doubleValue
]];
_balanceLbl
.
font
=
kFont
(
12
);
_inputTextField
.
text
=
kSTRING
(
model
.
withdrawMoney
);
}
-
(
BOOL
)
textField
:
(
UITextField
*
)
textField
shouldChangeCharactersInRange
:
(
NSRange
)
range
replacementString
:
(
nonnull
NSString
*
)
string
{
...
...
ZhongChaoApp/UniversalApp/Supporting Flies/Info.plist
View file @
9bbc7da8
...
...
@@ -17,7 +17,7 @@
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
1.
1
<
/string
>
<
string
>
1.
2
<
/string
>
<
k
e
y
>
CFBundleURLTypes
<
/k
e
y
>
<
a
rr
a
y
>
<
d
i
c
t
>
...
...
@@ -46,7 +46,7 @@
<
/
d
i
c
t
>
<
/
a
rr
a
y
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
1.1
<
/string
>
<
string
>
1.
2
1
<
/string
>
<
k
e
y
>
LSApplicationQueriesSchemes
<
/k
e
y
>
<
a
rr
a
y
>
<
string
>
wechat
<
/string
>
...
...
@@ -100,12 +100,6 @@
<
string
>
众巢商家版需要您的授权才能添加图片到相册
<
/string
>
<
k
e
y
>
NSPhotoLibraryUsageDescription
<
/k
e
y
>
<
string
>
众巢商家版需要您的授权才能访问相册
<
/string
>
<
k
e
y
>
UIBackgroundModes
<
/k
e
y
>
<
a
rr
a
y
>
<
string
>
audio
<
/string
>
<
string
>
fetch
<
/string
>
<
string
>
remote-notification
<
/string
>
<
/
a
rr
a
y
>
<
k
e
y
>
UIRequiredDeviceCapabilities
<
/k
e
y
>
<
a
rr
a
y
>
<
string
>
armv7
<
/string
>
...
...
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