Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
红
红星美凯龙管理在线APP 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
张杰
红星美凯龙管理在线APP IOS
Commits
500f8825
Commit
500f8825
authored
Dec 03, 2015
by
admin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复小bug
parent
50ba09db
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
10 deletions
+28
-10
UserInterfaceState.xcuserstate
...userdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
InspectNotUploadViewController.m
...ectDetail/ViewController/InspectNotUploadViewController.m
+9
-4
InspectUploadedViewController.m
...pectDetail/ViewController/InspectUploadedViewController.m
+9
-3
HomeViewController.m
...r/Classes/Module/Home/ViewController/HomeViewController.m
+10
-3
No files found.
redstar.xcworkspace/xcuserdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
View file @
500f8825
No preview for this file type
redstar/Classes/Module/Function/WordOfMouth/Inspect/InspectDetail/ViewController/InspectNotUploadViewController.m
View file @
500f8825
...
@@ -259,10 +259,15 @@
...
@@ -259,10 +259,15 @@
cell
.
introLabel
.
text
=
@"参考说明"
;
cell
.
introLabel
.
text
=
@"参考说明"
;
cell
.
introDetailLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
_taskModel
.
reference
];
cell
.
introDetailLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
_taskModel
.
reference
];
NSString
*
str
=
[
NSString
stringWithFormat
:
@"<style> html{ font-size: 15px; color: #444444 } </style>%@"
,
_taskModel
.
reference
];
NSString
*
refrer
=
[
NSString
stringWithFormat
:
@"%@"
,
_taskModel
.
reference
];
NSAttributedString
*
attrStr
=
[[
NSAttributedString
alloc
]
initWithData
:[
str
dataUsingEncoding
:
NSUnicodeStringEncoding
]
options
:@{
NSDocumentTypeDocumentAttribute
:
NSHTMLTextDocumentType
,
NSForegroundColorAttributeName
:
kLightBlack
,
NSFontAttributeName
:
[
UIFont
systemFontOfSize
:
15
.
0
f
]}
documentAttributes
:
nil
error
:
nil
];
if
(
refrer
==
nil
||
refrer
==
NULL
||
[
refrer
isEqual
:[
NSNull
null
]]
||
refrer
==
Nil
||
[
refrer
isEqualToString
:
@"(null)"
])
{
cell
.
introDetailLabel
.
text
=
@""
;
cell
.
introDetailLabel
.
attributedText
=
attrStr
;
}
else
{
NSString
*
str
=
[
NSString
stringWithFormat
:
@"<style> html{ font-size: 15px; color: #444444 } </style>%@"
,
_taskModel
.
reference
];
NSAttributedString
*
attrStr
=
[[
NSAttributedString
alloc
]
initWithData
:[
str
dataUsingEncoding
:
NSUnicodeStringEncoding
]
options
:@{
NSDocumentTypeDocumentAttribute
:
NSHTMLTextDocumentType
,
NSForegroundColorAttributeName
:
kLightBlack
,
NSFontAttributeName
:
[
UIFont
systemFontOfSize
:
15
.
0
f
]}
documentAttributes
:
nil
error
:
nil
];
cell
.
introDetailLabel
.
attributedText
=
attrStr
;
}
return
cell
;
return
cell
;
}
}
...
...
redstar/Classes/Module/Function/WordOfMouth/Inspect/InspectDetail/ViewController/InspectUploadedViewController.m
View file @
500f8825
...
@@ -78,10 +78,16 @@
...
@@ -78,10 +78,16 @@
cell
.
introLabel
.
text
=
@"参考说明"
;
cell
.
introLabel
.
text
=
@"参考说明"
;
cell
.
introDetailLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
_taskModel
.
reference
];
cell
.
introDetailLabel
.
text
=
[
NSString
stringWithFormat
:
@"%@"
,
_taskModel
.
reference
];
NSString
*
str
=
[
NSString
stringWithFormat
:
@"<style> html{ font-size: 15px; color: #444444 } </style>%@"
,
_taskModel
.
reference
];
NSString
*
refrer
=
[
NSString
stringWithFormat
:
@"%@"
,
_taskModel
.
reference
];
NSAttributedString
*
attrStr
=
[[
NSAttributedString
alloc
]
initWithData
:[
str
dataUsingEncoding
:
NSUnicodeStringEncoding
]
options
:@{
NSDocumentTypeDocumentAttribute
:
NSHTMLTextDocumentType
,
NSForegroundColorAttributeName
:
kLightBlack
,
NSFontAttributeName
:
[
UIFont
systemFontOfSize
:
15
.
0
f
]}
documentAttributes
:
nil
error
:
nil
];
if
(
refrer
==
nil
||
refrer
==
NULL
||
[
refrer
isEqual
:[
NSNull
null
]]
||
refrer
==
Nil
||
[
refrer
isEqualToString
:
@"(null)"
])
{
cell
.
introDetailLabel
.
text
=
@""
;
}
else
{
NSString
*
str
=
[
NSString
stringWithFormat
:
@"<style> html{ font-size: 15px; color: #444444 } </style>%@"
,
_taskModel
.
reference
];
NSAttributedString
*
attrStr
=
[[
NSAttributedString
alloc
]
initWithData
:[
str
dataUsingEncoding
:
NSUnicodeStringEncoding
]
options
:@{
NSDocumentTypeDocumentAttribute
:
NSHTMLTextDocumentType
,
NSForegroundColorAttributeName
:
kLightBlack
,
NSFontAttributeName
:
[
UIFont
systemFontOfSize
:
15
.
0
f
]}
documentAttributes
:
nil
error
:
nil
];
cell
.
introDetailLabel
.
attributedText
=
attrStr
;
}
cell
.
introDetailLabel
.
attributedText
=
attrStr
;
return
cell
;
return
cell
;
}
}
...
...
redstar/Classes/Module/Home/ViewController/HomeViewController.m
View file @
500f8825
...
@@ -1036,9 +1036,16 @@
...
@@ -1036,9 +1036,16 @@
-
(
void
)
searchClick
:
(
UIButton
*
)
sender
-
(
void
)
searchClick
:
(
UIButton
*
)
sender
{
{
SearchViewController
*
searchVC
=
[[
SearchViewController
alloc
]
init
];
if
(
!
_searchTextField
.
text
)
{
searchVC
.
customStr
=
_searchTextField
.
text
;
SearchViewController
*
searchVC
=
[[
SearchViewController
alloc
]
init
];
[
self
.
navigationController
pushViewController
:
searchVC
animated
:
YES
];
searchVC
.
customStr
=
_searchTextField
.
text
;
[
self
.
navigationController
pushViewController
:
searchVC
animated
:
YES
];
}
else
{
UIAlertView
*
alert
=
[[
UIAlertView
alloc
]
initWithTitle
:
@"提示"
message
:
@"请输入关键字!"
delegate
:
self
cancelButtonTitle
:
nil
otherButtonTitles
:
@"确定"
,
nil
];
[
alert
show
];
}
}
}
//- (void)searchClick:(UIButton *)sender
//- (void)searchClick:(UIButton *)sender
...
...
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