Commit f01d6ddd authored by pete谢兆麟's avatar pete谢兆麟

UI走查

parent 33c9f14c
......@@ -60,7 +60,7 @@ class YHInvitationWithGiftsViewModel: YHBaseViewModel {
func postRecord(page: Int, callBackBlock:@escaping (_ success: Bool,_ error:YHErrorModel?)->()) {
let strUrl = YHBaseUrlManager.shared.curURL() + YHAllApiName.Share.record
let param: [String: Any] = ["page": 1,
let param: [String: Any] = ["page": page,
"pagesize": 20]
let _ = YHNetRequest.postRequest(url: strUrl, params: param) { [weak self] json, code in
guard let self = self else { return }
......
......@@ -54,7 +54,7 @@ extension YHLifeViewController {
let label = UILabel(frame: CGRect(x: 0, y: 0, width: KScreenWidth, height: self.view.height - 44 - KScreenWidth - 16))
label.text = "商品未上架,好货不怕晚,敬请期待!"
label.textColor = UIColor.mainTextColor30
label.font = UIFont.PFSC_M(ofSize: 14)
label.font = UIFont.PFSC_L(ofSize: 14)
label.textAlignment = .center
self.tableView.tableFooterView = label
} else {
......@@ -83,7 +83,7 @@ extension YHLifeViewController {
make.top.left.right.equalToSuperview()
make.height.equalTo(44)
}
headView.frame = CGRect(x: 0, y: 0, width: KScreenWidth, height: KScreenWidth + 16)
headView.frame = CGRect(x: 0, y: 0, width: KScreenWidth, height: KScreenWidth + 28)
tableView = {
let tableView = UITableView(frame: .zero, style: .grouped)
tableView.contentInsetAdjustmentBehavior = .never
......
......@@ -27,7 +27,7 @@ class YHLifeHeadView: UIView {
imageView.snp.makeConstraints { make in
make.left.right.equalToSuperview()
make.top.equalTo(8)
make.bottom.equalTo(-8)
make.height.equalTo(KScreenWidth)
}
}
......
......@@ -52,7 +52,7 @@ class YHLifeItemTableViewCell: UITableViewCell {
contentView.addSubview(centerImageView)
centerImageView.snp.makeConstraints { make in
make.centerY.equalToSuperview()
make.left.equalTo(12)
make.left.equalTo(20)
make.height.width.equalTo(100)
}
......@@ -72,7 +72,7 @@ class YHLifeItemTableViewCell: UITableViewCell {
subTitleLabel = {
let view = UILabel()
view.font = UIFont.PFSC_M(ofSize: 14)
view.font = UIFont.PFSC_L(ofSize: 14)
view.textColor = UIColor.mainTextColor50
view.numberOfLines = 2
return view
......
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