Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
Car-iOS-Merchant
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
张杰
Car-iOS-Merchant
Commits
1fcb66b7
Commit
1fcb66b7
authored
Mar 23, 2017
by
Sandy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改订单cell图片约束为自适应,防止图片变形
parent
cd5f8851
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
43 deletions
+35
-43
project.pbxproj
Car.xcodeproj/project.pbxproj
+0
-4
Main.storyboard
Car/Base.lproj/Main.storyboard
+20
-28
MainViewController.m
Car/CodeClass/Main/ViewControllers/MainViewController.m
+3
-3
BaseListViewController.m
Car/tools/BaseClass/BaseListViewController.m
+12
-8
No files found.
Car.xcodeproj/project.pbxproj
View file @
1fcb66b7
...
...
@@ -7,9 +7,7 @@
objects
=
{
/* Begin PBXBuildFile section */
19413CC62AA7F91BAA93A7AC
/* libPods-car_base-Car.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
F5E1689EFB8A98572A90A6D3
/* libPods-car_base-Car.a */
;
};
3ACF93FF5CBBDE59C28DC356
/* libPods-car_base-Car-Customer Release.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
C54D3C7AD614F01AAF598ED8
/* libPods-car_base-Car-Customer Release.a */
;
};
53DE6594F962D3D35D9FB355
/* libPods-car_base-Car Release.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E3A60FCFD401BA3D051DAF70
/* libPods-car_base-Car Release.a */
;
};
8F2095511E15171600FBED74
/* UMengHelper.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
8F2095501E15171600FBED74
/* UMengHelper.m */
;
};
8F2095521E15171600FBED74
/* UMengHelper.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
8F2095501E15171600FBED74
/* UMengHelper.m */
;
};
8F2095551E15188500FBED74
/* JPushHelper.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
8F2095541E15188500FBED74
/* JPushHelper.m */
;
};
...
...
@@ -281,7 +279,6 @@
isa
=
PBXFrameworksBuildPhase
;
buildActionMask
=
2147483647
;
files
=
(
19413CC62AA7F91BAA93A7AC
/* libPods-car_base-Car.a in Frameworks */
,
F16EFE19711BD2F266C2D5A4
/* libPods-car_base-Car-Customer.a in Frameworks */
,
);
runOnlyForDeploymentPostprocessing
=
0
;
...
...
@@ -304,7 +301,6 @@
isa
=
PBXFrameworksBuildPhase
;
buildActionMask
=
2147483647
;
files
=
(
53DE6594F962D3D35D9FB355
/* libPods-car_base-Car Release.a in Frameworks */
,
3ACF93FF5CBBDE59C28DC356
/* libPods-car_base-Car-Customer Release.a in Frameworks */
,
);
runOnlyForDeploymentPostprocessing
=
0
;
...
...
Car/Base.lproj/Main.storyboard
View file @
1fcb66b7
This diff is collapsed.
Click to expand it.
Car/CodeClass/Main/ViewControllers/MainViewController.m
View file @
1fcb66b7
...
...
@@ -64,9 +64,9 @@
}];
}
-
(
CGFloat
)
tableView
:
(
UITableView
*
)
tableView
heightForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
return
128
;
}
//
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
//
return 128;
//
}
-
(
UITableViewCell
*
)
tableView
:
(
UITableView
*
)
tableView
cellForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
...
...
Car/tools/BaseClass/BaseListViewController.m
View file @
1fcb66b7
...
...
@@ -113,15 +113,19 @@
-
(
void
)
listTableViewReloadData
{
[
MBProgressHUD
j_hideLoadingView
];
if
(
self
.
page
==
0
)
{
[
self
.
tableView
j_endRefresh
];
if
(
self
.
tableView
.
mj_header
.
isRefreshing
)
{
[
self
.
tableView
.
mj_header
endRefreshing
];
if
(
self
.
arrData
.
count
==
self
.
pageSize
)
{
[
self
.
tableView
.
mj_footer
resetNoMoreData
];
}
else
{
}
else
{
[
self
.
tableView
.
mj_footer
endRefreshingWithNoMoreData
];
}
}
else
if
(
self
.
tableView
.
mj_footer
.
isRefreshing
){
if
(
self
.
arrData
.
count
<
self
.
pageSize
*
self
.
page
)
{
[
self
.
tableView
.
mj_footer
endRefreshingWithNoMoreData
];
}
else
{
[
self
.
tableView
j_endRefresh
];
[
self
.
tableView
.
mj_footer
endRefreshing
];
}
}
...
...
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