12345678910111213141516171819202122232425262728293031323334 |
- //
- // ShoppingMallTableViewCell.swift
- // CommonFrame
- //
- // Created by Virgil on 2019/4/18.
- // Copyright © 2019 Virgil. All rights reserved.
- //
- import UIKit
- class ShoppingMallTableViewCell: UITableViewCell {
- @IBOutlet weak var lblMoney: UILabel!
- @IBOutlet weak var lblDesc: UILabel!
- @IBOutlet weak var lblName: UILabel!
- @IBOutlet weak var imgShow: UIImageView!
- @IBOutlet weak var viewContent: UIView!
- override func awakeFromNib() {
- super.awakeFromNib()
- // Initialization code
- self.setSizeWidth(width: ScreenWidth)
- viewContent.setCornerRadius(size: 8)
- // let width = (ScreenWidth - 24) * 0.4
- // imgShow.setSize(width: width, height: width / 166 * 129)
- // viewContent.setSizeHeight(height: imgShow.bottom())
- }
- override func setSelected(_ selected: Bool, animated: Bool) {
- super.setSelected(selected, animated: animated)
- }
- }
|