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
558981b7
Commit
558981b7
authored
Nov 21, 2016
by
曹云霄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改项说明:
parent
ba1ca1b5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
146 additions
and
78 deletions
+146
-78
PromotionChooseViewController.m
Class/PromotionChooseViewController.m
+2
-2
OppleMain.storyboard
Lighting/OppleMain.storyboard
+144
-76
No files found.
Class/PromotionChooseViewController.m
View file @
558981b7
...
...
@@ -70,10 +70,10 @@
}
[
self
.
customPromotionDatas
enumerateObjectsUsingBlock
:
^
(
CustomPromotionModel
*
model1
,
NSUInteger
index
,
BOOL
*
_Nonnull
stop
)
{
if
(
!
[
promotionModel
.
conflicts
containsObject
:
model1
.
type
]
&&
!
[
model1
.
conflicts
containsObject
:
promotionModel
.
type
])
{
for
(
int
i
=
0
;
i
<
weakSelf
.
customPromotionDatas
.
count
;
i
++
)
{
for
(
NSInteger
i
=
0
;
i
<
weakSelf
.
customPromotionDatas
.
count
;
i
++
)
{
CustomPromotionModel
*
model2
=
weakSelf
.
customPromotionDatas
[
i
];
if
(
!
[
model2
.
conflicts
containsObject
:
model1
.
type
]
&&
!
[
model1
.
conflicts
containsObject
:
model2
.
type
]
&&
!
[
model2
isEqual
:
promotionModel
])
{
model1
.
isSelected
=
YES
;
model1
.
isSelected
=
YES
;
break
;
}
}
}
else
{
...
...
Lighting/OppleMain.storyboard
View file @
558981b7
This diff is collapsed.
Click to expand it.
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