|
@@ -101,6 +101,9 @@ class ProductMallBarChartCollectionViewCell: UICollectionViewCell {
|
|
|
|
|
|
private lazy var iconImagView: UIImageView = {
|
|
|
let iconImagView = UIImageView()
|
|
|
+ iconImagView.contentMode = .scaleAspectFill
|
|
|
+ iconImagView.masksToBounds = true
|
|
|
+
|
|
|
iconImagView.image = kImage(name: "pic_preload")
|
|
|
return iconImagView
|
|
|
}()
|
|
@@ -118,7 +121,6 @@ class ProductMallBarChartCollectionViewCell: UICollectionViewCell {
|
|
|
|
|
|
private lazy var titleLabel: UILabel = {
|
|
|
let titleLabel = UILabel()
|
|
|
- titleLabel.text = "海南冰糖心木瓜 1个装"
|
|
|
titleLabel.textColor = k333333Color
|
|
|
titleLabel.font = kScaleMediumFont15
|
|
|
titleLabel.textAlignment = .left
|
|
@@ -128,7 +130,6 @@ class ProductMallBarChartCollectionViewCell: UICollectionViewCell {
|
|
|
|
|
|
private lazy var detailTitleLabel: UILabel = {
|
|
|
let detailTitleLabel = UILabel()
|
|
|
- detailTitleLabel.text = "酸甜可口营养无限"
|
|
|
detailTitleLabel.textColor = k999999Color
|
|
|
detailTitleLabel.font = kScaleRegularFont12
|
|
|
detailTitleLabel.textAlignment = .left
|
|
@@ -137,7 +138,6 @@ class ProductMallBarChartCollectionViewCell: UICollectionViewCell {
|
|
|
|
|
|
private lazy var sellNumberLabel: UILabel = {
|
|
|
let sellNumberLabel = UILabel()
|
|
|
- sellNumberLabel.text = "已售2400件"
|
|
|
sellNumberLabel.textColor = k333333Color
|
|
|
sellNumberLabel.font = kScaleRegularFont11
|
|
|
return sellNumberLabel
|
|
@@ -145,7 +145,6 @@ class ProductMallBarChartCollectionViewCell: UICollectionViewCell {
|
|
|
|
|
|
private lazy var sellPriceLabel: UILabel = {
|
|
|
let sellPriceLabel = UILabel()
|
|
|
- sellPriceLabel.text = "¥11.8"
|
|
|
sellPriceLabel.textColor = kfe352bColor
|
|
|
sellPriceLabel.font = kBoldFont15
|
|
|
sellPriceLabel.textAlignment = .left
|