Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
Opple-iOS
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
张杰
Opple-iOS
Commits
6ef92432
Commit
6ef92432
authored
Apr 24, 2017
by
Sandy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复帖子详情位置偏移bug
parent
faa497b2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
149 additions
and
145 deletions
+149
-145
DiscussModuleViewController.m
...nsiveDiscussion/Controllers/DiscussModuleViewController.m
+1
-0
ForumItemDetailViewController.m
...iveDiscussion/Controllers/ForumItemDetailViewController.m
+3
-0
LearningCenter.storyboard
Lighting/LearningCenter.storyboard
+141
-141
Info.plist
Lighting/Supporting Files/Info.plist
+2
-2
CYConstManager.h
Tools/CYConst/CYConstManager.h
+2
-2
No files found.
Class/LearningCenter/ComprehensiveDiscussion/Controllers/DiscussModuleViewController.m
View file @
6ef92432
...
...
@@ -75,6 +75,7 @@
TOForumCategoryEntity
*
category
=
self
.
result
.
list
[
indexPath
.
row
];
category
.
typeId
=
self
.
result
.
forumType
.
fid
;
itemListVc
.
category
=
category
;
itemListVc
.
isPosting
=
[
category
.
name
isEqualToString
:
@"欧普问问"
]?
2
:
1
;
[
self
.
navigationController
pushViewController
:
itemListVc
animated
:
YES
];
}
...
...
Class/LearningCenter/ComprehensiveDiscussion/Controllers/ForumItemDetailViewController.m
View file @
6ef92432
...
...
@@ -201,6 +201,9 @@
[
self
.
issuerImageView
sd_setImageWithURL
:[
NSURL
URLWithString
:
self
.
topicDetail
.
posterPicture
]
placeholderImage
:
CoustomerReplaceImage
];
self
.
issuerNameAndDateLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@: %@ %@"
,
self
.
topicDetail
.
posterPosition
,
self
.
topicDetail
.
posterRealName
,[
BaseViewController
formateDate
:
self
.
topicDetail
.
postTime
]];
}
}
-
(
void
)
viewDidLayoutSubviews
{
self
.
tableViewHeaderView
.
height
=
80
;
self
.
forumDetailTableView
.
tableHeaderView
=
self
.
tableViewHeaderView
;
}
...
...
Lighting/LearningCenter.storyboard
View file @
6ef92432
This diff is collapsed.
Click to expand it.
Lighting/Supporting Files/Info.plist
View file @
6ef92432
...
...
@@ -15,7 +15,7 @@
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
string
>
欧立方
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
2.1.
1
<
/string
>
<
string
>
2.1.
2
<
/string
>
<
k
e
y
>
CFBundleURLTypes
<
/k
e
y
>
<
a
rr
a
y
>
<
d
i
c
t
>
...
...
@@ -48,7 +48,7 @@
<
/
d
i
c
t
>
<
/
a
rr
a
y
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
2.1.
1
<
/string
>
<
string
>
2.1.
2
<
/string
>
<
k
e
y
>
LSApplicationQueriesSchemes
<
/k
e
y
>
<
a
rr
a
y
>
<
string
>
wechat
<
/string
>
...
...
Tools/CYConst/CYConstManager.h
View file @
6ef92432
...
...
@@ -96,7 +96,7 @@ typedef NS_ENUM(NSInteger,COMMENT_PRAISE) {
/**
* 服务器开发地址
*/
#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://gomoredev:8082/opple-web/app%@",URL]
//
#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://gomoredev:8082/opple-web/app%@",URL]
//外网http://debenson.picp.io/opple-web/
/**
...
...
@@ -112,7 +112,7 @@ typedef NS_ENUM(NSInteger,COMMENT_PRAISE) {
//**
// * 服务器正式地址
// */
//
#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://dg.opple.com/opple-web/app%@",URL]
#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://dg.opple.com/opple-web/app%@",URL]
/*****************************************接口地址*****************************************/
...
...
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