Steven 2 年之前
父節點
當前提交
707b213c51

二進制
KulexiuForStudent/KulexiuForStudent.xcworkspace/xcuserdata/wangzhi.xcuserdatad/UserInterfaceState.xcuserstate


+ 34 - 2
KulexiuForStudent/KulexiuForStudent.xcworkspace/xcuserdata/wangzhi.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -62,8 +62,8 @@
             filePath = "KulexiuForStudent/Module/Home/Controller/HomeViewController.m"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "845"
-            endingLineNumber = "845"
+            startingLineNumber = "849"
+            endingLineNumber = "849"
             landmarkName = "-homeCourseChooseAction:"
             landmarkType = "7">
          </BreakpointContent>
@@ -84,5 +84,37 @@
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "113FF9CC-3FAD-4E68-BE62-A8BDE1DB7F40"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "KulexiuForStudent/Module/Home/Controller/HomeViewController.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "353"
+            endingLineNumber = "353"
+            landmarkName = "-requestUserInfo"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "F0C0C1F0-E7FC-4E41-9722-34EE53BFCF96"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "KulexiuForStudent/Module/Login/Controller/SubjectChooseViewController.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "257"
+            endingLineNumber = "257"
+            landmarkName = "-sureChooseSubject"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
    </Breakpoints>
 </Bucket>

+ 5 - 1
KulexiuForStudent/KulexiuForStudent/Module/Home/Controller/HomeViewController.m

@@ -252,12 +252,16 @@
 
 - (void)requestData {
     [self requestUserInfo]; // 获取老师声部
-    // 栅栏函数
+    [self requestNewsList]; //
     [self requestCourseInfo];
     [self requestTeacherStyle];
     [self requestHotAlbum];
 }
 
+- (void)requestNewsList {
+    
+}
+
 - (void)requestHotAlbum {
     [KSNetworkingManager HomeHotAlbumRequest:KS_POST page:1 rows:10 success:^(NSDictionary * _Nonnull dic) {
         if ([dic integerValueForKey:@"code"] == 200 && [dic boolValueForKey:@"status"]) {

+ 3 - 2
KulexiuForStudent/KulexiuForStudent/Module/Login/Controller/SubjectChooseViewController.m

@@ -124,8 +124,8 @@
     [self.segCtrl configWithArray:titleArray];
     NSMutableArray *sourceArray = self.instrumentArray[self.chooseIndex];
     self.imageArray = sourceArray;
-    [self.imageCycle scrollToItemAtIndex:0 animated:YES];
     [self.imageCycle reloadData];
+    [self.imageCycle scrollToItemAtIndex:0 animated:YES];
     [self refreshBottomView:0];
 }
 
@@ -134,6 +134,7 @@
     self.bodyView.subjectName.text = [NSString returnNoNullStringWithString:model.name];
     self.bodyView.subjectDesc.text = [NSString returnNoNullStringWithString:model.desc];
     [self.bodyView.sureButton setTitle:[NSString stringWithFormat:@"开启%@学习之路",model.name] forState:UIControlStateNormal];
+    self.chooseInstrument = self.imageArray[index];
 }
 
 - (void)configUI {
@@ -196,7 +197,7 @@
 }
 
 - (void)cycleScrollView:(ZKCycleScrollView *)cycleScrollView didScrollFromIndex:(NSInteger)fromIndex toIndex:(NSInteger)toIndex {
-    self.chooseInstrument = self.imageArray[toIndex];
+    
     [self refreshBottomView:toIndex];
     
 }

二進制
KulexiuForStudent/build/Debug-iphonesimulator/KulexiuForStudent.app/KulexiuForStudent


二進制
KulexiuForStudent/build/KulexiuForStudent.build/Debug-iphonesimulator/KulexiuForStudent.build/Objects-normal/x86_64/HomeViewController.dia


二進制
KulexiuForStudent/build/KulexiuForStudent.build/Debug-iphonesimulator/KulexiuForStudent.build/Objects-normal/x86_64/HomeViewController.o


二進制
KulexiuForStudent/build/KulexiuForStudent.build/Debug-iphonesimulator/KulexiuForStudent.build/Objects-normal/x86_64/SubjectChooseViewController.o


二進制
KulexiuForStudent/build/XCBuildData/build.db