Browse Source

1.修改iOS Apex CRM首页设为CRM网页。

Pen Li 7 years ago
parent
commit
84e4249ff8

+ 6 - 5
RedAnt CRM/APEX CRM/APEX CRM/Base.lproj/Main.storyboard

@@ -19,12 +19,12 @@
                         <autoresizingMask key="autoresizingMask"/>
                     </navigationBar>
                     <connections>
-                        <segue destination="BYZ-38-t0r" kind="relationship" relationship="rootViewController" id="hN4-RQ-yXC"/>
+                        <segue destination="OVy-gX-1F6" kind="relationship" relationship="rootViewController" id="AQq-1T-uYA"/>
                     </connections>
                 </navigationController>
                 <placeholder placeholderIdentifier="IBFirstResponder" id="OiB-pV-Ue7" userLabel="First Responder" sceneMemberID="firstResponder"/>
             </objects>
-            <point key="canvasLocation" x="-777" y="27"/>
+            <point key="canvasLocation" x="-775" y="366"/>
         </scene>
         <!--View Controller-->
         <scene sceneID="tne-QT-ifu">
@@ -62,7 +62,7 @@
                                 </connections>
                             </button>
                             <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="CLC-dd-eZQ">
-                                <rect key="frame" x="15" y="108" width="384" height="30"/>
+                                <rect key="frame" x="15" y="64" width="384" height="30"/>
                                 <constraints>
                                     <constraint firstAttribute="height" constant="30" id="uHY-Ff-rgb"/>
                                 </constraints>
@@ -106,7 +106,7 @@
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <subviews>
                             <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="nSN-pu-SH2" customClass="RAWKWebView">
-                                <rect key="frame" x="0.0" y="44" width="414" height="818"/>
+                                <rect key="frame" x="0.0" y="88" width="414" height="774"/>
                                 <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                             </view>
                         </subviews>
@@ -119,13 +119,14 @@
                         </constraints>
                         <viewLayoutGuide key="safeArea" id="Wtw-Bc-GH6"/>
                     </view>
+                    <navigationItem key="navigationItem" id="aQZ-00-Yxs"/>
                     <connections>
                         <outlet property="webview" destination="nSN-pu-SH2" id="Nbp-Ie-Lhw"/>
                     </connections>
                 </viewController>
                 <placeholder placeholderIdentifier="IBFirstResponder" id="jPz-V5-dTe" userLabel="First Responder" sceneMemberID="firstResponder"/>
             </objects>
-            <point key="canvasLocation" x="897" y="27"/>
+            <point key="canvasLocation" x="41" y="704"/>
         </scene>
     </scenes>
 </document>

+ 5 - 0
RedAnt CRM/APEX CRM/APEX CRM/WKWebTestViewController.m

@@ -28,6 +28,11 @@
     } else {
         self.automaticallyAdjustsScrollViewInsets = NO;
     }
+    
+    if (!_url) {
+        _url = @"https://ra.apexshipping.com/apexcrm/crm/mobile/login";
+    }
+    
     [self.webview LoadFromURL:_url];
     self.webview.JumpTo = ^(NSString* url, NSString* module){
         

BIN
RedAnt CRM/RedAnt CRM.xcworkspace/xcuserdata/macmini1.xcuserdatad/UserInterfaceState.xcuserstate