Commit 10fc75150e33890e22b9024eea1a3e74b3a561a5
1 parent
6a547476
我的-列表箭头不能点击问题
数字简历页面-已经设置位置,设置不展示位置,不显示'位置未授权' 数字简历页面-设置手机号没保存问题,简历不显示
Showing
3 changed files
with
8 additions
and
2 deletions
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/数字简历相关页面/CNLiveDigitalResumeInfoController.swift
| @@ -478,6 +478,8 @@ class CNLiveDigitalResumeInfoController:CNLiveBaseViewController, UITextFieldDel | @@ -478,6 +478,8 @@ class CNLiveDigitalResumeInfoController:CNLiveBaseViewController, UITextFieldDel | ||
| 478 | userDic.updateValue(self.phoneTextFiled.text ?? "", forKey: "jianli_phone") | 478 | userDic.updateValue(self.phoneTextFiled.text ?? "", forKey: "jianli_phone") |
| 479 | UserDefaults.standard.setValue(userDic, forKey: UserInfoManager.shared.userInfo.uid) | 479 | UserDefaults.standard.setValue(userDic, forKey: UserInfoManager.shared.userInfo.uid) |
| 480 | UserDefaults.standard.synchronize() | 480 | UserDefaults.standard.synchronize() |
| 481 | + self.updateViate(key: "jianli_phone", value: self.phoneTextFiled.text ?? "") | ||
| 482 | + | ||
| 481 | }else{ | 483 | }else{ |
| 482 | let tempDic = NSMutableDictionary() | 484 | let tempDic = NSMutableDictionary() |
| 483 | UserDefaults.standard.setValue(tempDic, forKey: UserInfoManager.shared.userInfo.uid) | 485 | UserDefaults.standard.setValue(tempDic, forKey: UserInfoManager.shared.userInfo.uid) |
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/DigitalResume/CNLiveDigitalResumeCell.swift
| @@ -774,7 +774,10 @@ class CNLiveDigitalResumeCell: UITableViewCell { | @@ -774,7 +774,10 @@ class CNLiveDigitalResumeCell: UITableViewCell { | ||
| 774 | phoneTitleLabelStr = phoneTitleLabelStr+" | "+ageStr+"岁" | 774 | phoneTitleLabelStr = phoneTitleLabelStr+" | "+ageStr+"岁" |
| 775 | } | 775 | } |
| 776 | if (model.vitae?.showPhone ?? false) == true{ | 776 | if (model.vitae?.showPhone ?? false) == true{ |
| 777 | - phoneTitleLabelStr = phoneTitleLabelStr+" | "+UserInfoManager.shared.userInfo.mobile | 777 | + let tempStr = (model.vitae?.phone.count ?? 0 > 0 ? model.vitae!.phone : UserInfoManager.shared.userInfo.mobile) |
| 778 | + if tempStr.count > 0{ | ||
| 779 | + phoneTitleLabelStr = phoneTitleLabelStr+" | "+tempStr | ||
| 780 | + } | ||
| 778 | } | 781 | } |
| 779 | 782 | ||
| 780 | self.phoneTitleLabel.text = phoneTitleLabelStr | 783 | self.phoneTitleLabel.text = phoneTitleLabelStr |
| @@ -801,7 +804,7 @@ class CNLiveDigitalResumeCell: UITableViewCell { | @@ -801,7 +804,7 @@ class CNLiveDigitalResumeCell: UITableViewCell { | ||
| 801 | if model.vitae?.city.count ?? 0 > 0 && model.vitae?.showAddress == true{ | 804 | if model.vitae?.city.count ?? 0 > 0 && model.vitae?.showAddress == true{ |
| 802 | self.weizhiTitleLabel.text = " | "+model.vitae!.city | 805 | self.weizhiTitleLabel.text = " | "+model.vitae!.city |
| 803 | }else{ | 806 | }else{ |
| 804 | - self.weizhiTitleLabel.text = " | 位置未授权" | 807 | + self.weizhiTitleLabel.text = ""//" | 位置未授权" |
| 805 | } | 808 | } |
| 806 | if model.vitae?.workTime.count ?? 0 > 0{ | 809 | if model.vitae?.workTime.count ?? 0 > 0{ |
| 807 | self.workTitleLabel.text = model.vitae!.workTime | 810 | self.workTitleLabel.text = model.vitae!.workTime |
metaCode/Classes/Main/MinePage/View/CNLiveMineBodyListView.swift
| @@ -173,6 +173,7 @@ class MineBodyTwoListViewCell : UITableViewCell { | @@ -173,6 +173,7 @@ class MineBodyTwoListViewCell : UITableViewCell { | ||
| 173 | moreBtn.setImage(UIImage(named: "mine_list_icon_right_more"), for: .normal) | 173 | moreBtn.setImage(UIImage(named: "mine_list_icon_right_more"), for: .normal) |
| 174 | moreBtn.layer.masksToBounds = true | 174 | moreBtn.layer.masksToBounds = true |
| 175 | moreBtn.layer.cornerRadius = 15 | 175 | moreBtn.layer.cornerRadius = 15 |
| 176 | + moreBtn.isUserInteractionEnabled = false | ||
| 176 | return moreBtn | 177 | return moreBtn |
| 177 | }() | 178 | }() |
| 178 | lazy var descLabel: UILabel = { | 179 | lazy var descLabel: UILabel = { |