Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
ios1x
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cemarose
ios1x
Commits
52e68ef5
Commit
52e68ef5
authored
Jul 17, 2017
by
lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u
parent
8fd31c33
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
3 deletions
+1
-3
KWMShopCartVC.m
iCemarose/Class/UI/ShopCart/KWMShopCartVC.m
+0
-2
Info.plist
iCemarose/Info.plist
+1
-1
No files found.
iCemarose/Class/UI/ShopCart/KWMShopCartVC.m
View file @
52e68ef5
...
@@ -254,8 +254,6 @@
...
@@ -254,8 +254,6 @@
}
else
{
}
else
{
// price += [model.price.priceValue decimalNumberByMultiplyingBy:[NSDecimalNumber decimalNumberWithString:@(model.quantity).stringValue]].integerValue;
// price += [model.price.priceValue decimalNumberByMultiplyingBy:[NSDecimalNumber decimalNumberWithString:@(model.quantity).stringValue]].integerValue;
total
=
[
total
decimalNumberByAdding
:[
model
.
price
.
priceValue
decimalNumberByMultiplyingBy
:[
NSDecimalNumber
decimalNumberWithString
:
@
(
model
.
quantity
).
stringValue
]]];
total
=
[
total
decimalNumberByAdding
:[
model
.
price
.
priceValue
decimalNumberByMultiplyingBy
:[
NSDecimalNumber
decimalNumberWithString
:
@
(
model
.
quantity
).
stringValue
]]];
// FIXME: 这里要bug
// total = [total decimalNumberByAdding:nil];
}
}
}
}
// _lbTotalPrice.text = [NSString stringWithFormat: @"¥%@",[KWMStringUtil getEUR2CNYstring:@(price)]];
// _lbTotalPrice.text = [NSString stringWithFormat: @"¥%@",[KWMStringUtil getEUR2CNYstring:@(price)]];
...
...
iCemarose/Info.plist
View file @
52e68ef5
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/
a
rr
a
y
>
<
/
a
rr
a
y
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
2017071
418
<
/string
>
<
string
>
2017071
715
<
/string
>
<
k
e
y
>
LSApplicationQueriesSchemes
<
/k
e
y
>
<
k
e
y
>
LSApplicationQueriesSchemes
<
/k
e
y
>
<
a
rr
a
y
>
<
a
rr
a
y
>
<
string
>
weixin
<
/string
>
<
string
>
weixin
<
/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