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
d6bde33a
Commit
d6bde33a
authored
Jul 10, 2017
by
曹云霄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
28b44508
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
SceneViewController.m
...s/Experiencecentre/Scene/Controller/SceneViewController.m
+1
-1
GenerateOrdersViewController.m
...ss/Shoppingcart/Controller/GenerateOrdersViewController.m
+2
-2
No files found.
Lighting/Class/Experiencecentre/Scene/Controller/SceneViewController.m
View file @
d6bde33a
...
...
@@ -658,7 +658,7 @@
BOOL
boolValue
=
[[
self
.
openArray
objectAtIndex_opple
:
button
.
tag
-
100
]
boolValue
];
NSMutableIndexSet
*
index
=
[[
NSMutableIndexSet
alloc
]
init
];
for
(
int
i
=
0
;
i
<
self
.
openArray
.
count
;
i
++
)
{
if
([[
self
.
openArray
objectAtIndex
:
i
]
isEqualToString
:
@"1"
])
{
if
([[
self
.
openArray
yx_
objectAtIndex
:
i
]
isEqualToString
:
@"1"
])
{
[
self
.
openArray
replaceObjectAtIndex
:
i
withObject
:
@"0"
];
[
index
addIndex
:
i
];
}
...
...
Lighting/Class/Shoppingcart/Controller/GenerateOrdersViewController.m
View file @
d6bde33a
...
...
@@ -489,7 +489,7 @@
-
(
void
)
changeAddresscell
:
(
AddressModel
*
)
model
withcellindex
:
(
NSInteger
)
cellindex
{
[
self
dismissViewControllerAnimated
:
YES
completion
:
nil
];
[[
self
.
datasArray
objectAtIndex
:
1
]
replaceObjectAtIndex
:
cellindex
withObject
:
model
];
[[
self
.
datasArray
yx_
objectAtIndex
:
1
]
replaceObjectAtIndex
:
cellindex
withObject
:
model
];
NSIndexPath
*
indexpath
=
[
NSIndexPath
indexPathForRow
:
cellindex
inSection
:
1
];
[
self
.
generateOrderTableview
reloadRowsAtIndexPaths
:@[
indexpath
]
withRowAnimation
:
UITableViewRowAnimationLeft
];
}
...
...
@@ -507,7 +507,7 @@
//判断是否为选中
if
([
model
.
fid
isEqualToString
:
addressid
])
{
[[
self
.
datasArray
objectAtIndex
:
1
]
removeObjectAtIndex
:
i
];
[[
self
.
datasArray
yx_
objectAtIndex
:
1
]
removeObjectAtIndex
:
i
];
NSIndexPath
*
indexpath
=
[
NSIndexPath
indexPathForRow
:
i
inSection
:
1
];
[
self
.
generateOrderTableview
deleteRowsAtIndexPaths
:@[
indexpath
]
withRowAnimation
:
UITableViewRowAnimationLeft
];
dispatch_after
(
dispatch_time
(
DISPATCH_TIME_NOW
,
(
int64_t
)(
1
*
NSEC_PER_SEC
)),
dispatch_get_main_queue
(),
^
{
...
...
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