Browse Source

【内嵌支付】修复“Add on 应该是点击一整行都可以响应勾选;数字不应该可以输入或增减”

wanjun 6 months ago
parent
commit
8787241e52

+ 27 - 5
PDF Office/PDF Master/Class/Purchase/DMG/KMPurchaseEmbeddedWindowController.xib

@@ -92,7 +92,7 @@
             <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
             <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
             <rect key="contentRect" x="196" y="240" width="970" height="618"/>
-            <rect key="screenRect" x="0.0" y="0.0" width="1800" height="1125"/>
+            <rect key="screenRect" x="0.0" y="0.0" width="2560" height="1415"/>
             <view key="contentView" id="se5-gp-TjO">
                 <rect key="frame" x="0.0" y="0.0" width="970" height="618"/>
                 <autoresizingMask key="autoresizingMask"/>
@@ -587,9 +587,6 @@
                                                         <constraint firstAttribute="height" constant="24" id="ZBa-N0-ylx"/>
                                                         <constraint firstAttribute="width" constant="24" id="lvK-xb-rbZ"/>
                                                     </constraints>
-                                                    <connections>
-                                                        <action selector="aiAddOnButtonAction:" target="-2" id="dkK-Uu-atB"/>
-                                                    </connections>
                                                 </button>
                                                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="dYr-QE-Sxx">
                                                     <rect key="frame" x="32" y="4" width="428" height="42"/>
@@ -700,16 +697,30 @@
                                                         <constraint firstAttribute="trailing" secondItem="Zgg-6x-ycD" secondAttribute="trailing" id="xT3-sp-T7u"/>
                                                     </constraints>
                                                 </customView>
+                                                <button translatesAutoresizingMaskIntoConstraints="NO" id="SoM-sc-hgO">
+                                                    <rect key="frame" x="0.0" y="0.0" width="538" height="50"/>
+                                                    <buttonCell key="cell" type="bevel" bezelStyle="rounded" alignment="center" imageScaling="proportionallyDown" inset="2" id="RLD-xB-0t4">
+                                                        <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                                                        <font key="font" metaFont="system"/>
+                                                    </buttonCell>
+                                                    <connections>
+                                                        <action selector="aiAddOnButtonAction:" target="-2" id="8bw-GH-4hK"/>
+                                                    </connections>
+                                                </button>
                                             </subviews>
                                             <constraints>
+                                                <constraint firstItem="SoM-sc-hgO" firstAttribute="top" secondItem="A4x-fh-Pac" secondAttribute="top" id="02R-GU-Dkr"/>
                                                 <constraint firstItem="dYr-QE-Sxx" firstAttribute="leading" secondItem="lDe-WV-H1b" secondAttribute="trailing" constant="4" id="12Y-Rs-w8X"/>
                                                 <constraint firstAttribute="bottom" secondItem="hor-yk-1fT" secondAttribute="bottom" constant="4" id="1Ui-f2-qag"/>
                                                 <constraint firstItem="dYr-QE-Sxx" firstAttribute="top" secondItem="A4x-fh-Pac" secondAttribute="top" constant="4" id="8qN-6p-nLx"/>
                                                 <constraint firstAttribute="height" constant="50" id="MFo-VD-9b5"/>
+                                                <constraint firstAttribute="bottom" secondItem="SoM-sc-hgO" secondAttribute="bottom" id="MSJ-Vp-xw8"/>
                                                 <constraint firstAttribute="trailing" secondItem="hor-yk-1fT" secondAttribute="trailing" constant="4" id="Seq-KI-sVI"/>
                                                 <constraint firstItem="hor-yk-1fT" firstAttribute="leading" secondItem="dYr-QE-Sxx" secondAttribute="trailing" constant="4" id="Vdm-LF-cDW"/>
+                                                <constraint firstItem="SoM-sc-hgO" firstAttribute="leading" secondItem="A4x-fh-Pac" secondAttribute="leading" id="W1w-fo-9qR"/>
                                                 <constraint firstAttribute="bottom" secondItem="dYr-QE-Sxx" secondAttribute="bottom" constant="4" id="Wh2-V4-yKG"/>
                                                 <constraint firstItem="hor-yk-1fT" firstAttribute="top" secondItem="A4x-fh-Pac" secondAttribute="top" constant="4" id="XA8-ZN-UhA"/>
+                                                <constraint firstAttribute="trailing" secondItem="SoM-sc-hgO" secondAttribute="trailing" id="Zc2-q0-Q7C"/>
                                                 <constraint firstItem="lDe-WV-H1b" firstAttribute="leading" secondItem="A4x-fh-Pac" secondAttribute="leading" constant="4" id="aIf-D0-MKV"/>
                                                 <constraint firstItem="lDe-WV-H1b" firstAttribute="top" secondItem="A4x-fh-Pac" secondAttribute="top" constant="4" id="kbR-s8-zZC"/>
                                             </constraints>
@@ -846,13 +857,22 @@
                                                         <constraint firstAttribute="height" constant="24" id="fEZ-v5-79J"/>
                                                         <constraint firstAttribute="width" constant="24" id="yjJ-ny-a2R"/>
                                                     </constraints>
+                                                </button>
+                                                <button translatesAutoresizingMaskIntoConstraints="NO" id="Ygz-9t-jR6">
+                                                    <rect key="frame" x="0.0" y="0.0" width="538" height="50"/>
+                                                    <buttonCell key="cell" type="bevel" bezelStyle="rounded" alignment="center" imageScaling="proportionallyDown" inset="2" id="bfE-zn-FkJ">
+                                                        <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                                                        <font key="font" metaFont="system"/>
+                                                    </buttonCell>
                                                     <connections>
-                                                        <action selector="extendedButtonAction:" target="-2" id="sBy-Nh-Yud"/>
+                                                        <action selector="extendedButtonAction:" target="-2" id="zAR-br-FUX"/>
                                                     </connections>
                                                 </button>
                                             </subviews>
                                             <constraints>
+                                                <constraint firstAttribute="bottom" secondItem="Ygz-9t-jR6" secondAttribute="bottom" id="8Ym-aZ-6oJ"/>
                                                 <constraint firstItem="MbO-7o-ibN" firstAttribute="leading" secondItem="DDi-AB-k2w" secondAttribute="leading" constant="4" id="GDA-I4-y2d"/>
+                                                <constraint firstItem="Ygz-9t-jR6" firstAttribute="top" secondItem="DDi-AB-k2w" secondAttribute="top" id="ISy-1q-kve"/>
                                                 <constraint firstAttribute="height" constant="50" id="KTP-AA-im1"/>
                                                 <constraint firstItem="uWl-6n-x7Q" firstAttribute="top" secondItem="DDi-AB-k2w" secondAttribute="top" constant="4" id="Kfe-xA-lm4"/>
                                                 <constraint firstAttribute="trailing" secondItem="uWl-6n-x7Q" secondAttribute="trailing" constant="4" id="SSe-a6-yI6"/>
@@ -860,6 +880,8 @@
                                                 <constraint firstItem="MbO-7o-ibN" firstAttribute="top" secondItem="DDi-AB-k2w" secondAttribute="top" constant="4" id="aVG-Ik-aSh"/>
                                                 <constraint firstAttribute="bottom" secondItem="OKm-hL-M8J" secondAttribute="bottom" constant="4" id="d4G-L5-DWJ"/>
                                                 <constraint firstAttribute="bottom" secondItem="uWl-6n-x7Q" secondAttribute="bottom" constant="4" id="ob3-7d-Bed"/>
+                                                <constraint firstAttribute="trailing" secondItem="Ygz-9t-jR6" secondAttribute="trailing" id="pcU-cF-wQb"/>
+                                                <constraint firstItem="Ygz-9t-jR6" firstAttribute="leading" secondItem="DDi-AB-k2w" secondAttribute="leading" id="pcp-7l-vmI"/>
                                                 <constraint firstItem="OKm-hL-M8J" firstAttribute="top" secondItem="DDi-AB-k2w" secondAttribute="top" constant="4" id="yEI-mc-7WR"/>
                                                 <constraint firstItem="uWl-6n-x7Q" firstAttribute="leading" secondItem="OKm-hL-M8J" secondAttribute="trailing" constant="4" id="zG5-lZ-l8Y"/>
                                             </constraints>