Browse Source

1.分享实现详情 -----失效时间不显示已失效 显示失效时间(封禁时间)

huangxiaodong 1 year ago
parent
commit
f8e91e22eb

+ 10 - 3
创维盒子/双子星云手机/Class/Set/previewFile/shareRecordDetailsHWViewController.m

@@ -407,9 +407,16 @@
         _shareLinkCopyButton.hidden = YES;
         
         //失效时间
-        NSString *tipStr2 = NSLocalizedString(@"copy_share_link_Invalid_tip",nil);
-        _shareEndDateLabel.text = tipStr2;
-        _shareEndDateLabel.textColor = [UIColor hwColor:@"#DD4E4E"];
+        //NSString *tipStr2 = NSLocalizedString(@"copy_share_link_Invalid_tip",nil);
+        //_shareEndDateLabel.text = tipStr2;
+        //_shareEndDateLabel.textColor = [UIColor hwColor:@"#DD4E4E"];
+        
+        if(_dataModel.reportStatus){
+            _shareEndDateLabel.text = _dataModel.reportTime;
+        }
+        else{
+            _shareEndDateLabel.text = _dataModel.expirationTime;
+        }
     }