younger_times
2023-07-24 858bd6df13a6a6415d12d8e60141575574646f58
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
//  SearchBannerCCell.swift
//  WanPai
//
//  Created by 无故事王国 on 2023/6/30.
//
 
import UIKit
 
class SearchBannerCCell: UICollectionViewCell {
    @IBOutlet weak var img_cover: UIImageView!
    @IBOutlet weak var label_distance: UILabel!
    @IBOutlet weak var label_title: UILabel!
    @IBOutlet weak var label_address: UILabel!
 
    var startClouseExploreItemModel:StartClouseExploreModel!{
        didSet{
            img_cover.sd_setImage(with: URL(string: startClouseExploreItemModel.storeImg))
            label_distance.text = String(format: "离你最近%.1lfkm", startClouseExploreItemModel.distance)
            label_title.text = startClouseExploreItemModel.storeName
            label_address.text = startClouseExploreItemModel.storeAddr
        }
    }
 
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
 
}