Selaa lähdekoodia

【会员系统】撤销远程控制显示问题

dinglingui 1 viikko sitten
vanhempi
commit
d02ac92184

+ 5 - 1
PDF Office/PDF Master/MemberCenter/ViewController/KMUserInfoViewController.swift

@@ -794,7 +794,11 @@ class KMUserInfoViewController: NSViewController {
         
         if isTrialPeriod == false { //没有试用过,才能显示,不然就算远程支持,功能上也不支持远程控制
             //远程控制
-            if let userViewInfoContent = KMAdvertisementManager.manager.info.userViewInfoContent {                
+            if let userViewInfoContent = KMAdvertisementManager.manager.info.userViewInfoContent {
+                
+                buyNow1BoxLeftConst.constant = 0
+                buyNow2Box.isHidden = false
+                
                 if userViewInfoContent.content?.isEmpty == false {
                     buyNow2Box.isHidden = true
                     buyNow1BoxLeftConst.constant = (CGRectGetWidth(view.bounds) - CGRectGetWidth(buyNow1Box.frame))/2