Commit f7c2b2d1 authored by Steven杜宇's avatar Steven杜宇

// 赴港

parent e21f878b
...@@ -37,7 +37,11 @@ class YHGrabingNumberListCell: UITableViewCell { ...@@ -37,7 +37,11 @@ class YHGrabingNumberListCell: UITableViewCell {
listView.grabInfoView.updateItems(items1) listView.grabInfoView.updateItems(items1)
// 意向信息 // 意向信息
let items2 = [YHGrabItem(type: .info, title: "期望赴港时间:", detail: "\(group.wantMinTime) ~ \(group.wantMaxTime)",isSingleLine: true), let wantTimeText = "\(group.wantMinTime) ~ \(group.wantMaxTime)"
if group.wantMinTime == group.wantMaxTime {
wantTimeText = group.wantMinTime
}
let items2 = [YHGrabItem(type: .info, title: "期望赴港时间:", detail: wantTimeText,isSingleLine: true),
YHGrabItem(type: .info, title: "期望香港办证点:", detail: group.wantImmigrationOffice, isSingleLine: false)] YHGrabItem(type: .info, title: "期望香港办证点:", detail: group.wantImmigrationOffice, isSingleLine: false)]
listView.intentionInfoView.updateItems(items2) listView.intentionInfoView.updateItems(items2)
......
...@@ -30,7 +30,11 @@ class YHHaveGrabbedNumberListCell: UITableViewCell { ...@@ -30,7 +30,11 @@ class YHHaveGrabbedNumberListCell: UITableViewCell {
listView.grabInfoView.updateItems(items1) listView.grabInfoView.updateItems(items1)
// 意向信息 // 意向信息
let items2 = [YHGrabItem(type: .info, title: "期望赴港时间:", detail: "\(group.wantMinTime) ~ \(group.wantMaxTime)", isSingleLine:true), let wantTimeText = "\(group.wantMinTime) ~ \(group.wantMaxTime)"
if group.wantMinTime == group.wantMaxTime {
wantTimeText = group.wantMinTime
}
let items2 = [YHGrabItem(type: .info, title: "期望赴港时间:", detail: wantTimeText, isSingleLine:true),
YHGrabItem(type: .info, title: "期望香港办证点:", detail: group.wantImmigrationOffice, isSingleLine:false)] YHGrabItem(type: .info, title: "期望香港办证点:", detail: group.wantImmigrationOffice, isSingleLine:false)]
listView.intentionInfoView.updateItems(items2) listView.intentionInfoView.updateItems(items2)
......
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