Browse Source

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

学丽 5 years ago
parent
commit
2ff8f1dc98

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

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
 <Bucket
2
 <Bucket
3
    type = "0"
3
    type = "0"
4
    version = "2.0">
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
 </Bucket>
17
 </Bucket>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

51
         listC.contentLabel.hidden=NO;
51
         listC.contentLabel.hidden=NO;
52
         listC.iconImgV.hidden=YES;
52
         listC.iconImgV.hidden=YES;
53
         if (indexPath.row == 1) {
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
         }else if (indexPath.row == 2) {
56
         }else if (indexPath.row == 2) {
56
             listC.contentLabel.text=userInfoDic[@"kwai_num"];
57
             listC.contentLabel.text=userInfoDic[@"kwai_num"];
57
         }else if (indexPath.row == 3) {
58
         }else if (indexPath.row == 3) {
63
             }
64
             }
64
             
65
             
65
         }else if (indexPath.row == 4) {
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
         }else if (indexPath.row == 5) {
69
         }else if (indexPath.row == 5) {
68
             listC.contentLabel.text=userInfoDic[@"favorite_cate"];
70
             listC.contentLabel.text=userInfoDic[@"favorite_cate"];
69
         }
71
         }