Bladeren bron

【fix】【AI】0元领取1年AI窗口,整体UI太偏上,文案没有拿最新的

tangchao 6 dagen geleden
bovenliggende
commit
904eec88ef

+ 1 - 1
PDF Office/PDF Master/MemberCenter/Assets/en.lproj/MemberCenterLocalizable.strings

@@ -80,7 +80,7 @@
 "Renew now" = "Renew now";
 "Successfully subscribe PDF Reader Pro Advanced - Annual Plan!" = "Successfully subscribe PDF Reader Pro Advanced - Annual Plan!";
 "You get the chance to use AI Tools free for a year on the desktop version" = "You get the chance to use AI Tools free for a year on the desktop version";
-"Free for the first year, then auto-renewal at $125.99 per year. You can cancel your subscription anytime." = "You get the chance to use AI Tools free for a year on the desktop version";
+"Free for the first year, then auto-renewal at $125.99 per year. You can cancel your subscription anytime." = "Free for the first year, then auto-renewal at $125.99 per year. You can cancel your subscription anytime.";
 "Pick up free AI Tools before 23:59:00, or it will be invalid" = "Pick up free AI Tools before 23:59:00, or it will be invalid";
 "Get 1-Year AI Tools with $0" = "Get 1-Year AI Tools with $0";
 "Later" = "Later";

+ 2 - 0
PDF Office/PDF Master/MemberCenter/WindowsController/KMFreeGetAIWC.swift

@@ -34,6 +34,8 @@ class KMFreeGetAIWC: NSWindowController {
         languageLocalized()
         initializeUI()
         
+        subTitle3.isHidden = true
+        
         DistributedNotificationCenter.default.addObserver(self, selector: #selector(themeChanged(_:)), name: NSNotification.Name("AppleInterfaceThemeChangedNotification"), object: nil)
     }
     

+ 4 - 3
PDF Office/PDF Master/MemberCenter/WindowsController/KMFreeGetAIWC.xib

@@ -132,7 +132,7 @@
                         </constraints>
                     </customView>
                     <box boxType="custom" borderWidth="0.0" cornerRadius="1" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="Abq-53-J71" customClass="KMBox" customModule="PDF_Reader_Pro" customModuleProvider="target">
-                        <rect key="frame" x="212" y="162" width="114" height="32"/>
+                        <rect key="frame" x="212" y="122" width="114" height="32"/>
                         <view key="contentView" id="ZXj-k3-y1s">
                             <rect key="frame" x="0.0" y="0.0" width="114" height="32"/>
                             <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
@@ -157,7 +157,7 @@
                         </constraints>
                     </box>
                     <button translatesAutoresizingMaskIntoConstraints="NO" id="E7S-Bk-g72">
-                        <rect key="frame" x="247" y="138" width="45" height="16"/>
+                        <rect key="frame" x="247" y="98" width="45" height="16"/>
                         <buttonCell key="cell" type="bevel" title="Button" bezelStyle="rounded" alignment="center" imageScaling="proportionallyDown" inset="2" id="WO4-oe-cbl">
                             <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                             <font key="font" metaFont="system"/>
@@ -187,6 +187,7 @@
                     <constraint firstItem="Vcv-ai-hhc" firstAttribute="top" secondItem="c5z-V7-cme" secondAttribute="bottom" constant="5" id="1Z4-JM-965"/>
                     <constraint firstAttribute="trailing" secondItem="iRN-bz-X6B" secondAttribute="trailing" constant="40" id="5Pn-81-Dq3"/>
                     <constraint firstItem="Vcv-ai-hhc" firstAttribute="leading" secondItem="se5-gp-TjO" secondAttribute="leading" constant="40" id="6DE-Db-wFX"/>
+                    <constraint firstAttribute="bottom" secondItem="E7S-Bk-g72" secondAttribute="bottom" constant="98" id="8Kp-6O-RGv"/>
                     <constraint firstItem="c5z-V7-cme" firstAttribute="top" secondItem="hWR-hK-k4D" secondAttribute="bottom" constant="5" id="BfD-VE-xLJ"/>
                     <constraint firstItem="53R-cw-WGs" firstAttribute="top" secondItem="se5-gp-TjO" secondAttribute="top" id="Bng-eA-ciz"/>
                     <constraint firstItem="c5z-V7-cme" firstAttribute="leading" secondItem="se5-gp-TjO" secondAttribute="leading" constant="40" id="EO0-GC-J8H"/>
@@ -203,7 +204,7 @@
                     <constraint firstAttribute="trailing" secondItem="8EG-n3-qe5" secondAttribute="trailing" constant="40" id="fAM-fm-Oj7"/>
                     <constraint firstAttribute="bottom" secondItem="8EG-n3-qe5" secondAttribute="bottom" constant="40" id="iKr-SN-RaN"/>
                     <constraint firstItem="E7S-Bk-g72" firstAttribute="top" secondItem="Abq-53-J71" secondAttribute="bottom" constant="8" id="kPm-QF-vAc"/>
-                    <constraint firstItem="Abq-53-J71" firstAttribute="top" secondItem="Vcv-ai-hhc" secondAttribute="bottom" constant="24" id="nPG-Jc-qT4"/>
+                    <constraint firstItem="Abq-53-J71" firstAttribute="top" relation="greaterThanOrEqual" secondItem="Vcv-ai-hhc" secondAttribute="bottom" constant="24" id="nPG-Jc-qT4"/>
                     <constraint firstItem="iRN-bz-X6B" firstAttribute="leading" secondItem="se5-gp-TjO" secondAttribute="leading" constant="40" id="qCB-9U-jBF"/>
                     <constraint firstItem="53R-cw-WGs" firstAttribute="leading" secondItem="se5-gp-TjO" secondAttribute="leading" id="t22-ci-px4"/>
                     <constraint firstItem="iRN-bz-X6B" firstAttribute="top" secondItem="se5-gp-TjO" secondAttribute="top" constant="12" id="wLM-sf-QQ7"/>