ShopCreateTableViewCell.swift 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // ShopCreateTableViewCell.swift
  3. // xingchuangke
  4. //
  5. // Created by Virgil on 2019/3/25.
  6. // Copyright © 2019 Virgil. All rights reserved.
  7. //
  8. import UIKit
  9. class ShopCreateTableViewCell: UITableViewCell {
  10. @IBOutlet weak var imgChecked: UIImageView!
  11. @IBOutlet weak var btnDetail: UIButton!
  12. @IBOutlet weak var lblRemark: UILabel!
  13. @IBOutlet weak var lblTitle: UILabel!
  14. @IBOutlet weak var img: UIImageView!
  15. override func awakeFromNib() {
  16. super.awakeFromNib()
  17. // Initialization code
  18. btnDetail.setLayer(borderWidth: 1, color: 0x37a6ff)
  19. btnDetail.setCornerRadius(size: 2)
  20. img.loadImage(imgUrl: "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1553517362319&di=e9448addf10995994a40d6468809e3be&imgtype=0&src=http%3A%2F%2Fimg.jdzj.com%2FUserDocument%2F2015a%2Flu990455650%2FPicture%2F2015412154124.jpg", defaultImage: "")
  21. img.setCornerRadius(size: 12)
  22. }
  23. override func setSelected(_ selected: Bool, animated: Bool) {
  24. super.setSelected(selected, animated: animated)
  25. // Configure the view for the selected state
  26. }
  27. }