Commit f696ae7a authored by David黄金龙's avatar David黄金龙

修改 几处bug

parent 9f585c97
......@@ -160,7 +160,7 @@ private extension YHHKPlanItemView {
iconImageV.snp.makeConstraints { make in
make.left.equalTo(nameLable.snp.right).offset(4)
make.centerY.equalTo(nameLable)
make.height.width.equalTo(16)
make.height.width.equalTo(18)
}
iconImageV.isHidden = true
......
......@@ -577,8 +577,11 @@ private extension YHPreviewViewModel {
do {
//国家信息
let tmp0 = YHPreviewQuestionAndAnswerModel(question: "国家/国籍:", answer: model.nationality)
let tmp1 = YHPreviewQuestionAndAnswerModel(question: "港澳通行证:", answer: model.is_handled == 0 ? "未办理" : "已办理")
let arr = [tmp0,tmp1]
var arr = [tmp0]
if model.nationality.contains("中国") {
let tmp1 = YHPreviewQuestionAndAnswerModel(question: "港澳通行证:", answer: model.is_handled == 0 ? "未办理" : "已办理")
arr.append(tmp1)
}
let model1 = YHPreviewInfoSessionModel(cellType: .countryInfoType, cellTitle: "国籍信息", cellData0: arr)
arrDataForMainApplicationInfo.append(model1)
}
......
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