//
|
// CustomerContentTCell.swift
|
// WanPai
|
//
|
// Created by 无故事王国 on 2023/6/30.
|
//
|
|
import UIKit
|
import JQTools
|
|
class CustomerContentTCell: UITableViewCell {
|
|
@IBOutlet weak var label_title: UILabel!
|
@IBOutlet weak var label_time: UILabel!
|
@IBOutlet weak var label_content: UILabel!
|
|
var noticeItemModel:NoticeItemModel!{
|
didSet{
|
label_title.text = noticeItemModel.noticeTitle
|
label_time.text = noticeItemModel.noticeTime
|
|
let attribute = AttributedStringbuilder.build().add(string: noticeItemModel.noticeContents.jq_filterFromHTML_1(), withFont: .systemFont(ofSize: 13), withColor: UIColor(hexStr: "#3D3D3D"), lineSpace: 4).mutableAttributedString
|
label_content.attributedText = attribute
|
|
}
|
}
|
|
override func awakeFromNib() {
|
super.awakeFromNib()
|
selectionStyle = .none
|
}
|
}
|