Steven 2 سال پیش
والد
کامیت
e2a9a06cab

BIN
KulexiuForTeacher/KulexiuForTeacher.xcworkspace/xcuserdata/wangzhi.xcuserdatad/UserInterfaceState.xcuserstate


+ 22 - 0
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/MessageCenter/notifer_activity.imageset/Contents.json

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

BIN
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/MessageCenter/notifer_activity.imageset/notifer_activity@2x.png


BIN
KulexiuForTeacher/KulexiuForTeacher/Assets.xcassets/MessageCenter/notifer_activity.imageset/notifer_activity@3x.png


+ 1 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Home/Controller/HomeViewController.m

@@ -982,7 +982,7 @@
 - (UICollectionView *)albumCollectionView {
     if (!_albumCollectionView) {
         UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc] init];
-        layout.sectionInset = UIEdgeInsetsMake(12, 14, 12, 14);
+        layout.sectionInset = UIEdgeInsetsMake(12, 11, 12, 14);
         layout.scrollDirection = UICollectionViewScrollDirectionHorizontal;
         _albumCollectionView = [[UICollectionView alloc] initWithFrame:CGRectZero collectionViewLayout:layout];
         _albumCollectionView.backgroundColor = [UIColor clearColor];

+ 3 - 0
KulexiuForTeacher/KulexiuForTeacher/Module/Home/NotiferMessage/View/NotiferMessageCell.m

@@ -98,6 +98,9 @@
     else if ([subType isEqualToString:@"STYLE"]) {
         typeImg = @"notifer_check";
     }
+    else if ([subType isEqualToString:@"ACTIVITY"]) {
+        typeImg = @"notifer_activity";
+    }
     else if ([subType isEqualToString:@"NOTICE"]) {
         typeImg = @"notifer_unknow";
     }

+ 3 - 3
KulexiuForTeacher/KulexiuForTeacher/Module/Home/View/HomeAlbumView.xib

@@ -32,7 +32,7 @@
                     <nil key="highlightedColor"/>
                 </label>
                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="热门专辑" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="A5i-dJ-9Mu">
-                    <rect key="frame" x="29" y="30" width="65.5" height="22"/>
+                    <rect key="frame" x="35" y="30" width="65.5" height="22"/>
                     <constraints>
                         <constraint firstAttribute="height" constant="22" id="cYj-Mu-vFC"/>
                     </constraints>
@@ -68,7 +68,7 @@
                     </connections>
                 </button>
                 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_left" translatesAutoresizingMaskIntoConstraints="NO" id="kHC-jW-zF2">
-                    <rect key="frame" x="19" y="32" width="4" height="18"/>
+                    <rect key="frame" x="25" y="32" width="4" height="18"/>
                     <constraints>
                         <constraint firstAttribute="width" constant="4" id="3KN-YH-s46"/>
                         <constraint firstAttribute="height" constant="18" id="UDg-6w-bAM"/>
@@ -93,7 +93,7 @@
                 <constraint firstItem="sK1-pz-8Kl" firstAttribute="trailing" secondItem="KTG-G7-svg" secondAttribute="trailing" constant="-5" id="qsa-r7-hcB"/>
                 <constraint firstItem="4Cx-dC-YoK" firstAttribute="leading" secondItem="KTG-G7-svg" secondAttribute="leading" constant="6" id="qsw-or-D3A"/>
                 <constraint firstItem="sK1-pz-8Kl" firstAttribute="leading" secondItem="4Cx-dC-YoK" secondAttribute="trailing" constant="3" id="rEO-qe-MxX"/>
-                <constraint firstItem="kHC-jW-zF2" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="19" id="vNa-KD-UdJ"/>
+                <constraint firstItem="kHC-jW-zF2" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="25" id="vNa-KD-UdJ"/>
             </constraints>
             <nil key="simulatedTopBarMetrics"/>
             <nil key="simulatedBottomBarMetrics"/>