Commit e0d48415 authored by Sandy's avatar Sandy

小区角色登录首页通知切换

parent 74de6228
......@@ -115,6 +115,7 @@
09E0EECC1A417B8000C46363 /* no_picture.png in Resources */ = {isa = PBXBuildFile; fileRef = 09E0EECB1A417B8000C46363 /* no_picture.png */; };
09F975061A2FFC3A00694015 /* DBInstance.m in Sources */ = {isa = PBXBuildFile; fileRef = 09F975051A2FFC3A00694015 /* DBInstance.m */; };
19AE36C6512842239843A3EA /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 34150CE708EA4D2C8CA28E97 /* libPods.a */; };
19B665CD1CBA18C9004DB763 /* HomeNoticeViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 19B665CC1CBA18C9004DB763 /* HomeNoticeViewController.m */; };
3A22A4C51B71E6F0000DA94A /* setSearchDays.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A22A4C41B71E6F0000DA94A /* setSearchDays.m */; };
3A22A4C81B73397E000DA94A /* BATaskNewDetailViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A22A4C71B73397E000DA94A /* BATaskNewDetailViewController.m */; };
3A22A4CC1B733993000DA94A /* SATaskNewDetailViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A22A4CB1B733993000DA94A /* SATaskNewDetailViewController.m */; };
......@@ -321,6 +322,8 @@
09E0EECB1A417B8000C46363 /* no_picture.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = no_picture.png; sourceTree = "<group>"; };
09F975041A2FFC3A00694015 /* DBInstance.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DBInstance.h; sourceTree = "<group>"; };
09F975051A2FFC3A00694015 /* DBInstance.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DBInstance.m; sourceTree = "<group>"; };
19B665CB1CBA18C9004DB763 /* HomeNoticeViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HomeNoticeViewController.h; sourceTree = "<group>"; };
19B665CC1CBA18C9004DB763 /* HomeNoticeViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HomeNoticeViewController.m; sourceTree = "<group>"; };
34150CE708EA4D2C8CA28E97 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
3A22A4C31B71E6F0000DA94A /* setSearchDays.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = setSearchDays.h; sourceTree = "<group>"; };
3A22A4C41B71E6F0000DA94A /* setSearchDays.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = setSearchDays.m; sourceTree = "<group>"; };
......@@ -536,6 +539,8 @@
children = (
09B7F5181A2CB29D000C4D19 /* NoticeListViewController.h */,
09B7F5191A2CB29D000C4D19 /* NoticeListViewController.m */,
19B665CB1CBA18C9004DB763 /* HomeNoticeViewController.h */,
19B665CC1CBA18C9004DB763 /* HomeNoticeViewController.m */,
09D3A66B1A32EDE00018A08D /* NoteDetailViewController.h */,
09D3A66C1A32EDE00018A08D /* NoteDetailViewController.m */,
02021C231B3BEF1300F70DA9 /* GoodExampleViewController.h */,
......@@ -1081,6 +1086,7 @@
02FA52AC1B40ECA400797CBF /* SANewHomeViewController.m in Sources */,
096107111A3149CF00D1F041 /* BaseDao.m in Sources */,
02A4EC251B4A2FB5008AC2D1 /* BATaskCheckViewController.m in Sources */,
19B665CD1CBA18C9004DB763 /* HomeNoticeViewController.m in Sources */,
02FED2591B37B47100789735 /* NewHomeViewController.m in Sources */,
029A4F751B95B2ED00C9FF76 /* EDStarRating.m in Sources */,
029A4F5E1B95B29500C9FF76 /* BackGroundMusicViewController.m in Sources */,
......
//
// HomeNoticeViewController.h
// Macalline
//
// Created by Z on 16/4/8.
// Copyright © 2016年 JianjiYuan. All rights reserved.
//
#import "BaseTableViewController.h"
#import "NoticeListViewController.h"
@interface HomeNoticeViewController : BaseTableViewController
@end
......@@ -748,9 +748,10 @@
{
[UIApplication showLoadingView:kTextShowInProgress];
NSString *interface = @"queryNoticeListEX";
NSDictionary *params = @{@"type":@"2"};
NSOperation *operation = [self.networkMgr operationWithURL:kBaseEXURL(interface)
interface:interface
params:nil
params:params
dataType:BRNetMgrDataTypeJSON
method:BRNetMgrMethodPost];
[self.networkMgr startOperation:operation];
......@@ -948,7 +949,7 @@
_tableView = [[UITableView alloc]init];
[_tableView setFrame:CGRectMake(0, 120, CGRectGetWidth(self.view.frame),CGRectGetHeight(self.view.frame))];
_tableView.delegate = self;
_tableView.backgroundColor=[UIColor redColor];
_tableView.backgroundColor=[UIColor whiteColor];
_tableView.dataSource = self;
[self.view addSubview:_tableView];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment