Browse Source

【会员系统】Lite、Pro用户中心问题

dinglingui 1 week ago
parent
commit
167da6205a

+ 4 - 0
PDF Office/PDF Master/MemberCenter/ViewController/KMUserInfoViewController.swift

@@ -630,6 +630,10 @@ class KMUserInfoViewController: NSViewController {
             number4_1Label.textColor = NSColor(hex: "FFFFFF")
             number4_1Label.textColor = NSColor(hex: "FFFFFF")
             number5Label.textColor = NSColor(hex: "FFFFFF")
             number5Label.textColor = NSColor(hex: "FFFFFF")
             membershipLabel.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 ||
         } else if(KMMemberInfo.shared.userScenarioType == .lite_type9 ||
                   KMMemberInfo.shared.userScenarioType == .pro_type1) {
                   KMMemberInfo.shared.userScenarioType == .pro_type1) {
             if(KMMemberInfo.shared.vip_paymentModel == "2" && KMMemberInfo.shared.vip_levels != "1") { //永久
             if(KMMemberInfo.shared.vip_paymentModel == "2" && KMMemberInfo.shared.vip_levels != "1") { //永久