Commit 1fcb66b7 authored by Sandy's avatar Sandy

修改订单cell图片约束为自适应,防止图片变形

parent cd5f8851
......@@ -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;
......
This diff is collapsed.
......@@ -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 {
......
......@@ -112,19 +112,23 @@
- (void)listTableViewReloadData {
[MBProgressHUD j_hideLoadingView];
if (self.page == 0) {
[self.tableView j_endRefresh];
[self.tableView.mj_footer resetNoMoreData];
} else {
if (self.tableView.mj_header.isRefreshing) {
[self.tableView.mj_header endRefreshing];
if (self.arrData.count == self.pageSize) {
[self.tableView.mj_footer resetNoMoreData];
}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];
}
}
[self.tableView reloadData];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment