Commit 68b95116 authored by pete谢兆麟's avatar pete谢兆麟

按比例缩放图片

parent c1666d83
...@@ -80,7 +80,7 @@ extension YHInvitationWithGiftsViewController: UITableViewDelegate, UITableViewD ...@@ -80,7 +80,7 @@ extension YHInvitationWithGiftsViewController: UITableViewDelegate, UITableViewD
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
if indexPath.row == 0 { if indexPath.row == 0 {
return 209 return KScreenWidth / 1.82
} else if indexPath.row == 1 { } else if indexPath.row == 1 {
if self.viewModel.recordModel.list.count == 0 { if self.viewModel.recordModel.list.count == 0 {
return 345 return 345
......
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