|
@@ -472,6 +472,25 @@
|
|
|
[self.modeView addSubview:self.lineImageView];
|
|
|
}
|
|
|
|
|
|
+- (void)updateTotal {
|
|
|
+ NSInteger count = 0;
|
|
|
+ if (self.model.continousArray.count) {
|
|
|
+ count += self.model.continousArray.count;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (self.model.movieArray.count) {
|
|
|
+ count += self.model.movieArray.count;
|
|
|
+ }
|
|
|
+ if (self.model.panoramArray.count) {
|
|
|
+ count += self.model.panoramArray.count;
|
|
|
+ }
|
|
|
+ if (self.model.aiPanoramArray.count) {
|
|
|
+ count += self.model.aiPanoramArray.count;
|
|
|
+ }
|
|
|
+ self.countLabel.text = [NSString stringWithFormat:@"共%ld笔数据", count];
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
- (void)changeAction:(UITapGestureRecognizer *)tap {
|
|
|
|
|
@@ -675,6 +694,7 @@
|
|
|
[self updateCurrentIndexPath];
|
|
|
});
|
|
|
|
|
|
+ [self updateTotal];
|
|
|
[self updateViewWhenDelete];
|
|
|
if (self.dataChangeBlock) {
|
|
|
self.dataChangeBlock();
|