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
6bbcfab2
Commit
6bbcfab2
authored
Apr 12, 2017
by
Sandy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化,* 学习中的左划事件。(张杰、曹,4.11)
* 我要提问--》我要发帖(张杰、曹,4.11) * 置顶的贴要有点赞和评论数(张杰、曹 ) * 图片有2层的问题(张杰、曹 )
parent
6d585141
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
313 additions
and
184 deletions
+313
-184
CommentTagTableViewCell.h
...r/ComprehensiveDiscussion/Cells/CommentTagTableViewCell.h
+9
-0
CommentTagTableViewCell.m
...r/ComprehensiveDiscussion/Cells/CommentTagTableViewCell.m
+2
-0
DiscussModuleViewController.m
...nsiveDiscussion/Controllers/DiscussModuleViewController.m
+1
-1
ForumItemDetailViewController.m
...iveDiscussion/Controllers/ForumItemDetailViewController.m
+1
-1
ForumItemListViewController.m
...nsiveDiscussion/Controllers/ForumItemListViewController.m
+3
-1
ForumViewController.m
...ComprehensiveDiscussion/Controllers/ForumViewController.m
+1
-1
OnlineLearningDetailViewController.h
...Learning/Controllers/OnlineLearningDetailViewController.h
+6
-1
OnlineLearningDetailViewController.m
...Learning/Controllers/OnlineLearningDetailViewController.m
+13
-8
OnlineLearningViewController.m
...OnlineLearning/Controllers/OnlineLearningViewController.m
+40
-3
VideoListViewController.h
...nter/OnlineLearning/Controllers/VideoListViewController.h
+16
-1
VideoListViewController.m
...nter/OnlineLearning/Controllers/VideoListViewController.m
+71
-25
CustomTabbarController.m
Class/Tabbar/CustomTabbar/CustomTabbarController.m
+92
-120
LearningCenter.storyboard
Lighting/LearningCenter.storyboard
+51
-15
OppleMain.storyboard
Lighting/OppleMain.storyboard
+5
-5
CYConstManager.h
Tools/CYConst/CYConstManager.h
+2
-2
No files found.
Class/LearningCenter/ComprehensiveDiscussion/Cells/CommentTagTableViewCell.h
View file @
6bbcfab2
...
...
@@ -32,6 +32,15 @@
*/
@property
(
weak
,
nonatomic
)
IBOutlet
UILabel
*
contentLabel
;
/**
赞数量
*/
@property
(
weak
,
nonatomic
)
IBOutlet
UILabel
*
praiseNumberLabel
;
/**
评论数量
*/
@property
(
weak
,
nonatomic
)
IBOutlet
UILabel
*
commentsNumberLabel
;
@property
(
weak
,
nonatomic
)
IBOutlet
NSLayoutConstraint
*
topLayoutConstraint
;
@property
(
weak
,
nonatomic
)
IBOutlet
NSLayoutConstraint
*
essenceLayoutConstraint
;
...
...
Class/LearningCenter/ComprehensiveDiscussion/Cells/CommentTagTableViewCell.m
View file @
6bbcfab2
...
...
@@ -25,6 +25,8 @@
self
.
managerLayoutConstraint
.
constant
=
topicModel
.
backEnd
?
5
:
0
;
self
.
contentLabel
.
text
=
topicModel
.
title
;
self
.
contentLabel
.
textColor
=
topicModel
.
isRead
?[
UIColor
grayColor
]:[
UIColor
blackColor
];
self
.
commentsNumberLabel
.
text
=
[
NSString
stringWithFormat
:
@"%ld"
,
topicModel
.
replyCount
];
self
.
praiseNumberLabel
.
text
=
[
NSString
stringWithFormat
:
@"%ld"
,
topicModel
.
likeCount
];
}
@end
Class/LearningCenter/ComprehensiveDiscussion/Controllers/DiscussModuleViewController.m
View file @
6bbcfab2
...
...
@@ -75,7 +75,7 @@
TOForumCategoryEntity
*
category
=
self
.
result
.
list
[
indexPath
.
row
];
category
.
typeId
=
self
.
result
.
forumType
.
fid
;
itemListVc
.
category
=
category
;
itemListVc
.
isPosting
=
2
;
itemListVc
.
isPosting
=
[
category
.
name
isEqualToString
:
@"欧普问问"
]?
0
:
1
;
[
self
.
navigationController
pushViewController
:
itemListVc
animated
:
YES
];
}
...
...
Class/LearningCenter/ComprehensiveDiscussion/Controllers/ForumItemDetailViewController.m
View file @
6bbcfab2
...
...
@@ -188,7 +188,7 @@
#pragma mark - 设置评论个数
-
(
void
)
setUpCommentNumber
{
self
.
commentNumberLabel
.
text
=
[
NSString
stringWithFormat
:
@"已有%ld条评论"
,(
unsigned
long
)
self
.
commentsArray
.
count
];
self
.
commentNumberLabel
.
text
=
[
NSString
stringWithFormat
:
@"已有%ld条评论"
,(
unsigned
long
)
self
.
commentsArray
.
count
-
2
];
self
.
praiseButton
.
selected
=
!
self
.
topicDetail
.
canLike
;
WkWebViewViewController
*
webView
=
[
self
.
childViewControllers
firstObject
];
webView
.
htmlString
=
self
.
topicDetail
.
content
;
...
...
Class/LearningCenter/ComprehensiveDiscussion/Controllers/ForumItemListViewController.m
View file @
6bbcfab2
...
...
@@ -150,7 +150,9 @@ static NSString *TAGCELL_IDENTIFIER = @"CommentTagTableViewCell";
-
(
UITableViewCell
*
)
tableView
:
(
UITableView
*
)
tableView
cellForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
CustomTOForumTopicEntity
*
entity
=
self
.
datasArray
[
indexPath
.
row
];
if
(
entity
.
backEnd
||
entity
.
bestTopic
||
!
[[
self
class
]
isBlankString
:
entity
.
top
])
{
if
(
entity
.
backEnd
||
entity
.
bestTopic
||
!
[[
self
class
]
isBlankString
:
entity
.
top
])
{
CommentTagTableViewCell
*
tagCell
=
[
tableView
dequeueReusableCellWithIdentifier
:
TAGCELL_IDENTIFIER
forIndexPath
:
indexPath
];
[
self
configTagCellAction
:
tagCell
withIndexPath
:
indexPath
];
return
tagCell
;
...
...
Class/LearningCenter/ComprehensiveDiscussion/Controllers/ForumViewController.m
View file @
6bbcfab2
...
...
@@ -91,7 +91,7 @@
-
(
void
)
tableView
:
(
UITableView
*
)
tableView
didSelectRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
ForumItemListViewController
*
itemListVc
=
[[[
self
class
]
getLearningCenterStoryboardClass
]
instantiateViewControllerWithIdentifier
:
@"ForumItemListViewController"
];
ForumItemListViewController
*
itemListVc
=
[[[
self
class
]
getLearningCenterStoryboardClass
]
instantiateViewControllerWithIdentifier
:
@"ForumItemListViewController"
];
TOForumCategoryEntity
*
category
=
self
.
category
.
categories
[
indexPath
.
row
];
category
.
typeId
=
self
.
typeId
;
itemListVc
.
category
=
category
;
...
...
Class/LearningCenter/OnlineLearning/Controllers/OnlineLearningDetailViewController.h
View file @
6bbcfab2
...
...
@@ -7,6 +7,7 @@
//
#import "BaseViewController.h"
#import "VideoListViewController.h"
@interface
OnlineLearningDetailViewController
:
BaseViewController
...
...
@@ -17,6 +18,10 @@
*/
@property
(
nonatomic
,
copy
)
TOStudyTypeEntity
*
studyTypeEntity
;
/**
学习数据
*/
@property
(
nonatomic
,
strong
)
StudyTaskResponse
*
studyResult
;
@property
(
strong
,
nonatomic
)
NSIndexPath
*
interIndex
;
@end
Class/LearningCenter/OnlineLearning/Controllers/OnlineLearningDetailViewController.m
View file @
6bbcfab2
...
...
@@ -8,7 +8,6 @@
#import "OnlineLearningDetailViewController.h"
#import "VideoHelperViewController.h"
#import "VideoListViewController.h"
#import "VideoDetailViewController.h"
#import "CustomWKWebViewController.h"
#import "LearningCompleteViewController.h"
...
...
@@ -17,10 +16,6 @@
@interface
OnlineLearningDetailViewController
()
<
SelectStudyItemDelegate
,
VideoPlayerDelegate
,
BeginAssessmentDelegate
,
InspectionStateDelegate
>
/**
学习数据
*/
@property
(
nonatomic
,
strong
)
StudyTaskResponse
*
studyResult
;
@property
(
nonatomic
,
strong
)
WYPopoverController
*
settingsPopoverController
;
@end
...
...
@@ -32,10 +27,13 @@
-
(
void
)
viewDidAppear
:(
BOOL
)
animated
{
[
super
viewDidAppear
:
animated
];
self
.
navigationController
.
fd_fullscreenPopGestureRecognizer
.
enabled
=
NO
;
//
self.navigationController.fd_fullscreenPopGestureRecognizer.enabled = NO;
if
([
self
.
navigationController
respondsToSelector
:
@selector
(
interactivePopGestureRecognizer
)])
{
self
.
navigationController
.
interactivePopGestureRecognizer
.
enabled
=
NO
;
}
//播放进入选中的视频
[
self
seleStudyItemCellIndex
:
self
.
interIndex
];
}
#pragma mark -视图即将消失
...
...
@@ -61,7 +59,8 @@
[
self
addChildViewController
];
[
self
listeningHomeButton
];
[
self
getStudyItemDetailAction
];
[
self
transferData
:
self
.
studyResult
];
}
#pragma mark - 添加子控制器
...
...
@@ -79,10 +78,12 @@
//播放列表
VideoListViewController
*
playList
=
[[[
self
class
]
getLearningCenterStoryboardClass
]
instantiateViewControllerWithIdentifier
:
@"VideoListViewController"
];
playList
.
studyItemTitle
=
self
.
studyTypeEntity
.
name
;
playList
.
type
=
VideoViewTypeDetail
;
playList
.
delegate
=
self
;
videoWindow
.
progressDelegate
=
playList
;
[
self
addChildViewController
:
playList
];
[
self
.
view
addSubview
:
playList
.
view
];
__weak
typeof
(
videoWindow
)
weakVideWindow
=
videoWindow
;
//全屏
WS
(
weakSelf
);
...
...
@@ -102,7 +103,7 @@
}
}];
videoWindow
.
view
.
frame
=
CGRectMake
(
0
,
NavigationHeight
,
ScreenWidth
*
2
/
3
,
ScreenHeight
/
2
);
playList
.
view
.
frame
=
CGRectMake
(
0
,
64
,
ScreenWidth
,
ScreenHeight
-
64
);
playList
.
view
.
frame
=
CGRectMake
(
ScreenWidth
*
2
/
3
+
5
,
NavigationHeight
,
ScreenWidth
/
3
-
5
,
ScreenHeight
-
64
);
playDetail
.
view
.
frame
=
CGRectMake
(
0
,
ScreenHeight
/
2
+
NavigationHeight
,
ScreenWidth
*
2
/
3
,
ScreenHeight
/
2
-
NavigationHeight
);
}
...
...
@@ -177,6 +178,7 @@
CustomStudyEntity
*
studyList
=
studyEntity
.
studyTasks
[
indexPath
.
row
];
videoVc
.
indexPath
=
indexPath
;
[
studyListVC
selectedIndexPath
:
indexPath
withIsQualified
:[
studyList
.
examResult
boolValue
]];
// [self.superListVC selectedIndexPath:indexPath withIsQualified:[studyList.examResult boolValue]];
if
([
studyList
.
attachment
.
fileUrl
rangeOfString
:
@".mp4"
].
location
!=
NSNotFound
)
{
//判断是否是第一次播放
if
(
videoVc
.
learningItem
)
{
...
...
@@ -322,6 +324,7 @@
{
VideoListViewController
*
studyListVC
=
self
.
childViewControllers
[
2
];
[
studyListVC
selectedIndexPath
:
indexPath
withIsQualified
:
NO
];
// [self.superListVC selectedIndexPath:indexPath withIsQualified:NO];
[
self
seleStudyItemCellIndex
:
indexPath
];
}
...
...
@@ -330,6 +333,7 @@
{
VideoListViewController
*
studyListVC
=
self
.
childViewControllers
[
2
];
[
studyListVC
selectedIndexPath
:
indexPath
withIsQualified
:
YES
];
// [self.superListVC selectedIndexPath:indexPath withIsQualified:YES];
}
#pragma mark - <VideoPlayerDelegate>
...
...
@@ -348,6 +352,7 @@
}
VideoListViewController
*
studyListVC
=
self
.
childViewControllers
[
2
];
studyListVC
.
datasArray
=
[
NSMutableArray
arrayWithArray
:
result
.
studyEntity
];
// self.superListVC.datasArray = studyListVC.datasArray;
VideoDetailViewController
*
studyDetailsVC
=
self
.
childViewControllers
[
1
];
studyDetailsVC
.
datasArray
=
result
.
studyEntity
;
studyDetailsVC
.
indexPath
=
[
NSIndexPath
indexPathForRow
:
0
inSection
:
0
];
...
...
Class/LearningCenter/OnlineLearning/Controllers/OnlineLearningViewController.m
View file @
6bbcfab2
...
...
@@ -8,7 +8,9 @@
#import "OnlineLearningViewController.h"
#import "OnlineLearningTableViewCell.h"
#import "VideoListViewController.h"
#import "OnlineLearningDetailViewController.h"
@interface
OnlineLearningViewController
()
<
UICollectionViewDelegate
,
UICollectionViewDataSource
>
...
...
@@ -74,9 +76,44 @@
-
(
void
)
collectionView
:
(
UICollectionView
*
)
collectionView
didSelectItemAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
OnlineLearningDetailViewController
*
studyDetail
=
[[[
self
class
]
getLearningCenterStoryboardClass
]
instantiateViewControllerWithIdentifier
:
@"OnlineLearningDetailViewController"
];
studyDetail
.
studyTypeEntity
=
self
.
studyTypeArray
[
indexPath
.
row
];
[
self
.
navigationController
pushViewController
:
studyDetail
animated
:
YES
];
TOStudyTaskEntity
*
studyType
=
self
.
studyTypeArray
[
indexPath
.
row
];;
VideoListViewController
*
listView
=
[[[
self
class
]
getLearningCenterStoryboardClass
]
instantiateViewControllerWithIdentifier
:
@"VideoListViewController"
];
listView
.
studyType
=
studyType
;
[
self
.
navigationController
pushViewController
:
listView
animated
:
YES
];
// WS(weakSelf);
// StudyTaskCondition *studyListModel = [[StudyTaskCondition alloc]init];
// studyListModel.employeeIdEquals = [Shoppersmanager manager].shoppers.employee.fid;
// studyListModel.typeEquals = studyType.fid;
// DataPage *page = [[DataPage alloc] init];
// page.page = ONE;
// page.rows = 9999;
// studyListModel.page = page;
// [XBLoadingView showHUDViewWithDefault];
// [HTTP networkRequestWithURL:SERVERREQUESTURL(STUDYLIST) withRequestType:ZERO withParameter:studyListModel withReturnValueBlock:^(id returnValue) {
//
// [XBLoadingView hideHUDViewWithDefault];
// if (RESULT(returnValue)) {
// StudyTaskResponse *responeseEty = [[StudyTaskResponse alloc]initWithDictionary:RESPONSE(returnValue) error:nil];
// if (responeseEty.studyEntity.count == 0) {
// [XBLoadingView showHUDViewWithText:@"学习内容为空!"];
// return;
// }
//
// VideoListViewController *listView = [[[weakSelf class] getLearningCenterStoryboardClass] instantiateViewControllerWithIdentifier:@"VideoListViewController"];
// [listView view];
//
// listView.datasArray = [NSMutableArray arrayWithArray:responeseEty.studyEntity];
// listView.studyTypeEntity = responeseEty;
// [weakSelf.navigationController pushViewController:listView animated:YES];
// }else {
// [XBLoadingView showHUDViewWithText:MESSAGE(returnValue)];
// }
//
// }withFailureBlock:^(NSError *error) {
// [XBLoadingView showHUDViewWithText:error.localizedDescription];
// }];
}
...
...
Class/LearningCenter/OnlineLearning/Controllers/VideoListViewController.h
View file @
6bbcfab2
...
...
@@ -9,7 +9,10 @@
#import "BaseViewController.h"
#import "VideoHelperViewController.h"
typedef
NS_ENUM
(
NSInteger
,
VideoViewType
)
{
VideoViewTypeList
,
VideoViewTypeDetail
};
/**
选中学习项
...
...
@@ -50,6 +53,18 @@
*/
@property
(
nonatomic
,
strong
)
NSMutableArray
*
datasArray
;
/**
学习项
*/
@property
(
nonatomic
,
copy
)
StudyTaskResponse
*
studyTypeEntity
;
/**
页面是纯列表还是在详情旁边
*/
@property
(
nonatomic
,
assign
)
VideoViewType
type
;
@property
(
strong
,
nonatomic
)
TOStudyTaskEntity
*
studyType
;
/**
刷新选中项
...
...
Class/LearningCenter/OnlineLearning/Controllers/VideoListViewController.m
View file @
6bbcfab2
...
...
@@ -10,7 +10,7 @@
#import "VideoListItemTableViewCell.h"
#import "VideoListSectionHeaderView.h"
#import "PPTListItemTableViewCell.h"
#import "OnlineLearningDetailViewController.h"
@interface
VideoListViewController
()
<
UITableViewDelegate
,
UITableViewDataSource
>
...
...
@@ -24,6 +24,14 @@
[
super
viewDidLoad
];
[
self
setUpTableView
];
}
-
(
void
)
viewWillAppear
:
(
BOOL
)
animated
{
[
super
viewWillAppear
:
animated
];
if
(
self
.
type
==
VideoViewTypeList
)
{
[
self
httpRequest
];
}
}
#pragma mark - 刷新选中项
...
...
@@ -46,6 +54,36 @@
}
}
-
(
void
)
httpRequest
{
WS
(
weakSelf
);
StudyTaskCondition
*
studyListModel
=
[[
StudyTaskCondition
alloc
]
init
];
studyListModel
.
employeeIdEquals
=
[
Shoppersmanager
manager
].
shoppers
.
employee
.
fid
;
studyListModel
.
typeEquals
=
self
.
studyType
.
fid
;
DataPage
*
page
=
[[
DataPage
alloc
]
init
];
page
.
page
=
ONE
;
page
.
rows
=
9999
;
studyListModel
.
page
=
page
;
[
XBLoadingView
showHUDViewWithDefault
];
[
HTTP
networkRequestWithURL
:
SERVERREQUESTURL
(
STUDYLIST
)
withRequestType
:
ZERO
withParameter
:
studyListModel
withReturnValueBlock
:^
(
id
returnValue
)
{
[
XBLoadingView
hideHUDViewWithDefault
];
if
(
RESULT
(
returnValue
))
{
StudyTaskResponse
*
responeseEty
=
[[
StudyTaskResponse
alloc
]
initWithDictionary
:
RESPONSE
(
returnValue
)
error
:
nil
];
if
(
responeseEty
.
studyEntity
.
count
==
0
)
{
[
XBLoadingView
showHUDViewWithText
:
@"学习内容为空!"
];
return
;
}
weakSelf
.
datasArray
=
[
NSMutableArray
arrayWithArray
:
responeseEty
.
studyEntity
];
weakSelf
.
studyTypeEntity
=
responeseEty
;
}
else
{
[
XBLoadingView
showHUDViewWithText
:
MESSAGE
(
returnValue
)];
}
}
withFailureBlock
:^
(
NSError
*
error
)
{
[
XBLoadingView
showHUDViewWithText
:
error
.
localizedDescription
];
}];
}
#pragma mark - 数据源
-
(
void
)
setDatasArray
:
(
NSMutableArray
*
)
datasArray
...
...
@@ -100,33 +138,41 @@
-
(
void
)
tableView
:
(
UITableView
*
)
tableView
didSelectRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
//如果已经选中再次点击无效
UITableViewCell
*
playCell
=
[
tableView
cellForRowAtIndexPath
:
indexPath
];
if
([
playCell
isKindOfClass
:[
PPTListItemTableViewCell
class
]])
{
PPTListItemTableViewCell
*
pptCell
=
(
PPTListItemTableViewCell
*
)
playCell
;
if
(
pptCell
.
pptButton
.
selected
)
{
return
;
}
}
else
if
([
playCell
isKindOfClass
:[
VideoListItemTableViewCell
class
]])
{
VideoListItemTableViewCell
*
videoCell
=
(
VideoListItemTableViewCell
*
)
playCell
;
if
(
videoCell
.
playButton
.
selected
)
{
return
;
if
(
self
.
type
==
VideoViewTypeDetail
)
{
//如果已经选中再次点击无效
UITableViewCell
*
playCell
=
[
tableView
cellForRowAtIndexPath
:
indexPath
];
if
([
playCell
isKindOfClass
:[
PPTListItemTableViewCell
class
]])
{
PPTListItemTableViewCell
*
pptCell
=
(
PPTListItemTableViewCell
*
)
playCell
;
if
(
pptCell
.
pptButton
.
selected
)
{
return
;
}
}
else
if
([
playCell
isKindOfClass
:[
VideoListItemTableViewCell
class
]])
{
VideoListItemTableViewCell
*
videoCell
=
(
VideoListItemTableViewCell
*
)
playCell
;
if
(
videoCell
.
playButton
.
selected
)
{
return
;
}
}
}
//取消所有选中状态
for
(
UITableViewCell
*
cell
in
self
.
studyListTableView
.
visibleCells
)
{
if
([
cell
isKindOfClass
:[
PPTListItemTableViewCell
class
]])
{
PPTListItemTableViewCell
*
pptCell
=
(
PPTListItemTableViewCell
*
)
cell
;
pptCell
.
pptButton
.
selected
=
NO
;
//取消所有选中状态
for
(
UITableViewCell
*
cell
in
self
.
studyListTableView
.
visibleCells
)
{
if
([
cell
isKindOfClass
:[
PPTListItemTableViewCell
class
]])
{
PPTListItemTableViewCell
*
pptCell
=
(
PPTListItemTableViewCell
*
)
cell
;
pptCell
.
pptButton
.
selected
=
NO
;
}
if
([
cell
isKindOfClass
:[
VideoListItemTableViewCell
class
]])
{
VideoListItemTableViewCell
*
videoCell
=
(
VideoListItemTableViewCell
*
)
cell
;
videoCell
.
playButton
.
selected
=
NO
;
}
}
if
([
cell
isKindOfClass
:[
VideoListItemTableViewCell
class
]])
{
VideoListItemTableViewCell
*
videoCell
=
(
VideoListItemTableViewCell
*
)
cell
;
videoCell
.
playButton
.
selected
=
NO
;
if
([
self
.
delegate
respondsToSelector
:
@selector
(
seleStudyItemCellIndex
:)])
{
[
self
.
delegate
seleStudyItemCellIndex
:
indexPath
];
}
}
else
if
(
self
.
type
==
VideoViewTypeList
){
OnlineLearningDetailViewController
*
studyDetail
=
[[[
self
class
]
getLearningCenterStoryboardClass
]
instantiateViewControllerWithIdentifier
:
@"OnlineLearningDetailViewController"
];
studyDetail
.
studyResult
=
self
.
studyTypeEntity
;
studyDetail
.
interIndex
=
indexPath
;
[
self
.
navigationController
pushViewController
:
studyDetail
animated
:
YES
];
}
if
([
self
.
delegate
respondsToSelector
:
@selector
(
seleStudyItemCellIndex
:)])
{
[
self
.
delegate
seleStudyItemCellIndex
:
indexPath
];
}
}
#pragma mark - 视频播放百分比
...
...
@@ -137,7 +183,7 @@
CustomStudyEntity
*
studyList
=
studyEntity
.
studyTasks
[
indexPath
.
row
];
studyList
.
attachment
.
playPercent
=
[
NSString
stringWithFormat
:
@"%ld"
,
proportion
];
[
videoPlayCell
.
studyProgressView
updateChartByCurrent
:
@
(
proportion
)];
NSLog
(
@"%ld"
,
proportion
);
NSLog
(
@"
----
%ld"
,
proportion
);
}
#pragma mark -缩小动画
...
...
Class/Tabbar/CustomTabbar/CustomTabbarController.m
View file @
6bbcfab2
...
...
@@ -29,25 +29,24 @@
#import "HomeViewController.h"
#import "CustomWKWebViewController.h"
@interface
CustomTabbarController
()
<
TabbarButtonClickdelegate
,
ChangpasswordDelegate
,
CancelButtondelegate
,
UITextFieldDelegate
>
@interface
CustomTabbarController
()
<
TabbarButtonClickdelegate
,
ChangpasswordDelegate
,
CancelButtondelegate
,
UITextFieldDelegate
>
@property
(
nonatomic
,
strong
)
NSArray
*
identifierArray
;
@property
(
nonatomic
,
strong
)
NSArray
*
identifierArray
;
/**
* 保存按钮引用
*/
@property
(
nonatomic
,
strong
)
UIButton
*
Newbutton
;
@property
(
nonatomic
,
strong
)
UIButton
*
Newbutton
;
/**
* 控制器数组
*/
@property
(
nonatomic
,
strong
)
NSMutableArray
*
vcArray
;
@property
(
nonatomic
,
strong
)
NSMutableArray
*
vcArray
;
/**
* 工具栏
*/
@property
(
nonatomic
,
strong
)
Toolview
*
toolview
;
@property
(
nonatomic
,
strong
)
Toolview
*
toolview
;
@end
...
...
@@ -58,61 +57,53 @@
*
* @return NSArary
*/
-
(
NSArray
*
)
identifierArray
{
-
(
NSArray
*
)
identifierArray
{
if
(
_identifierArray
==
nil
)
{
_identifierArray
=
[
NSArray
arrayWithObjects
:
@"HomeViewController"
,
@"SearchViewController"
,
@"ShoppingViewController"
,
@"ClientViewController"
,
@"RebateViewController"
,
@"GuideIntegralViewController"
,
@"AnnouncementViewController"
,
@"MessageViewController"
,
@"SceneLibraryViewController"
,
@"ProductLibraryViewController"
,
@"AllCustomerViewController"
,
@"CustomerOrderViewController"
,
@"LearningCenterMainViewController"
,
@"AboutViewController"
,
nil
];
_identifierArray
=
[
NSArray
arrayWithObjects
:
@"HomeViewController"
,
@"SearchViewController"
,
@"ShoppingViewController"
,
@"ClientViewController"
,
@"RebateViewController"
,
@"GuideIntegralViewController"
,
@"AnnouncementViewController"
,
@"MessageViewController"
,
@"SceneLibraryViewController"
,
@"ProductLibraryViewController"
,
@"AllCustomerViewController"
,
@"CustomerOrderViewController"
,
@"LearningCenterMainViewController"
,
@"AboutViewController"
,
nil
];
}
return
_identifierArray
;
}
-
(
NSMutableArray
*
)
vcArray
{
-
(
NSMutableArray
*
)
vcArray
{
if
(
!
_vcArray
)
{
_vcArray
=
[
NSMutableArray
array
];
}
return
_vcArray
;
}
-
(
void
)
viewWillAppear
:
(
BOOL
)
animated
{
-
(
void
)
viewWillAppear
:
(
BOOL
)
animated
{
[
super
viewWillAppear
:
animated
];
[
self
.
selectedViewController
beginAppearanceTransition
:
YES
animated
:
animated
];
[
self
.
selectedViewController
beginAppearanceTransition
:
YES
animated
:
animated
];
}
-
(
void
)
viewDidAppear
:
(
BOOL
)
animated
{
-
(
void
)
viewDidAppear
:
(
BOOL
)
animated
{
[
super
viewDidAppear
:
animated
];
[
self
.
selectedViewController
endAppearanceTransition
];
}
-
(
void
)
viewWillDisappear
:
(
BOOL
)
animated
{
-
(
void
)
viewWillDisappear
:
(
BOOL
)
animated
{
[
super
viewWillDisappear
:
animated
];
[
self
.
selectedViewController
beginAppearanceTransition
:
NO
animated
:
animated
];
[
self
.
selectedViewController
beginAppearanceTransition
:
NO
animated
:
animated
];
}
-
(
void
)
viewDidDisappear
:
(
BOOL
)
animated
{
-
(
void
)
viewDidDisappear
:
(
BOOL
)
animated
{
[
super
viewDidDisappear
:
animated
];
[
self
.
selectedViewController
endAppearanceTransition
];
}
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
[
self
uiConfigAction
];
[
self
addViewcontroller
];
[
self
addNSNotification
];
}
#pragma mark -UI
-
(
void
)
uiConfigAction
{
-
(
void
)
uiConfigAction
{
self
.
tabBar
.
frame
=
CGRectMake
(
ZERO
,
ZERO
,
ScreenWidth
,
NavigationHeight
);
self
.
toolview
=
[[
Toolview
alloc
]
initWithFrame
:
CGRectMake
(
ZERO
,
ZERO
,
ScreenWidth
,
NavigationHeight
)];
self
.
toolview
=
[[
Toolview
alloc
]
initWithFrame
:
CGRectMake
(
ZERO
,
ZERO
,
ScreenWidth
,
NavigationHeight
)];
self
.
toolview
.
delegate
=
self
;
self
.
toolview
.
inputField
.
delegate
=
self
;
self
.
delegate
=
self
;
...
...
@@ -121,8 +112,7 @@
}
#pragma mark -监听通知
-
(
void
)
addNSNotification
{
-
(
void
)
addNSNotification
{
//显示体验中心
[
Notification
addObserver
:
self
selector
:
@selector
(
showFollowHeart
:
)
name
:
OPENFOLLOWHEARTVC
object
:
nil
];
//显示体验中心3D
...
...
@@ -139,33 +129,31 @@
}
#pragma mark -显示消息界面
-
(
void
)
showMessageController
:
(
NSNotification
*
)
object
{
-
(
void
)
showMessageController
:
(
NSNotification
*
)
object
{
self
.
selectedIndex
=
6
;
}
#pragma mark -添加controller到viewControllers
-
(
void
)
addViewcontroller
{
-
(
void
)
addViewcontroller
{
NSMutableArray
*
controllerArray
=
[
NSMutableArray
array
];
UIStoryboard
*
storyboard
=
nil
;
for
(
int
i
=
0
;
i
<
self
.
identifierArray
.
count
;
i
++
)
{
for
(
int
i
=
0
;
i
<
self
.
identifierArray
.
count
;
i
++
)
{
NSString
*
controllString
=
self
.
identifierArray
[
i
];
// 公告
if
([
controllString
isEqualToString
:
@"AnnouncementViewController"
]
||
[
controllString
isEqualToString
:
@"MessageViewController"
])
{
storyboard
=
[
BaseViewController
getAnnouncementStoryboardClass
];
}
else
if
([
controllString
isEqualToString
:
@"LearningCenterMainViewController"
])
{
}
else
if
([
controllString
isEqualToString
:
@"LearningCenterMainViewController"
])
{
// 学习中心
storyboard
=
[
BaseViewController
getLearningCenterStoryboardClass
];
}
else
if
([
controllString
isEqualToString
:
@"GuideIntegralViewController"
])
{
}
else
if
([
controllString
isEqualToString
:
@"GuideIntegralViewController"
])
{
// 积分
storyboard
=
[
BaseViewController
getGuideIntegralStoryboardClass
];
}
else
{
}
else
{
storyboard
=
[
BaseViewController
getMainStoryboardClass
];
}
BaseViewController
*
control
=
[
storyboard
instantiateViewControllerWithIdentifier
:
self
.
identifierArray
[
i
]];
UINavigationController
*
nav
=
[[
UINavigationController
alloc
]
initWithRootViewController
:
control
];
UINavigationController
*
nav
=
[[
UINavigationController
alloc
]
initWithRootViewController
:
control
];
[
self
.
vcArray
addObject
:
nav
];
[
controllerArray
addObject
:
control
];
}
...
...
@@ -175,7 +163,6 @@
self
.
selectedIndex
=
0
;
}
#pragma mark -移除系统自带的UITabBarButton
-
(
void
)
viewWillLayoutSubviews
{
[
super
viewWillLayoutSubviews
];
...
...
@@ -186,114 +173,106 @@
}
}
#pragma amrk -TabbarButtonClickdelegate代理
-
(
void
)
buttonClickAction
:
(
NSInteger
)
Buttontag
withButton
:
(
UIButton
*
)
button
{
#pragma amrk - TabbarButtonClickdelegate代理
-
(
void
)
buttonClickAction
:
(
NSInteger
)
Buttontag
withButton
:
(
UIButton
*
)
button
{
[
self
.
toolview
.
inputField
resignFirstResponder
];
[
self
dismissViewControllerAnimated
:
NO
completion
:
nil
];
_Newbutton
=
button
;
switch
(
Buttontag
)
{
case
MENU
:
[
SHARED_APPDELEGATE
.
mmdrawer
toggleDrawerSide
:
MMDrawerSideRight
animated
:
YES
completion
:
nil
];
break
;
case
MESSAGE
:
{
case
MESSAGE
:
{
self
.
selectedIndex
=
7
;
}
break
;
case
NOTICE
:
{
}
break
;
case
NOTICE
:
{
self
.
selectedIndex
=
6
;
}
break
;
}
break
;
case
SHOPPING_GUIDE
:
{
UserViewController
*
userVC
=
[[
UserViewController
alloc
]
init
];
UserViewController
*
userVC
=
[[
UserViewController
alloc
]
init
];
userVC
.
delegate
=
self
;
userVC
.
preferredContentSize
=
CGSizeMake
(
260
,
230
);
userVC
.
modalPresentationStyle
=
UIModalPresentationPopover
;
UIPopoverPresentationController
*
pop
=
userVC
.
popoverPresentationController
;
pop
.
permittedArrowDirections
=
UIPopoverArrowDirectionAny
;
pop
.
sourceView
=
userVC
.
view
;
pop
.
barButtonItem
=
[[
UIBarButtonItem
alloc
]
initWithCustomView
:
button
];
pop
.
barButtonItem
=
[[
UIBarButtonItem
alloc
]
initWithCustomView
:
button
];
[
self
presentViewController
:
userVC
animated
:
YES
completion
:
nil
];
}
break
;
}
break
;
case
CUSTOMER
:
self
.
selectedIndex
=
3
;
break
;
case
SHOPPING_CAR
:
//必须设置当前客户才能跳转到购物车
if
(
!
[
Shoppersmanager
manager
].
currentCustomer
)
{
[
XBLoadingView
showHUDViewWithText
:
@"必须设置当前客户才能访问购物车"
];
}
else
{
}
else
{
self
.
selectedIndex
=
2
;
}
break
;
default
:
break
;
}
}
#pragma mark -修改密码点击
-
(
void
)
changPasswordButtonClick
{
[
self
dismissViewControllerAnimated
:
NO
completion
:
^
{
ChangePasswordViewController
*
changpassword
=
[[
ChangePasswordViewController
alloc
]
init
];
changpassword
.
delegate
=
self
;
changpassword
.
preferredContentSize
=
CGSizeMake
(
260
,
180
);
changpassword
.
modalPresentationStyle
=
UIModalPresentationPopover
;
UIPopoverPresentationController
*
pop
=
changpassword
.
popoverPresentationController
;
pop
.
permittedArrowDirections
=
UIPopoverArrowDirectionAny
;
pop
.
sourceView
=
changpassword
.
view
;
pop
.
barButtonItem
=
[[
UIBarButtonItem
alloc
]
initWithCustomView
:
_Newbutton
];
[
self
presentViewController
:
changpassword
animated
:
YES
completion
:
nil
];
}];
-
(
void
)
changPasswordButtonClick
{
[
self
dismissViewControllerAnimated
:
NO
completion
:
^
{
ChangePasswordViewController
*
changpassword
=
[[
ChangePasswordViewController
alloc
]
init
];
changpassword
.
delegate
=
self
;
changpassword
.
preferredContentSize
=
CGSizeMake
(
260
,
180
);
changpassword
.
modalPresentationStyle
=
UIModalPresentationPopover
;
UIPopoverPresentationController
*
pop
=
changpassword
.
popoverPresentationController
;
pop
.
permittedArrowDirections
=
UIPopoverArrowDirectionAny
;
pop
.
sourceView
=
changpassword
.
view
;
pop
.
barButtonItem
=
[[
UIBarButtonItem
alloc
]
initWithCustomView
:
_Newbutton
];
[
self
presentViewController
:
changpassword
animated
:
YES
completion
:
nil
];
}];
}
#pragma mark -取消按钮
-
(
void
)
cancelButtonClick
{
[
self
dismissViewControllerAnimated
:
NO
completion
:
^
{
UserViewController
*
userVC
=
[[
UserViewController
alloc
]
init
];
userVC
.
delegate
=
self
;
userVC
.
preferredContentSize
=
CGSizeMake
(
260
,
230
);
userVC
.
modalPresentationStyle
=
UIModalPresentationPopover
;
UIPopoverPresentationController
*
pop
=
userVC
.
popoverPresentationController
;
pop
.
permittedArrowDirections
=
UIPopoverArrowDirectionAny
;
pop
.
sourceView
=
userVC
.
view
;
pop
.
barButtonItem
=
[[
UIBarButtonItem
alloc
]
initWithCustomView
:
_Newbutton
];
[
self
presentViewController
:
userVC
animated
:
YES
completion
:
nil
];
}];
-
(
void
)
cancelButtonClick
{
[
self
dismissViewControllerAnimated
:
NO
completion
:
^
{
UserViewController
*
userVC
=
[[
UserViewController
alloc
]
init
];
userVC
.
delegate
=
self
;
userVC
.
preferredContentSize
=
CGSizeMake
(
260
,
230
);
userVC
.
modalPresentationStyle
=
UIModalPresentationPopover
;
UIPopoverPresentationController
*
pop
=
userVC
.
popoverPresentationController
;
pop
.
permittedArrowDirections
=
UIPopoverArrowDirectionAny
;
pop
.
sourceView
=
userVC
.
view
;
pop
.
barButtonItem
=
[[
UIBarButtonItem
alloc
]
initWithCustomView
:
_Newbutton
];
[
self
presentViewController
:
userVC
animated
:
YES
completion
:
nil
];
}];
}
#pragma mark -二维码扫描
-
(
void
)
qrcodeButtonClick
{
-
(
void
)
qrcodeButtonClick
{
WS
(
weakSelf
);
// 判断应用是否有使用相机的权限
if
(
!
[
BaseViewController
determineCameraPermissions
])
{
if
(
!
[
BaseViewController
determineCameraPermissions
])
{
ShowAlertView
(
self
,
@"提示"
,
@"请在iPad的“设置-隐私-相机”选项中,允许欧立方访问你的相机"
,
nil
,
@"知道了"
,
UIAlertControllerStyleAlert
,
nil
,
nil
);
}
else
{
}
else
{
QRViewController
*
qrVC
=
[[
QRViewController
alloc
]
initWithScanCompleteHandler
:
^
(
NSString
*
url
)
{
[
weakSelf
dismissViewControllerAnimated
:
YES
completion
:
^
{
ProductLibraryViewController
*
product
=
[
SHARED_APPDELEGATE
.
allControllerArray
objectAtIndex_opple
:
8
];
product
.
barcode
=
url
;
SHARED_APPDELEGATE
.
lineView
.
hidden
=
YES
;
weakSelf
.
selectedIndex
=
8
;
}];
[
weakSelf
dismissViewControllerAnimated
:
YES
completion
:
^
{
ProductLibraryViewController
*
product
=
[
SHARED_APPDELEGATE
.
allControllerArray
objectAtIndex_opple
:
8
];
product
.
barcode
=
url
;
SHARED_APPDELEGATE
.
lineView
.
hidden
=
YES
;
weakSelf
.
selectedIndex
=
8
;
}];
}];
dispatch_async
(
dispatch_get_main_queue
(),
^
{
[
weakSelf
presentViewController
:
qrVC
animated
:
YES
completion
:
nil
];
...
...
@@ -301,17 +280,14 @@
}
}
#pragma mark -搜索框代理方法
-
(
BOOL
)
textFieldShouldBeginEditing
:
(
UITextField
*
)
textField
{
-
(
BOOL
)
textFieldShouldBeginEditing
:
(
UITextField
*
)
textField
{
self
.
selectedIndex
=
1
;
return
YES
;
}
#pragma mark -Search按钮
-
(
BOOL
)
textFieldShouldReturn
:
(
UITextField
*
)
textField
{
-
(
BOOL
)
textFieldShouldReturn
:
(
UITextField
*
)
textField
{
if
(
!
[
BaseViewController
isBlankString
:
textField
.
text
])
{
[
textField
resignFirstResponder
];
[
Notification
postNotificationName
:
SEARCHSTRING
object
:
textField
.
text
];
...
...
@@ -320,31 +296,27 @@
}
#pragma mark -自定义选中
-
(
void
)
setSelectedIndex
:
(
NSUInteger
)
selectedIndex
{
-
(
void
)
setSelectedIndex
:
(
NSUInteger
)
selectedIndex
{
[
super
setSelectedIndex
:
selectedIndex
];
[
self
didSelectNavigationController
:[
SHARED_APPDELEGATE
.
allControllerArray
objectAtIndex_opple
:
selectedIndex
]];
}
#pragma mark -返回根视图控制器
-
(
void
)
didSelectNavigationController
:
(
UIViewController
*
)
viewController
{
if
([[
viewController
.
navigationController
.
viewControllers
firstObject
]
isKindOfClass
:
NSClassFromString
(
@"UIMoreListController"
)]){
-
(
void
)
didSelectNavigationController
:
(
UIViewController
*
)
viewController
{
if
([[
viewController
.
navigationController
.
viewControllers
firstObject
]
isKindOfClass
:
NSClassFromString
(
@"UIMoreListController"
)])
{
[
viewController
.
navigationController
popToViewController
:
viewController
.
navigationController
.
viewControllers
[
1
]
animated
:
YES
];
}
else
{
}
else
{
[
viewController
.
navigationController
popToRootViewControllerAnimated
:
YES
];
}
}
#pragma mark - 切换tabbar selectedIndex
-
(
void
)
switchSelectedIndex
:
(
NSInteger
)
selectedIndex
{
[
self
.
toolview
switchLineViewOrigin
:
selectedIndex
-
100
];
-
(
void
)
switchSelectedIndex
:
(
NSInteger
)
selectedIndex
{
[
self
.
toolview
switchLineViewOrigin
:
selectedIndex
-
100
];
}
#pragma mark -推出体验中心控制器
-
(
void
)
showFollowHeart
:
(
NSNotification
*
)
objc
{
-
(
void
)
showFollowHeart
:
(
NSNotification
*
)
objc
{
UIStoryboard
*
storyboard
=
[
UIStoryboard
storyboardWithName
:
@"OppleMain"
bundle
:
nil
];
ExperienceCentreViewController
*
ExperienceCenter
=
[
storyboard
instantiateViewControllerWithIdentifier
:
@"ExperienceCentre"
];
ExperienceCenter
.
modalPresentationStyle
=
UIModalPresentationOverFullScreen
;
...
...
Lighting/LearningCenter.storyboard
View file @
6bbcfab2
...
...
@@ -359,7 +359,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"28"
width=
"1024"
height=
"90"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"ctQ-16-eCQ"
id=
"DuY-Eq-G4z"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"830"
height=
"89"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"830"
height=
"89
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"00登录-谭"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"jVJ-Bu-xw9"
>
...
...
@@ -740,7 +740,7 @@
</userDefinedRuntimeAttributes>
</imageView>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"6"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"IqG-JD-duE"
>
<rect
key=
"frame"
x=
"
11"
y=
"11"
width=
"49"
height=
"49
"
/>
<rect
key=
"frame"
x=
"
0.5"
y=
"0.5"
width=
"70"
height=
"70
"
/>
</imageView>
</subviews>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
...
...
@@ -749,10 +749,10 @@
<constraint
firstItem=
"IqG-JD-duE"
firstAttribute=
"centerY"
secondItem=
"8EW-Uh-ADi"
secondAttribute=
"centerY"
id=
"AJ5-A1-TlC"
/>
<constraint
firstAttribute=
"width"
constant=
"70"
id=
"DcG-qZ-6ck"
/>
<constraint
firstItem=
"8RZ-lL-fYj"
firstAttribute=
"top"
secondItem=
"8EW-Uh-ADi"
secondAttribute=
"top"
id=
"GAw-gy-0dW"
/>
<constraint
firstItem=
"IqG-JD-duE"
firstAttribute=
"width"
secondItem=
"8EW-Uh-ADi"
secondAttribute=
"width"
multiplier=
"0.7"
id=
"Zws-Mt-aWP"
/>
<constraint
firstItem=
"IqG-JD-duE"
firstAttribute=
"width"
secondItem=
"8EW-Uh-ADi"
secondAttribute=
"width"
id=
"Zws-Mt-aWP"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"8RZ-lL-fYj"
secondAttribute=
"bottom"
id=
"brm-mS-2EF"
/>
<constraint
firstItem=
"8RZ-lL-fYj"
firstAttribute=
"leading"
secondItem=
"8EW-Uh-ADi"
secondAttribute=
"leading"
id=
"enl-m6-GyB"
/>
<constraint
firstItem=
"IqG-JD-duE"
firstAttribute=
"height"
secondItem=
"8EW-Uh-ADi"
secondAttribute=
"height"
multiplier=
"0.7"
id=
"ete-FU-849"
/>
<constraint
firstItem=
"IqG-JD-duE"
firstAttribute=
"height"
secondItem=
"8EW-Uh-ADi"
secondAttribute=
"height"
id=
"ete-FU-849"
/>
<constraint
firstAttribute=
"height"
constant=
"70"
id=
"gy4-jc-uPa"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"8RZ-lL-fYj"
secondAttribute=
"trailing"
id=
"mzL-zl-urq"
/>
</constraints>
...
...
@@ -953,27 +953,63 @@
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"yuc-aw-rYR"
/>
</constraints>
</view>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"comments"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"AoV-WJ-RVy"
>
<rect
key=
"frame"
x=
"948"
y=
"23"
width=
"16"
height=
"16"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"16"
id=
"7x4-li-6XI"
/>
<constraint
firstAttribute=
"width"
constant=
"16"
id=
"rN3-fF-uCA"
/>
</constraints>
</imageView>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleToFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"praise"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"VjW-Gd-5ow"
>
<rect
key=
"frame"
x=
"872"
y=
"23"
width=
"16"
height=
"16"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"16"
id=
"7wm-8g-BL2"
/>
<constraint
firstAttribute=
"height"
constant=
"16"
id=
"loS-iC-kfq"
/>
</constraints>
</imageView>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"0"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"mfP-fo-Y85"
>
<rect
key=
"frame"
x=
"976"
y=
"23"
width=
"8"
height=
"15"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"12"
/>
<color
key=
"textColor"
red=
"0.34509803919999998"
green=
"0.67450980390000004"
blue=
"0.86274509799999999"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"0"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"96g-AX-Rc9"
>
<rect
key=
"frame"
x=
"900"
y=
"23"
width=
"8"
height=
"15"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"12"
/>
<color
key=
"textColor"
red=
"0.34509803919999998"
green=
"0.67450980390000004"
blue=
"0.86274509799999999"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<constraints>
<constraint
firstItem=
"mfP-fo-Y85"
firstAttribute=
"leading"
secondItem=
"AoV-WJ-RVy"
secondAttribute=
"trailing"
constant=
"12"
id=
"28c-eN-9up"
/>
<constraint
firstItem=
"VjW-Gd-5ow"
firstAttribute=
"centerY"
secondItem=
"96g-AX-Rc9"
secondAttribute=
"centerY"
id=
"7Rk-rf-5It"
/>
<constraint
firstItem=
"XzE-Dv-zTS"
firstAttribute=
"leading"
secondItem=
"qU3-0u-hUa"
secondAttribute=
"trailing"
constant=
"5"
id=
"9tQ-Yy-82J"
/>
<constraint
firstItem=
"qU3-0u-hUa"
firstAttribute=
"leading"
secondItem=
"bBg-hV-7Lb"
secondAttribute=
"leading"
constant=
"30"
id=
"AfN-OP-TQ8"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"0Cp-yb-MAi"
secondAttribute=
"trailing"
id=
"BlK-vc-Ugk"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"mfP-fo-Y85"
secondAttribute=
"trailing"
constant=
"40"
id=
"FSH-Iq-NNW"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"0Cp-yb-MAi"
secondAttribute=
"bottom"
id=
"QQ2-BD-4BF"
/>
<constraint
firstItem=
"AoV-WJ-RVy"
firstAttribute=
"leading"
secondItem=
"96g-AX-Rc9"
secondAttribute=
"trailing"
constant=
"40"
id=
"QzL-so-lJV"
/>
<constraint
firstItem=
"96g-AX-Rc9"
firstAttribute=
"leading"
secondItem=
"VjW-Gd-5ow"
secondAttribute=
"trailing"
constant=
"12"
id=
"RC3-Hn-Qhq"
/>
<constraint
firstItem=
"Ld5-TG-qAF"
firstAttribute=
"leading"
secondItem=
"TTI-18-E2i"
secondAttribute=
"trailing"
constant=
"5"
id=
"dEu-O2-ZDU"
/>
<constraint
firstItem=
"AoV-WJ-RVy"
firstAttribute=
"centerY"
secondItem=
"mfP-fo-Y85"
secondAttribute=
"centerY"
id=
"dyM-QN-Ax1"
/>
<constraint
firstItem=
"mfP-fo-Y85"
firstAttribute=
"centerY"
secondItem=
"bBg-hV-7Lb"
secondAttribute=
"centerY"
id=
"eGI-OF-kJi"
/>
<constraint
firstItem=
"XzE-Dv-zTS"
firstAttribute=
"centerY"
secondItem=
"qU3-0u-hUa"
secondAttribute=
"centerY"
id=
"fnF-V3-VsT"
/>
<constraint
firstItem=
"qU3-0u-hUa"
firstAttribute=
"centerY"
secondItem=
"bBg-hV-7Lb"
secondAttribute=
"centerY"
id=
"m2e-ni-acW"
/>
<constraint
firstItem=
"0Cp-yb-MAi"
firstAttribute=
"leading"
secondItem=
"bBg-hV-7Lb"
secondAttribute=
"leading"
id=
"ntm-s2-9kd"
/>
<constraint
firstItem=
"TTI-18-E2i"
firstAttribute=
"centerY"
secondItem=
"XzE-Dv-zTS"
secondAttribute=
"centerY"
id=
"psG-Il-Ggb"
/>
<constraint
firstItem=
"96g-AX-Rc9"
firstAttribute=
"centerY"
secondItem=
"AoV-WJ-RVy"
secondAttribute=
"centerY"
id=
"vIG-NE-wHb"
/>
<constraint
firstItem=
"TTI-18-E2i"
firstAttribute=
"leading"
secondItem=
"XzE-Dv-zTS"
secondAttribute=
"trailing"
constant=
"5"
id=
"vZt-6s-Qcn"
/>
<constraint
firstItem=
"Ld5-TG-qAF"
firstAttribute=
"centerY"
secondItem=
"TTI-18-E2i"
secondAttribute=
"centerY"
id=
"xCt-cZ-91v"
/>
</constraints>
</tableViewCellContentView>
<connections>
<outlet
property=
"commentsNumberLabel"
destination=
"mfP-fo-Y85"
id=
"LEE-Ir-Cbg"
/>
<outlet
property=
"contentLabel"
destination=
"Ld5-TG-qAF"
id=
"dSm-97-Urq"
/>
<outlet
property=
"essenceLabel"
destination=
"XzE-Dv-zTS"
id=
"QuW-8v-lK8"
/>
<outlet
property=
"essenceLayoutConstraint"
destination=
"vZt-6s-Qcn"
id=
"jl8-yw-m7I"
/>
<outlet
property=
"managerLabel"
destination=
"TTI-18-E2i"
id=
"GRN-h4-Eca"
/>
<outlet
property=
"managerLayoutConstraint"
destination=
"dEu-O2-ZDU"
id=
"TgO-LU-Wmr"
/>
<outlet
property=
"praiseNumberLabel"
destination=
"96g-AX-Rc9"
id=
"gkW-cV-QM2"
/>
<outlet
property=
"topLabel"
destination=
"qU3-0u-hUa"
id=
"yiH-hc-wiN"
/>
<outlet
property=
"topLayoutConstraint"
destination=
"9tQ-Yy-82J"
id=
"2Wj-ia-9aa"
/>
</connections>
...
...
@@ -1029,7 +1065,7 @@
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"calibratedWhite"
/>
<prototypes>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"default"
indentationWidth=
"10"
reuseIdentifier=
"AssessmentHeaderView"
id=
"UfB-K3-NdF"
customClass=
"AssessmentHeaderView"
>
<rect
key=
"frame"
x=
"0.0"
y=
"5
6
"
width=
"460"
height=
"44"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"5
5.5
"
width=
"460"
height=
"44"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"UfB-K3-NdF"
id=
"WGo-Wa-YTq"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"460"
height=
"44"
/>
...
...
@@ -1055,7 +1091,7 @@
</connections>
</tableViewCell>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"none"
indentationWidth=
"10"
reuseIdentifier=
"AssessmentTableViewCell"
rowHeight=
"52"
id=
"gIe-bF-XsX"
customClass=
"AssessmentTableViewCell"
>
<rect
key=
"frame"
x=
"0.0"
y=
"
100
"
width=
"460"
height=
"52"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"
99.5
"
width=
"460"
height=
"52"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"gIe-bF-XsX"
id=
"Va8-wn-DBM"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"460"
height=
"52"
/>
...
...
@@ -1101,7 +1137,7 @@
</connections>
</tableViewCell>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"none"
indentationWidth=
"10"
reuseIdentifier=
"AssessmentShortAnswerTableViewCell"
rowHeight=
"112"
id=
"smV-qr-KgP"
customClass=
"AssessmentShortAnswerTableViewCell"
>
<rect
key=
"frame"
x=
"0.0"
y=
"15
2
"
width=
"460"
height=
"112"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"15
1.5
"
width=
"460"
height=
"112"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"smV-qr-KgP"
id=
"A2f-ek-60T"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"460"
height=
"112"
/>
...
...
@@ -1337,7 +1373,7 @@
</collectionViewFlowLayout>
<cells>
<collectionViewCell
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
reuseIdentifier=
"CalibrationDetailCollectionCell"
id=
"dGo-4o-u9g"
customClass=
"CalibrationDetailCollectionCell"
>
<rect
key=
"frame"
x=
"0.0"
y=
"
10
"
width=
"93"
height=
"41"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"
9.5
"
width=
"93"
height=
"41"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<view
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"93"
height=
"41"
/>
...
...
@@ -1417,7 +1453,7 @@
</collectionViewFlowLayout>
<cells>
<collectionViewCell
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
reuseIdentifier=
"CalibrationCollectionViewCell"
id=
"v20-Kz-8OX"
customClass=
"CalibrationCollectionViewCell"
>
<rect
key=
"frame"
x=
"0.0"
y=
"5"
width=
"50"
height=
"50"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"
4.
5"
width=
"50"
height=
"50"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<view
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"50"
height=
"50"
/>
...
...
@@ -2121,7 +2157,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"28"
width=
"1024"
height=
"100"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"Qnm-0r-wEL"
id=
"VAA-bT-OlF"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"99"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"99
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"课时简介"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"agZ-rF-DnB"
>
...
...
@@ -2153,7 +2189,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"128"
width=
"1024"
height=
"130"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"WzB-nZ-wsW"
id=
"Zzv-Yi-ZxT"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"129"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"129
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"授课讲师"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"kxK-dX-OAf"
>
...
...
@@ -2210,7 +2246,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"258"
width=
"1024"
height=
"100"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"oia-jO-L9n"
id=
"AMF-ag-ZWN"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"99"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"99
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
text=
"针对人员"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"NfI-IM-h1i"
>
...
...
@@ -2631,7 +2667,7 @@
</viewController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"9lH-c2-zzY"
userLabel=
"First Responder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"3
254"
y=
"-152
8"
/>
<point
key=
"canvasLocation"
x=
"3
137"
y=
"-159
8"
/>
</scene>
<!--Assessment View Controller-->
<scene
sceneID=
"2bA-hi-BSu"
>
...
...
@@ -2683,7 +2719,7 @@
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<prototypes>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"default"
indentationWidth=
"10"
reuseIdentifier=
"AssessmentHeaderView"
rowHeight=
"60"
id=
"2M5-To-MLj"
customClass=
"AssessmentHeaderView"
>
<rect
key=
"frame"
x=
"0.0"
y=
"5
6
"
width=
"1024"
height=
"60"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"5
5.5
"
width=
"1024"
height=
"60"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"2M5-To-MLj"
id=
"ypf-GL-4CP"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"60"
/>
...
...
@@ -2709,7 +2745,7 @@
</connections>
</tableViewCell>
<tableViewCell
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
selectionStyle=
"none"
indentationWidth=
"10"
reuseIdentifier=
"AssessmentTableViewCell"
rowHeight=
"50"
id=
"BjI-a1-CRm"
customClass=
"AssessmentTableViewCell"
>
<rect
key=
"frame"
x=
"0.0"
y=
"11
6
"
width=
"1024"
height=
"50"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"11
5.5
"
width=
"1024"
height=
"50"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"BjI-a1-CRm"
id=
"bq8-ly-DcD"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"50"
/>
...
...
Lighting/OppleMain.storyboard
View file @
6bbcfab2
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"11762"
systemVersion=
"16
D32
"
targetRuntime=
"iOS.CocoaTouch.iPad"
propertyAccessControl=
"none"
useAutolayout=
"YES"
colorMatched=
"YES"
initialViewController=
"ijs-ag-b7Y"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"11762"
systemVersion=
"16
E195
"
targetRuntime=
"iOS.CocoaTouch.iPad"
propertyAccessControl=
"none"
useAutolayout=
"YES"
colorMatched=
"YES"
initialViewController=
"ijs-ag-b7Y"
>
<device
id=
"ipad9_7"
orientation=
"landscape"
>
<adaptation
id=
"fullscreen"
/>
</device>
...
...
@@ -1306,7 +1306,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"55.5"
width=
"1024"
height=
"182"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"Sye-2R-IQf"
id=
"CXs-SR-gHP"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"181"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"181
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"2bG-Ip-ptr"
userLabel=
"View1"
>
...
...
@@ -7352,7 +7352,7 @@
</viewController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"gQg-5p-Qhl"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"
-763"
y=
"2541
"
/>
<point
key=
"canvasLocation"
x=
"
288"
y=
"2529
"
/>
</scene>
<!--促销选择-->
<scene
sceneID=
"PhL-ws-5UB"
>
...
...
@@ -8000,7 +8000,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"28"
width=
"1024"
height=
"70"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"A8c-vp-keu"
id=
"bor-pm-4wM"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"69"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"69
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"订单编号:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"28E-AO-zbH"
>
...
...
@@ -8046,7 +8046,7 @@
<rect
key=
"frame"
x=
"0.0"
y=
"98"
width=
"1024"
height=
"70"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"aJ6-RS-988"
id=
"q46-Um-hjN"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"69"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"69
.5
"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"订单编号:"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"YRX-3g-DLM"
>
...
...
Tools/CYConst/CYConstManager.h
View file @
6bbcfab2
...
...
@@ -103,12 +103,12 @@ typedef NS_ENUM(NSInteger,COMMENT_PRAISE) {
/**
* 服务器测试地址
*/
#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://dg-dev.opple.com/opple-web/app%@",URL]
//
#define SERVERREQUESTURL(URL) [NSString stringWithFormat:@"http://dg-dev.opple.com/opple-web/app%@",URL]
//**
// * 服务器正式地址
// */
//
#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