Commit 05deb73f authored by Achilles's avatar Achilles

提交公告页面

parent a1a3a0df
......@@ -32,7 +32,13 @@ DEF_OUTLET( BeeUILabel, lblPublishTime )
[self setPriority:obj.priority];
$(self.lblPublisher).DATA([NSString stringWithFormat:@"发布人: %@", obj.create_operName]);
$(self.lblPublishTime).DATA([NSString stringWithFormat:@"发布时间: %@", obj.create_time]);
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"yyyy-MM-dd HH:mm:ss"];
NSDate *createTime = [dateFormatter dateFromString:obj.create_time];
NSDateFormatter *dateFormatter2 = [[NSDateFormatter alloc] init];
[dateFormatter2 setDateFormat:@"yyyy-MM-dd"];
$(self.lblPublishTime).DATA([NSString stringWithFormat:@"发布时间: %@", [dateFormatter2 stringFromDate: createTime]]);
}
-(void) setPriority: (NSNumber*) priority {
......
......@@ -83,10 +83,15 @@
height: 50%;
}
.title-wrapper .title {
font-size: 18px;
}
.publisher, .publish-time {
width: auto;
height: auto;
color: gray;
font-size: 13px;
}
.publish-time {
......
......@@ -25,16 +25,17 @@
}
.segment-wrapper {
height: 45px;
height: 30px;
width: 100%;
position: absolute;
left: 0px;
top: 64px;
top: 70px;
align: center;
}
#segment {
height: 100%;
width: 100%;
width: 80%;
}
#list {
......
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