瀏覽代碼

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

wangshuai 1 周之前
父節點
當前提交
8cef89b9ab
共有 1 個文件被更改,包括 3 次插入16 次删除
  1. 3 16
      PDF Office/PDF Master/MemberCenter/ViewController/KMUserInfoViewController.swift

+ 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")