Steven преди 7 месеца
родител
ревизия
d9f2c9e892

+ 22 - 0
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/DelayCheck/check_prepareTips.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "check_prepareTips@2x.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "check_prepareTips@3x.png",
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/DelayCheck/check_prepareTips.imageset/check_prepareTips@2x.png


BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/DelayCheck/check_prepareTips.imageset/check_prepareTips@3x.png


+ 8 - 1
KulexiuForStudent/KulexiuForStudent/Common/Base/DelayCheck/KSDelayCheckView.m

@@ -53,6 +53,9 @@
 @property (weak, nonatomic) IBOutlet UIView *seaGrassRight;
 @property (nonatomic, strong) LOTAnimationView *seaGrassRightAniView;
 
+@property (weak, nonatomic) IBOutlet UIView *bubbleBgView;
+@property (nonatomic, strong) LOTAnimationView *bubbleAniView;
+
 @end
 
 @implementation KSDelayCheckView
@@ -124,7 +127,9 @@
     if (self.seaGrassRightAniView.isAnimationPlaying) {
         [self.seaGrassRightAniView stop];
     }
-    
+    if (self.bubbleAniView.isAnimationPlaying) {
+        [self.bubbleAniView stop];
+    }
     [self removeMoveAnimation];
 }
 
@@ -171,6 +176,8 @@
     self.seaGrassRightAniView = [self configAnimation:@"delay_check_seaGrass_right" attachInView:self.seaGrassRight];
     [self.seaGrassRightAniView play];
     
+    self.bubbleAniView = [self configAnimation:@"delay_check_ bubble" attachInView:self.bubbleBgView];
+    [self.bubbleAniView play];
     [self addMoveAnimation];
 }
 

+ 11 - 0
KulexiuForStudent/KulexiuForStudent/Common/Base/DelayCheck/KSDelayCheckView.xib

@@ -31,6 +31,14 @@
                         <constraint firstAttribute="width" secondItem="u3c-a0-cG0" secondAttribute="height" multiplier="2436:1125" id="YMd-RO-iQP"/>
                     </constraints>
                 </view>
+                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FYc-te-vMr">
+                    <rect key="frame" x="566.66666666666663" y="41" width="96" height="87"/>
+                    <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                    <constraints>
+                        <constraint firstAttribute="height" constant="87" id="acW-3n-54g"/>
+                        <constraint firstAttribute="width" constant="96" id="osr-kj-hjx"/>
+                    </constraints>
+                </view>
                 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1aI-Fq-ro5">
                     <rect key="frame" x="0.0" y="211.33333333333337" width="220" height="163.66666666666663"/>
                     <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
@@ -200,8 +208,10 @@
                 <constraint firstItem="pcl-5K-Deb" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="20" id="Yo1-C7-F1f"/>
                 <constraint firstItem="13a-eT-FQo" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="bKZ-Tx-uIh"/>
                 <constraint firstAttribute="bottom" secondItem="13a-eT-FQo" secondAttribute="bottom" id="diT-dc-3Di"/>
+                <constraint firstItem="FYc-te-vMr" firstAttribute="leading" secondItem="1N3-2i-t6U" secondAttribute="trailing" constant="11" id="ePR-fT-lQJ"/>
                 <constraint firstItem="1aI-Fq-ro5" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="fZU-xW-xJ0"/>
                 <constraint firstItem="pg3-Ih-STu" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="hAp-vt-VbP"/>
+                <constraint firstItem="FYc-te-vMr" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="41" id="jh7-kQ-a86"/>
                 <constraint firstItem="1N3-2i-t6U" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="6" id="lL6-0H-fjE"/>
                 <constraint firstItem="9H1-aj-D94" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="tXf-ar-C6b"/>
                 <constraint firstItem="pcl-5K-Deb" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="30" id="z0b-B2-XKR"/>
@@ -211,6 +221,7 @@
             <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
             <connections>
                 <outlet property="backButtonLeft" destination="z0b-B2-XKR" id="mwK-Dp-cdh"/>
+                <outlet property="bubbleBgView" destination="FYc-te-vMr" id="ZY3-uI-L4m"/>
                 <outlet property="lightBgView" destination="BHM-q7-D86" id="Z54-x4-MB0"/>
                 <outlet property="mainView" destination="1N3-2i-t6U" id="qk6-xp-B7v"/>
                 <outlet property="otherTipsView" destination="9H1-aj-D94" id="t02-3G-Dt7"/>