Просмотр исходного кода

1.修改USAI Menu按钮层级。

Pen Li 7 лет назад
Родитель
Сommit
40b8632d68
1 измененных файлов с 31 добавлено и 19 удалено
  1. 31 19
      RedAnt ERP Mobile/iSales-NPD/Base.lproj/Main.storyboard

+ 31 - 19
RedAnt ERP Mobile/iSales-NPD/Base.lproj/Main.storyboard

@@ -243,14 +243,21 @@
                                             <action selector="onUserButtonClick:" destination="BYZ-38-t0r" eventType="touchUpInside" id="r9q-nF-Lk6"/>
                                         </connections>
                                     </button>
-                                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="Kx0-AQ-Y5o" userLabel="MenuButton">
+                                    <view contentMode="scaleToFill" misplaced="YES" id="bQ2-5t-t5t" customClass="MainHeaderViewColorPanel">
                                         <rect key="frame" x="0.0" y="20" width="48" height="48"/>
                                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
-                                        <state key="normal" image="menu_open"/>
-                                        <connections>
-                                            <action selector="onmenuButtonClicked:" destination="BYZ-38-t0r" eventType="touchUpInside" id="8Jk-HI-USO"/>
-                                        </connections>
-                                    </button>
+                                        <subviews>
+                                            <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="Kx0-AQ-Y5o" userLabel="MenuButton">
+                                                <rect key="frame" x="0.0" y="0.0" width="48" height="48"/>
+                                                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                                                <state key="normal" image="menu_open"/>
+                                                <connections>
+                                                    <action selector="onmenuButtonClicked:" destination="BYZ-38-t0r" eventType="touchUpInside" id="8Jk-HI-USO"/>
+                                                </connections>
+                                            </button>
+                                        </subviews>
+                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                                    </view>
                                 </subviews>
                                 <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                             </view>
@@ -352,17 +359,22 @@
                                             <action selector="OnLoginClick:" destination="BYZ-38-t0r" eventType="touchUpInside" id="wAx-ab-MTQ"/>
                                         </connections>
                                     </button>
-                                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="z6K-Ge-vfg" userLabel="MenuButton">
+                                    <view contentMode="scaleToFill" misplaced="YES" id="KeC-8h-nz6" customClass="MainHeaderViewColorPanel">
                                         <rect key="frame" x="300" y="20" width="36" height="36"/>
                                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
-                                        <color key="backgroundColor" red="0.79277843236923218" green="0.79277843236923218" blue="0.79277843236923218" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                        <state key="normal" image="menu_open">
-                                            <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
-                                        </state>
-                                        <connections>
-                                            <action selector="switchMenu:" destination="BYZ-38-t0r" eventType="touchUpInside" id="Xb6-0d-MOX"/>
-                                        </connections>
-                                    </button>
+                                        <subviews>
+                                            <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="z6K-Ge-vfg" userLabel="MenuButton">
+                                                <rect key="frame" x="0.0" y="0.0" width="36" height="36"/>
+                                                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                                                <color key="backgroundColor" red="0.79277843236923218" green="0.79277843236923218" blue="0.79277843236923218" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                                                <state key="normal" image="menu_open"/>
+                                                <connections>
+                                                    <action selector="switchMenu:" destination="BYZ-38-t0r" eventType="touchUpInside" id="Xb6-0d-MOX"/>
+                                                </connections>
+                                            </button>
+                                        </subviews>
+                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                                    </view>
                                     <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Ver:1.0" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="MTI-0q-XWj" userLabel="ver">
                                         <rect key="frame" x="25" y="980" width="250" height="21"/>
                                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
@@ -6597,8 +6609,8 @@ Email: redantsupport@united-us.net</string>
                                                     <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                                     <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                                 </view>
-                                                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="yn8-x9-aNh">
-                                                    <rect key="frame" x="716" y="2" width="43" height="40"/>
+                                                <button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" id="yn8-x9-aNh">
+                                                    <rect key="frame" x="716" y="9" width="43" height="40"/>
                                                     <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
                                                     <state key="normal" image="assign"/>
                                                     <connections>
@@ -9800,12 +9812,12 @@ Email: redantsupport@united-us.net</string>
         <image name="btn_search" width="102" height="30"/>
         <image name="btn_signin" width="100" height="30"/>
         <image name="camera" width="48" height="48"/>
-        <image name="cart_empty" width="96" height="96"/>
+        <image name="cart_empty" width="72" height="72"/>
         <image name="category" width="96" height="96"/>
         <image name="check_0_24" width="24" height="24"/>
         <image name="check_1_24" width="24" height="24"/>
         <image name="checkbox" width="16" height="16"/>
-        <image name="close" width="32" height="32"/>
+        <image name="close" width="40" height="40"/>
         <image name="contact" width="72" height="72"/>
         <image name="continue" width="131" height="30"/>
         <image name="filter" width="32" height="32"/>