Commit 56d68e4b authored by David黄金龙's avatar David黄金龙

点击优化

parent fad5653f
...@@ -123,39 +123,9 @@ extension YHServiceCenterMainViewController : UITableViewDelegate,UITableViewDat ...@@ -123,39 +123,9 @@ extension YHServiceCenterMainViewController : UITableViewDelegate,UITableViewDat
return UIView() return UIView()
} }
// func tableView(_ tableView: UITableView, es indexPath: IndexPath) -> CGFloat {
// if indexPath.section == 0 {
// if indexPath.row == 0 {
// return 136
// } else if indexPath.row == 1 {
// return 194
// } else if indexPath.row == 2 {
// return 113
// } else if indexPath.row == 3 {
// return 138 + 15
// } else if indexPath.row == 4 {
// return YHDavidCell4.cellHeight
// } else if indexPath.row == 5 {
// return YHDavidCell5.cellHeight
// }
//
// return 100
// }
// return CGRectGetHeight(self.view.bounds)
// }
// func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
// return 81.0
// }
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: YHContractCell.cellReuseIdentifier, for: indexPath) as! YHContractCell let cell = tableView.dequeueReusableCell(withIdentifier: YHContractCell.cellReuseIdentifier, for: indexPath) as! YHContractCell
cell.selectionStyle = .none
return cell return cell
} }
......
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