Parcourir la source

【会员系统】DMG版,订阅显示到期日期

wangshuai il y a 1 semaine
Parent
commit
8cef89b9ab

+ 3 - 16
PDF Office/PDF Master/MemberCenter/ViewController/KMUserInfoViewController.swift

@@ -1032,22 +1032,9 @@ class KMUserInfoViewController: NSViewController {
             number4_1Label.textColor = NSColor(hex: "FFFFFF")
             number5Label.textColor = NSColor(hex: "FFFFFF")
             membershipLabel.textColor = NSColor(hex: "FFFFFF")
-            if KMMemberInfo.shared.userScenarioType == .dmg_type13 ||
-                KMMemberInfo.shared.userScenarioType == .dmg_type15 ||
-                KMMemberInfo.shared.userScenarioType == .dmg_type9 ||
-                KMMemberInfo.shared.userScenarioType == .dmg_type17 ||
-                KMMemberInfo.shared.userScenarioType == .dmg_type25 ||
-                KMMemberInfo.shared.userScenarioType == .dmg_type27 ||
-                KMMemberInfo.shared.userScenarioType == .dmg_type21 ||
-                KMMemberInfo.shared.userScenarioType == .dmg_type32 ||
-                KMMemberInfo.shared.userScenarioType == .dmg_type40 ||
-                KMMemberInfo.shared.userScenarioType == .dmg_type42 ||
-                KMMemberInfo.shared.userScenarioType == .dmg_type36 ||
-                KMMemberInfo.shared.userScenarioType == .dmg_type47 {
-                if KMMemberInfo.shared.vip_endDate.count > 0 {
-                    spliLineImageView.isHidden = false
-                    endDateLabel.isHidden = false
-                }
+            if KMMemberInfo.shared.vip_endDate.count > 0 {
+                spliLineImageView.isHidden = false
+                endDateLabel.isHidden = false
             }
             rightsBox.fillColor = NSColor(named: "FFFFFF_0.2") ?? .white
             buyNow1Box.fillColor = NSColor(hex: "FFFFFF")