@@ -55,10 +55,10 @@ final class ReviewListTableViewCell: BaseTableViewCell {
55
55
56
56
private var sideButton : BaseButton = {
57
57
let button = BaseButton ( )
58
- // button.setImage(EATSSUDesignAsset.Images.icInfo.image, for: .normal)
59
58
button. setTitleColor ( EATSSUDesignAsset . Color. GrayScale. gray400. color, for: . normal)
60
59
button. titleLabel? . font = . caption2
61
60
button. setTitle ( " 신고 " , for: . normal)
61
+ // button.setImage(EATSSUDesignAsset.Images.icInfo.image, for: .normal)
62
62
button. configuration? . contentInsets = . init( top: 0 , leading: 0 , bottom: 0 , trailing: 15 )
63
63
return button
64
64
} ( )
@@ -120,7 +120,6 @@ final class ReviewListTableViewCell: BaseTableViewCell {
120
120
lazy var topStackView : UIStackView = {
121
121
let stackView = UIStackView ( arrangedSubviews: [ profileStackView, dateReportStackView] )
122
122
stackView. axis = . horizontal
123
- // stackView.spacing = 8.adjusted
124
123
stackView. alignment = . fill
125
124
stackView. distribution = . fill
126
125
stackView. backgroundColor = . yellow
@@ -141,7 +140,8 @@ final class ReviewListTableViewCell: BaseTableViewCell {
141
140
private lazy var menuChipCollectionView : UICollectionView = {
142
141
let layout = UICollectionViewFlowLayout ( )
143
142
layout. scrollDirection = . horizontal
144
- layout. minimumLineSpacing = 50
143
+ // MARK: - TODO
144
+ layout. minimumLineSpacing = 4
145
145
// layout.minimumInteritemSpacing = 60
146
146
let cv = UICollectionView ( frame: . zero, collectionViewLayout: layout)
147
147
cv. dataSource = self
@@ -168,8 +168,7 @@ final class ReviewListTableViewCell: BaseTableViewCell {
168
168
169
169
private let dividerView : UIView = {
170
170
let view = UIView ( )
171
- // view.backgroundColor = EATSSUDesignAsset.Color.GrayScale.gray200.color
172
- view. backgroundColor = . red
171
+ view. backgroundColor = EATSSUDesignAsset . Color. GrayScale. gray200. color
173
172
return view
174
173
} ( )
175
174
@@ -187,48 +186,29 @@ final class ReviewListTableViewCell: BaseTableViewCell {
187
186
}
188
187
189
188
override func setLayout( ) {
190
- // profileStackView.snp.makeConstraints { make in
191
- // make.top.equalToSuperview().offset(5)
192
- // make.leading.equalToSuperview().offset(16)
193
- // make.height.equalTo(30)
194
- // }
195
- //
196
- // dateReportStackView.snp.makeConstraints { make in
197
- // make.top.equalTo(profileStackView)
198
- // make.trailing.equalToSuperview().inset(16)
199
- // }
200
189
cellStackView. snp. makeConstraints { make in
201
190
make. edges. equalToSuperview ( )
202
191
}
203
-
204
192
menuChipCollectionView. snp. makeConstraints { make in
205
- // make.top.equalTo(dateReportStackView.snp.bottom).offset(8)
206
193
make. horizontalEdges. equalToSuperview ( )
207
194
make. height. equalTo ( 22 )
208
195
}
209
-
210
196
contentStackView. snp. makeConstraints { make in
211
- // make.top.equalTo(menuChipCollectionView.snp.bottom)
212
197
make. horizontalEdges. equalToSuperview ( )
213
198
}
214
-
215
199
foodImageView. snp. makeConstraints { make in
216
200
make. height. width. equalTo ( 358 )
217
201
}
218
-
219
202
sideButton. snp. makeConstraints { make in
220
203
make. height. equalTo ( 12 . adjusted)
221
204
}
222
-
223
205
reactionView. snp. makeConstraints { make in
224
206
make. horizontalEdges. equalToSuperview ( )
225
207
make. height. equalTo ( 20 )
226
208
}
227
-
228
209
dividerView. snp. makeConstraints { make in
229
210
make. height. equalTo ( 1 )
230
211
}
231
-
232
212
}
233
213
234
214
override func prepareForReuse( ) {
0 commit comments