Commit ce91365ab101db5928b841457cbfa6707cd561f6

Authored by “张旭”
1 parent 0aa68377

预览简历页管理证书和获奖 跳转工作记录列表页面 , 获奖情况列表页

metaCode/Classes/Main/HomePage/Controller/DigitalAuth/数字简历相关页面/CNLiveDigitalResumeController.swift
... ... @@ -78,7 +78,7 @@ class CNLiveDigitalResumeController:CNLiveBaseViewController,UITableViewDataSour
78 78 navigationBarHidden = false
79 79 self.view.backgroundColor = HexColor("#F5F6FB")
80 80  
81   -// self.rightNavBtns = [self.moreNavBtn]
  81 + self.rightNavBtns = [self.moreNavBtn]
82 82  
83 83 self.view.addSubview(self.tableView)
84 84 self.tableView.snp.makeConstraints { make in
... ...
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/数字简历相关页面/CNLiveDigitalResumePreViewController.swift
... ... @@ -97,6 +97,15 @@ class CNLiveDigitalResumePreViewController:CNLiveBaseViewController,UITableViewD
97 97 tableView.backgroundColor = .clear
98 98 return tableView
99 99 }()
  100 + lazy var moreNavBtn: UIButton = {
  101 + let moreNavBtn = UIButton(type: .custom)
  102 + moreNavBtn.frame = CGRect(x: 0, y: KStatusBarHeight, width: KNavigationHeight-KStatusBarHeight, height: KNavigationHeight-KStatusBarHeight)
  103 + moreNavBtn.backgroundColor = .clear
  104 + moreNavBtn.setImage(UIImage(named: "web_more"), for: .normal)
  105 + moreNavBtn.addTarget(self, action: #selector(moreNavBtnAction), for: .touchUpInside)
  106 + return moreNavBtn
  107 + }()
  108 +
100 109 lazy var bottomZhiNanWhiteView :UIView = {
101 110 let bottomNavView = UIView()
102 111 bottomNavView.backgroundColor = .white
... ... @@ -133,6 +142,8 @@ class CNLiveDigitalResumePreViewController:CNLiveBaseViewController,UITableViewD
133 142 navigationBarHidden = false
134 143 self.view.backgroundColor = HexColor("#F5F6FB")
135 144  
  145 + self.rightNavBtns = [self.moreNavBtn]
  146 +
136 147 self.view.addSubview(self.bgImgView)
137 148 self.bgImgView.snp.makeConstraints { make in
138 149 make.top.equalTo(KNavigationHeight)
... ... @@ -349,12 +360,16 @@ class CNLiveDigitalResumePreViewController:CNLiveBaseViewController,UITableViewD
349 360 }
350 361  
351 362 @objc func settingBtnAction(){
352   -
  363 + let vc = CNLiveDigitalResumeInfoController()
  364 + currentViewController()?.navigationController?.pushViewController(vc, animated: true)
353 365 }
354 366 @objc func previewBtnAction(){
355 367  
356 368 }
357 369  
  370 + @objc func moreNavBtnAction(){
  371 + print("moreNavBtnAction")
  372 + }
358 373  
359 374 // MARK: - 获取证书数量
360 375 func getCetList(){
... ...
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/我的简历cell/CNLiveDigitalResumePreviewFourCell.swift
... ... @@ -178,7 +178,7 @@ class CNLiveDigitalResumePreviewFourCell: UITableViewCell {
178 178  
179 179 lazy var zhengshuBtn: UIButton = {
180 180 let closeBtn = UIButton(type: .custom)
181   - closeBtn.setTitle("关联工作", for: .normal)
  181 + closeBtn.setTitle("管理工作记录", for: .normal)
182 182 closeBtn.setTitleColor(HexColor("#1961FE"), for: .normal)
183 183 closeBtn.titleLabel?.font = BoldFont_14
184 184 closeBtn.layer.borderColor = HexColor("#1961FE")?.cgColor
... ... @@ -287,7 +287,7 @@ class CNLiveDigitalResumePreviewFourCell: UITableViewCell {
287 287 self.zhengshuBtn.snp.makeConstraints { make in
288 288 make.centerX.equalToSuperview()
289 289 make.bottom.equalToSuperview().offset(-20)
290   - make.width.equalTo(86)
  290 + make.width.equalTo(110)
291 291 make.height.equalTo(34)
292 292 }
293 293  
... ... @@ -416,7 +416,7 @@ class CNLiveDigitalResumePreviewFourCell: UITableViewCell {
416 416  
417 417 self.workDingWeiTitleLabel.isHidden = true
418 418 self.dingweiImgView.isHidden = true
419   - self.zhengshuBtn.setTitle("关联获奖", for: .normal)
  419 + self.zhengshuBtn.setTitle("管理获奖情况", for: .normal)
420 420 self.nameIconImgView.image = UIImage(named: "mine_jianli_preview_award")
421 421 }
422 422 func setupNewUI(model:CNLiveVitaeWorksModel){
... ... @@ -583,10 +583,14 @@ class CNLiveDigitalResumePreviewFourCell: UITableViewCell {
583 583 @objc func zhengshuBtnAction(){
584 584 if self.workMdl != nil{
585 585 //跳转 选择工作记录页面
586   -
  586 + let vc = CNLiveVitaeWorkDetailController()
  587 + vc.workAwardType = .work
  588 + navigationViewController().pushViewController(vc, animated: true)
587 589 }else if self.awardModel != nil{
588 590 //跳转 选择获奖情况页面
589   -
  591 + let vc = CNLiveVitaeWorkDetailController()
  592 + vc.workAwardType = .award
  593 + navigationViewController().pushViewController(vc, animated: true)
590 594 }else{
591 595  
592 596 }
... ...