Commit 1246862e authored by David黄金龙's avatar David黄金龙

添加 售后H5测评入口 数据结构

parent 5e63b9f4
......@@ -496,10 +496,10 @@ extension YHHomePageViewController {
let indexPathToCheck = IndexPath(item: itemIndex, section: section)
// 然后,检查这个IndexPath是否在当前可见的item列表中
if homeCollectView.indexPathsForVisibleItems.contains(indexPathToCheck) {
printLog("第\(itemNumber)个item已经展示出来了")
// printLog("第\(itemNumber)个item已经展示出来了")
loadMoreData()
} else {
printLog("\(itemNumber)目标不在范围内")
// printLog("\(itemNumber)目标不在范围内")
}
}
}
......
......@@ -13,6 +13,18 @@ class YHSignerInfoModel: SmartCodable {
var name: String = ""
var sex: Int = 0 //0未知 1男 2女
var registration_timestamp: Int64 = -1
//售后H5问卷信息
var afterSalesH5Info:YHAfterSalesH5InfoModel?
required init() {
}
}
class YHAfterSalesH5InfoModel: SmartCodable {
var show: Bool = false //是否展示
var url: String = "" //跳转url
required init() {
}
}
......@@ -73,7 +73,7 @@ class YHHomeHeadView: UIView {
}()
//4.1 测评页入口 - 未登录时展示
//4.1 测评页入口 - 未登录时/没有订单时 展示
lazy var evaluationView: YHEvaluationView = {
let view = YHEvaluationView(frame: .zero)
view.isHidden = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment