1234567891011121314151617181920212223242526272829303132333435 |
- //
- // ShopCreateTableViewCell.swift
- // xingchuangke
- //
- // Created by Virgil on 2019/3/25.
- // Copyright © 2019 Virgil. All rights reserved.
- //
- import UIKit
- class ShopCreateTableViewCell: UITableViewCell {
- @IBOutlet weak var imgChecked: UIImageView!
- @IBOutlet weak var btnDetail: UIButton!
- @IBOutlet weak var lblRemark: UILabel!
- @IBOutlet weak var lblTitle: UILabel!
- @IBOutlet weak var img: UIImageView!
- override func awakeFromNib() {
- super.awakeFromNib()
- // Initialization code
- btnDetail.setLayer(borderWidth: 1, color: 0x37a6ff)
- btnDetail.setCornerRadius(size: 2)
- 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: "")
- img.setCornerRadius(size: 12)
- }
- override func setSelected(_ selected: Bool, animated: Bool) {
- super.setSelected(selected, animated: animated)
- // Configure the view for the selected state
- }
- }
|