Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
万
万科
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
张杰
万科
Commits
3d0d5c10
Commit
3d0d5c10
authored
Nov 29, 2015
by
Achilles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公告查看页。
parent
6e929801
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
11 deletions
+16
-11
VankeNoticeListAPI.m
vanke/controller/VankeNoticeListAPI.m
+1
-1
VankeNoticeBoard_iPhone.h
vanke/view_iPhone/templates/notice/VankeNoticeBoard_iPhone.h
+1
-0
VankeNoticeBoard_iPhone.m
vanke/view_iPhone/templates/notice/VankeNoticeBoard_iPhone.m
+13
-1
VankeNoticeBoard_iPhone.xml
.../view_iPhone/templates/notice/VankeNoticeBoard_iPhone.xml
+1
-1
VankeNoticeListBoard_iPhone.m
...iew_iPhone/templates/notice/VankeNoticeListBoard_iPhone.m
+0
-8
No files found.
vanke/controller/VankeNoticeListAPI.m
View file @
3d0d5c10
...
...
@@ -30,7 +30,7 @@
[
NSString
stringWithFormat
:
@"%lu"
,
self
.
pageNumber
],
@"page_number"
,
[
NSString
stringWithFormat
:
@"%lu"
,
self
.
pageSize
],
@"page_size"
,
nil
];
NSString
*
url
=
[
NSString
stringWithFormat
:
@"/affiche/download/%@"
,
curUser
.
code
];
NSString
*
url
=
[
NSString
stringWithFormat
:
@"/affiche/download/%@"
,
curUser
.
uuid
];
[
self
http_post
:
url
].
BODY
(
dict
).
TIMEOUT
(
10
);
}
else
if
(
self
.
succeed
)
...
...
vanke/view_iPhone/templates/notice/VankeNoticeBoard_iPhone.h
View file @
3d0d5c10
...
...
@@ -25,6 +25,7 @@
@property
(
strong
,
nonatomic
)
Notice
*
data
;
AS_OUTLET
(
BeeUILabel
,
lblContent
)
AS_OUTLET
(
BeeUIView
,
viewAtts
)
@end
vanke/view_iPhone/templates/notice/VankeNoticeBoard_iPhone.m
View file @
3d0d5c10
...
...
@@ -33,6 +33,7 @@
SUPPORT_AUTOMATIC_LAYOUT
(
YES
)
SUPPORT_RESOURCE_LOADING
(
YES
)
DEF_OUTLET
(
BeeUILabel
,
lblContent
)
DEF_OUTLET
(
BeeUIView
,
viewAtts
)
-
(
void
)
load
...
...
@@ -84,6 +85,17 @@ ON_DID_DISAPPEAR( signal )
{
}
ON_LOAD_DATAS
(
signal
)
{
if
(
nil
==
self
.
data
)
{
return
;
}
$
(
@"lblTitle"
).
DATA
(
_data
.
title
);
$
(
@"lblPublisher"
).
DATA
(
_data
.
create_operName
);
$
(
@"lblPublishTime"
).
DATA
(
_data
.
create_time
);
NSAttributedString
*
attrStr
=
[[
NSAttributedString
alloc
]
initWithData
:[
_data
.
content
dataUsingEncoding
:
NSUnicodeStringEncoding
]
options
:@{
NSDocumentTypeDocumentAttribute
:
NSHTMLTextDocumentType
}
documentAttributes
:
nil
error
:
nil
];
_lblContent
.
attributedText
=
attrStr
;
}
@end
vanke/view_iPhone/templates/notice/VankeNoticeBoard_iPhone.xml
View file @
3d0d5c10
...
...
@@ -6,7 +6,7 @@
<linear
orientation=
"h"
class=
"title-wrapper"
>
<image
class=
"bg"
/>
<label
id=
"lblTitle"
class=
"title"
>
通知标题
</
title
>
<label
id=
"lblTitle"
class=
"title"
>
通知标题
</
label
>
</linear>
<linear
orientation=
"h"
class=
"row lbl-row"
>
...
...
vanke/view_iPhone/templates/notice/VankeNoticeListBoard_iPhone.m
View file @
3d0d5c10
...
...
@@ -169,14 +169,6 @@ ON_DID_DISAPPEAR( signal )
{
}
ON_SIGNAL3
(
BeeUINavigationBar
,
LEFT_TOUCHED
,
signal
)
{
}
ON_SIGNAL3
(
BeeUINavigationBar
,
RIGHT_TOUCHED
,
signal
)
{
}
#pragma UISegmentedControl
ON_SIGNAL3
(
VankeNoticeListBoard_iPhone
,
segment
,
signal
)
...
...
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