桂欢 преди 1 година
родител
ревизия
593d197b74

+ 1 - 1
SLAiELTS/SLAiELTS/AppDelegate.mm

@@ -22,7 +22,7 @@
     // Override point for customization after application launch.
     self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
     self.window.backgroundColor = [UIColor whiteColor];
-    self.window.rootViewController = [[SLBaseViewController alloc] init];
+    self.window.rootViewController = [[UIViewController alloc] init];
     [SLHttpCenter SharedInstance].serverUrl = @"http://dlchat.zheke.com";
 //    [SLHttpCenter SharedInstance].serverUrl = @"http://10.0.0.14:8088";
     NSString *userPhone = [[NSUserDefaults standardUserDefaults] objectForKey:@"SLUserPhone"];

+ 22 - 0
SLAiELTS/SLAiELTS/Assets.xcassets/other/icon_sex_man_r.imageset/Contents.json

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

BIN
SLAiELTS/SLAiELTS/Assets.xcassets/other/icon_sex_man_r.imageset/icon_sex_man_r@2x.png


BIN
SLAiELTS/SLAiELTS/Assets.xcassets/other/icon_sex_man_r.imageset/icon_sex_man_r@3x.png


+ 1 - 1
SLAiELTS/SLAiELTS/ViewControllers/FriendsVC/Views/SLNearbyPeopleCell.m

@@ -34,7 +34,7 @@
     [self.headImageView sd_setImageWithURL:[NSURL URLWithString:[model getUserHeadUrl]]];
     self.userNameLabel.text = model.userName;
     self.distanceLabel.text = model.distance;
-    self.sexImageView.image = [model.sex isEqualToString:@"女"] ? ImageName(@"icon_sex_woman_r") : ImageName(@"icon_sex_man_b");
+    self.sexImageView.image = [model.sex isEqualToString:@"女"] ? ImageName(@"icon_sex_woman_r") : ImageName(@"icon_sex_man_r");
     [self.interestcrollView.subviews enumerateObjectsUsingBlock:^(__kindof UIView * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
         [obj removeFromSuperview];
         obj = nil;