Commit 520b0dff authored by Steven杜宇's avatar Steven杜宇

// 活动

parent 4c5fc6d0
...@@ -88,6 +88,7 @@ class YHActivitySignSuccessViewController: YHBaseViewController { ...@@ -88,6 +88,7 @@ class YHActivitySignSuccessViewController: YHBaseViewController {
tableView.dataSource = self tableView.dataSource = self
tableView.backgroundColor = .clear tableView.backgroundColor = .clear
tableView.separatorStyle = .none tableView.separatorStyle = .none
tableView.showsVerticalScrollIndicator = false
tableView.register(YHSignPrizeCell.self, forCellReuseIdentifier: YHSignPrizeCell.cellReuseIdentifier) tableView.register(YHSignPrizeCell.self, forCellReuseIdentifier: YHSignPrizeCell.cellReuseIdentifier)
tableView.register(YHSignActivityInfoCell.self, forCellReuseIdentifier: YHSignActivityInfoCell.cellReuseIdentifier) tableView.register(YHSignActivityInfoCell.self, forCellReuseIdentifier: YHSignActivityInfoCell.cellReuseIdentifier)
view.addSubview(tableView) view.addSubview(tableView)
......
...@@ -43,7 +43,7 @@ class YHSignActivityInfoCell: UITableViewCell { ...@@ -43,7 +43,7 @@ class YHSignActivityInfoCell: UITableViewCell {
titleLabel.numberOfLines = 0 titleLabel.numberOfLines = 0
containerView.addSubview(titleLabel) containerView.addSubview(titleLabel)
thumbnailImageView.contentMode = .scaleAspectFit thumbnailImageView.contentMode = .scaleAspectFill
thumbnailImageView.layer.cornerRadius = 4 thumbnailImageView.layer.cornerRadius = 4
thumbnailImageView.clipsToBounds = true thumbnailImageView.clipsToBounds = true
containerView.addSubview(thumbnailImageView) containerView.addSubview(thumbnailImageView)
......
...@@ -66,7 +66,6 @@ struct YHScanType: OptionSet { ...@@ -66,7 +66,6 @@ struct YHScanType: OptionSet {
// return .smartCabinet // return .smartCabinet
// } // }
// 如果只有一个类型,直接返回 // 如果只有一个类型,直接返回
if self == .checkIn { if self == .checkIn {
return .checkIn return .checkIn
......
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