Ver Fonte

【会员系统】免费用户状态栏显示问题

wangshuai há 1 dia atrás
pai
commit
21da8ffd3f

+ 1 - 1
PDF Office/PDF Master/Class/Purchase/DMG/Verification/KMVerificationMessageViewController.m

@@ -360,7 +360,7 @@ NSPopoverDelegate>
                 self.button.title = [NSString stringWithFormat:@" %@ ",NSLocalizedString(@"Upgrade", nil)];
             } else {
                 if(IAPProductsManager.defaultManager.fourDevicesAllAccessPackNew12months_lite.isTrialPeriod == YES)  { //是否有试用
-                    self.button.title = [NSString stringWithFormat:@" %@ ",NSLocalizedString(@"Upgrade", nil)];
+                    self.button.title = [NSString stringWithFormat:@" %@ ",NSLocalizedStringFromTable(@"Buy Now",@"MemberCenterLocalizable", nil)];
                 } else {
                     self.button.title = [NSString stringWithFormat:@" %@ ",NSLocalizedString(@"Free Trial", nil)];
                 }

+ 5 - 1
PDF Office/PDF Master/MemberCenter/Model/KMMemberInfo.swift

@@ -981,7 +981,11 @@ import Cocoa
         // 无旧订阅、买断
         if userScenarioType == .lite_type1 {
             // 试用比较表
-            KMProductCompareWC.shared.orientationType = .trial
+            if(IAPProductsManager.default().fourDevicesAllAccessPackNew12months_lite.isTrialPeriod == true)  { //是否有试用
+                KMProductCompareWC.shared.orientationType = .lite_Base
+            } else {
+                KMProductCompareWC.shared.orientationType = .trial
+            }
             KMProductCompareWC.shared.showWindow(nil)
         } else if userScenarioType == .lite_type3 ||
                     userScenarioType == .lite_type7 {