Pārlūkot izejas kodu

Merge branch 'master' of http://101.200.220.49:8001/liuxueli/KDProject

学丽 5 gadi atpakaļ
vecāks
revīzija
2ff8f1dc98

+ 5 - 0
KuDianProject.xcworkspace/xcuserdata/kaipeng.xcuserdatad/IDEFindNavigatorScopes.plist

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+<plist version="1.0">
4
+<array/>
5
+</plist>

BIN
KuDianProject.xcworkspace/xcuserdata/kaipeng.xcuserdatad/UserInterfaceState.xcuserstate


+ 12 - 0
KuDianProject.xcworkspace/xcuserdata/kaipeng.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -2,4 +2,16 @@
2 2
 <Bucket
3 3
    type = "0"
4 4
    version = "2.0">
5
+   <Breakpoints>
6
+      <BreakpointProxy
7
+         BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
8
+         <BreakpointContent
9
+            shouldBeEnabled = "Yes"
10
+            ignoreCount = "0"
11
+            continueAfterRunningActions = "No"
12
+            scope = "0"
13
+            stopOnStyle = "0">
14
+         </BreakpointContent>
15
+      </BreakpointProxy>
16
+   </Breakpoints>
5 17
 </Bucket>

+ 1 - 1
KuDianProject/Earning/Controller/KDPAccountVC.m

@@ -116,7 +116,7 @@
116 116
 }
117 117
 
118 118
 - (CGFloat )spaceHeightForEmptyDataSet:(UIScrollView *)scrollView{
119
-    return 50;
119
+    return 30;
120 120
 }
121 121
 -(void)returnClickBtn
122 122
 {

+ 1 - 1
KuDianProject/Earning/Controller/KDPForecastOrderListVC.m

@@ -102,7 +102,7 @@
102 102
 }
103 103
 
104 104
 - (CGFloat )spaceHeightForEmptyDataSet:(UIScrollView *)scrollView{
105
-    return 50;
105
+    return 30;
106 106
 }
107 107
 -(void)returnClickBtn
108 108
 {

+ 1 - 1
KuDianProject/Earning/Controller/KDPForecastVC.m

@@ -93,7 +93,7 @@
93 93
 }
94 94
 
95 95
 - (CGFloat )spaceHeightForEmptyDataSet:(UIScrollView *)scrollView{
96
-    return 50;
96
+    return 30;
97 97
 }
98 98
 -(void)returnClickBtn
99 99
 {

+ 1 - 1
KuDianProject/Earning/Controller/KDPOrderDetailListNewVC.m

@@ -94,7 +94,7 @@
94 94
 }
95 95
 
96 96
 - (CGFloat )spaceHeightForEmptyDataSet:(UIScrollView *)scrollView{
97
-    return 50;
97
+    return 30;
98 98
 }
99 99
 -(UITableView *)forecastView
100 100
 {

+ 1 - 1
KuDianProject/LiveData/Controller/KDPLiveLeftViewController.m

@@ -140,7 +140,7 @@
140 140
 }
141 141
 
142 142
 - (CGFloat )spaceHeightForEmptyDataSet:(UIScrollView *)scrollView{
143
-    return 50;
143
+    return 30;
144 144
 }
145 145
 
146 146
 - (NSAttributedString *)titleForEmptyDataSet:(UIScrollView *)scrollView{

+ 1 - 1
KuDianProject/LiveData/Controller/KDPLiveRightViewController.m

@@ -161,7 +161,7 @@
161 161
 }
162 162
 
163 163
 - (CGFloat )spaceHeightForEmptyDataSet:(UIScrollView *)scrollView{
164
-    return 50;
164
+    return 30;
165 165
 }
166 166
 
167 167
 - (NSAttributedString *)titleForEmptyDataSet:(UIScrollView *)scrollView{

+ 1 - 1
KuDianProject/LiveData/Controller/KDPOrderDetailViewController.m

@@ -132,7 +132,7 @@
132 132
 }
133 133
 
134 134
 - (CGFloat )spaceHeightForEmptyDataSet:(UIScrollView *)scrollView{
135
-    return 50;
135
+    return 30;
136 136
 }
137 137
 
138 138
 @end

+ 1 - 1
KuDianProject/SupplyGood/Controller/KDPSupplyContentViewController.m

@@ -309,7 +309,7 @@
309 309
 }
310 310
 
311 311
 - (CGFloat)spaceHeightForEmptyDataSet:(UIScrollView *)scrollView{
312
-    return 50;
312
+    return 30;
313 313
 }
314 314
 
315 315
 - (NSAttributedString *)titleForEmptyDataSet:(UIScrollView *)scrollView{

+ 1 - 1
KuDianProject/SupplyGood/Controller/KDPSupplyGoodViewController.m

@@ -91,7 +91,7 @@
91 91
 
92 92
 - (void)setUpTopView{
93 93
     self.navBar.hidden = YES;
94
-    NSInteger height = KDNavBarHeight == 64 ? 130 : 163;
94
+    NSInteger height = KDNavBarHeight == 64 ? 135 : 163;
95 95
     UIView *topBackView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, height)];
96 96
     [topBackView setGradientBackgroundWithColors:@[[UIColor colorWithRGB:0xFF235F],[UIColor colorWithRGB:0xFF7676]] locations:@[@0,@1] startPoint:CGPointMake(0, 0) endPoint:CGPointMake(1, 0)];
97 97
     [self.view addSubview:topBackView];

+ 1 - 1
KuDianProject/TOP/Controller/KDPDrawerVC.m

@@ -105,7 +105,7 @@
105 105
 }
106 106
 
107 107
 - (CGFloat )spaceHeightForEmptyDataSet:(UIScrollView *)scrollView{
108
-    return 50;
108
+    return 30;
109 109
 }
110 110
 -(UITableView *)listTabView
111 111
 {

+ 1 - 1
KuDianProject/TOP/Controller/KDPNoticeViewController.m

@@ -166,6 +166,6 @@
166 166
 }
167 167
 
168 168
 - (CGFloat )spaceHeightForEmptyDataSet:(UIScrollView *)scrollView{
169
-    return 50;
169
+    return 30;
170 170
 }
171 171
 @end

+ 1 - 1
KuDianProject/TOP/Controller/KDPProjectListVC.m

@@ -92,7 +92,7 @@
92 92
 }
93 93
 
94 94
 - (CGFloat )spaceHeightForEmptyDataSet:(UIScrollView *)scrollView{
95
-    return 50;
95
+    return 30;
96 96
 }
97 97
 
98 98
 -(void)returnClickBtn

+ 1 - 1
KuDianProject/TOP/Controller/KDPTodayListViewController.m

@@ -191,7 +191,7 @@
191 191
 }
192 192
 
193 193
 - (CGFloat )spaceHeightForEmptyDataSet:(UIScrollView *)scrollView{
194
-    return 50;
194
+    return 30;
195 195
 }
196 196
 -(UITableView *)tableView
197 197
 {

+ 1 - 1
KuDianProject/TOP/Controller/KDPTopViewController.m

@@ -479,6 +479,6 @@
479 479
 }
480 480
 
481 481
 - (CGFloat )spaceHeightForEmptyDataSet:(UIScrollView *)scrollView{
482
-    return 50;
482
+    return 30;
483 483
 }
484 484
 @end

+ 1 - 1
KuDianProject/TOP/Drawer/Control/KDPCollectHistoryVC.m

@@ -106,7 +106,7 @@
106 106
 }
107 107
 
108 108
 - (CGFloat )spaceHeightForEmptyDataSet:(UIScrollView *)scrollView{
109
-    return 50;
109
+    return 30;
110 110
 }
111 111
 
112 112
 -(UITableView *)collectView

+ 4 - 2
KuDianProject/TOP/Drawer/Control/KDPUserInfoVC.m

@@ -51,7 +51,8 @@
51 51
         listC.contentLabel.hidden=NO;
52 52
         listC.iconImgV.hidden=YES;
53 53
         if (indexPath.row == 1) {
54
-            listC.contentLabel.text=userInfoDic[@"kwai_username"];
54
+            NSString *userName = [userInfoDic[@"kwai_username"] isEqual:[NSNull null]] ? @"" : userInfoDic[@"kwai_username"];
55
+            listC.contentLabel.text=userName;
55 56
         }else if (indexPath.row == 2) {
56 57
             listC.contentLabel.text=userInfoDic[@"kwai_num"];
57 58
         }else if (indexPath.row == 3) {
@@ -63,7 +64,8 @@
63 64
             }
64 65
             
65 66
         }else if (indexPath.row == 4) {
66
-            listC.contentLabel.text=userInfoDic[@"kwai_city_name"];
67
+            NSString *cityName = [userInfoDic[@"kwai_city_name"] isEqual:[NSNull null]] ? @"":userInfoDic[@"kwai_city_name"];
68
+            listC.contentLabel.text=cityName;
67 69
         }else if (indexPath.row == 5) {
68 70
             listC.contentLabel.text=userInfoDic[@"favorite_cate"];
69 71
         }