|
@@ -19,6 +19,12 @@ class OrderCommentDefaultCollectionCell: UICollectionViewCell {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ var noteStr: String? {
|
|
|
|
+ didSet {
|
|
|
|
+ titleLabel.text = noteStr
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
class func cellWith(collectionView:UICollectionView,indexPath:IndexPath) -> OrderCommentDefaultCollectionCell {
|
|
class func cellWith(collectionView:UICollectionView,indexPath:IndexPath) -> OrderCommentDefaultCollectionCell {
|
|
let ID = "OrderCommentDefaultCollectionCell.swift"
|
|
let ID = "OrderCommentDefaultCollectionCell.swift"
|
|
collectionView.register(OrderCommentDefaultCollectionCell.self, forCellWithReuseIdentifier: ID)
|
|
collectionView.register(OrderCommentDefaultCollectionCell.self, forCellWithReuseIdentifier: ID)
|
|
@@ -94,7 +100,6 @@ class OrderCommentDefaultCollectionCell: UICollectionViewCell {
|
|
|
|
|
|
private lazy var titleLabel: UILabel = {
|
|
private lazy var titleLabel: UILabel = {
|
|
let titleLabel = UILabel()
|
|
let titleLabel = UILabel()
|
|
- titleLabel.text = "添加照片"
|
|
|
|
titleLabel.textColor = k666666Color
|
|
titleLabel.textColor = k666666Color
|
|
titleLabel.font = kRegularFont12
|
|
titleLabel.font = kRegularFont12
|
|
titleLabel.textAlignment = .center
|
|
titleLabel.textAlignment = .center
|