Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Macalline
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张杰
Macalline
Commits
74de6228
Commit
74de6228
authored
Apr 07, 2016
by
753147900@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企划修改
parent
ad029853
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
746 additions
and
63 deletions
+746
-63
BRNetworkMgr.m
Macalline/Classes/Utilities/BRNetworkMgr.m
+0
-2
NoticeListViewController.m
...Classes/ViewControllers/Notice/NoticeListViewController.m
+3
-1
SettingViewController.m
...e/Classes/ViewControllers/Setting/SettingViewController.m
+1
-1
SANewHomeViewController.h
...wControllers/SmallArea/SASystem/SANewHomeViewController.h
+15
-0
SANewHomeViewController.m
...wControllers/SmallArea/SASystem/SANewHomeViewController.m
+360
-19
NewHomeViewController.h
...ne/Classes/ViewControllers/System/NewHomeViewController.h
+15
-0
NewHomeViewController.m
...ne/Classes/ViewControllers/System/NewHomeViewController.m
+349
-38
TabBarViewController.m
...ine/Classes/ViewControllers/TabBar/TabBarViewController.m
+3
-2
No files found.
Macalline/Classes/Utilities/BRNetworkMgr.m
View file @
74de6228
...
...
@@ -175,11 +175,9 @@
}];
[
operation
setUserInfo
:@{
@"interface"
:
interface
,
kDealExtraWhenErrorOcur
:
@NO
}];
[
self
.
operationQueue
addOperation
:
operation
];
[
self
.
operationQueue
setSuspended
:
YES
];
[
operation
pause
];
return
operation
;
}
...
...
Macalline/Classes/ViewControllers/Notice/NoticeListViewController.m
View file @
74de6228
...
...
@@ -34,7 +34,7 @@
self
=
[
super
initWithNibName
:
nibNameOrNil
bundle
:
nibBundleOrNil
];
if
(
self
)
{
// Custom initialization
self
.
title
=
@"公告信息"
;
//
self.title = @"公告信息";
}
return
self
;
}
...
...
@@ -205,6 +205,7 @@
-
(
void
)
selectNoticeDatas
{
_tableType
=
@"notice"
;
DLog
(
@"userID:%@"
,[
DataMgr
getInstance
].
userID
);
_noticeArr
=
[
DBDaoMgr
fetchNoticeByUserId
:[
DataMgr
getInstance
].
userID
];
[
self
.
tableVContent
reloadData
];
if
(
_noticeArr
.
count
!=
0
)
{
...
...
@@ -225,6 +226,7 @@
params
:
nil
dataType
:
BRNetMgrDataTypeJSON
method
:
BRNetMgrMethodPost
];
[
self
.
networkMgr
startOperation
:
operation
];
}
...
...
Macalline/Classes/ViewControllers/Setting/SettingViewController.m
View file @
74de6228
...
...
@@ -33,7 +33,7 @@
self
=
[
super
initWithNibName
:
nibNameOrNil
bundle
:
nibBundleOrNil
];
if
(
self
)
{
// Custom initialization
self
.
title
=
@"我"
;
//
self.title = @"我";
}
return
self
;
}
...
...
Macalline/Classes/ViewControllers/SmallArea/SASystem/SANewHomeViewController.h
View file @
74de6228
...
...
@@ -13,5 +13,20 @@
@property
(
nonatomic
,
strong
)
NSString
*
finishedTaskCount
;
@property
(
nonatomic
,
strong
)
NSString
*
progress
;
@property
(
nonatomic
,
strong
)
NSString
*
dayCount
;
@property
(
nonatomic
,
strong
)
NSArray
*
arrContents
;
@property
(
nonatomic
,
strong
)
NSArray
*
noticeArr
;
@property
(
nonatomic
,
strong
)
UITableView
*
tableView
;
@property
(
nonatomic
,
strong
)
UIView
*
leftView
;
@end
@interface
SACheckListCell
:
BaseTableViewCell
@property
(
nonatomic
,
strong
)
UILabel
*
lblcontent
;
@property
(
nonatomic
,
strong
)
UILabel
*
lblTitle
;
@property
(
nonatomic
,
strong
)
UILabel
*
lblCreateTime
;
@property
(
nonatomic
,
strong
)
UIView
*
viewCreateTime
;
@property
(
nonatomic
,
strong
)
UIView
*
viewLine
;
@property
(
nonatomic
,
strong
)
UIView
*
view
;
@property
(
nonatomic
,
strong
)
UIImageView
*
imageview
;
@end
Macalline/Classes/ViewControllers/SmallArea/SASystem/SANewHomeViewController.m
View file @
74de6228
This diff is collapsed.
Click to expand it.
Macalline/Classes/ViewControllers/System/NewHomeViewController.h
View file @
74de6228
...
...
@@ -9,6 +9,21 @@
#import "BaseScrollTableViewController.h"
@interface
NewHomeViewController
:
BaseScrollTableViewController
@property
(
nonatomic
,
strong
)
NSArray
*
noticeArr
;
@property
(
nonatomic
,
strong
)
NSString
*
unFinishedTaskCount
;
@property
(
nonatomic
,
strong
)
NSString
*
progress
;
@property
(
nonatomic
,
strong
)
NSArray
*
arrContents
;
@property
(
nonatomic
,
strong
)
UITableView
*
tableVContent
;
@property
(
nonatomic
,
strong
)
UIImageView
*
imageVNoResult
;
@end
@interface
CheckListCell
:
BaseTableViewCell
@property
(
nonatomic
,
strong
)
UILabel
*
lblcontent
;
@property
(
nonatomic
,
strong
)
UILabel
*
lblTitle
;
@property
(
nonatomic
,
strong
)
UILabel
*
lblCreateTime
;
@property
(
nonatomic
,
strong
)
UIView
*
viewCreateTime
;
@property
(
nonatomic
,
strong
)
UIView
*
viewLine
;
@property
(
nonatomic
,
strong
)
UIView
*
view
;
@property
(
nonatomic
,
strong
)
UIImageView
*
imageview
;
@end
\ No newline at end of file
Macalline/Classes/ViewControllers/System/NewHomeViewController.m
View file @
74de6228
This diff is collapsed.
Click to expand it.
Macalline/Classes/ViewControllers/TabBar/TabBarViewController.m
View file @
74de6228
...
...
@@ -74,6 +74,7 @@
self
.
viewControllers
=
@[
navhomew
,
navNotice
,
navSetting
];
//加载视图资源
[
self
customizeTabBarForController
:
self
];
self
.
delegate
=
self
;
self
.
hidesBottomBarWhenPushed
=
YES
;
...
...
@@ -273,8 +274,8 @@
// @[[NSString stringWithFormat:@"未完成(%@)", result[@"unFinishedTaskCount"]],
// [NSString stringWithFormat:@"已完成(%@)", result[@"finishedTaskCount"]]]];
// [vcTask reloadItemTitles];
vcHome
.
unFinishedTaskCount
=
result
[
@"unFinishedTaskCount"
];
vcHome
.
progress
=
[
NSString
stringWithFormat
:
@"%@"
,
result
[
@"progress"
]];
//
vcHome.unFinishedTaskCount = result[@"unFinishedTaskCount"];
//
vcHome.progress = [NSString stringWithFormat:@"%@",result[@"progress"]];
[
DataMgr
getInstance
].
dayCount
=
result
[
@"days"
];
[
DataMgr
getInstance
].
unfinishedTaskCountToDacuxiao
=
result
[
@"dacuxiaoUndoneNum"
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment