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
26faa242
Commit
26faa242
authored
9 years ago
by
admin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug
parent
d15cff48
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
248 additions
and
288 deletions
+248
-288
project.pbxproj
redstar.xcodeproj/project.pbxproj
+6
-0
UserInterfaceState.xcuserstate
...userdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
Url.h
redstar/Classes/Macro/Url.h
+8
-1
OnLineTableViewCell.m
...dule/Function/OnLine/AddOnLine/Cell/OnLineTableViewCell.m
+7
-2
RankListHeaderView.m
...WordOfMouth/Ranking/RankingList/View/RankListHeaderView.m
+1
-1
RankPickView.h
...ction/WordOfMouth/Ranking/RankingList/View/RankPickView.h
+14
-0
RankPickView.m
...ction/WordOfMouth/Ranking/RankingList/View/RankPickView.m
+36
-0
RankingListViewController.h
...ng/RankingList/ViewController/RankingListViewController.h
+0
-6
RankingListViewController.m
...ng/RankingList/ViewController/RankingListViewController.m
+161
-278
HttpClient.h
redstar/Classes/Tools/HttpClient/HttpClient.h
+5
-0
HttpClient.m
redstar/Classes/Tools/HttpClient/HttpClient.m
+10
-0
No files found.
redstar.xcodeproj/project.pbxproj
View file @
26faa242
...
@@ -75,6 +75,7 @@
...
@@ -75,6 +75,7 @@
849B2F711C0CA22F005D809F
/* AnnoContentTableViewCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
849B2F701C0CA22F005D809F
/* AnnoContentTableViewCell.m */
;
};
849B2F711C0CA22F005D809F
/* AnnoContentTableViewCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
849B2F701C0CA22F005D809F
/* AnnoContentTableViewCell.m */
;
};
849B2F741C0CA60E005D809F
/* AnnounceDetailFootView.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
849B2F731C0CA60E005D809F
/* AnnounceDetailFootView.m */
;
};
849B2F741C0CA60E005D809F
/* AnnounceDetailFootView.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
849B2F731C0CA60E005D809F
/* AnnounceDetailFootView.m */
;
};
849B2F771C0CABE6005D809F
/* AnnounceDetailModel.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
849B2F761C0CABE6005D809F
/* AnnounceDetailModel.m */
;
};
849B2F771C0CABE6005D809F
/* AnnounceDetailModel.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
849B2F761C0CABE6005D809F
/* AnnounceDetailModel.m */
;
};
84A2270E1C229409002766DC
/* RankPickView.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
84A2270D1C229409002766DC
/* RankPickView.m */
;
};
84A673881C0B50B4000F828E
/* OnLineCompleteViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
84A673871C0B50B4000F828E
/* OnLineCompleteViewController.m */
;
};
84A673881C0B50B4000F828E
/* OnLineCompleteViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
84A673871C0B50B4000F828E
/* OnLineCompleteViewController.m */
;
};
84A6738E1C0BE2D0000F828E
/* OnLineCompleteCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
84A6738D1C0BE2D0000F828E
/* OnLineCompleteCell.m */
;
};
84A6738E1C0BE2D0000F828E
/* OnLineCompleteCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
84A6738D1C0BE2D0000F828E
/* OnLineCompleteCell.m */
;
};
84A673911C0C2681000F828E
/* FunctionViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
84A673901C0C2681000F828E
/* FunctionViewController.m */
;
};
84A673911C0C2681000F828E
/* FunctionViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
84A673901C0C2681000F828E
/* FunctionViewController.m */
;
};
...
@@ -309,6 +310,8 @@
...
@@ -309,6 +310,8 @@
849B2F731C0CA60E005D809F
/* AnnounceDetailFootView.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
AnnounceDetailFootView.m
;
sourceTree
=
"<group>"
;
};
849B2F731C0CA60E005D809F
/* AnnounceDetailFootView.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
AnnounceDetailFootView.m
;
sourceTree
=
"<group>"
;
};
849B2F751C0CABE6005D809F
/* AnnounceDetailModel.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
AnnounceDetailModel.h
;
sourceTree
=
"<group>"
;
};
849B2F751C0CABE6005D809F
/* AnnounceDetailModel.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
AnnounceDetailModel.h
;
sourceTree
=
"<group>"
;
};
849B2F761C0CABE6005D809F
/* AnnounceDetailModel.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
AnnounceDetailModel.m
;
sourceTree
=
"<group>"
;
};
849B2F761C0CABE6005D809F
/* AnnounceDetailModel.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
AnnounceDetailModel.m
;
sourceTree
=
"<group>"
;
};
84A2270C1C229409002766DC
/* RankPickView.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
RankPickView.h
;
sourceTree
=
"<group>"
;
};
84A2270D1C229409002766DC
/* RankPickView.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
RankPickView.m
;
sourceTree
=
"<group>"
;
};
84A673861C0B50B4000F828E
/* OnLineCompleteViewController.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
OnLineCompleteViewController.h
;
sourceTree
=
"<group>"
;
};
84A673861C0B50B4000F828E
/* OnLineCompleteViewController.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
OnLineCompleteViewController.h
;
sourceTree
=
"<group>"
;
};
84A673871C0B50B4000F828E
/* OnLineCompleteViewController.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
OnLineCompleteViewController.m
;
sourceTree
=
"<group>"
;
};
84A673871C0B50B4000F828E
/* OnLineCompleteViewController.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
OnLineCompleteViewController.m
;
sourceTree
=
"<group>"
;
};
84A6738C1C0BE2D0000F828E
/* OnLineCompleteCell.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
OnLineCompleteCell.h
;
sourceTree
=
"<group>"
;
};
84A6738C1C0BE2D0000F828E
/* OnLineCompleteCell.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
OnLineCompleteCell.h
;
sourceTree
=
"<group>"
;
};
...
@@ -711,6 +714,8 @@
...
@@ -711,6 +714,8 @@
children
=
(
children
=
(
846206B31C06AF700015C456
/* RankListHeaderView.h */
,
846206B31C06AF700015C456
/* RankListHeaderView.h */
,
846206B41C06AF700015C456
/* RankListHeaderView.m */
,
846206B41C06AF700015C456
/* RankListHeaderView.m */
,
84A2270C1C229409002766DC
/* RankPickView.h */
,
84A2270D1C229409002766DC
/* RankPickView.m */
,
);
);
path
=
View
;
path
=
View
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
...
@@ -2272,6 +2277,7 @@
...
@@ -2272,6 +2277,7 @@
84CC34E21C09583D002F10E2
/* LookOnLineTableViewCell.m in Sources */
,
84CC34E21C09583D002F10E2
/* LookOnLineTableViewCell.m in Sources */
,
8480BEB21C143A4100E2F18F
/* StateTableView.m in Sources */
,
8480BEB21C143A4100E2F18F
/* StateTableView.m in Sources */
,
849B2F711C0CA22F005D809F
/* AnnoContentTableViewCell.m in Sources */
,
849B2F711C0CA22F005D809F
/* AnnoContentTableViewCell.m in Sources */
,
84A2270E1C229409002766DC
/* RankPickView.m in Sources */
,
84D3E6021C04DA85001FF1DD
/* InspectUpLoadFootView.m in Sources */
,
84D3E6021C04DA85001FF1DD
/* InspectUpLoadFootView.m in Sources */
,
84A673881C0B50B4000F828E
/* OnLineCompleteViewController.m in Sources */
,
84A673881C0B50B4000F828E
/* OnLineCompleteViewController.m in Sources */
,
8474C5991BE78BBC007DCF19
/* QuestionDetailCell.m in Sources */
,
8474C5991BE78BBC007DCF19
/* QuestionDetailCell.m in Sources */
,
...
...
This diff is collapsed.
Click to expand it.
redstar.xcworkspace/xcuserdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
View file @
26faa242
No preview for this file type
This diff is collapsed.
Click to expand it.
redstar/Classes/Macro/Url.h
View file @
26faa242
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
// 口碑排名列表
// 口碑排名列表
#define kRankingListURL @"redstar-server/rest/praise/ranking"
#define kRankingListURL @"redstar-server/rest/praise/ranking"
// 提交评论
// 提交评论
#define kAddCommentURL @"redstar-server/rest/comment/submit"
#define kAddCommentURL @"redstar-server/rest/comment/submit"
...
@@ -105,4 +104,12 @@
...
@@ -105,4 +104,12 @@
// 口碑取消点赞
// 口碑取消点赞
#define kPicturePraiseCancelLikeURL @"redstar-server/rest/legendpraise/cancel_like/"
#define kPicturePraiseCancelLikeURL @"redstar-server/rest/legendpraise/cancel_like/"
/**
* 口碑排名(新)
*/
// 获取口碑列表
#define kQueryShortPraiseURL @"redstar-server/rest/praise/query_short?userUuid="
#endif
/* Url_h */
#endif
/* Url_h */
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/OnLine/AddOnLine/Cell/OnLineTableViewCell.m
View file @
26faa242
...
@@ -97,10 +97,13 @@
...
@@ -97,10 +97,13 @@
{
{
if
(
!
_storeBtn
)
{
if
(
!
_storeBtn
)
{
_storeBtn
=
[[
UIButton
alloc
]
init
];
_storeBtn
=
[[
UIButton
alloc
]
init
];
_storeBtn
.
tag
=
323228
;
[
_storeBtn
setTitleColor
:
kOnLineCellTitleColor
forState
:
UIControlStateNormal
];
[
_storeBtn
setTitleColor
:
kOnLineCellTitleColor
forState
:
UIControlStateNormal
];
_storeBtn
.
translatesAutoresizingMaskIntoConstraints
=
NO
;
_storeBtn
.
translatesAutoresizingMaskIntoConstraints
=
NO
;
[
_storeBtn
setTitle
:
@"商场得分"
forState
:
UIControlStateNormal
];
_storeBtn
.
selected
=
YES
;
[
_storeBtn
setImage
:[
UIImage
imageNamed
:
@"select_box"
]
forState
:
UIControlStateNormal
];
[
_storeBtn
setImage
:[
UIImage
imageNamed
:
@"select_box"
]
forState
:
UIControlStateNormal
];
[
_storeBtn
setImage
:[
UIImage
imageNamed
:
@"
on
_select_box"
]
forState
:
UIControlStateSelected
];
[
_storeBtn
setImage
:[
UIImage
imageNamed
:
@"
no
_select_box"
]
forState
:
UIControlStateSelected
];
_storeBtn
.
titleLabel
.
font
=
[
UIFont
systemFontOfSize
:
15
.
0
f
];
_storeBtn
.
titleLabel
.
font
=
[
UIFont
systemFontOfSize
:
15
.
0
f
];
_storeBtn
.
imageEdgeInsets
=
UIEdgeInsetsMake
(
0
,
0
,
0
,
20
);
_storeBtn
.
imageEdgeInsets
=
UIEdgeInsetsMake
(
0
,
0
,
0
,
20
);
_storeBtn
.
titleEdgeInsets
=
UIEdgeInsetsMake
(
0
,
5
,
0
,
0
);
_storeBtn
.
titleEdgeInsets
=
UIEdgeInsetsMake
(
0
,
5
,
0
,
0
);
...
@@ -132,10 +135,12 @@
...
@@ -132,10 +135,12 @@
{
{
if
(
!
_averageBtn
)
{
if
(
!
_averageBtn
)
{
_averageBtn
=
[[
UIButton
alloc
]
init
];
_averageBtn
=
[[
UIButton
alloc
]
init
];
_averageBtn
.
tag
=
323229
;
[
_averageBtn
setTitleColor
:
kOnLineCellTitleColor
forState
:
UIControlStateNormal
];
[
_averageBtn
setTitleColor
:
kOnLineCellTitleColor
forState
:
UIControlStateNormal
];
_averageBtn
.
translatesAutoresizingMaskIntoConstraints
=
NO
;
_averageBtn
.
translatesAutoresizingMaskIntoConstraints
=
NO
;
[
_averageBtn
setTitle
:
@"区域平均分"
forState
:
UIControlStateNormal
];
[
_averageBtn
setImage
:[
UIImage
imageNamed
:
@"select_box"
]
forState
:
UIControlStateNormal
];
[
_averageBtn
setImage
:[
UIImage
imageNamed
:
@"select_box"
]
forState
:
UIControlStateNormal
];
[
_averageBtn
setImage
:[
UIImage
imageNamed
:
@"
on
_select_box"
]
forState
:
UIControlStateSelected
];
[
_averageBtn
setImage
:[
UIImage
imageNamed
:
@"
no
_select_box"
]
forState
:
UIControlStateSelected
];
_averageBtn
.
titleLabel
.
font
=
[
UIFont
systemFontOfSize
:
15
.
0
f
];
_averageBtn
.
titleLabel
.
font
=
[
UIFont
systemFontOfSize
:
15
.
0
f
];
_averageBtn
.
imageEdgeInsets
=
UIEdgeInsetsMake
(
0
,
0
,
0
,
20
);
_averageBtn
.
imageEdgeInsets
=
UIEdgeInsetsMake
(
0
,
0
,
0
,
20
);
_averageBtn
.
titleEdgeInsets
=
UIEdgeInsetsMake
(
0
,
5
,
0
,
0
);
_averageBtn
.
titleEdgeInsets
=
UIEdgeInsetsMake
(
0
,
5
,
0
,
0
);
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/WordOfMouth/Ranking/RankingList/View/RankListHeaderView.m
View file @
26faa242
...
@@ -150,7 +150,7 @@
...
@@ -150,7 +150,7 @@
{
{
[
super
layoutSubviews
];
[
super
layoutSubviews
];
_bgView
.
frame
=
self
.
bounds
;
_bgView
.
frame
=
self
.
bounds
;
_bgButton
.
frame
=
CGRectMake
(
30
,
0
,
0
.
3
*
kScreenWidth
,
self
.
bounds
.
size
.
height
);
_bgButton
.
frame
=
CGRectMake
(
30
,
0
,
0
.
3
5
*
kScreenWidth
,
self
.
bounds
.
size
.
height
);
_arrowImageView
.
frame
=
CGRectMake
(
20
,
(
self
.
frame
.
size
.
height
-
11
)
/
2
,
9
,
10
);
_arrowImageView
.
frame
=
CGRectMake
(
20
,
(
self
.
frame
.
size
.
height
-
11
)
/
2
,
9
,
10
);
_scoreLabel
.
frame
=
CGRectMake
(
0
.
4
*
kScreenWidth
,
0
,
0
.
25
*
kScreenWidth
,
50
);
_scoreLabel
.
frame
=
CGRectMake
(
0
.
4
*
kScreenWidth
,
0
,
0
.
25
*
kScreenWidth
,
50
);
if
(
_section
<
3
)
{
if
(
_section
<
3
)
{
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/WordOfMouth/Ranking/RankingList/View/RankPickView.h
0 → 100644
View file @
26faa242
//
// RankPickView.h
// redstar
//
// Created by admin on 15/12/17.
// Copyright © 2015年 ZWF. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface
RankPickView
:
UIView
@property
(
nonatomic
,
strong
)
UIPickerView
*
pickerView
;
@property
(
nonatomic
,
strong
)
UIButton
*
okButton
;
@end
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/WordOfMouth/Ranking/RankingList/View/RankPickView.m
0 → 100644
View file @
26faa242
//
// RankPickView.m
// redstar
//
// Created by admin on 15/12/17.
// Copyright © 2015年 ZWF. All rights reserved.
//
#import "RankPickView.h"
@implementation
RankPickView
-
(
instancetype
)
init
{
self
=
[
super
init
];
if
(
self
)
{
[
self
setup
];
}
return
self
;
}
-
(
void
)
setup
{
self
.
pickerView
=
[[
UIPickerView
alloc
]
init
];
_pickerView
.
frame
=
CGRectMake
(
0
,
30
,
kScreenWidth
,
120
);
[
self
addSubview
:
_pickerView
];
self
.
okButton
=
[[
UIButton
alloc
]
init
];
_okButton
.
frame
=
CGRectMake
(
kScreenWidth
-
60
,
0
,
60
,
30
);
[
_okButton
setTitle
:
@"完成"
forState
:
UIControlStateNormal
];
[
_okButton
setTitleColor
:
kLightBlack
forState
:
UIControlStateNormal
];
_okButton
.
titleLabel
.
font
=
[
UIFont
systemFontOfSize
:
16
.
0
];
[
self
addSubview
:
_okButton
];
}
@end
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/WordOfMouth/Ranking/RankingList/ViewController/RankingListViewController.h
View file @
26faa242
...
@@ -11,11 +11,5 @@
...
@@ -11,11 +11,5 @@
@interface
RankingListViewController
:
UIViewController
@interface
RankingListViewController
:
UIViewController
//@property (nonatomic, strong) UILabel *pointLabel1; // 月度排名
//@property (nonatomic, strong) UILabel *pointLabel2; // 参与商场数量
//@property (nonatomic, strong) DateButton *dateButton; // 年月日
//@property (nonatomic, strong) UILabel *shoppingCountLabel; // 商场数
//@property (nonatomic, strong) UIView *lineView; // 分割线
@end
@end
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/WordOfMouth/Ranking/RankingList/ViewController/RankingListViewController.m
View file @
26faa242
This diff is collapsed.
Click to expand it.
redstar/Classes/Tools/HttpClient/HttpClient.h
View file @
26faa242
...
@@ -113,5 +113,10 @@ typedef void (^completionBlock) (id response, NSError *error);
...
@@ -113,5 +113,10 @@ typedef void (^completionBlock) (id response, NSError *error);
// 口碑取消点赞
// 口碑取消点赞
-
(
void
)
cancelLikePicturePraiseWithCompletion
:(
completionBlock
)
completion
;
-
(
void
)
cancelLikePicturePraiseWithCompletion
:(
completionBlock
)
completion
;
/**
* 口碑排名(新)
*/
// 获取口碑列表
-
(
void
)
queryShortPraiseWithCompletion
:(
completionBlock
)
completion
;
@end
@end
This diff is collapsed.
Click to expand it.
redstar/Classes/Tools/HttpClient/HttpClient.m
View file @
26faa242
...
@@ -397,4 +397,14 @@
...
@@ -397,4 +397,14 @@
}];
}];
}
}
// 获取口碑列表
-
(
void
)
queryShortPraiseWithCompletion
:
(
completionBlock
)
completion
{
[
self
getParameters
:
nil
completion
:
^
(
id
response
,
NSError
*
error
)
{
if
(
completion
)
{
completion
(
response
,
error
);
}
}];
}
@end
@end
This diff is collapsed.
Click to expand it.
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