Sfoglia il codice sorgente

Merge branch 'develop_PDFReaderPro_V4.7.0' of git.kdan.cc:Mac_PDF/PDF_Office into develop_PDFReaderPro_V4.7.0

tangchao 6 giorni fa
parent
commit
e383f67eae

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

@@ -630,10 +630,6 @@ class KMUserInfoViewController: NSViewController {
             number4_1Label.textColor = NSColor(hex: "FFFFFF")
             number5Label.textColor = NSColor(hex: "FFFFFF")
             membershipLabel.textColor = NSColor(hex: "FFFFFF")
-            
-            buyNow2Box.isHidden = true
-            buyNow1BoxLeftConst.constant = (CGRectGetWidth(view.bounds) - CGRectGetWidth(buyNow1Box.frame))/2
-
         } else if(KMMemberInfo.shared.userScenarioType == .lite_type9 ||
                   KMMemberInfo.shared.userScenarioType == .pro_type1) {
             if(KMMemberInfo.shared.vip_paymentModel == "2" && KMMemberInfo.shared.vip_levels != "1") { //永久
@@ -798,11 +794,7 @@ class KMUserInfoViewController: NSViewController {
         
         if isTrialPeriod == false { //没有试用过,才能显示,不然就算远程支持,功能上也不支持远程控制
             //远程控制
-            if let userViewInfoContent = KMAdvertisementManager.manager.info.userViewInfoContent {
-                
-                buyNow1BoxLeftConst.constant = 0
-                buyNow2Box.isHidden = false
-                
+            if let userViewInfoContent = KMAdvertisementManager.manager.info.userViewInfoContent {                
                 if userViewInfoContent.content?.isEmpty == false {
                     buyNow2Box.isHidden = true
                     buyNow1BoxLeftConst.constant = (CGRectGetWidth(view.bounds) - CGRectGetWidth(buyNow1Box.frame))/2