|
@@ -295,7 +295,7 @@
|
|
|
}
|
|
|
|
|
|
- (__kindof UICollectionViewCell *)pagerView:(TYCyclePagerView *)pagerView cellForItemAtIndex:(NSInteger)index {
|
|
|
- BOOL isLock = self.mineInfo.tenantAlbumStatus == 1 ? YES : NO;
|
|
|
+ BOOL isLock = self.tenantAlbumStatus == 1 ? YES : NO;
|
|
|
TenantHomeSubjectListCell *cell = [pagerView dequeueReusableCellWithReuseIdentifier:@"TenantHomeSubjectListCell" forIndex:index];
|
|
|
[cell configWithJsonSting:self.animationNameArray[index] isLock:isLock];
|
|
|
if (pagerView.curIndex == index) {
|
|
@@ -321,7 +321,7 @@
|
|
|
}
|
|
|
|
|
|
- (void)pagerView:(TYCyclePagerView *)pageView didSelectedItemCell:(__kindof UICollectionViewCell *)cell atIndex:(NSInteger)index {
|
|
|
- BOOL isLock = self.mineInfo.tenantAlbumStatus == 1 ? YES : NO;
|
|
|
+ BOOL isLock = self.tenantAlbumStatus == 1 ? YES : NO;
|
|
|
if (isLock) {
|
|
|
TenantAlbumModel *model = self.sourceArray[index];
|
|
|
NSString *subjectType = model.subjectType;
|