Commit 8cf2050f4de937e26340ab86c929950cb0a4d697
1 parent
c3bdc557
预览简历-实名cell , 官方认证cell
Showing
25 changed files
with
687 additions
and
31 deletions
metaCode.xcodeproj/project.pbxproj
| @@ -16,6 +16,7 @@ | @@ -16,6 +16,7 @@ | ||
| 16 | 1909DCA52C63736C001E7986 /* CNLiveDigitalResumePreviewFourCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1909DCA42C63736C001E7986 /* CNLiveDigitalResumePreviewFourCell.swift */; }; | 16 | 1909DCA52C63736C001E7986 /* CNLiveDigitalResumePreviewFourCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1909DCA42C63736C001E7986 /* CNLiveDigitalResumePreviewFourCell.swift */; }; |
| 17 | 1909DCA72C637378001E7986 /* CNLiveDigitalResumePreviewFiveCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1909DCA62C637378001E7986 /* CNLiveDigitalResumePreviewFiveCell.swift */; }; | 17 | 1909DCA72C637378001E7986 /* CNLiveDigitalResumePreviewFiveCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1909DCA62C637378001E7986 /* CNLiveDigitalResumePreviewFiveCell.swift */; }; |
| 18 | 1909DCA92C63738C001E7986 /* CNLiveDigitalResumePreviewSixCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1909DCA82C63738C001E7986 /* CNLiveDigitalResumePreviewSixCell.swift */; }; | 18 | 1909DCA92C63738C001E7986 /* CNLiveDigitalResumePreviewSixCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1909DCA82C63738C001E7986 /* CNLiveDigitalResumePreviewSixCell.swift */; }; |
| 19 | + 1909DCAB2C649C10001E7986 /* CNLiveDigitalResumePreViewSecCollectionCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1909DCAA2C649C10001E7986 /* CNLiveDigitalResumePreViewSecCollectionCell.swift */; }; | ||
| 19 | 19123FC12ABC11170075C883 /* CNWebViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19123FC02ABC11170075C883 /* CNWebViewController.swift */; }; | 20 | 19123FC12ABC11170075C883 /* CNWebViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19123FC02ABC11170075C883 /* CNWebViewController.swift */; }; |
| 20 | 1917328E2B032583007BCC04 /* CNLiveRoundedRectView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1917328D2B032583007BCC04 /* CNLiveRoundedRectView.swift */; }; | 21 | 1917328E2B032583007BCC04 /* CNLiveRoundedRectView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1917328D2B032583007BCC04 /* CNLiveRoundedRectView.swift */; }; |
| 21 | 191732902B0348F6007BCC04 /* CNLiveSwitchView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1917328F2B0348F6007BCC04 /* CNLiveSwitchView.swift */; }; | 22 | 191732902B0348F6007BCC04 /* CNLiveSwitchView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1917328F2B0348F6007BCC04 /* CNLiveSwitchView.swift */; }; |
| @@ -362,6 +363,7 @@ | @@ -362,6 +363,7 @@ | ||
| 362 | 1909DCA42C63736C001E7986 /* CNLiveDigitalResumePreviewFourCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveDigitalResumePreviewFourCell.swift; sourceTree = "<group>"; }; | 363 | 1909DCA42C63736C001E7986 /* CNLiveDigitalResumePreviewFourCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveDigitalResumePreviewFourCell.swift; sourceTree = "<group>"; }; |
| 363 | 1909DCA62C637378001E7986 /* CNLiveDigitalResumePreviewFiveCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveDigitalResumePreviewFiveCell.swift; sourceTree = "<group>"; }; | 364 | 1909DCA62C637378001E7986 /* CNLiveDigitalResumePreviewFiveCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveDigitalResumePreviewFiveCell.swift; sourceTree = "<group>"; }; |
| 364 | 1909DCA82C63738C001E7986 /* CNLiveDigitalResumePreviewSixCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveDigitalResumePreviewSixCell.swift; sourceTree = "<group>"; }; | 365 | 1909DCA82C63738C001E7986 /* CNLiveDigitalResumePreviewSixCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveDigitalResumePreviewSixCell.swift; sourceTree = "<group>"; }; |
| 366 | + 1909DCAA2C649C10001E7986 /* CNLiveDigitalResumePreViewSecCollectionCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveDigitalResumePreViewSecCollectionCell.swift; sourceTree = "<group>"; }; | ||
| 365 | 19123FC02ABC11170075C883 /* CNWebViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNWebViewController.swift; sourceTree = "<group>"; }; | 367 | 19123FC02ABC11170075C883 /* CNWebViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNWebViewController.swift; sourceTree = "<group>"; }; |
| 366 | 1917328D2B032583007BCC04 /* CNLiveRoundedRectView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveRoundedRectView.swift; sourceTree = "<group>"; }; | 368 | 1917328D2B032583007BCC04 /* CNLiveRoundedRectView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveRoundedRectView.swift; sourceTree = "<group>"; }; |
| 367 | 1917328F2B0348F6007BCC04 /* CNLiveSwitchView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveSwitchView.swift; sourceTree = "<group>"; }; | 369 | 1917328F2B0348F6007BCC04 /* CNLiveSwitchView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveSwitchView.swift; sourceTree = "<group>"; }; |
| @@ -771,6 +773,7 @@ | @@ -771,6 +773,7 @@ | ||
| 771 | children = ( | 773 | children = ( |
| 772 | 1909DC9D2C637339001E7986 /* CNLiveDigitalResumePreViewFirCell.swift */, | 774 | 1909DC9D2C637339001E7986 /* CNLiveDigitalResumePreViewFirCell.swift */, |
| 773 | 1909DC9F2C637349001E7986 /* CNLiveDigitalResumePreViewSecCell.swift */, | 775 | 1909DC9F2C637349001E7986 /* CNLiveDigitalResumePreViewSecCell.swift */, |
| 776 | + 1909DCAA2C649C10001E7986 /* CNLiveDigitalResumePreViewSecCollectionCell.swift */, | ||
| 774 | 1909DCA12C637353001E7986 /* CNLiveDigitalResumePreviewThreeCell.swift */, | 777 | 1909DCA12C637353001E7986 /* CNLiveDigitalResumePreviewThreeCell.swift */, |
| 775 | 1909DCA42C63736C001E7986 /* CNLiveDigitalResumePreviewFourCell.swift */, | 778 | 1909DCA42C63736C001E7986 /* CNLiveDigitalResumePreviewFourCell.swift */, |
| 776 | 1909DCA62C637378001E7986 /* CNLiveDigitalResumePreviewFiveCell.swift */, | 779 | 1909DCA62C637378001E7986 /* CNLiveDigitalResumePreviewFiveCell.swift */, |
| @@ -2285,6 +2288,7 @@ | @@ -2285,6 +2288,7 @@ | ||
| 2285 | 19AD65AE2BA177C20045A444 /* CNLiveShopGoodsDetailsTableHeaderView.swift in Sources */, | 2288 | 19AD65AE2BA177C20045A444 /* CNLiveShopGoodsDetailsTableHeaderView.swift in Sources */, |
| 2286 | 192ED46B2C4F77450057244C /* CNLiveHangYeSecCell.swift in Sources */, | 2289 | 192ED46B2C4F77450057244C /* CNLiveHangYeSecCell.swift in Sources */, |
| 2287 | 19BB1FE62AEB93B80094D962 /* CNLiveShopUserInfoModel.swift in Sources */, | 2290 | 19BB1FE62AEB93B80094D962 /* CNLiveShopUserInfoModel.swift in Sources */, |
| 2291 | + 1909DCAB2C649C10001E7986 /* CNLiveDigitalResumePreViewSecCollectionCell.swift in Sources */, | ||
| 2288 | 19DFE64D2C4792C500E428AE /* CNLiveDigitalResumeInfoController.swift in Sources */, | 2292 | 19DFE64D2C4792C500E428AE /* CNLiveDigitalResumeInfoController.swift in Sources */, |
| 2289 | 7CD675472A274167008354C1 /* NewPagedFlowView.m in Sources */, | 2293 | 7CD675472A274167008354C1 /* NewPagedFlowView.m in Sources */, |
| 2290 | 191732ED2B073C52007BCC04 /* CNLiveShopClassifyListModel.swift in Sources */, | 2294 | 191732ED2B073C52007BCC04 /* CNLiveShopClassifyListModel.swift in Sources */, |
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/数字简历相关页面/CNLiveDigitalResumeController.swift
| @@ -78,7 +78,7 @@ class CNLiveDigitalResumeController:CNLiveBaseViewController,UITableViewDataSour | @@ -78,7 +78,7 @@ class CNLiveDigitalResumeController:CNLiveBaseViewController,UITableViewDataSour | ||
| 78 | navigationBarHidden = false | 78 | navigationBarHidden = false |
| 79 | self.view.backgroundColor = HexColor("#F5F6FB") | 79 | self.view.backgroundColor = HexColor("#F5F6FB") |
| 80 | 80 | ||
| 81 | - self.rightNavBtns = [self.moreNavBtn] | 81 | +// self.rightNavBtns = [self.moreNavBtn] |
| 82 | 82 | ||
| 83 | self.view.addSubview(self.tableView) | 83 | self.view.addSubview(self.tableView) |
| 84 | self.tableView.snp.makeConstraints { make in | 84 | self.tableView.snp.makeConstraints { make in |
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/数字简历相关页面/CNLiveDigitalResumePreViewController.swift
| @@ -27,6 +27,14 @@ class CNLiveDigitalResumePreViewController:CNLiveBaseViewController,UITableViewD | @@ -27,6 +27,14 @@ class CNLiveDigitalResumePreViewController:CNLiveBaseViewController,UITableViewD | ||
| 27 | return iconImgView | 27 | return iconImgView |
| 28 | }() | 28 | }() |
| 29 | 29 | ||
| 30 | + lazy var secTotalDataArray: NSMutableArray = { | ||
| 31 | + var dataArray = NSMutableArray() | ||
| 32 | + return dataArray | ||
| 33 | + }() | ||
| 34 | + lazy var succDataArray: NSMutableArray = { | ||
| 35 | + var dataArray = NSMutableArray() | ||
| 36 | + return dataArray | ||
| 37 | + }() | ||
| 30 | let kCNLiveDigitalResumePreViewFirCellIdentifier = "kCNLiveDigitalResumePreViewFirCellIdentifier" | 38 | let kCNLiveDigitalResumePreViewFirCellIdentifier = "kCNLiveDigitalResumePreViewFirCellIdentifier" |
| 31 | let kCNLiveDigitalResumePreViewSecCellIdentifier = "kCNLiveDigitalResumePreViewSecCellIdentifier" | 39 | let kCNLiveDigitalResumePreViewSecCellIdentifier = "kCNLiveDigitalResumePreViewSecCellIdentifier" |
| 32 | let kCNLiveDigitalResumePreviewThreeCellIdentifier = "kCNLiveDigitalResumePreviewThreeCellIdentifier" | 40 | let kCNLiveDigitalResumePreviewThreeCellIdentifier = "kCNLiveDigitalResumePreviewThreeCellIdentifier" |
| @@ -77,6 +85,7 @@ class CNLiveDigitalResumePreViewController:CNLiveBaseViewController,UITableViewD | @@ -77,6 +85,7 @@ class CNLiveDigitalResumePreViewController:CNLiveBaseViewController,UITableViewD | ||
| 77 | super.viewWillAppear(animated) | 85 | super.viewWillAppear(animated) |
| 78 | self.getVitae() | 86 | self.getVitae() |
| 79 | self.getCetList() | 87 | self.getCetList() |
| 88 | + self.getAuthInfoList() | ||
| 80 | } | 89 | } |
| 81 | override func viewDidLoad() { | 90 | override func viewDidLoad() { |
| 82 | super.viewDidLoad() | 91 | super.viewDidLoad() |
| @@ -112,6 +121,13 @@ class CNLiveDigitalResumePreViewController:CNLiveBaseViewController,UITableViewD | @@ -112,6 +121,13 @@ class CNLiveDigitalResumePreViewController:CNLiveBaseViewController,UITableViewD | ||
| 112 | make.height.equalTo(40) | 121 | make.height.equalTo(40) |
| 113 | } | 122 | } |
| 114 | 123 | ||
| 124 | + self.bottomZhiNanWhiteView.addSubview(self.settingBtn) | ||
| 125 | + self.settingBtn.snp.makeConstraints { make in | ||
| 126 | + make.left.equalTo(0) | ||
| 127 | + make.width.equalTo(100) | ||
| 128 | + make.top.equalTo(0) | ||
| 129 | + make.height.equalToSuperview() | ||
| 130 | + } | ||
| 115 | } | 131 | } |
| 116 | 132 | ||
| 117 | deinit { | 133 | deinit { |
| @@ -145,6 +161,7 @@ class CNLiveDigitalResumePreViewController:CNLiveBaseViewController,UITableViewD | @@ -145,6 +161,7 @@ class CNLiveDigitalResumePreViewController:CNLiveBaseViewController,UITableViewD | ||
| 145 | let cell = CNLiveDigitalResumePreViewSecCell() | 161 | let cell = CNLiveDigitalResumePreViewSecCell() |
| 146 | return cell | 162 | return cell |
| 147 | } | 163 | } |
| 164 | + cell.digitalListModels = self.succDataArray as? [MineAuthListModel] | ||
| 148 | return cell | 165 | return cell |
| 149 | }else if indexPath.row == 2{ | 166 | }else if indexPath.row == 2{ |
| 150 | //其他证书 | 167 | //其他证书 |
| @@ -192,15 +209,15 @@ class CNLiveDigitalResumePreViewController:CNLiveBaseViewController,UITableViewD | @@ -192,15 +209,15 @@ class CNLiveDigitalResumePreViewController:CNLiveBaseViewController,UITableViewD | ||
| 192 | if indexPath.row == 0{ | 209 | if indexPath.row == 0{ |
| 193 | return 177+51 | 210 | return 177+51 |
| 194 | }else if indexPath.row == 1{ | 211 | }else if indexPath.row == 1{ |
| 195 | - return 218+15 | 212 | + return self.succDataArray.count == 0 ? DefaultPreViewCellHeight+15 : 218+15 |
| 196 | }else if indexPath.row == 2{ | 213 | }else if indexPath.row == 2{ |
| 197 | - return 227+15 | 214 | + return DefaultPreViewCellHeight+15//227+15 |
| 198 | }else if indexPath.row == 3{ | 215 | }else if indexPath.row == 3{ |
| 199 | - return 396+15 | 216 | + return DefaultPreViewCellHeight+15//396+15 |
| 200 | }else if indexPath.row == 4{ | 217 | }else if indexPath.row == 4{ |
| 201 | - return 396+15 | 218 | + return DefaultPreViewCellHeight+15//396+15 |
| 202 | }else if indexPath.row == 5{ | 219 | }else if indexPath.row == 5{ |
| 203 | - return 209+15 | 220 | + return DefaultPreViewCellHeight+15//209+15 |
| 204 | }else { | 221 | }else { |
| 205 | return 50 | 222 | return 50 |
| 206 | } | 223 | } |
| @@ -249,6 +266,34 @@ class CNLiveDigitalResumePreViewController:CNLiveBaseViewController,UITableViewD | @@ -249,6 +266,34 @@ class CNLiveDigitalResumePreViewController:CNLiveBaseViewController,UITableViewD | ||
| 249 | } | 266 | } |
| 250 | } | 267 | } |
| 251 | } | 268 | } |
| 269 | + func getAuthInfoList(){ | ||
| 270 | + CNLiveMineViewModel.requestsGETAuthInfoList(page: 1) { [weak self] result, respStatue in | ||
| 271 | + if respStatue == .success { | ||
| 272 | + let listBaseModel = result as! MineAuthListBaseModel | ||
| 273 | + if self != nil{ | ||
| 274 | + var arr = Array<MineAuthListModel>() | ||
| 275 | + var sussArr = Array<MineAuthListModel>() | ||
| 276 | + listBaseModel.list.forEach { listMdl in | ||
| 277 | + if listMdl.userStatus == 1{ | ||
| 278 | + arr.insert(listMdl, at: 0) | ||
| 279 | + sussArr.append(listMdl) | ||
| 280 | + }else{ | ||
| 281 | + arr.append(listMdl) | ||
| 282 | + } | ||
| 283 | + } | ||
| 284 | + self!.secTotalDataArray.removeAllObjects() | ||
| 285 | + self!.secTotalDataArray.addObjects(from: arr) | ||
| 286 | + self!.succDataArray.removeAllObjects() | ||
| 287 | + self!.succDataArray.addObjects(from: sussArr) | ||
| 288 | + self!.tableView.reloadData() | ||
| 289 | + } | ||
| 290 | + }else { | ||
| 291 | + | ||
| 292 | + } | ||
| 293 | + } | ||
| 294 | + } | ||
| 295 | + | ||
| 296 | + | ||
| 252 | func saveUpdateVitae(isSave:Bool){ | 297 | func saveUpdateVitae(isSave:Bool){ |
| 253 | 298 | ||
| 254 | CNLiveVitaeViewModel.saveVitae(city: "", icon: "", isSave: isSave, id: "0", phone: "", profession: "", professionId: "0", selfIntroduction: "", showAddress: true, showAge: true, showAwards: true, showPhone: true, updateTime: "", vsid: UserInfoManager.shared.userInfo.currentUser?.vsid ?? "", workTime: "") { result, status in | 299 | CNLiveVitaeViewModel.saveVitae(city: "", icon: "", isSave: isSave, id: "0", phone: "", profession: "", professionId: "0", selfIntroduction: "", showAddress: true, showAge: true, showAwards: true, showPhone: true, updateTime: "", vsid: UserInfoManager.shared.userInfo.currentUser?.vsid ?? "", workTime: "") { result, status in |
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/DigitalResume/CNLiveDigitalResumeCell.swift
| @@ -668,7 +668,7 @@ class CNLiveDigitalResumeCell: UITableViewCell { | @@ -668,7 +668,7 @@ class CNLiveDigitalResumeCell: UITableViewCell { | ||
| 668 | // MARK: - buttonAction | 668 | // MARK: - buttonAction |
| 669 | @objc func jianliIconAction(){ | 669 | @objc func jianliIconAction(){ |
| 670 | //换简历头像 | 670 | //换简历头像 |
| 671 | - let vc = CNLiveMineInfoViewController.init(mineIconType: .mineViateIcon, result: { image in | 671 | + let vc = CNLiveMineInfoViewController.init(mineIconType: .mineViateIcon,viateIconUrl: self.vitaeModel?.vitae?.icon ?? "", result: { image in |
| 672 | self.jianliIconImgView.image = image | 672 | self.jianliIconImgView.image = image |
| 673 | self.updateViateDataBlock?() | 673 | self.updateViateDataBlock?() |
| 674 | }) | 674 | }) |
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/我的简历cell/CNLiveDigitalResumePreViewFirCell.swift
| @@ -65,10 +65,16 @@ class CNLiveDigitalResumePreViewFirCell: UITableViewCell { | @@ -65,10 +65,16 @@ class CNLiveDigitalResumePreViewFirCell: UITableViewCell { | ||
| 65 | titleLabel.font = BoldFont_24 | 65 | titleLabel.font = BoldFont_24 |
| 66 | return titleLabel | 66 | return titleLabel |
| 67 | }() | 67 | }() |
| 68 | - lazy var authGuanfangIconImgView :UIImageView = { | ||
| 69 | - let iconImgView = UIImageView() | ||
| 70 | - iconImgView.image = UIImage(named: "mine_jianli_guanfnagAuth") | ||
| 71 | - return iconImgView | 68 | + lazy var changePersonBtn: UIButton = { |
| 69 | + let closeBtn = UIButton(type: .custom) | ||
| 70 | + closeBtn.backgroundColor = HexColor("#FFF8DB") | ||
| 71 | + closeBtn.layer.cornerRadius = 3 | ||
| 72 | + closeBtn.clipsToBounds = true | ||
| 73 | + closeBtn.setTitle("实名对象切换 ▶", for: .normal) | ||
| 74 | + closeBtn.setTitleColor(HexColor("#F2A62E"), for: .normal) | ||
| 75 | + closeBtn.titleLabel?.font = Font_12 | ||
| 76 | + closeBtn.addTarget(self, action: #selector(changePersonBtnAction), for: .touchUpInside) | ||
| 77 | + return closeBtn | ||
| 72 | }() | 78 | }() |
| 73 | lazy var phoneTitleLabel: UILabel = { | 79 | lazy var phoneTitleLabel: UILabel = { |
| 74 | let titleLabel = UILabel() | 80 | let titleLabel = UILabel() |
| @@ -154,10 +160,12 @@ class CNLiveDigitalResumePreViewFirCell: UITableViewCell { | @@ -154,10 +160,12 @@ class CNLiveDigitalResumePreViewFirCell: UITableViewCell { | ||
| 154 | } | 160 | } |
| 155 | self.authNameTitleLabel.text = UserInfoManager.shared.userInfo.currentUser?.name | 161 | self.authNameTitleLabel.text = UserInfoManager.shared.userInfo.currentUser?.name |
| 156 | 162 | ||
| 157 | - self.whiteBgView.addSubview(self.authGuanfangIconImgView) | ||
| 158 | - self.authGuanfangIconImgView.snp.makeConstraints { make in | 163 | + self.whiteBgView.addSubview(self.changePersonBtn) |
| 164 | + self.changePersonBtn.snp.makeConstraints { make in | ||
| 159 | make.left.equalTo(self.authNameTitleLabel.snp.right).offset(5) | 165 | make.left.equalTo(self.authNameTitleLabel.snp.right).offset(5) |
| 160 | make.centerY.equalTo(self.authNameTitleLabel.snp.centerY) | 166 | make.centerY.equalTo(self.authNameTitleLabel.snp.centerY) |
| 167 | + make.width.equalTo(91) | ||
| 168 | + make.height.equalTo(21) | ||
| 161 | } | 169 | } |
| 162 | 170 | ||
| 163 | self.whiteBgView.addSubview(self.phoneTitleLabel) | 171 | self.whiteBgView.addSubview(self.phoneTitleLabel) |
| @@ -292,12 +300,41 @@ class CNLiveDigitalResumePreViewFirCell: UITableViewCell { | @@ -292,12 +300,41 @@ class CNLiveDigitalResumePreViewFirCell: UITableViewCell { | ||
| 292 | // MARK: - buttonAction | 300 | // MARK: - buttonAction |
| 293 | @objc func jianliIconAction(){ | 301 | @objc func jianliIconAction(){ |
| 294 | //换简历头像 | 302 | //换简历头像 |
| 295 | - let vc = CNLiveMineInfoViewController.init(mineIconType: .mineViateIcon, result: { image in | 303 | + let vc = CNLiveMineInfoViewController.init(mineIconType: .mineViateIcon,viateIconUrl: self.vitaeModel?.vitae?.icon ?? "", result: { image in |
| 296 | self.jianliIconImgView.image = image | 304 | self.jianliIconImgView.image = image |
| 297 | self.updateViateDataBlock?() | 305 | self.updateViateDataBlock?() |
| 298 | }) | 306 | }) |
| 299 | navigationViewController().pushViewController(vc, animated: true) | 307 | navigationViewController().pushViewController(vc, animated: true) |
| 300 | } | 308 | } |
| 309 | + //切换实名身份 | ||
| 310 | + @objc func changePersonBtnAction(){ | ||
| 311 | + var infoArr = Array<String>() | ||
| 312 | + UserInfoManager.shared.userInfo.userMsgUsers?.verifyUsers.forEach({ userMdl in | ||
| 313 | + infoArr.append(userMdl.name) | ||
| 314 | + }) | ||
| 315 | + MineStandListAlertView.showStandListView(infos: infoArr as NSArray,name: "实名对象切换", show_type: .string, isAddPerson: true) {text in | ||
| 316 | + let seleText = text as? String | ||
| 317 | + let tempArr = UserInfoManager.shared.userInfo.userMsgUsers?.verifyUsers | ||
| 318 | + if tempArr?.count == 0{ | ||
| 319 | + return | ||
| 320 | + } | ||
| 321 | + tempArr?.forEach({ userMdl in | ||
| 322 | + if userMdl.name == seleText{ | ||
| 323 | + let userInfo = UserInfoManager.shared.userInfo | ||
| 324 | + userInfo.currentUser = userMdl | ||
| 325 | + UserInfoManager.cacheUserInfo(userInfo: userInfo) | ||
| 326 | + | ||
| 327 | + CNLiveMineViewModel.requestsGETAuthInfoList(page: 1) { result, respStatue in | ||
| 328 | + } | ||
| 329 | + self.authNameTitleLabel.text = userMdl.name | ||
| 330 | + | ||
| 331 | + let (gender, age) = self.extractGenderAndAge(fromIDCardNumber: UserInfoManager.shared.userInfo.currentUser?.idNo ?? "") | ||
| 332 | + let ageStr = String(format: "%d", age ?? 0) | ||
| 333 | + self.phoneTitleLabel.text = gender+" | "+ageStr+"岁"+" | "+UserInfoManager.shared.userInfo.mobile | ||
| 334 | + } | ||
| 335 | + }) | ||
| 336 | + } | ||
| 337 | + } | ||
| 301 | @objc func workTitleLabelAciton(){ | 338 | @objc func workTitleLabelAciton(){ |
| 302 | let vc = CNLiveDigitalResumeInfoController() | 339 | let vc = CNLiveDigitalResumeInfoController() |
| 303 | currentViewController()?.navigationController?.pushViewController(vc, animated: true) | 340 | currentViewController()?.navigationController?.pushViewController(vc, animated: true) |
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/我的简历cell/CNLiveDigitalResumePreViewSecCell.swift
| @@ -9,28 +9,162 @@ import Foundation | @@ -9,28 +9,162 @@ import Foundation | ||
| 9 | import Kingfisher | 9 | import Kingfisher |
| 10 | import SnapKit | 10 | import SnapKit |
| 11 | 11 | ||
| 12 | -class CNLiveDigitalResumePreViewSecCell: UITableViewCell { | 12 | +var DefaultPreViewCellHeight:CGFloat = 193 |
| 13 | +var HaveDataPreViewCellHeight:CGFloat = 218 | ||
| 14 | + | ||
| 15 | +class CNLiveDigitalResumePreViewSecCell: UITableViewCell, UICollectionViewDelegate, UICollectionViewDataSource { | ||
| 13 | 16 | ||
| 14 | lazy var whiteView :UIView = { | 17 | lazy var whiteView :UIView = { |
| 15 | - let whiteView = UIView(frame: CGRect(x: 15, y:adapt_length(length: 20), width: KSreenWidth-30, height: adapt_length(length: 121))) | 18 | + let whiteView = UIView(frame: CGRect(x: 15, y:15, width: KSreenWidth-30, height: DefaultPreViewCellHeight)) |
| 16 | whiteView.backgroundColor = .white | 19 | whiteView.backgroundColor = .white |
| 17 | whiteView.layer.cornerRadius = 12 | 20 | whiteView.layer.cornerRadius = 12 |
| 18 | whiteView.clipsToBounds = true | 21 | whiteView.clipsToBounds = true |
| 19 | return whiteView | 22 | return whiteView |
| 20 | }() | 23 | }() |
| 21 | - | 24 | + lazy var myIdentityTitleLabel: UILabel = { |
| 25 | + let titleLabel = UILabel() | ||
| 26 | + titleLabel.textColor = HexColor("#333333") | ||
| 27 | + titleLabel.textAlignment = .center | ||
| 28 | + titleLabel.text = "官方认证" | ||
| 29 | + titleLabel.font = BoldFont_16 | ||
| 30 | + return titleLabel | ||
| 31 | + }() | ||
| 32 | + | ||
| 33 | + lazy var zhengshuNoDescTitleLabel: UILabel = { | ||
| 34 | + let titleLabel = UILabel() | ||
| 35 | + titleLabel.textColor = HexColor("#999999") | ||
| 36 | + titleLabel.textAlignment = .left | ||
| 37 | + titleLabel.text = "还没有添加技能身份" | ||
| 38 | + titleLabel.font = Font_12 | ||
| 39 | + return titleLabel | ||
| 40 | + }() | ||
| 41 | + lazy var zhengshuNoIconImgView :UIImageView = { | ||
| 42 | + let iconImgView = UIImageView(frame: CGRect(x: 18, y: 0, width: 60, height: 45)) | ||
| 43 | + iconImgView.contentMode = .scaleAspectFit | ||
| 44 | + iconImgView.image = UIImage(named: "mine_jianli_preview_guanfangNoData") | ||
| 45 | + return iconImgView | ||
| 46 | + }() | ||
| 47 | + | ||
| 48 | + lazy var zhengshuBtn: UIButton = { | ||
| 49 | + let closeBtn = UIButton(type: .custom) | ||
| 50 | + closeBtn.setTitle("关联验证", for: .normal) | ||
| 51 | + closeBtn.setTitleColor(HexColor("#1961FE"), for: .normal) | ||
| 52 | + closeBtn.titleLabel?.font = BoldFont_14 | ||
| 53 | + closeBtn.layer.borderColor = HexColor("#1961FE")?.cgColor | ||
| 54 | + closeBtn.layer.borderWidth = 0.5 | ||
| 55 | + closeBtn.layer.cornerRadius = 6 | ||
| 56 | + closeBtn.clipsToBounds = true | ||
| 57 | + closeBtn.addTarget(self, action: #selector(zhengshuBtnAction), for: .touchUpInside) | ||
| 58 | + return closeBtn | ||
| 59 | + }() | ||
| 60 | + | ||
| 61 | + let kCNLiveDigitalResumePreViewSecCollectCellID = "kCNLiveDigitalResumePreViewSecCollectCellID" | ||
| 62 | + lazy var threeCollectionView: UICollectionView = { | ||
| 63 | + let layout = UICollectionViewFlowLayout() | ||
| 64 | + layout.itemSize = CGSizeMake(60, 60+3+17+14) | ||
| 65 | + layout.minimumLineSpacing = 22 | ||
| 66 | + layout.scrollDirection = .horizontal | ||
| 67 | + let collectionView = UICollectionView(frame: .zero, collectionViewLayout: layout) | ||
| 68 | + collectionView.delegate = self | ||
| 69 | + collectionView.dataSource = self | ||
| 70 | + collectionView.backgroundColor = .white | ||
| 71 | + collectionView.register(CNLiveDigitalResumePreViewSecCollectionCell.self, forCellWithReuseIdentifier: kCNLiveDigitalResumePreViewSecCollectCellID) | ||
| 72 | + return collectionView | ||
| 73 | + }() | ||
| 74 | + var _digitalListModels : [MineAuthListModel]? | ||
| 75 | + var digitalListModels : [MineAuthListModel]? { | ||
| 76 | + get{ | ||
| 77 | + _digitalListModels | ||
| 78 | + } | ||
| 79 | + set{ | ||
| 80 | + _digitalListModels = newValue! | ||
| 81 | + setupNewUI(models: _digitalListModels!) | ||
| 82 | + } | ||
| 83 | + } | ||
| 84 | + | ||
| 22 | override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { | 85 | override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { |
| 23 | super.init(style: style, reuseIdentifier: reuseIdentifier) | 86 | super.init(style: style, reuseIdentifier: reuseIdentifier) |
| 24 | self.contentView.backgroundColor = .clear | 87 | self.contentView.backgroundColor = .clear |
| 25 | self.backgroundColor = .clear | 88 | self.backgroundColor = .clear |
| 26 | self.selectionStyle = .none | 89 | self.selectionStyle = .none |
| 27 | - | ||
| 28 | self.contentView.addSubview(self.whiteView) | 90 | self.contentView.addSubview(self.whiteView) |
| 29 | - | ||
| 30 | - | 91 | + self.whiteView.addSubview(self.myIdentityTitleLabel) |
| 92 | + self.myIdentityTitleLabel.snp.makeConstraints { make in | ||
| 93 | + make.top.equalToSuperview().offset(adapt_length(length: 15)) | ||
| 94 | + make.left.equalTo(adapt_length(length: 15)) | ||
| 95 | + } | ||
| 96 | + | ||
| 97 | + self.whiteView.addSubview(self.threeCollectionView) | ||
| 98 | + self.threeCollectionView.snp.makeConstraints { make in | ||
| 99 | + make.left.right.equalToSuperview().offset(18) | ||
| 100 | + make.top.equalTo(53) | ||
| 101 | + make.height.equalTo(60+7+17+14) | ||
| 102 | + make.width.equalToSuperview().offset(-36) | ||
| 103 | + } | ||
| 104 | + | ||
| 105 | + self.whiteView.addSubview(self.zhengshuBtn) | ||
| 106 | + self.zhengshuBtn.snp.makeConstraints { make in | ||
| 107 | + make.centerX.equalToSuperview() | ||
| 108 | + make.bottom.equalToSuperview().offset(-20) | ||
| 109 | + make.width.equalTo(86) | ||
| 110 | + make.height.equalTo(34) | ||
| 111 | + } | ||
| 112 | + | ||
| 113 | + self.whiteView.addSubview(self.zhengshuNoDescTitleLabel) | ||
| 114 | + self.zhengshuNoDescTitleLabel.snp.makeConstraints { make in | ||
| 115 | + make.centerX.equalToSuperview() | ||
| 116 | + make.bottom.equalTo(self.zhengshuBtn.snp.top).offset(-10) | ||
| 117 | + } | ||
| 118 | + self.whiteView.addSubview(self.zhengshuNoIconImgView) | ||
| 119 | + self.zhengshuNoIconImgView.snp.makeConstraints { make in | ||
| 120 | + make.centerX.equalToSuperview() | ||
| 121 | + make.bottom.equalTo(self.zhengshuNoDescTitleLabel.snp.top).offset(-10) | ||
| 122 | + make.width.equalTo(60) | ||
| 123 | + make.height.equalTo(45) | ||
| 124 | + } | ||
| 125 | + self.zhengshuNoDescTitleLabel.isHidden = true | ||
| 126 | + self.zhengshuNoIconImgView.isHidden = true | ||
| 127 | + | ||
| 31 | } | 128 | } |
| 32 | required init?(coder: NSCoder) { | 129 | required init?(coder: NSCoder) { |
| 33 | fatalError("init(coder:) has not been implemented") | 130 | fatalError("init(coder:) has not been implemented") |
| 34 | } | 131 | } |
| 35 | - | 132 | + |
| 133 | + func setupNewUI(models:[MineAuthListModel]){ | ||
| 134 | + if models.count > 0{ | ||
| 135 | + //有已审核身份 | ||
| 136 | + self.whiteView.height = HaveDataPreViewCellHeight | ||
| 137 | + self.threeCollectionView.reloadData() | ||
| 138 | + self.threeCollectionView.isHidden = false | ||
| 139 | + self.zhengshuNoIconImgView.isHidden = true | ||
| 140 | + self.zhengshuNoDescTitleLabel.isHidden = true | ||
| 141 | + self.zhengshuNoIconImgView.isHidden = true | ||
| 142 | + }else{ | ||
| 143 | + //没有 已审核身份 | ||
| 144 | + self.whiteView.height = DefaultPreViewCellHeight | ||
| 145 | + self.threeCollectionView.isHidden = true | ||
| 146 | + self.zhengshuNoIconImgView.isHidden = false | ||
| 147 | + self.zhengshuNoDescTitleLabel.isHidden = false | ||
| 148 | + } | ||
| 149 | + } | ||
| 150 | + | ||
| 151 | + func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { | ||
| 152 | + self.digitalListModels?.count ?? 0 | ||
| 153 | + } | ||
| 154 | + | ||
| 155 | + func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { | ||
| 156 | + let cell = collectionView.dequeueReusableCell(withReuseIdentifier: kCNLiveDigitalResumePreViewSecCollectCellID, for: indexPath) as! CNLiveDigitalResumePreViewSecCollectionCell | ||
| 157 | + cell.authListModel = self.digitalListModels?[indexPath.row] | ||
| 158 | + return cell | ||
| 159 | + } | ||
| 160 | + | ||
| 161 | + func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) { | ||
| 162 | + self.threeCollectionView.reloadData() | ||
| 163 | + } | ||
| 164 | + | ||
| 165 | + @objc func zhengshuBtnAction(){ | ||
| 166 | + //跳转 选择官方认证身份页面 | ||
| 167 | + | ||
| 168 | + } | ||
| 169 | + | ||
| 36 | } | 170 | } |
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/我的简历cell/CNLiveDigitalResumePreViewSecCollectionCell.swift
0 → 100644
| 1 | +// | ||
| 2 | +// CNLiveDigitalResumePreViewSecCollectionCell.swift | ||
| 3 | +// metaCode | ||
| 4 | +// | ||
| 5 | +// Created by zx on 2024/8/8. | ||
| 6 | +// 预览简历-sec官方认证collectionCell | ||
| 7 | + | ||
| 8 | +import Foundation | ||
| 9 | +import Kingfisher | ||
| 10 | + | ||
| 11 | +class CNLiveDigitalResumePreViewSecCollectionCell: UICollectionViewCell { | ||
| 12 | + | ||
| 13 | + var _authListModel : MineAuthListModel? | ||
| 14 | + var authListModel : MineAuthListModel? { | ||
| 15 | + get{ | ||
| 16 | + _authListModel | ||
| 17 | + } | ||
| 18 | + set{ | ||
| 19 | + _authListModel = newValue! | ||
| 20 | + setupNewUI(model: _authListModel!) | ||
| 21 | + } | ||
| 22 | + } | ||
| 23 | + | ||
| 24 | + lazy var iconImgView :UIImageView = { | ||
| 25 | + let iconImgView = UIImageView(frame: CGRect(x: 0, y: 0, width: 60, height: 60)) | ||
| 26 | + iconImgView.clipsToBounds = true | ||
| 27 | + iconImgView.layer.cornerRadius = 30 | ||
| 28 | + iconImgView.contentMode = .scaleAspectFill | ||
| 29 | + iconImgView.clipsToBounds = true | ||
| 30 | + return iconImgView | ||
| 31 | + }() | ||
| 32 | + | ||
| 33 | + lazy var titleLabel: UILabel = { | ||
| 34 | + let titleLabel = UILabel.init(frame: CGRectMake(0, self.iconImgView.bottom+8, 60, 17)) | ||
| 35 | + titleLabel.textColor = HexColor("#333333") | ||
| 36 | + titleLabel.textAlignment = .center | ||
| 37 | + titleLabel.adjustsFontSizeToFitWidth = true | ||
| 38 | + titleLabel.font = Font_12 | ||
| 39 | + return titleLabel | ||
| 40 | + }() | ||
| 41 | + lazy var hangyeImgView :UIImageView = { | ||
| 42 | + let iconImgView = UIImageView() | ||
| 43 | + iconImgView.image = UIImage(named: "mine_jianli_zhenshi") | ||
| 44 | + iconImgView.frame = CGRect(x: 0, y: self.titleLabel.bottom+2, width: 60, height: 11) | ||
| 45 | + return iconImgView | ||
| 46 | + }() | ||
| 47 | + | ||
| 48 | + override init(frame: CGRect) { | ||
| 49 | + super.init(frame: frame) | ||
| 50 | + self.contentView.addSubview(self.iconImgView) | ||
| 51 | + self.contentView.addSubview(self.titleLabel) | ||
| 52 | + self.contentView.addSubview(self.hangyeImgView) | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | + required init?(coder: NSCoder) { | ||
| 56 | + fatalError("init(coder:) has not been implemented") | ||
| 57 | + } | ||
| 58 | + | ||
| 59 | + func setupNewUI(model:MineAuthListModel){ | ||
| 60 | + if model.identityId != 0{ | ||
| 61 | + | ||
| 62 | + if model.userStatus == 1{ | ||
| 63 | + //审核成功 | ||
| 64 | + self.titleLabel.text = model.name | ||
| 65 | + self.iconImgView.kf.setImage(with: URL(string: model.icon ?? "")) | ||
| 66 | + self.titleLabel.isHidden = false | ||
| 67 | + self.iconImgView.isHidden = false | ||
| 68 | + }else{ | ||
| 69 | + self.titleLabel.isHidden = true | ||
| 70 | + self.iconImgView.isHidden = true | ||
| 71 | + } | ||
| 72 | + }else{ | ||
| 73 | + self.titleLabel.isHidden = true | ||
| 74 | + self.iconImgView.isHidden = true | ||
| 75 | + } | ||
| 76 | + } | ||
| 77 | + | ||
| 78 | +} |
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/我的简历cell/CNLiveDigitalResumePreviewFiveCell.swift
| @@ -12,12 +12,48 @@ import SnapKit | @@ -12,12 +12,48 @@ import SnapKit | ||
| 12 | class CNLiveDigitalResumePreviewFiveCell: UITableViewCell { | 12 | class CNLiveDigitalResumePreviewFiveCell: UITableViewCell { |
| 13 | 13 | ||
| 14 | lazy var whiteView :UIView = { | 14 | lazy var whiteView :UIView = { |
| 15 | - let whiteView = UIView(frame: CGRect(x: 15, y:adapt_length(length: 20), width: KSreenWidth-30, height: adapt_length(length: 121))) | 15 | + let whiteView = UIView(frame: CGRect(x: 15, y:15, width: KSreenWidth-30, height: DefaultPreViewCellHeight)) |
| 16 | whiteView.backgroundColor = .white | 16 | whiteView.backgroundColor = .white |
| 17 | whiteView.layer.cornerRadius = 12 | 17 | whiteView.layer.cornerRadius = 12 |
| 18 | whiteView.clipsToBounds = true | 18 | whiteView.clipsToBounds = true |
| 19 | return whiteView | 19 | return whiteView |
| 20 | }() | 20 | }() |
| 21 | + lazy var myIdentityTitleLabel: UILabel = { | ||
| 22 | + let titleLabel = UILabel() | ||
| 23 | + titleLabel.textColor = HexColor("#333333") | ||
| 24 | + titleLabel.textAlignment = .center | ||
| 25 | + titleLabel.text = "获奖情况" | ||
| 26 | + titleLabel.font = BoldFont_16 | ||
| 27 | + return titleLabel | ||
| 28 | + }() | ||
| 29 | + | ||
| 30 | + lazy var zhengshuNoDescTitleLabel: UILabel = { | ||
| 31 | + let titleLabel = UILabel() | ||
| 32 | + titleLabel.textColor = HexColor("#999999") | ||
| 33 | + titleLabel.textAlignment = .left | ||
| 34 | + titleLabel.text = "还没有添加获奖情况" | ||
| 35 | + titleLabel.font = Font_12 | ||
| 36 | + return titleLabel | ||
| 37 | + }() | ||
| 38 | + lazy var zhengshuNoIconImgView :UIImageView = { | ||
| 39 | + let iconImgView = UIImageView(frame: CGRect(x: 18, y: 0, width: 60, height: 45)) | ||
| 40 | + iconImgView.contentMode = .scaleAspectFit | ||
| 41 | + iconImgView.image = UIImage(named: "mine_jianli_noaward") | ||
| 42 | + return iconImgView | ||
| 43 | + }() | ||
| 44 | + | ||
| 45 | + lazy var zhengshuBtn: UIButton = { | ||
| 46 | + let closeBtn = UIButton(type: .custom) | ||
| 47 | + closeBtn.setTitle("关联获奖", for: .normal) | ||
| 48 | + closeBtn.setTitleColor(HexColor("#1961FE"), for: .normal) | ||
| 49 | + closeBtn.titleLabel?.font = BoldFont_14 | ||
| 50 | + closeBtn.layer.borderColor = HexColor("#1961FE")?.cgColor | ||
| 51 | + closeBtn.layer.borderWidth = 0.5 | ||
| 52 | + closeBtn.layer.cornerRadius = 6 | ||
| 53 | + closeBtn.clipsToBounds = true | ||
| 54 | + closeBtn.addTarget(self, action: #selector(zhengshuBtnAction), for: .touchUpInside) | ||
| 55 | + return closeBtn | ||
| 56 | + }() | ||
| 21 | 57 | ||
| 22 | override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { | 58 | override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { |
| 23 | super.init(style: style, reuseIdentifier: reuseIdentifier) | 59 | super.init(style: style, reuseIdentifier: reuseIdentifier) |
| @@ -26,11 +62,41 @@ class CNLiveDigitalResumePreviewFiveCell: UITableViewCell { | @@ -26,11 +62,41 @@ class CNLiveDigitalResumePreviewFiveCell: UITableViewCell { | ||
| 26 | self.selectionStyle = .none | 62 | self.selectionStyle = .none |
| 27 | 63 | ||
| 28 | self.contentView.addSubview(self.whiteView) | 64 | self.contentView.addSubview(self.whiteView) |
| 29 | - | 65 | + self.whiteView.addSubview(self.myIdentityTitleLabel) |
| 66 | + self.myIdentityTitleLabel.snp.makeConstraints { make in | ||
| 67 | + make.top.equalToSuperview().offset(adapt_length(length: 15)) | ||
| 68 | + make.left.equalTo(adapt_length(length: 15)) | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + self.whiteView.addSubview(self.zhengshuBtn) | ||
| 72 | + self.zhengshuBtn.snp.makeConstraints { make in | ||
| 73 | + make.centerX.equalToSuperview() | ||
| 74 | + make.bottom.equalToSuperview().offset(-20) | ||
| 75 | + make.width.equalTo(86) | ||
| 76 | + make.height.equalTo(34) | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + self.whiteView.addSubview(self.zhengshuNoDescTitleLabel) | ||
| 80 | + self.zhengshuNoDescTitleLabel.snp.makeConstraints { make in | ||
| 81 | + make.centerX.equalToSuperview() | ||
| 82 | + make.bottom.equalTo(self.zhengshuBtn.snp.top).offset(-10) | ||
| 83 | + } | ||
| 84 | + self.whiteView.addSubview(self.zhengshuNoIconImgView) | ||
| 85 | + self.zhengshuNoIconImgView.snp.makeConstraints { make in | ||
| 86 | + make.centerX.equalToSuperview() | ||
| 87 | + make.bottom.equalTo(self.zhengshuNoDescTitleLabel.snp.top).offset(-10) | ||
| 88 | + make.width.equalTo(60) | ||
| 89 | + make.height.equalTo(45) | ||
| 90 | + } | ||
| 30 | 91 | ||
| 31 | } | 92 | } |
| 32 | required init?(coder: NSCoder) { | 93 | required init?(coder: NSCoder) { |
| 33 | fatalError("init(coder:) has not been implemented") | 94 | fatalError("init(coder:) has not been implemented") |
| 34 | } | 95 | } |
| 96 | + | ||
| 97 | + @objc func zhengshuBtnAction(){ | ||
| 98 | + //跳转 选择获奖情况页面 | ||
| 99 | + | ||
| 100 | + } | ||
| 35 | 101 | ||
| 36 | } | 102 | } |
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/我的简历cell/CNLiveDigitalResumePreviewFourCell.swift
| @@ -12,12 +12,48 @@ import SnapKit | @@ -12,12 +12,48 @@ import SnapKit | ||
| 12 | class CNLiveDigitalResumePreviewFourCell: UITableViewCell { | 12 | class CNLiveDigitalResumePreviewFourCell: UITableViewCell { |
| 13 | 13 | ||
| 14 | lazy var whiteView :UIView = { | 14 | lazy var whiteView :UIView = { |
| 15 | - let whiteView = UIView(frame: CGRect(x: 15, y:adapt_length(length: 20), width: KSreenWidth-30, height: adapt_length(length: 121))) | 15 | + let whiteView = UIView(frame: CGRect(x: 15, y:15, width: KSreenWidth-30, height: DefaultPreViewCellHeight)) |
| 16 | whiteView.backgroundColor = .white | 16 | whiteView.backgroundColor = .white |
| 17 | whiteView.layer.cornerRadius = 12 | 17 | whiteView.layer.cornerRadius = 12 |
| 18 | whiteView.clipsToBounds = true | 18 | whiteView.clipsToBounds = true |
| 19 | return whiteView | 19 | return whiteView |
| 20 | }() | 20 | }() |
| 21 | + lazy var myIdentityTitleLabel: UILabel = { | ||
| 22 | + let titleLabel = UILabel() | ||
| 23 | + titleLabel.textColor = HexColor("#333333") | ||
| 24 | + titleLabel.textAlignment = .center | ||
| 25 | + titleLabel.text = "工作记录" | ||
| 26 | + titleLabel.font = BoldFont_16 | ||
| 27 | + return titleLabel | ||
| 28 | + }() | ||
| 29 | + | ||
| 30 | + lazy var zhengshuNoDescTitleLabel: UILabel = { | ||
| 31 | + let titleLabel = UILabel() | ||
| 32 | + titleLabel.textColor = HexColor("#999999") | ||
| 33 | + titleLabel.textAlignment = .left | ||
| 34 | + titleLabel.text = "还没有添加工作记录" | ||
| 35 | + titleLabel.font = Font_12 | ||
| 36 | + return titleLabel | ||
| 37 | + }() | ||
| 38 | + lazy var zhengshuNoIconImgView :UIImageView = { | ||
| 39 | + let iconImgView = UIImageView(frame: CGRect(x: 18, y: 0, width: 60, height: 45)) | ||
| 40 | + iconImgView.contentMode = .scaleAspectFit | ||
| 41 | + iconImgView.image = UIImage(named: "mine_jianli_preview_workNoData") | ||
| 42 | + return iconImgView | ||
| 43 | + }() | ||
| 44 | + | ||
| 45 | + lazy var zhengshuBtn: UIButton = { | ||
| 46 | + let closeBtn = UIButton(type: .custom) | ||
| 47 | + closeBtn.setTitle("关联工作", for: .normal) | ||
| 48 | + closeBtn.setTitleColor(HexColor("#1961FE"), for: .normal) | ||
| 49 | + closeBtn.titleLabel?.font = BoldFont_14 | ||
| 50 | + closeBtn.layer.borderColor = HexColor("#1961FE")?.cgColor | ||
| 51 | + closeBtn.layer.borderWidth = 0.5 | ||
| 52 | + closeBtn.layer.cornerRadius = 6 | ||
| 53 | + closeBtn.clipsToBounds = true | ||
| 54 | + closeBtn.addTarget(self, action: #selector(zhengshuBtnAction), for: .touchUpInside) | ||
| 55 | + return closeBtn | ||
| 56 | + }() | ||
| 21 | 57 | ||
| 22 | override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { | 58 | override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { |
| 23 | super.init(style: style, reuseIdentifier: reuseIdentifier) | 59 | super.init(style: style, reuseIdentifier: reuseIdentifier) |
| @@ -26,11 +62,41 @@ class CNLiveDigitalResumePreviewFourCell: UITableViewCell { | @@ -26,11 +62,41 @@ class CNLiveDigitalResumePreviewFourCell: UITableViewCell { | ||
| 26 | self.selectionStyle = .none | 62 | self.selectionStyle = .none |
| 27 | 63 | ||
| 28 | self.contentView.addSubview(self.whiteView) | 64 | self.contentView.addSubview(self.whiteView) |
| 29 | - | 65 | + self.whiteView.addSubview(self.myIdentityTitleLabel) |
| 66 | + self.myIdentityTitleLabel.snp.makeConstraints { make in | ||
| 67 | + make.top.equalToSuperview().offset(adapt_length(length: 15)) | ||
| 68 | + make.left.equalTo(adapt_length(length: 15)) | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + self.whiteView.addSubview(self.zhengshuBtn) | ||
| 72 | + self.zhengshuBtn.snp.makeConstraints { make in | ||
| 73 | + make.centerX.equalToSuperview() | ||
| 74 | + make.bottom.equalToSuperview().offset(-20) | ||
| 75 | + make.width.equalTo(86) | ||
| 76 | + make.height.equalTo(34) | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + self.whiteView.addSubview(self.zhengshuNoDescTitleLabel) | ||
| 80 | + self.zhengshuNoDescTitleLabel.snp.makeConstraints { make in | ||
| 81 | + make.centerX.equalToSuperview() | ||
| 82 | + make.bottom.equalTo(self.zhengshuBtn.snp.top).offset(-10) | ||
| 83 | + } | ||
| 84 | + self.whiteView.addSubview(self.zhengshuNoIconImgView) | ||
| 85 | + self.zhengshuNoIconImgView.snp.makeConstraints { make in | ||
| 86 | + make.centerX.equalToSuperview() | ||
| 87 | + make.bottom.equalTo(self.zhengshuNoDescTitleLabel.snp.top).offset(-10) | ||
| 88 | + make.width.equalTo(60) | ||
| 89 | + make.height.equalTo(45) | ||
| 90 | + } | ||
| 30 | 91 | ||
| 31 | } | 92 | } |
| 32 | required init?(coder: NSCoder) { | 93 | required init?(coder: NSCoder) { |
| 33 | fatalError("init(coder:) has not been implemented") | 94 | fatalError("init(coder:) has not been implemented") |
| 34 | } | 95 | } |
| 96 | + | ||
| 97 | + @objc func zhengshuBtnAction(){ | ||
| 98 | + //跳转 选择工作记录页面 | ||
| 99 | + | ||
| 100 | + } | ||
| 35 | 101 | ||
| 36 | } | 102 | } |
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/我的简历cell/CNLiveDigitalResumePreviewSixCell.swift
| @@ -12,12 +12,48 @@ import SnapKit | @@ -12,12 +12,48 @@ import SnapKit | ||
| 12 | class CNLiveDigitalResumePreviewSixCell: UITableViewCell { | 12 | class CNLiveDigitalResumePreviewSixCell: UITableViewCell { |
| 13 | 13 | ||
| 14 | lazy var whiteView :UIView = { | 14 | lazy var whiteView :UIView = { |
| 15 | - let whiteView = UIView(frame: CGRect(x: 15, y:adapt_length(length: 20), width: KSreenWidth-30, height: adapt_length(length: 121))) | 15 | + let whiteView = UIView(frame: CGRect(x: 15, y:15, width: KSreenWidth-30, height: DefaultPreViewCellHeight)) |
| 16 | whiteView.backgroundColor = .white | 16 | whiteView.backgroundColor = .white |
| 17 | whiteView.layer.cornerRadius = 12 | 17 | whiteView.layer.cornerRadius = 12 |
| 18 | whiteView.clipsToBounds = true | 18 | whiteView.clipsToBounds = true |
| 19 | return whiteView | 19 | return whiteView |
| 20 | }() | 20 | }() |
| 21 | + lazy var myIdentityTitleLabel: UILabel = { | ||
| 22 | + let titleLabel = UILabel() | ||
| 23 | + titleLabel.textColor = HexColor("#333333") | ||
| 24 | + titleLabel.textAlignment = .center | ||
| 25 | + titleLabel.text = "自我介绍" | ||
| 26 | + titleLabel.font = BoldFont_16 | ||
| 27 | + return titleLabel | ||
| 28 | + }() | ||
| 29 | + | ||
| 30 | + lazy var zhengshuNoDescTitleLabel: UILabel = { | ||
| 31 | + let titleLabel = UILabel() | ||
| 32 | + titleLabel.textColor = HexColor("#999999") | ||
| 33 | + titleLabel.textAlignment = .left | ||
| 34 | + titleLabel.text = "还没有添加自我介绍" | ||
| 35 | + titleLabel.font = Font_12 | ||
| 36 | + return titleLabel | ||
| 37 | + }() | ||
| 38 | + lazy var zhengshuNoIconImgView :UIImageView = { | ||
| 39 | + let iconImgView = UIImageView(frame: CGRect(x: 18, y: 0, width: 60, height: 45)) | ||
| 40 | + iconImgView.contentMode = .scaleAspectFit | ||
| 41 | + iconImgView.image = UIImage(named: "mine_jianli_noJianjie") | ||
| 42 | + return iconImgView | ||
| 43 | + }() | ||
| 44 | + | ||
| 45 | + lazy var zhengshuBtn: UIButton = { | ||
| 46 | + let closeBtn = UIButton(type: .custom) | ||
| 47 | + closeBtn.setTitle("管理自我介绍", for: .normal) | ||
| 48 | + closeBtn.setTitleColor(HexColor("#1961FE"), for: .normal) | ||
| 49 | + closeBtn.titleLabel?.font = BoldFont_14 | ||
| 50 | + closeBtn.layer.borderColor = HexColor("#1961FE")?.cgColor | ||
| 51 | + closeBtn.layer.borderWidth = 0.5 | ||
| 52 | + closeBtn.layer.cornerRadius = 6 | ||
| 53 | + closeBtn.clipsToBounds = true | ||
| 54 | + closeBtn.addTarget(self, action: #selector(zhengshuBtnAction), for: .touchUpInside) | ||
| 55 | + return closeBtn | ||
| 56 | + }() | ||
| 21 | 57 | ||
| 22 | override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { | 58 | override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { |
| 23 | super.init(style: style, reuseIdentifier: reuseIdentifier) | 59 | super.init(style: style, reuseIdentifier: reuseIdentifier) |
| @@ -26,11 +62,41 @@ class CNLiveDigitalResumePreviewSixCell: UITableViewCell { | @@ -26,11 +62,41 @@ class CNLiveDigitalResumePreviewSixCell: UITableViewCell { | ||
| 26 | self.selectionStyle = .none | 62 | self.selectionStyle = .none |
| 27 | 63 | ||
| 28 | self.contentView.addSubview(self.whiteView) | 64 | self.contentView.addSubview(self.whiteView) |
| 29 | - | 65 | + self.whiteView.addSubview(self.myIdentityTitleLabel) |
| 66 | + self.myIdentityTitleLabel.snp.makeConstraints { make in | ||
| 67 | + make.top.equalToSuperview().offset(adapt_length(length: 15)) | ||
| 68 | + make.left.equalTo(adapt_length(length: 15)) | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + self.whiteView.addSubview(self.zhengshuBtn) | ||
| 72 | + self.zhengshuBtn.snp.makeConstraints { make in | ||
| 73 | + make.centerX.equalToSuperview() | ||
| 74 | + make.bottom.equalToSuperview().offset(-20) | ||
| 75 | + make.width.equalTo(114) | ||
| 76 | + make.height.equalTo(34) | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + self.whiteView.addSubview(self.zhengshuNoDescTitleLabel) | ||
| 80 | + self.zhengshuNoDescTitleLabel.snp.makeConstraints { make in | ||
| 81 | + make.centerX.equalToSuperview() | ||
| 82 | + make.bottom.equalTo(self.zhengshuBtn.snp.top).offset(-10) | ||
| 83 | + } | ||
| 84 | + self.whiteView.addSubview(self.zhengshuNoIconImgView) | ||
| 85 | + self.zhengshuNoIconImgView.snp.makeConstraints { make in | ||
| 86 | + make.centerX.equalToSuperview() | ||
| 87 | + make.bottom.equalTo(self.zhengshuNoDescTitleLabel.snp.top).offset(-10) | ||
| 88 | + make.width.equalTo(60) | ||
| 89 | + make.height.equalTo(45) | ||
| 90 | + } | ||
| 30 | 91 | ||
| 31 | } | 92 | } |
| 32 | required init?(coder: NSCoder) { | 93 | required init?(coder: NSCoder) { |
| 33 | fatalError("init(coder:) has not been implemented") | 94 | fatalError("init(coder:) has not been implemented") |
| 34 | } | 95 | } |
| 96 | + | ||
| 97 | + @objc func zhengshuBtnAction(){ | ||
| 98 | + //跳转 自我简介页面 | ||
| 99 | + | ||
| 100 | + } | ||
| 35 | 101 | ||
| 36 | } | 102 | } |
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/我的简历cell/CNLiveDigitalResumePreviewThreeCell.swift
| @@ -12,12 +12,48 @@ import SnapKit | @@ -12,12 +12,48 @@ import SnapKit | ||
| 12 | class CNLiveDigitalResumePreviewThreeCell: UITableViewCell { | 12 | class CNLiveDigitalResumePreviewThreeCell: UITableViewCell { |
| 13 | 13 | ||
| 14 | lazy var whiteView :UIView = { | 14 | lazy var whiteView :UIView = { |
| 15 | - let whiteView = UIView(frame: CGRect(x: 15, y:adapt_length(length: 20), width: KSreenWidth-30, height: adapt_length(length: 121))) | 15 | + let whiteView = UIView(frame: CGRect(x: 15, y:15, width: KSreenWidth-30, height: DefaultPreViewCellHeight)) |
| 16 | whiteView.backgroundColor = .white | 16 | whiteView.backgroundColor = .white |
| 17 | whiteView.layer.cornerRadius = 12 | 17 | whiteView.layer.cornerRadius = 12 |
| 18 | whiteView.clipsToBounds = true | 18 | whiteView.clipsToBounds = true |
| 19 | return whiteView | 19 | return whiteView |
| 20 | }() | 20 | }() |
| 21 | + lazy var myIdentityTitleLabel: UILabel = { | ||
| 22 | + let titleLabel = UILabel() | ||
| 23 | + titleLabel.textColor = HexColor("#333333") | ||
| 24 | + titleLabel.textAlignment = .center | ||
| 25 | + titleLabel.text = "其他证书" | ||
| 26 | + titleLabel.font = BoldFont_16 | ||
| 27 | + return titleLabel | ||
| 28 | + }() | ||
| 29 | + | ||
| 30 | + lazy var zhengshuNoDescTitleLabel: UILabel = { | ||
| 31 | + let titleLabel = UILabel() | ||
| 32 | + titleLabel.textColor = HexColor("#999999") | ||
| 33 | + titleLabel.textAlignment = .left | ||
| 34 | + titleLabel.text = "还没有添加其他职业证书" | ||
| 35 | + titleLabel.font = Font_12 | ||
| 36 | + return titleLabel | ||
| 37 | + }() | ||
| 38 | + lazy var zhengshuNoIconImgView :UIImageView = { | ||
| 39 | + let iconImgView = UIImageView(frame: CGRect(x: 18, y: 0, width: 60, height: 45)) | ||
| 40 | + iconImgView.contentMode = .scaleAspectFit | ||
| 41 | + iconImgView.image = UIImage(named: "mine_jianli_nocer") | ||
| 42 | + return iconImgView | ||
| 43 | + }() | ||
| 44 | + | ||
| 45 | + lazy var zhengshuBtn: UIButton = { | ||
| 46 | + let closeBtn = UIButton(type: .custom) | ||
| 47 | + closeBtn.setTitle("关联证书", for: .normal) | ||
| 48 | + closeBtn.setTitleColor(HexColor("#1961FE"), for: .normal) | ||
| 49 | + closeBtn.titleLabel?.font = BoldFont_14 | ||
| 50 | + closeBtn.layer.borderColor = HexColor("#1961FE")?.cgColor | ||
| 51 | + closeBtn.layer.borderWidth = 0.5 | ||
| 52 | + closeBtn.layer.cornerRadius = 6 | ||
| 53 | + closeBtn.clipsToBounds = true | ||
| 54 | + closeBtn.addTarget(self, action: #selector(zhengshuBtnAction), for: .touchUpInside) | ||
| 55 | + return closeBtn | ||
| 56 | + }() | ||
| 21 | 57 | ||
| 22 | override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { | 58 | override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { |
| 23 | super.init(style: style, reuseIdentifier: reuseIdentifier) | 59 | super.init(style: style, reuseIdentifier: reuseIdentifier) |
| @@ -26,11 +62,42 @@ class CNLiveDigitalResumePreviewThreeCell: UITableViewCell { | @@ -26,11 +62,42 @@ class CNLiveDigitalResumePreviewThreeCell: UITableViewCell { | ||
| 26 | self.selectionStyle = .none | 62 | self.selectionStyle = .none |
| 27 | 63 | ||
| 28 | self.contentView.addSubview(self.whiteView) | 64 | self.contentView.addSubview(self.whiteView) |
| 29 | - | 65 | + self.whiteView.addSubview(self.myIdentityTitleLabel) |
| 66 | + self.myIdentityTitleLabel.snp.makeConstraints { make in | ||
| 67 | + make.top.equalToSuperview().offset(adapt_length(length: 15)) | ||
| 68 | + make.left.equalTo(adapt_length(length: 15)) | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + self.whiteView.addSubview(self.zhengshuBtn) | ||
| 72 | + self.zhengshuBtn.snp.makeConstraints { make in | ||
| 73 | + make.centerX.equalToSuperview() | ||
| 74 | + make.bottom.equalToSuperview().offset(-20) | ||
| 75 | + make.width.equalTo(86) | ||
| 76 | + make.height.equalTo(34) | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + self.whiteView.addSubview(self.zhengshuNoDescTitleLabel) | ||
| 80 | + self.zhengshuNoDescTitleLabel.snp.makeConstraints { make in | ||
| 81 | + make.centerX.equalToSuperview() | ||
| 82 | + make.bottom.equalTo(self.zhengshuBtn.snp.top).offset(-10) | ||
| 83 | + } | ||
| 84 | + self.whiteView.addSubview(self.zhengshuNoIconImgView) | ||
| 85 | + self.zhengshuNoIconImgView.snp.makeConstraints { make in | ||
| 86 | + make.centerX.equalToSuperview() | ||
| 87 | + make.bottom.equalTo(self.zhengshuNoDescTitleLabel.snp.top).offset(-10) | ||
| 88 | + make.width.equalTo(60) | ||
| 89 | + make.height.equalTo(45) | ||
| 90 | + } | ||
| 30 | 91 | ||
| 31 | } | 92 | } |
| 32 | required init?(coder: NSCoder) { | 93 | required init?(coder: NSCoder) { |
| 33 | fatalError("init(coder:) has not been implemented") | 94 | fatalError("init(coder:) has not been implemented") |
| 34 | } | 95 | } |
| 96 | + | ||
| 97 | + @objc func zhengshuBtnAction(){ | ||
| 98 | + //跳转 选择证书页面 | ||
| 99 | + | ||
| 100 | + } | ||
| 101 | + | ||
| 35 | 102 | ||
| 36 | } | 103 | } |
metaCode/Classes/Main/MinePage/Controller/CNLiveMineInfoViewController.swift
| @@ -20,6 +20,7 @@ enum CNLiveMineIconType { | @@ -20,6 +20,7 @@ enum CNLiveMineIconType { | ||
| 20 | 20 | ||
| 21 | class CNLiveMineInfoViewController: CNLiveBaseViewController, PhotoPickerControllerDelegate { | 21 | class CNLiveMineInfoViewController: CNLiveBaseViewController, PhotoPickerControllerDelegate { |
| 22 | var mineIconType:CNLiveMineIconType = .mineIcon | 22 | var mineIconType:CNLiveMineIconType = .mineIcon |
| 23 | + var viateIconUrl:String = "" | ||
| 23 | 24 | ||
| 24 | lazy var imageView: UIImageView = { | 25 | lazy var imageView: UIImageView = { |
| 25 | let imageView = UIImageView.init() | 26 | let imageView = UIImageView.init() |
| @@ -30,6 +31,8 @@ class CNLiveMineInfoViewController: CNLiveBaseViewController, PhotoPickerControl | @@ -30,6 +31,8 @@ class CNLiveMineInfoViewController: CNLiveBaseViewController, PhotoPickerControl | ||
| 30 | if self.mineIconType == .mineIcon{ | 31 | if self.mineIconType == .mineIcon{ |
| 31 | imageView.kf.indicatorType = .activity | 32 | imageView.kf.indicatorType = .activity |
| 32 | imageView.kf.setImage(with: URL(string: UserInfoManager.shared.userInfo.bigFaceUrl), placeholder: UIImage(named: "mine_header_icon_defult_ava")) | 33 | imageView.kf.setImage(with: URL(string: UserInfoManager.shared.userInfo.bigFaceUrl), placeholder: UIImage(named: "mine_header_icon_defult_ava")) |
| 34 | + }else if self.mineIconType == .mineViateIcon{ | ||
| 35 | + imageView.kf.setImage(with: URL(string: self.viateIconUrl), placeholder: UIImage(named: "mine_header_icon_defult_ava")) | ||
| 33 | } | 36 | } |
| 34 | return imageView | 37 | return imageView |
| 35 | }() | 38 | }() |
| @@ -71,9 +74,11 @@ class CNLiveMineInfoViewController: CNLiveBaseViewController, PhotoPickerControl | @@ -71,9 +74,11 @@ class CNLiveMineInfoViewController: CNLiveBaseViewController, PhotoPickerControl | ||
| 71 | }() | 74 | }() |
| 72 | 75 | ||
| 73 | var _select_image: UIImage! | 76 | var _select_image: UIImage! |
| 77 | + | ||
| 74 | var reslut: ClickInfoResultBlock | 78 | var reslut: ClickInfoResultBlock |
| 75 | - init(mineIconType:CNLiveMineIconType,result: @escaping ClickInfoResultBlock) { | 79 | + init(mineIconType:CNLiveMineIconType,viateIconUrl: String,result: @escaping ClickInfoResultBlock) { |
| 76 | self.mineIconType = mineIconType | 80 | self.mineIconType = mineIconType |
| 81 | + self.viateIconUrl = viateIconUrl | ||
| 77 | self.reslut = result | 82 | self.reslut = result |
| 78 | super.init(nibName:nil, bundle:nil) | 83 | super.init(nibName:nil, bundle:nil) |
| 79 | } | 84 | } |
metaCode/Classes/Main/MinePage/Controller/CNLiveTypeFeedBackViewController.swift
| @@ -322,7 +322,7 @@ extension CNLiveTypeFeedBackViewController { | @@ -322,7 +322,7 @@ extension CNLiveTypeFeedBackViewController { | ||
| 322 | if _show_type == .info { | 322 | if _show_type == .info { |
| 323 | if indexPath.section == 0 { | 323 | if indexPath.section == 0 { |
| 324 | let cell = tableView.cellForRow(at: indexPath) as! MineBodyTwoListViewCell | 324 | let cell = tableView.cellForRow(at: indexPath) as! MineBodyTwoListViewCell |
| 325 | - let vc = CNLiveMineInfoViewController.init(mineIconType: .mineIcon, result: { image in | 325 | + let vc = CNLiveMineInfoViewController.init(mineIconType: .mineIcon,viateIconUrl: "", result: { image in |
| 326 | cell.avatarView.image = image | 326 | cell.avatarView.image = image |
| 327 | }) | 327 | }) |
| 328 | self.navigationController?.pushViewController(vc, animated: true) | 328 | self.navigationController?.pushViewController(vc, animated: true) |
metaCode/Supporting Files/Assets.xcassets/MinePage/jianli/mine_jianli_noJianjie.imageset/Contents.json
0 → 100644
| 1 | +{ | ||
| 2 | + "images" : [ | ||
| 3 | + { | ||
| 4 | + "idiom" : "universal", | ||
| 5 | + "scale" : "1x" | ||
| 6 | + }, | ||
| 7 | + { | ||
| 8 | + "filename" : "mine_jianli_noJianjie@2x.png", | ||
| 9 | + "idiom" : "universal", | ||
| 10 | + "scale" : "2x" | ||
| 11 | + }, | ||
| 12 | + { | ||
| 13 | + "filename" : "mine_jianli_noJianjie@3x.png", | ||
| 14 | + "idiom" : "universal", | ||
| 15 | + "scale" : "3x" | ||
| 16 | + } | ||
| 17 | + ], | ||
| 18 | + "info" : { | ||
| 19 | + "author" : "xcode", | ||
| 20 | + "version" : 1 | ||
| 21 | + } | ||
| 22 | +} |
metaCode/Supporting Files/Assets.xcassets/MinePage/jianli/mine_jianli_noJianjie.imageset/mine_jianli_noJianjie@2x.png
0 → 100644
4.21 KB
metaCode/Supporting Files/Assets.xcassets/MinePage/jianli/mine_jianli_noJianjie.imageset/mine_jianli_noJianjie@3x.png
0 → 100644
7.56 KB
metaCode/Supporting Files/Assets.xcassets/MinePage/jianli/mine_jianli_noaward.imageset/Contents.json
0 → 100644
| 1 | +{ | ||
| 2 | + "images" : [ | ||
| 3 | + { | ||
| 4 | + "idiom" : "universal", | ||
| 5 | + "scale" : "1x" | ||
| 6 | + }, | ||
| 7 | + { | ||
| 8 | + "filename" : "mine_jianli_noaward@2x.png", | ||
| 9 | + "idiom" : "universal", | ||
| 10 | + "scale" : "2x" | ||
| 11 | + }, | ||
| 12 | + { | ||
| 13 | + "filename" : "mine_jianli_noaward@3x.png", | ||
| 14 | + "idiom" : "universal", | ||
| 15 | + "scale" : "3x" | ||
| 16 | + } | ||
| 17 | + ], | ||
| 18 | + "info" : { | ||
| 19 | + "author" : "xcode", | ||
| 20 | + "version" : 1 | ||
| 21 | + } | ||
| 22 | +} |
metaCode/Supporting Files/Assets.xcassets/MinePage/jianli/mine_jianli_noaward.imageset/mine_jianli_noaward@2x.png
0 → 100644
5.94 KB
metaCode/Supporting Files/Assets.xcassets/MinePage/jianli/mine_jianli_noaward.imageset/mine_jianli_noaward@3x.png
0 → 100644
10.9 KB
metaCode/Supporting Files/Assets.xcassets/MinePage/jianli/mine_jianli_preview_guanfangNoData.imageset/Contents.json
0 → 100644
| 1 | +{ | ||
| 2 | + "images" : [ | ||
| 3 | + { | ||
| 4 | + "idiom" : "universal", | ||
| 5 | + "scale" : "1x" | ||
| 6 | + }, | ||
| 7 | + { | ||
| 8 | + "filename" : "mine_jianli_preview_guanfangNoData@2x.png", | ||
| 9 | + "idiom" : "universal", | ||
| 10 | + "scale" : "2x" | ||
| 11 | + }, | ||
| 12 | + { | ||
| 13 | + "filename" : "mine_jianli_preview_guanfangNoData@3x.png", | ||
| 14 | + "idiom" : "universal", | ||
| 15 | + "scale" : "3x" | ||
| 16 | + } | ||
| 17 | + ], | ||
| 18 | + "info" : { | ||
| 19 | + "author" : "xcode", | ||
| 20 | + "version" : 1 | ||
| 21 | + } | ||
| 22 | +} |
metaCode/Supporting Files/Assets.xcassets/MinePage/jianli/mine_jianli_preview_guanfangNoData.imageset/mine_jianli_preview_guanfangNoData@2x.png
0 → 100644
3.47 KB
metaCode/Supporting Files/Assets.xcassets/MinePage/jianli/mine_jianli_preview_guanfangNoData.imageset/mine_jianli_preview_guanfangNoData@3x.png
0 → 100644
6.35 KB
metaCode/Supporting Files/Assets.xcassets/MinePage/jianli/mine_jianli_preview_workNoData.imageset/Contents.json
0 → 100644
| 1 | +{ | ||
| 2 | + "images" : [ | ||
| 3 | + { | ||
| 4 | + "idiom" : "universal", | ||
| 5 | + "scale" : "1x" | ||
| 6 | + }, | ||
| 7 | + { | ||
| 8 | + "filename" : "mine_jianli_preview_workNoData@2x.png", | ||
| 9 | + "idiom" : "universal", | ||
| 10 | + "scale" : "2x" | ||
| 11 | + }, | ||
| 12 | + { | ||
| 13 | + "filename" : "mine_jianli_preview_workNoData@3x.png", | ||
| 14 | + "idiom" : "universal", | ||
| 15 | + "scale" : "3x" | ||
| 16 | + } | ||
| 17 | + ], | ||
| 18 | + "info" : { | ||
| 19 | + "author" : "xcode", | ||
| 20 | + "version" : 1 | ||
| 21 | + } | ||
| 22 | +} |
metaCode/Supporting Files/Assets.xcassets/MinePage/jianli/mine_jianli_preview_workNoData.imageset/mine_jianli_preview_workNoData@2x.png
0 → 100644
2.85 KB
metaCode/Supporting Files/Assets.xcassets/MinePage/jianli/mine_jianli_preview_workNoData.imageset/mine_jianli_preview_workNoData@3x.png
0 → 100644
5.24 KB