Commit 7c824f3091774c922d8c3de9a669c771bc87c468
1 parent
13cae320
数字资产页面--审核中 状态适配 , 身份大库--页面逻辑
Showing
21 changed files
with
711 additions
and
30 deletions
metaCode.xcodeproj/project.pbxproj
| @@ -107,7 +107,10 @@ | @@ -107,7 +107,10 @@ | ||
| 107 | 194134922C22C920004FC047 /* CNLiveDigitalMineRealNameCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 194134912C22C920004FC047 /* CNLiveDigitalMineRealNameCell.swift */; }; | 107 | 194134922C22C920004FC047 /* CNLiveDigitalMineRealNameCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 194134912C22C920004FC047 /* CNLiveDigitalMineRealNameCell.swift */; }; |
| 108 | 194134942C240583004FC047 /* CNLiveDigitalRealManageController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 194134932C240583004FC047 /* CNLiveDigitalRealManageController.swift */; }; | 108 | 194134942C240583004FC047 /* CNLiveDigitalRealManageController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 194134932C240583004FC047 /* CNLiveDigitalRealManageController.swift */; }; |
| 109 | 194134962C2412C7004FC047 /* CNLiveRealManageCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 194134952C2412C7004FC047 /* CNLiveRealManageCell.swift */; }; | 109 | 194134962C2412C7004FC047 /* CNLiveRealManageCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 194134952C2412C7004FC047 /* CNLiveRealManageCell.swift */; }; |
| 110 | + 194134982C292199004FC047 /* CNLiveIdentityRepositoryController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 194134972C292199004FC047 /* CNLiveIdentityRepositoryController.swift */; }; | ||
| 111 | + 1941349A2C294A78004FC047 /* CNLiveIdentityResTableCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 194134992C294A78004FC047 /* CNLiveIdentityResTableCell.swift */; }; | ||
| 110 | 194455A12B6B3310006C5A2A /* CNWebView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 194455A02B6B3310006C5A2A /* CNWebView.swift */; }; | 112 | 194455A12B6B3310006C5A2A /* CNWebView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 194455A02B6B3310006C5A2A /* CNWebView.swift */; }; |
| 113 | + 195226792C294C8E00CB0707 /* CNLiveIdentityResThreeCollectCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 195226782C294C8E00CB0707 /* CNLiveIdentityResThreeCollectCell.swift */; }; | ||
| 111 | 19565EC02AF4DE0E007D6727 /* CNLiveShopDetailBtnsCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19565EBF2AF4DE0E007D6727 /* CNLiveShopDetailBtnsCell.swift */; }; | 114 | 19565EC02AF4DE0E007D6727 /* CNLiveShopDetailBtnsCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19565EBF2AF4DE0E007D6727 /* CNLiveShopDetailBtnsCell.swift */; }; |
| 112 | 19565EC22AF616CA007D6727 /* CNLiveShopDetailOrderAssetCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19565EC12AF616CA007D6727 /* CNLiveShopDetailOrderAssetCell.swift */; }; | 115 | 19565EC22AF616CA007D6727 /* CNLiveShopDetailOrderAssetCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19565EC12AF616CA007D6727 /* CNLiveShopDetailOrderAssetCell.swift */; }; |
| 113 | 19565EC52AF8AD1F007D6727 /* CNLiveShopProductManagerController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19565EC42AF8AD1F007D6727 /* CNLiveShopProductManagerController.swift */; }; | 116 | 19565EC52AF8AD1F007D6727 /* CNLiveShopProductManagerController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19565EC42AF8AD1F007D6727 /* CNLiveShopProductManagerController.swift */; }; |
| @@ -413,7 +416,10 @@ | @@ -413,7 +416,10 @@ | ||
| 413 | 194134912C22C920004FC047 /* CNLiveDigitalMineRealNameCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveDigitalMineRealNameCell.swift; sourceTree = "<group>"; }; | 416 | 194134912C22C920004FC047 /* CNLiveDigitalMineRealNameCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveDigitalMineRealNameCell.swift; sourceTree = "<group>"; }; |
| 414 | 194134932C240583004FC047 /* CNLiveDigitalRealManageController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveDigitalRealManageController.swift; sourceTree = "<group>"; }; | 417 | 194134932C240583004FC047 /* CNLiveDigitalRealManageController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveDigitalRealManageController.swift; sourceTree = "<group>"; }; |
| 415 | 194134952C2412C7004FC047 /* CNLiveRealManageCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveRealManageCell.swift; sourceTree = "<group>"; }; | 418 | 194134952C2412C7004FC047 /* CNLiveRealManageCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveRealManageCell.swift; sourceTree = "<group>"; }; |
| 419 | + 194134972C292199004FC047 /* CNLiveIdentityRepositoryController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveIdentityRepositoryController.swift; sourceTree = "<group>"; }; | ||
| 420 | + 194134992C294A78004FC047 /* CNLiveIdentityResTableCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveIdentityResTableCell.swift; sourceTree = "<group>"; }; | ||
| 416 | 194455A02B6B3310006C5A2A /* CNWebView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNWebView.swift; sourceTree = "<group>"; }; | 421 | 194455A02B6B3310006C5A2A /* CNWebView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNWebView.swift; sourceTree = "<group>"; }; |
| 422 | + 195226782C294C8E00CB0707 /* CNLiveIdentityResThreeCollectCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveIdentityResThreeCollectCell.swift; sourceTree = "<group>"; }; | ||
| 417 | 19565EBF2AF4DE0E007D6727 /* CNLiveShopDetailBtnsCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveShopDetailBtnsCell.swift; sourceTree = "<group>"; }; | 423 | 19565EBF2AF4DE0E007D6727 /* CNLiveShopDetailBtnsCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveShopDetailBtnsCell.swift; sourceTree = "<group>"; }; |
| 418 | 19565EC12AF616CA007D6727 /* CNLiveShopDetailOrderAssetCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveShopDetailOrderAssetCell.swift; sourceTree = "<group>"; }; | 424 | 19565EC12AF616CA007D6727 /* CNLiveShopDetailOrderAssetCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveShopDetailOrderAssetCell.swift; sourceTree = "<group>"; }; |
| 419 | 19565EC42AF8AD1F007D6727 /* CNLiveShopProductManagerController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveShopProductManagerController.swift; sourceTree = "<group>"; }; | 425 | 19565EC42AF8AD1F007D6727 /* CNLiveShopProductManagerController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveShopProductManagerController.swift; sourceTree = "<group>"; }; |
| @@ -1111,6 +1117,7 @@ | @@ -1111,6 +1117,7 @@ | ||
| 1111 | 194134772C17F83B004FC047 /* CNLiveFaceAuthController.swift */, | 1117 | 194134772C17F83B004FC047 /* CNLiveFaceAuthController.swift */, |
| 1112 | 194134872C1FE4E7004FC047 /* CNLiveDigitalAssetsController.swift */, | 1118 | 194134872C1FE4E7004FC047 /* CNLiveDigitalAssetsController.swift */, |
| 1113 | 1941348F2C22C25A004FC047 /* CNLiveDigitalMineRealNameController.swift */, | 1119 | 1941348F2C22C25A004FC047 /* CNLiveDigitalMineRealNameController.swift */, |
| 1120 | + 194134972C292199004FC047 /* CNLiveIdentityRepositoryController.swift */, | ||
| 1114 | ); | 1121 | ); |
| 1115 | path = DigitalAuth; | 1122 | path = DigitalAuth; |
| 1116 | sourceTree = "<group>"; | 1123 | sourceTree = "<group>"; |
| @@ -1135,6 +1142,8 @@ | @@ -1135,6 +1142,8 @@ | ||
| 1135 | 1941348B2C20261C004FC047 /* CNLiveDigitalSecCell.swift */, | 1142 | 1941348B2C20261C004FC047 /* CNLiveDigitalSecCell.swift */, |
| 1136 | 1941348D2C2165EE004FC047 /* CNLiveDigitalSecCollectionCell.swift */, | 1143 | 1941348D2C2165EE004FC047 /* CNLiveDigitalSecCollectionCell.swift */, |
| 1137 | 194134912C22C920004FC047 /* CNLiveDigitalMineRealNameCell.swift */, | 1144 | 194134912C22C920004FC047 /* CNLiveDigitalMineRealNameCell.swift */, |
| 1145 | + 194134992C294A78004FC047 /* CNLiveIdentityResTableCell.swift */, | ||
| 1146 | + 195226782C294C8E00CB0707 /* CNLiveIdentityResThreeCollectCell.swift */, | ||
| 1138 | ); | 1147 | ); |
| 1139 | path = DigitalAuthViews; | 1148 | path = DigitalAuthViews; |
| 1140 | sourceTree = "<group>"; | 1149 | sourceTree = "<group>"; |
| @@ -1926,6 +1935,7 @@ | @@ -1926,6 +1935,7 @@ | ||
| 1926 | 790B1FB82A41B6A60074CF00 /* CNLiveMineMessageViewController.swift in Sources */, | 1935 | 790B1FB82A41B6A60074CF00 /* CNLiveMineMessageViewController.swift in Sources */, |
| 1927 | 1917333C2B27FE75007BCC04 /* CNLiveShopClassilyManageHeaderView.swift in Sources */, | 1936 | 1917333C2B27FE75007BCC04 /* CNLiveShopClassilyManageHeaderView.swift in Sources */, |
| 1928 | 191733252B146078007BCC04 /* CNLivePlayerSlider.swift in Sources */, | 1937 | 191733252B146078007BCC04 /* CNLivePlayerSlider.swift in Sources */, |
| 1938 | + 194134982C292199004FC047 /* CNLiveIdentityRepositoryController.swift in Sources */, | ||
| 1929 | 19BB202B2AF382150094D962 /* CNLiveAdaptTool.swift in Sources */, | 1939 | 19BB202B2AF382150094D962 /* CNLiveAdaptTool.swift in Sources */, |
| 1930 | 1941347C2C180030004FC047 /* UIImage_extension.swift in Sources */, | 1940 | 1941347C2C180030004FC047 /* UIImage_extension.swift in Sources */, |
| 1931 | 79E672032AFDFA9C00F2F768 /* CNLiveMineSignOutViewController.swift in Sources */, | 1941 | 79E672032AFDFA9C00F2F768 /* CNLiveMineSignOutViewController.swift in Sources */, |
| @@ -2012,6 +2022,7 @@ | @@ -2012,6 +2022,7 @@ | ||
| 2012 | 1938BD2A2B48014E00390A34 /* CNHomepageDetailViewController.swift in Sources */, | 2022 | 1938BD2A2B48014E00390A34 /* CNHomepageDetailViewController.swift in Sources */, |
| 2013 | 1965FA422AFB79EA00F0F435 /* CNLiveGoodsCategoryController.swift in Sources */, | 2023 | 1965FA422AFB79EA00F0F435 /* CNLiveGoodsCategoryController.swift in Sources */, |
| 2014 | 792E57D92A3AA2F2005834DB /* CNLiveCommonBaseModel.swift in Sources */, | 2024 | 792E57D92A3AA2F2005834DB /* CNLiveCommonBaseModel.swift in Sources */, |
| 2025 | + 1941349A2C294A78004FC047 /* CNLiveIdentityResTableCell.swift in Sources */, | ||
| 2015 | 791C1C862AFB2EB4003E6362 /* CNLiveShopOrderExpressViewController.swift in Sources */, | 2026 | 791C1C862AFB2EB4003E6362 /* CNLiveShopOrderExpressViewController.swift in Sources */, |
| 2016 | 7CD6753E2A2740B0008354C1 /* CNUpSlideView.swift in Sources */, | 2027 | 7CD6753E2A2740B0008354C1 /* CNUpSlideView.swift in Sources */, |
| 2017 | 191733312B170537007BCC04 /* CNLiveCommonManager.swift in Sources */, | 2028 | 191733312B170537007BCC04 /* CNLiveCommonManager.swift in Sources */, |
| @@ -2055,6 +2066,7 @@ | @@ -2055,6 +2066,7 @@ | ||
| 2055 | 79BB96A62AF21E2800AEA4AC /* CNLiveShopOrderDetailViewController.swift in Sources */, | 2066 | 79BB96A62AF21E2800AEA4AC /* CNLiveShopOrderDetailViewController.swift in Sources */, |
| 2056 | 194455A12B6B3310006C5A2A /* CNWebView.swift in Sources */, | 2067 | 194455A12B6B3310006C5A2A /* CNWebView.swift in Sources */, |
| 2057 | 1938BD2C2B4801A700390A34 /* CNHomePageAnimationTransition.swift in Sources */, | 2068 | 1938BD2C2B4801A700390A34 /* CNHomePageAnimationTransition.swift in Sources */, |
| 2069 | + 195226792C294C8E00CB0707 /* CNLiveIdentityResThreeCollectCell.swift in Sources */, | ||
| 2058 | 191733452B284DCD007BCC04 /* CNLiveShopCouponListModel.swift in Sources */, | 2070 | 191733452B284DCD007BCC04 /* CNLiveShopCouponListModel.swift in Sources */, |
| 2059 | 796308752B4B90700090D22A /* CNLiveShortVideoHomeModel.swift in Sources */, | 2071 | 796308752B4B90700090D22A /* CNLiveShortVideoHomeModel.swift in Sources */, |
| 2060 | 19CC4D542ADD163D00308E2A /* CNUpSlideCardPresentationController.swift in Sources */, | 2072 | 19CC4D542ADD163D00308E2A /* CNUpSlideCardPresentationController.swift in Sources */, |
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/CNLiveDigitalAssetsController.swift
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/CNLiveDigitalAuthController.swift
| @@ -221,6 +221,7 @@ class CNLiveDigitalAuthController:CNLiveBaseViewController,UITableViewDataSource | @@ -221,6 +221,7 @@ class CNLiveDigitalAuthController:CNLiveBaseViewController,UITableViewDataSource | ||
| 221 | }else{ | 221 | }else{ |
| 222 | cell.tblCellIsSelect = false | 222 | cell.tblCellIsSelect = false |
| 223 | } | 223 | } |
| 224 | + cell.currentSeleIndex = self.currentSeleCollectionIndex | ||
| 224 | let model = self.dataArray[indexPath.row] as! MineAuthenticationsChildModel | 225 | let model = self.dataArray[indexPath.row] as! MineAuthenticationsChildModel |
| 225 | cell.childModel = model | 226 | cell.childModel = model |
| 226 | cell.selectBlock = {[weak self] currCell,identitiesId in | 227 | cell.selectBlock = {[weak self] currCell,identitiesId in |
| @@ -269,8 +270,6 @@ class CNLiveDigitalAuthController:CNLiveBaseViewController,UITableViewDataSource | @@ -269,8 +270,6 @@ class CNLiveDigitalAuthController:CNLiveBaseViewController,UITableViewDataSource | ||
| 269 | //未实名认证->实名认证 | 270 | //未实名认证->实名认证 |
| 270 | let vc = CNLiveRealNameAuthController() | 271 | let vc = CNLiveRealNameAuthController() |
| 271 | vc.channelId = self.channelId | 272 | vc.channelId = self.channelId |
| 272 | - vc.vsid = self.vsid | ||
| 273 | - vc.sid = self.sid | ||
| 274 | self.navigationController?.pushViewController(vc, animated: true) | 273 | self.navigationController?.pushViewController(vc, animated: true) |
| 275 | } | 274 | } |
| 276 | } | 275 | } |
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/CNLiveFaceAuthController.swift
| @@ -15,8 +15,6 @@ import Vision | @@ -15,8 +15,6 @@ import Vision | ||
| 15 | class CNLiveFaceAuthController:CNLiveBaseViewController{ | 15 | class CNLiveFaceAuthController:CNLiveBaseViewController{ |
| 16 | 16 | ||
| 17 | var channelId:String = "0" | 17 | var channelId:String = "0" |
| 18 | - var vsid:String = "" | ||
| 19 | - var sid:String = "" | ||
| 20 | 18 | ||
| 21 | lazy var previewView :CNLiveAuthPreviewView = { | 19 | lazy var previewView :CNLiveAuthPreviewView = { |
| 22 | let previewView = CNLiveAuthPreviewView(frame: CGRect(x: 0, y: KNavigationHeight, width: KSreenWidth, height: KSreenHeight-KNavigationHeight)) | 20 | let previewView = CNLiveAuthPreviewView(frame: CGRect(x: 0, y: KNavigationHeight, width: KSreenWidth, height: KSreenHeight-KNavigationHeight)) |
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/CNLiveIdentityRepositoryController.swift
0 → 100644
| 1 | +// | ||
| 2 | +// CNLiveIdentityRepositoryController.swift | ||
| 3 | +// metaCode | ||
| 4 | +// | ||
| 5 | +// Created by zx on 2024/6/24. | ||
| 6 | +// 身份大库 页面 | ||
| 7 | + | ||
| 8 | +import Foundation | ||
| 9 | +import SnapKit | ||
| 10 | + | ||
| 11 | +class CNLiveIdentityRepositoryController:CNLiveBaseViewController,UITableViewDataSource,UITableViewDelegate{ | ||
| 12 | + | ||
| 13 | + var currentSeleIndex = -1 | ||
| 14 | + var currentSeleCollectionIndex = -1 | ||
| 15 | + var channelId:String = "0" | ||
| 16 | + var currCollectMdl:MineAuthenticationsChildIdentitiesModel? | ||
| 17 | + | ||
| 18 | + //2级行业数组 | ||
| 19 | + lazy var dataArray :NSMutableArray = { | ||
| 20 | + let dataArray = NSMutableArray() | ||
| 21 | + return dataArray | ||
| 22 | + }() | ||
| 23 | + | ||
| 24 | + //所有数据 ,1级行业数组 | ||
| 25 | + var totalFirstChildsArr = Array<MineAuthenticationsChildModel>() | ||
| 26 | + | ||
| 27 | + let kCNLiveIdentityRespositoryCellIdentifier = "kCNLiveIdentityRespositoryCellIdentifier" | ||
| 28 | + lazy var tableView : UITableView = { | ||
| 29 | + let tableView = UITableView(frame: .zero, style: .plain) | ||
| 30 | + tableView.dataSource = self | ||
| 31 | + tableView.delegate = self | ||
| 32 | + tableView.separatorStyle = .none | ||
| 33 | + tableView.tableFooterView = UIView.init() | ||
| 34 | + tableView.register(CNLiveIdentityResTableCell.self, forCellReuseIdentifier: kCNLiveIdentityRespositoryCellIdentifier) | ||
| 35 | + tableView.backgroundColor = .clear | ||
| 36 | + return tableView | ||
| 37 | + }() | ||
| 38 | + | ||
| 39 | + lazy var zhinanBtn: UIButton = { | ||
| 40 | + let nextBtn = UIButton(type: .custom) | ||
| 41 | + nextBtn.setTitle("就业指南", for: .normal) | ||
| 42 | + nextBtn.setTitleColor(.white, for: .normal) | ||
| 43 | + nextBtn.backgroundColor = HexColor("#1961FE") | ||
| 44 | + nextBtn.layer.cornerRadius = 39.0/2 | ||
| 45 | + nextBtn.clipsToBounds = true | ||
| 46 | + nextBtn.addTarget(self, action: #selector(zhinanBtnAction), for: .touchUpInside) | ||
| 47 | + return nextBtn | ||
| 48 | + }() | ||
| 49 | + | ||
| 50 | + lazy var bottomTotalView :UIView = { | ||
| 51 | + let bottomNavView = UIView(frame: CGRect(x: 0, y: KSreenHeight-189, width: KSreenWidth, height: 189)) | ||
| 52 | + bottomNavView.backgroundColor = .white | ||
| 53 | + bottomNavView.layer.cornerRadius = 16 | ||
| 54 | + bottomNavView.layer.maskedCorners = [.layerMinXMinYCorner, .layerMaxXMinYCorner] | ||
| 55 | + // shadowCode | ||
| 56 | + bottomNavView.layer.shadowColor = UIColor(red: 0, green: 0, blue: 0, alpha: 0.1).cgColor | ||
| 57 | + bottomNavView.layer.shadowOffset = CGSize(width: 0, height: 0) | ||
| 58 | + bottomNavView.layer.shadowOpacity = 1 | ||
| 59 | + bottomNavView.layer.shadowRadius = 10 | ||
| 60 | + | ||
| 61 | + bottomNavView.addSubview(self.iconImgView) | ||
| 62 | + self.iconImgView.addSubview(self.rightIconImgView) | ||
| 63 | + bottomNavView.addSubview(self.seleTitleLabel) | ||
| 64 | + bottomNavView.addSubview(self.tishiTitleLabel) | ||
| 65 | + bottomNavView.addSubview(self.buXuanZeBtn) | ||
| 66 | + bottomNavView.addSubview(self.xuanZeBtn) | ||
| 67 | + | ||
| 68 | + return bottomNavView | ||
| 69 | + }() | ||
| 70 | + lazy var iconImgView :UIImageView = { | ||
| 71 | + let iconImgView = UIImageView(frame: CGRect(x: 20, y: 20, width: 50, height: 50)) | ||
| 72 | + iconImgView.contentMode = .scaleAspectFill | ||
| 73 | + iconImgView.clipsToBounds = true | ||
| 74 | + return iconImgView | ||
| 75 | + }() | ||
| 76 | + lazy var rightIconImgView :UIImageView = { | ||
| 77 | + let iconImgView = UIImageView(frame: CGRect(x: self.iconImgView.width-15, y: self.iconImgView.height-15, width: 15, height: 15)) | ||
| 78 | + iconImgView.image = UIImage(named: "auth_selected") | ||
| 79 | + return iconImgView | ||
| 80 | + }() | ||
| 81 | + lazy var seleTitleLabel: UILabel = { | ||
| 82 | + let titleLabel = UILabel.init(frame: CGRectMake(0, self.iconImgView.bottom+1, 90, 17)) | ||
| 83 | + titleLabel.textColor = HexColor("#333333") | ||
| 84 | + titleLabel.textAlignment = .center | ||
| 85 | + titleLabel.font = BoldFont_12 | ||
| 86 | + return titleLabel | ||
| 87 | + }() | ||
| 88 | + lazy var tishiTitleLabel: UILabel = { | ||
| 89 | + let titleLabel = UILabel.init(frame: CGRectMake(0, 107, 300, 21)) | ||
| 90 | + titleLabel.centerX = KSreenWidth / 2 | ||
| 91 | + titleLabel.textColor = HexColor("#999999") | ||
| 92 | + titleLabel.textAlignment = .center | ||
| 93 | + titleLabel.text = "身份选择后不可修改" | ||
| 94 | + titleLabel.font = BoldFont_12 | ||
| 95 | + return titleLabel | ||
| 96 | + }() | ||
| 97 | + lazy var buXuanZeBtn: UIButton = { | ||
| 98 | + let closeBtn = UIButton(type: .custom) | ||
| 99 | + closeBtn.frame = CGRect(x: 15, y: 135, width: (KSreenWidth-30)/2, height: 39) | ||
| 100 | + closeBtn.layer.cornerRadius = 21 | ||
| 101 | + closeBtn.layer.maskedCorners = [.layerMinXMinYCorner, .layerMinXMaxYCorner] | ||
| 102 | + closeBtn.layer.borderColor = HexColor("#1961FE")?.cgColor | ||
| 103 | + closeBtn.layer.borderWidth = 0.45 | ||
| 104 | + closeBtn.backgroundColor = .white | ||
| 105 | + closeBtn.setTitle("暂不选择", for: .normal) | ||
| 106 | + closeBtn.setTitleColor(HexColor("#1961FE"), for: .normal) | ||
| 107 | + closeBtn.titleLabel?.font = Font_17 | ||
| 108 | + closeBtn.addTarget(self, action: #selector(buXuanZeBtnAction), for: .touchUpInside) | ||
| 109 | + return closeBtn | ||
| 110 | + }() | ||
| 111 | + lazy var xuanZeBtn: UIButton = { | ||
| 112 | + let closeBtn = UIButton(type: .custom) | ||
| 113 | + closeBtn.frame = CGRect(x: 15+(KSreenWidth-30)/2, y: 135, width: (KSreenWidth-30)/2, height: 39) | ||
| 114 | + closeBtn.layer.cornerRadius = 21 | ||
| 115 | + closeBtn.layer.maskedCorners = [.layerMaxXMinYCorner, .layerMaxXMaxYCorner] | ||
| 116 | +// closeBtn.layer.borderColor = HexColor("#1961FE")?.cgColor | ||
| 117 | +// closeBtn.layer.borderWidth = 0.45 | ||
| 118 | + closeBtn.backgroundColor = HexColor("#1961FE") | ||
| 119 | + closeBtn.setTitle("选好了", for: .normal) | ||
| 120 | + closeBtn.setTitleColor(HexColor("#FFFFFF"), for: .normal) | ||
| 121 | + closeBtn.titleLabel?.font = Font_17 | ||
| 122 | + closeBtn.addTarget(self, action: #selector(xuanZeBtnAction), for: .touchUpInside) | ||
| 123 | + return closeBtn | ||
| 124 | + }() | ||
| 125 | + | ||
| 126 | + override func viewDidLoad() { | ||
| 127 | + super.viewDidLoad() | ||
| 128 | + self.view.backgroundColor = HexColor(kCNDownSlideBackgroundColorHex) | ||
| 129 | + navigationBarHidden = false | ||
| 130 | + titleName = "教育培训" | ||
| 131 | + let vsid = UserInfoManager.shared.userInfo.currentUser?.vsid ?? "" | ||
| 132 | + let sid = UserInfoManager.shared.userInfo.uid | ||
| 133 | + self.getAuthenticationsApi(vsid: vsid, sid: sid) | ||
| 134 | + | ||
| 135 | + self.initUI() | ||
| 136 | + let deleteNavBtn = UIButton(type: .custom) | ||
| 137 | + deleteNavBtn.frame = CGRect(x: 0, y: KStatusBarHeight, width: 80, height: KNavigationHeight-KStatusBarHeight) | ||
| 138 | + deleteNavBtn.backgroundColor = .clear | ||
| 139 | + deleteNavBtn.setTitle("切换行业", for: .normal) | ||
| 140 | + deleteNavBtn.setTitleColor(HexColor("#1961FE"), for: .normal) | ||
| 141 | + deleteNavBtn.titleLabel?.font = Font_13 | ||
| 142 | +// deleteNavBtn.setImage(UIImage(named: "auth_shuaxin"), for: .normal) | ||
| 143 | +// deleteNavBtn.setupButtonImageAndTitlePossitionWith(padding: 5, style: .right) | ||
| 144 | + deleteNavBtn.addTarget(self, action: #selector(changeNavBtnClick), for: .touchUpInside) | ||
| 145 | + self.rightNavBtns = [deleteNavBtn] | ||
| 146 | + } | ||
| 147 | + | ||
| 148 | + func initUI(){ | ||
| 149 | + self.view.addSubview(self.tableView) | ||
| 150 | + self.tableView.snp.makeConstraints { make in | ||
| 151 | + make.top.equalTo(KNavigationHeight) | ||
| 152 | + make.left.right.equalToSuperview() | ||
| 153 | + make.bottom.equalToSuperview().offset(-59) | ||
| 154 | + } | ||
| 155 | + | ||
| 156 | + self.view.addSubview(self.zhinanBtn) | ||
| 157 | + self.zhinanBtn.snp.makeConstraints { make in | ||
| 158 | + make.bottom.equalToSuperview().offset(-10) | ||
| 159 | + make.height.equalTo(39) | ||
| 160 | + make.left.equalTo(15) | ||
| 161 | + make.right.equalToSuperview().offset(-15) | ||
| 162 | + } | ||
| 163 | + | ||
| 164 | + self.view.addSubview(self.bottomTotalView) | ||
| 165 | + self.bottomTotalView.isHidden = true | ||
| 166 | + } | ||
| 167 | + | ||
| 168 | + deinit { | ||
| 169 | + | ||
| 170 | + } | ||
| 171 | + | ||
| 172 | + func numberOfSections(in tableView: UITableView) -> Int { | ||
| 173 | + 1 | ||
| 174 | + } | ||
| 175 | + func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { | ||
| 176 | + return self.dataArray.count | ||
| 177 | + } | ||
| 178 | + | ||
| 179 | + func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { | ||
| 180 | + guard let cell = tableView.dequeueReusableCell(withIdentifier: kCNLiveIdentityRespositoryCellIdentifier) as? CNLiveIdentityResTableCell | ||
| 181 | + else { | ||
| 182 | + let cell = CNLiveIdentityResTableCell() | ||
| 183 | + return cell | ||
| 184 | + } | ||
| 185 | + | ||
| 186 | + if self.currentSeleIndex == indexPath.row{ | ||
| 187 | + cell.tblCellIsSelect = true | ||
| 188 | + }else{ | ||
| 189 | + cell.tblCellIsSelect = false | ||
| 190 | + } | ||
| 191 | + cell.currentSeleIndex = self.currentSeleCollectionIndex | ||
| 192 | + let model = self.dataArray[indexPath.row] as! MineAuthenticationsChildModel | ||
| 193 | + cell.childModel = model | ||
| 194 | + cell.selectBlock = {[weak self] currCell,identitiesId in | ||
| 195 | + if let idxPath = self?.tableView.indexPath(for: currCell){ | ||
| 196 | + self!.currentSeleIndex = idxPath.row | ||
| 197 | + self!.currentSeleCollectionIndex = currCell.currentSeleIndex | ||
| 198 | + self!.channelId = identitiesId | ||
| 199 | + self!.tableView.reloadData() | ||
| 200 | + let idMdl = currCell.threeArr[currCell.currentSeleIndex] | ||
| 201 | + self!.currCollectMdl = idMdl | ||
| 202 | + self!.iconImgView.kf.setImage(with: URL(string: idMdl.icon),placeholder: UIImage(named: "auth_shenfen")) | ||
| 203 | + self!.seleTitleLabel.text = idMdl.name | ||
| 204 | + self!.bottomTotalView.isHidden = false | ||
| 205 | + self!.tishiTitleLabel.text = idMdl.name+"身份选择后不可修改" | ||
| 206 | + } | ||
| 207 | + } | ||
| 208 | + return cell | ||
| 209 | + } | ||
| 210 | + | ||
| 211 | + func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { | ||
| 212 | + | ||
| 213 | + } | ||
| 214 | + | ||
| 215 | + func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { | ||
| 216 | + return 161 | ||
| 217 | + } | ||
| 218 | + | ||
| 219 | + @objc func changeNavBtnClick(){ | ||
| 220 | + var infoArr = Array<String>() | ||
| 221 | + self.totalFirstChildsArr.forEach { childModel in | ||
| 222 | + let childMdl = childModel | ||
| 223 | + infoArr.append(childMdl.name) | ||
| 224 | + } | ||
| 225 | + | ||
| 226 | + | ||
| 227 | + MineStandListAlertView.showStandListView(infos: infoArr as NSArray,name: "行业切换", show_type: .string, isAddPerson: false) {text in | ||
| 228 | + let seleText = text as? String | ||
| 229 | + let tempArr = self.totalFirstChildsArr | ||
| 230 | + tempArr.forEach({ userMdl in | ||
| 231 | + if userMdl.name == seleText{ | ||
| 232 | + //找到1级行业 | ||
| 233 | + self.dataArray = NSMutableArray(array: userMdl.child) | ||
| 234 | + self.tableView.reloadData() | ||
| 235 | + self.titleName = userMdl.name | ||
| 236 | + } | ||
| 237 | + }) | ||
| 238 | + } | ||
| 239 | + } | ||
| 240 | + | ||
| 241 | + @objc func zhinanBtnAction(){ | ||
| 242 | + //弹窗 | ||
| 243 | + self.show17Alert() | ||
| 244 | + } | ||
| 245 | + | ||
| 246 | + let delegate = UIApplication.shared.delegate as! AppDelegate | ||
| 247 | + /// 未认证-inputType17时弹窗背景图 | ||
| 248 | + lazy var alertBgImgView:UIImageView = { | ||
| 249 | + let alertBgImgView:UIImageView = UIImageView() | ||
| 250 | + alertBgImgView.tag = 20001 | ||
| 251 | + alertBgImgView.isUserInteractionEnabled = true | ||
| 252 | + let ges = UITapGestureRecognizer(target: self, action: #selector(alertBgImgViewClickAction)) | ||
| 253 | + alertBgImgView.addGestureRecognizer(ges) | ||
| 254 | + | ||
| 255 | + return alertBgImgView | ||
| 256 | + }() | ||
| 257 | + lazy var alertBgView:UIView = { | ||
| 258 | + let alertBgView:UIView = UIView(frame: CGRect(x: 0, y: 0, width: KSreenWidth, height: KSreenHeight)) | ||
| 259 | + alertBgView.backgroundColor = HexColor("#000000") | ||
| 260 | + alertBgView.alpha = 0.6 | ||
| 261 | + alertBgView.isUserInteractionEnabled = true | ||
| 262 | + alertBgView.tag = 20000 | ||
| 263 | + | ||
| 264 | + let ges = UITapGestureRecognizer(target: self, action: #selector(alertBgViewClickAction)) | ||
| 265 | + alertBgView.addGestureRecognizer(ges) | ||
| 266 | + | ||
| 267 | + return alertBgView | ||
| 268 | + }() | ||
| 269 | + // MARK: - 点击弹窗,按类型跳转 | ||
| 270 | + @objc func alertBgImgViewClickAction() { | ||
| 271 | + self.hiden17Alert() | ||
| 272 | + } | ||
| 273 | + @objc func alertBgViewClickAction() { | ||
| 274 | + //点击蒙版隐藏view | ||
| 275 | + self.hiden17Alert() | ||
| 276 | + } | ||
| 277 | + | ||
| 278 | + //弹出弹窗 | ||
| 279 | + func show17Alert(){ | ||
| 280 | + | ||
| 281 | + delegate.window?.addSubview(self.alertBgView) | ||
| 282 | + delegate.window?.addSubview(self.alertBgImgView) | ||
| 283 | + alertBgImgView.snp.makeConstraints { make in | ||
| 284 | + make.centerX.equalToSuperview() | ||
| 285 | + make.centerY.equalToSuperview() | ||
| 286 | + make.width.equalTo(KSreenWidth-80) | ||
| 287 | + make.height.equalTo((KSreenWidth-80)*170.5/295) | ||
| 288 | + } | ||
| 289 | + | ||
| 290 | + self.alertBgImgView.image = UIImage(named: "auth_alert_unOpen") | ||
| 291 | + } | ||
| 292 | + func hiden17Alert(){ | ||
| 293 | + delegate.window?.subviews.forEach({ view in | ||
| 294 | + if view.tag >= 20000{ | ||
| 295 | + view.removeFromSuperview() | ||
| 296 | + } | ||
| 297 | + }) | ||
| 298 | + } | ||
| 299 | + | ||
| 300 | + // MARK: - 暂不选择 按钮 | ||
| 301 | + @objc func buXuanZeBtnAction(){ | ||
| 302 | + self.bottomTotalView.isHidden = true | ||
| 303 | + self.currentSeleIndex = -1 | ||
| 304 | + self.currentSeleCollectionIndex = -1 | ||
| 305 | + self.tableView.reloadData() | ||
| 306 | + } | ||
| 307 | + // MARK: - 选好了 按钮 | ||
| 308 | + @objc func xuanZeBtnAction(){ | ||
| 309 | + if self.currCollectMdl?.userAuth == 0{//正在审核 | ||
| 310 | + showMessage(message: "您已认证过该身份,不能重复认证") | ||
| 311 | + return | ||
| 312 | + }else if self.currCollectMdl?.userAuth == 1{//审核成功 | ||
| 313 | + //进入身份认证页面 | ||
| 314 | + self.bottomTotalView.isHidden = true | ||
| 315 | + | ||
| 316 | + }else if self.currCollectMdl?.userAuth == -1{//审核失败 | ||
| 317 | +// showMessage(message: "审核失败") | ||
| 318 | + self.bottomTotalView.isHidden = true | ||
| 319 | + }else{ | ||
| 320 | + self.bottomTotalView.isHidden = true | ||
| 321 | + } | ||
| 322 | + if UserInfoManager.shared.userInfo.userMsgUsers?.verifyUsers.count ?? 0 > 0{ | ||
| 323 | + //实名认证过->身份管理页面 | ||
| 324 | + let listModel = StandListModel() | ||
| 325 | + listModel.id = Int(self.currCollectMdl?.id ?? "0")! | ||
| 326 | + listModel.name = "" | ||
| 327 | + let vc = CNLiveDigitalRealManageController() | ||
| 328 | + vc.listModel = listModel | ||
| 329 | + self.navigationController?.pushViewController(vc, animated: true) | ||
| 330 | + }else{ | ||
| 331 | + //未实名认证->实名认证 | ||
| 332 | + let vc = CNLiveRealNameAuthController() | ||
| 333 | + vc.channelId = self.channelId | ||
| 334 | + self.navigationController?.pushViewController(vc, animated: true) | ||
| 335 | + } | ||
| 336 | + } | ||
| 337 | + | ||
| 338 | + //行业认证列表 | ||
| 339 | + func getAuthenticationsApi(vsid:String,sid:String) | ||
| 340 | + { | ||
| 341 | + showLoading(message: "") | ||
| 342 | + CNLiveMineViewModel.requestsIndustryInfo(channelId: "", sid: sid, vsid: vsid) { result, respStatue in | ||
| 343 | + if respStatue == .success{ | ||
| 344 | + if let res = result as? [MineAuthenticationsChildModel]{ | ||
| 345 | + //添加每个MineAuthenticationsBaseModel到self.dataArray对应的 频道列表model里 | ||
| 346 | + | ||
| 347 | + if res.count > 0{ | ||
| 348 | + //所有二级行业 | ||
| 349 | + var totalTwoChildsArr = Array<MineAuthenticationsChildModel>() | ||
| 350 | + let twoChildModels = res.first | ||
| 351 | + twoChildModels?.child.forEach { twoChildModel in | ||
| 352 | + totalTwoChildsArr.append(twoChildModel) | ||
| 353 | + } | ||
| 354 | + | ||
| 355 | + self.totalFirstChildsArr = Array(res) as! [MineAuthenticationsChildModel] | ||
| 356 | + self.dataArray = NSMutableArray(array: totalTwoChildsArr) | ||
| 357 | + self.tableView.reloadData() | ||
| 358 | + | ||
| 359 | + self.titleName = twoChildModels?.name ?? "" | ||
| 360 | + }else{ | ||
| 361 | + //没有行业列表 ,提示暂无内容 | ||
| 362 | +// self.show17Alert() | ||
| 363 | + } | ||
| 364 | + } | ||
| 365 | + }else{ | ||
| 366 | + | ||
| 367 | + } | ||
| 368 | + } | ||
| 369 | + } | ||
| 370 | + | ||
| 371 | +} |
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/CNLiveRealNameAuthController.swift
| @@ -218,8 +218,6 @@ class CNLiveRealNameAuthController:CNLiveBaseViewController,UITableViewDataSourc | @@ -218,8 +218,6 @@ class CNLiveRealNameAuthController:CNLiveBaseViewController,UITableViewDataSourc | ||
| 218 | vc.realName = self.nameTextStr | 218 | vc.realName = self.nameTextStr |
| 219 | vc.realNumber = self.numberTextStr | 219 | vc.realNumber = self.numberTextStr |
| 220 | vc.channelId = self.channelId | 220 | vc.channelId = self.channelId |
| 221 | - vc.vsid = self.vsid | ||
| 222 | - vc.sid = self.sid | ||
| 223 | self.navigationController?.pushViewController(vc, animated: true) | 221 | self.navigationController?.pushViewController(vc, animated: true) |
| 224 | } | 222 | } |
| 225 | 223 |
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/CNLiveDigitalFirstCell.swift
| @@ -200,13 +200,39 @@ class CNLiveDigitalFirstCell: UITableViewCell { | @@ -200,13 +200,39 @@ class CNLiveDigitalFirstCell: UITableViewCell { | ||
| 200 | 200 | ||
| 201 | //未认证 | 201 | //未认证 |
| 202 | @objc func authBtnAction(){ | 202 | @objc func authBtnAction(){ |
| 203 | - | 203 | + let vc = CNLiveRealNameAuthController() |
| 204 | + vc.channelId = UserInfoManager.shared.userInfo.currentChannelId | ||
| 205 | + vc.vsid = UserInfoManager.shared.userInfo.currentUser?.vsid ?? "" | ||
| 206 | + vc.sid = UserInfoManager.shared.userInfo.uid | ||
| 207 | + currentViewController()?.navigationController?.pushViewController(vc, animated: true) | ||
| 204 | } | 208 | } |
| 205 | 209 | ||
| 206 | //已认证 | 210 | //已认证 |
| 207 | //切换实名身份 | 211 | //切换实名身份 |
| 208 | @objc func changePersonBtnAction(){ | 212 | @objc func changePersonBtnAction(){ |
| 209 | - | 213 | + var infoArr = Array<String>() |
| 214 | + UserInfoManager.shared.userInfo.userMsgUsers?.verifyUsers.forEach({ userMdl in | ||
| 215 | + infoArr.append(userMdl.name) | ||
| 216 | + }) | ||
| 217 | + MineStandListAlertView.showStandListView(infos: infoArr as NSArray,name: "实名对象切换", show_type: .string, isAddPerson: true) {text in | ||
| 218 | + let seleText = text as? String | ||
| 219 | + let tempArr = UserInfoManager.shared.userInfo.userMsgUsers?.verifyUsers | ||
| 220 | + if tempArr?.count == 0{ | ||
| 221 | + return | ||
| 222 | + } | ||
| 223 | + tempArr?.forEach({ userMdl in | ||
| 224 | + if userMdl.name == seleText{ | ||
| 225 | + let userInfo = UserInfoManager.shared.userInfo | ||
| 226 | + userInfo.currentUser = userMdl | ||
| 227 | + UserInfoManager.cacheUserInfo(userInfo: userInfo) | ||
| 228 | + self.authNameTitleLabel.text = userMdl.name | ||
| 229 | + | ||
| 230 | + let (gender, age) = self.extractGenderAndAge(fromIDCardNumber: UserInfoManager.shared.userInfo.currentUser?.idNo ?? "") | ||
| 231 | + let ageStr = String(format: "%d", age ?? 0) | ||
| 232 | + self.phoneTitleLabel.text = gender+" | "+ageStr+"岁"+" | "+UserInfoManager.shared.userInfo.mobile | ||
| 233 | + } | ||
| 234 | + }) | ||
| 235 | + } | ||
| 210 | } | 236 | } |
| 211 | //实名认证页面 | 237 | //实名认证页面 |
| 212 | @objc func realNameViewAction(){ | 238 | @objc func realNameViewAction(){ |
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/CNLiveDigitalSecCollectionCell.swift
| @@ -29,11 +29,19 @@ class CNLiveDigitalSecCollectionCell: UICollectionViewCell { | @@ -29,11 +29,19 @@ class CNLiveDigitalSecCollectionCell: UICollectionViewCell { | ||
| 29 | iconImgView.clipsToBounds = true | 29 | iconImgView.clipsToBounds = true |
| 30 | return iconImgView | 30 | return iconImgView |
| 31 | }() | 31 | }() |
| 32 | -// lazy var rightIconImgView :UIImageView = { | ||
| 33 | -// let iconImgView = UIImageView(frame: CGRect(x: self.iconImgView.width-15, y: self.iconImgView.height-15, width: 15, height: 15)) | ||
| 34 | -// iconImgView.image = UIImage(named: "auth_selected") | ||
| 35 | -// return iconImgView | ||
| 36 | -// }() | 32 | + lazy var bottomTitleLabel: UILabel = { |
| 33 | + let titleLabel = UILabel.init(frame: CGRectMake(0, 47, 60, 16)) | ||
| 34 | + titleLabel.textColor = .white | ||
| 35 | + titleLabel.textAlignment = .center | ||
| 36 | + titleLabel.layer.cornerRadius = 8 | ||
| 37 | + titleLabel.clipsToBounds = true | ||
| 38 | + titleLabel.font = Font_14 | ||
| 39 | + titleLabel.text = "审核中" | ||
| 40 | + titleLabel.backgroundColor = HexColor("#FFD20B") | ||
| 41 | + titleLabel.adjustsFontSizeToFitWidth=true | ||
| 42 | + return titleLabel | ||
| 43 | + }() | ||
| 44 | + | ||
| 37 | //是否选中 | 45 | //是否选中 |
| 38 | var _cellIsSelected : Bool = false | 46 | var _cellIsSelected : Bool = false |
| 39 | var cellIsSelected : Bool { | 47 | var cellIsSelected : Bool { |
| @@ -82,7 +90,8 @@ class CNLiveDigitalSecCollectionCell: UICollectionViewCell { | @@ -82,7 +90,8 @@ class CNLiveDigitalSecCollectionCell: UICollectionViewCell { | ||
| 82 | // self.iconImgView.addSubview(self.rightIconImgView) | 90 | // self.iconImgView.addSubview(self.rightIconImgView) |
| 83 | self.contentView.addSubview(self.titleLabel) | 91 | self.contentView.addSubview(self.titleLabel) |
| 84 | self.contentView.addSubview(self.addBtn) | 92 | self.contentView.addSubview(self.addBtn) |
| 85 | - | 93 | + self.contentView.addSubview(self.bottomTitleLabel) |
| 94 | + self.bottomTitleLabel.isHidden = true | ||
| 86 | } | 95 | } |
| 87 | 96 | ||
| 88 | required init?(coder: NSCoder) { | 97 | required init?(coder: NSCoder) { |
| @@ -90,12 +99,23 @@ class CNLiveDigitalSecCollectionCell: UICollectionViewCell { | @@ -90,12 +99,23 @@ class CNLiveDigitalSecCollectionCell: UICollectionViewCell { | ||
| 90 | } | 99 | } |
| 91 | 100 | ||
| 92 | func setupNewUI(model:MineAuthListModel){ | 101 | func setupNewUI(model:MineAuthListModel){ |
| 102 | + self.bottomTitleLabel.isHidden = true | ||
| 93 | if model.identityId != 0{ | 103 | if model.identityId != 0{ |
| 94 | self.titleLabel.text = model.name | 104 | self.titleLabel.text = model.name |
| 95 | self.iconImgView.kf.setImage(with: URL(string: model.icon ?? "")) | 105 | self.iconImgView.kf.setImage(with: URL(string: model.icon ?? "")) |
| 96 | self.addBtn.isHidden = true | 106 | self.addBtn.isHidden = true |
| 97 | self.titleLabel.isHidden = false | 107 | self.titleLabel.isHidden = false |
| 98 | self.iconImgView.isHidden = false | 108 | self.iconImgView.isHidden = false |
| 109 | + | ||
| 110 | + if model.userStatus == 0{ | ||
| 111 | + //审核中 | ||
| 112 | + self.bottomTitleLabel.isHidden = false | ||
| 113 | + }else if model.userStatus == 1{ | ||
| 114 | + //审核成功 | ||
| 115 | + self.bottomTitleLabel.isHidden = true | ||
| 116 | + }else{ | ||
| 117 | + self.bottomTitleLabel.isHidden = true | ||
| 118 | + } | ||
| 99 | }else{ | 119 | }else{ |
| 100 | self.addBtn.isHidden = false | 120 | self.addBtn.isHidden = false |
| 101 | self.titleLabel.isHidden = true | 121 | self.titleLabel.isHidden = true |
| @@ -104,6 +124,6 @@ class CNLiveDigitalSecCollectionCell: UICollectionViewCell { | @@ -104,6 +124,6 @@ class CNLiveDigitalSecCollectionCell: UICollectionViewCell { | ||
| 104 | } | 124 | } |
| 105 | 125 | ||
| 106 | @objc func addBtnAction(){ | 126 | @objc func addBtnAction(){ |
| 107 | - | 127 | + navigationViewController().pushViewController(CNLiveIdentityRepositoryController(), animated: true) |
| 108 | } | 128 | } |
| 109 | } | 129 | } |
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/CNLiveIdentityResTableCell.swift
0 → 100644
| 1 | +// | ||
| 2 | +// CNLiveIdentityResTableCell.swift | ||
| 3 | +// metaCode | ||
| 4 | +// | ||
| 5 | +// Created by zx on 2024/6/24. | ||
| 6 | +// 身份大库tableViewCell | ||
| 7 | + | ||
| 8 | +import Foundation | ||
| 9 | +import Kingfisher | ||
| 10 | +import SnapKit | ||
| 11 | + | ||
| 12 | +typealias IdentityResSelectBlock = (_ currentCell: CNLiveIdentityResTableCell ,_ identitiesId:String) -> Void | ||
| 13 | +class CNLiveIdentityResTableCell: UITableViewCell, UICollectionViewDelegate, UICollectionViewDataSource { | ||
| 14 | + | ||
| 15 | + lazy var twoTitleLabel: UILabel = { | ||
| 16 | + let titleLabel = UILabel.init(frame: CGRectMake(15, 15, KSreenWidth-30-40, 24)) | ||
| 17 | + titleLabel.textColor = HexColor("#333333") | ||
| 18 | + titleLabel.textAlignment = .left | ||
| 19 | + titleLabel.font = BoldFont_17 | ||
| 20 | + return titleLabel | ||
| 21 | + }() | ||
| 22 | + //3级身份列表 | ||
| 23 | + lazy var threeArr: [MineAuthenticationsChildIdentitiesModel] = { | ||
| 24 | + var threeArr = [MineAuthenticationsChildIdentitiesModel]() | ||
| 25 | + return threeArr | ||
| 26 | + }() | ||
| 27 | + let kCNLiveIdentityResThreeCollectCellID = "kCNLiveIdentityResThreeCollectCellID" | ||
| 28 | + lazy var threeCollectionView: UICollectionView = { | ||
| 29 | + let layout = UICollectionViewFlowLayout() | ||
| 30 | + layout.itemSize = CGSizeMake(100, 93) | ||
| 31 | + layout.minimumLineSpacing = 10 | ||
| 32 | + layout.scrollDirection = .horizontal | ||
| 33 | + let collectionView = UICollectionView(frame: .zero, collectionViewLayout: layout) | ||
| 34 | + collectionView.delegate = self | ||
| 35 | + collectionView.dataSource = self | ||
| 36 | + collectionView.backgroundColor = .white | ||
| 37 | + collectionView.register(CNLiveIdentityResThreeCollectCell.self, forCellWithReuseIdentifier: kCNLiveIdentityResThreeCollectCellID) | ||
| 38 | + return collectionView | ||
| 39 | + }() | ||
| 40 | + | ||
| 41 | + | ||
| 42 | + //childModel | ||
| 43 | + var _childModel : MineAuthenticationsChildModel? | ||
| 44 | + var childModel : MineAuthenticationsChildModel? { | ||
| 45 | + get{ | ||
| 46 | + _childModel | ||
| 47 | + } | ||
| 48 | + set{ | ||
| 49 | + _childModel = newValue! | ||
| 50 | + setupNewUI(model: _childModel!) | ||
| 51 | + } | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + var _tblCellIsSelect:Bool = false | ||
| 55 | + var tblCellIsSelect:Bool{ | ||
| 56 | + get{ | ||
| 57 | + _tblCellIsSelect | ||
| 58 | + } | ||
| 59 | + set{ | ||
| 60 | + _tblCellIsSelect = newValue | ||
| 61 | + } | ||
| 62 | + } | ||
| 63 | + var currentSeleIndex = -1 | ||
| 64 | + var selectBlock:IdentityResSelectBlock? | ||
| 65 | + | ||
| 66 | + override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { | ||
| 67 | + super.init(style: style, reuseIdentifier: reuseIdentifier) | ||
| 68 | + self.backgroundColor = .clear | ||
| 69 | + self.contentView.backgroundColor = .clear | ||
| 70 | + self.selectionStyle = .none | ||
| 71 | + self.contentView.addSubview(self.twoTitleLabel) | ||
| 72 | + self.contentView.addSubview(self.threeCollectionView) | ||
| 73 | + self.threeCollectionView.snp.makeConstraints { make in | ||
| 74 | + make.left.equalToSuperview().offset(15) | ||
| 75 | + make.right.equalToSuperview().offset(-15) | ||
| 76 | + make.top.equalTo(self.twoTitleLabel.snp.bottom).offset(10) | ||
| 77 | + make.height.equalTo(112) | ||
| 78 | + } | ||
| 79 | + } | ||
| 80 | + required init?(coder: NSCoder) { | ||
| 81 | + fatalError("init(coder:) has not been implemented") | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + func setupNewUI(model:MineAuthenticationsChildModel){ | ||
| 85 | + self.twoTitleLabel.text = model.name | ||
| 86 | + self.threeArr = model.identities | ||
| 87 | + self.threeCollectionView.reloadData() | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { | ||
| 91 | + self.childModel?.identities.count ?? 0 | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { | ||
| 95 | + let cell = collectionView.dequeueReusableCell(withReuseIdentifier: kCNLiveIdentityResThreeCollectCellID, for: indexPath) as! CNLiveIdentityResThreeCollectCell | ||
| 96 | + if indexPath.row == self.currentSeleIndex{ | ||
| 97 | + if self.tblCellIsSelect == true{ | ||
| 98 | + cell.cellIsSelected = true | ||
| 99 | + }else{ | ||
| 100 | + cell.cellIsSelected = false | ||
| 101 | + } | ||
| 102 | + }else{ | ||
| 103 | + cell.cellIsSelected = false | ||
| 104 | + } | ||
| 105 | + cell.identitiesModel = self.threeArr[indexPath.row] | ||
| 106 | + return cell | ||
| 107 | + } | ||
| 108 | + | ||
| 109 | + func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) { | ||
| 110 | + self.currentSeleIndex = indexPath.row | ||
| 111 | + let identitiesModel = self.threeArr[indexPath.row] | ||
| 112 | + if identitiesModel.userAuth == 0{ | ||
| 113 | + //正在审核 | ||
| 114 | + showMessage(message: "您已认证过该身份,不能重复认证") | ||
| 115 | + return | ||
| 116 | + }else if identitiesModel.userAuth == 1{ | ||
| 117 | + //审核成功 | ||
| 118 | + showMessage(message: "您已认证过该身份,不能重复认证") | ||
| 119 | + return | ||
| 120 | + }else if identitiesModel.userAuth == -1{ | ||
| 121 | + //审核失败 | ||
| 122 | + | ||
| 123 | + }else{ | ||
| 124 | + | ||
| 125 | + } | ||
| 126 | + self.selectBlock?(self,identitiesModel.id) | ||
| 127 | + self.threeCollectionView.reloadData() | ||
| 128 | + } | ||
| 129 | + | ||
| 130 | +} |
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/CNLiveIdentityResThreeCollectCell.swift
0 → 100644
| 1 | +// | ||
| 2 | +// CNLiveIdentityResThreeCollectCell.swift | ||
| 3 | +// metaCode | ||
| 4 | +// | ||
| 5 | +// Created by zx on 2024/6/24. | ||
| 6 | +// 身份大库 - 三级身份领域collectionCell | ||
| 7 | + | ||
| 8 | +import Foundation | ||
| 9 | +import Kingfisher | ||
| 10 | + | ||
| 11 | +class CNLiveIdentityResThreeCollectCell: UICollectionViewCell { | ||
| 12 | + | ||
| 13 | + //identitiesModel | ||
| 14 | + var _identitiesModel : MineAuthenticationsChildIdentitiesModel? | ||
| 15 | + var identitiesModel : MineAuthenticationsChildIdentitiesModel? { | ||
| 16 | + get{ | ||
| 17 | + _identitiesModel | ||
| 18 | + } | ||
| 19 | + set{ | ||
| 20 | + _identitiesModel = newValue! | ||
| 21 | + setupNewUI(model: _identitiesModel!) | ||
| 22 | + } | ||
| 23 | + } | ||
| 24 | + | ||
| 25 | + lazy var iconImgView :UIImageView = { | ||
| 26 | + let iconImgView = UIImageView(frame: CGRect(x: 18, y: 0, width: 64, height: 64)) | ||
| 27 | + iconImgView.contentMode = .scaleAspectFill | ||
| 28 | + iconImgView.clipsToBounds = true | ||
| 29 | + return iconImgView | ||
| 30 | + }() | ||
| 31 | + lazy var rightIconImgView :UIImageView = { | ||
| 32 | + let iconImgView = UIImageView(frame: CGRect(x: self.iconImgView.width-15, y: self.iconImgView.height-15, width: 15, height: 15)) | ||
| 33 | + iconImgView.image = UIImage(named: "auth_selected") | ||
| 34 | + return iconImgView | ||
| 35 | + }() | ||
| 36 | + //是否选中 | ||
| 37 | + var _cellIsSelected : Bool = false | ||
| 38 | + var cellIsSelected : Bool { | ||
| 39 | + get{ | ||
| 40 | + _cellIsSelected | ||
| 41 | + } | ||
| 42 | + set{ | ||
| 43 | + _cellIsSelected = newValue | ||
| 44 | + | ||
| 45 | + self.rightIconImgView.isHidden = !_cellIsSelected | ||
| 46 | + } | ||
| 47 | + } | ||
| 48 | + | ||
| 49 | + lazy var titleLabel: UILabel = { | ||
| 50 | + let titleLabel = UILabel.init(frame: CGRectMake(0, self.iconImgView.bottom+5, 100, 17)) | ||
| 51 | + titleLabel.textColor = HexColor("#333333") | ||
| 52 | + titleLabel.textAlignment = .center | ||
| 53 | + titleLabel.font = BoldFont_12 | ||
| 54 | + return titleLabel | ||
| 55 | + }() | ||
| 56 | + | ||
| 57 | + override init(frame: CGRect) { | ||
| 58 | + super.init(frame: frame) | ||
| 59 | + self.contentView.addSubview(self.iconImgView) | ||
| 60 | + self.iconImgView.addSubview(self.rightIconImgView) | ||
| 61 | + self.contentView.addSubview(self.titleLabel) | ||
| 62 | + | ||
| 63 | + } | ||
| 64 | + | ||
| 65 | + required init?(coder: NSCoder) { | ||
| 66 | + fatalError("init(coder:) has not been implemented") | ||
| 67 | + } | ||
| 68 | + | ||
| 69 | + func setupNewUI(model:MineAuthenticationsChildIdentitiesModel){ | ||
| 70 | + self.titleLabel.text = model.name | ||
| 71 | + self.iconImgView.kf.setImage(with: URL(string: model.icon),placeholder: UIImage(named: "auth_shenfen")) | ||
| 72 | + } | ||
| 73 | +} |
metaCode/Classes/Main/HomePage/View/VerticalViews/CNCustomIndexView.swift
| @@ -322,13 +322,16 @@ class CNCustomIndexView:PGIndexBannerSubiew, UIScrollViewDelegate, WJColorChange | @@ -322,13 +322,16 @@ class CNCustomIndexView:PGIndexBannerSubiew, UIScrollViewDelegate, WJColorChange | ||
| 322 | MineStandListAlertView.showStandListView(infos: infoArr as NSArray,name: "实名对象切换", show_type: .string, isAddPerson: true) {text in | 322 | MineStandListAlertView.showStandListView(infos: infoArr as NSArray,name: "实名对象切换", show_type: .string, isAddPerson: true) {text in |
| 323 | let seleText = text as? String | 323 | let seleText = text as? String |
| 324 | let tempArr = UserInfoManager.shared.userInfo.userMsgUsers?.verifyUsers | 324 | let tempArr = UserInfoManager.shared.userInfo.userMsgUsers?.verifyUsers |
| 325 | + if tempArr?.count == 0{ | ||
| 326 | + self.topRealPersonBtn.isHidden = true | ||
| 327 | + } | ||
| 325 | tempArr?.forEach({ userMdl in | 328 | tempArr?.forEach({ userMdl in |
| 326 | if userMdl.name == seleText{ | 329 | if userMdl.name == seleText{ |
| 327 | let userInfo = UserInfoManager.shared.userInfo | 330 | let userInfo = UserInfoManager.shared.userInfo |
| 328 | userInfo.currentUser = userMdl | 331 | userInfo.currentUser = userMdl |
| 329 | UserInfoManager.cacheUserInfo(userInfo: userInfo) | 332 | UserInfoManager.cacheUserInfo(userInfo: userInfo) |
| 330 | self.topRealPersonBtn.text = "当前对象: "+(UserInfoManager.shared.userInfo.currentUser?.name ?? "") | 333 | self.topRealPersonBtn.text = "当前对象: "+(UserInfoManager.shared.userInfo.currentUser?.name ?? "") |
| 331 | - | 334 | + self.topRealPersonBtn.isHidden = false |
| 332 | } | 335 | } |
| 333 | }) | 336 | }) |
| 334 | } | 337 | } |
metaCode/Classes/Main/MinePage/Controller/CNLiveMineInputViewController.swift
| @@ -135,7 +135,7 @@ class CNLiveMineInputViewController : CNLiveBaseViewController, UITableViewDeleg | @@ -135,7 +135,7 @@ class CNLiveMineInputViewController : CNLiveBaseViewController, UITableViewDeleg | ||
| 135 | super.viewDidLoad() | 135 | super.viewDidLoad() |
| 136 | 136 | ||
| 137 | navigationBarHidden = false | 137 | navigationBarHidden = false |
| 138 | - titleName = _listModel.name ?? "元码数字认证" | 138 | + titleName = (_listModel.name?.count == 0 ? "元码数字认证" : _listModel.name) ?? "" |
| 139 | view.backgroundColor = HexColor("#F7F8FA") | 139 | view.backgroundColor = HexColor("#F7F8FA") |
| 140 | 140 | ||
| 141 | loadStandInfoData() | 141 | loadStandInfoData() |
metaCode/Classes/Main/MinePage/Controller/CNLiveMineViewController.swift
| @@ -167,10 +167,13 @@ extension CNLiveMineViewController { | @@ -167,10 +167,13 @@ extension CNLiveMineViewController { | ||
| 167 | self.navigationController?.pushViewController(CNLiveMineQuestViewController.init(checkModel: checkModel), animated: true) | 167 | self.navigationController?.pushViewController(CNLiveMineQuestViewController.init(checkModel: checkModel), animated: true) |
| 168 | } | 168 | } |
| 169 | if indexPath.section == 1 { | 169 | if indexPath.section == 1 { |
| 170 | - self.navigationController?.pushViewController(CNLiveMineAddInfoViewController.init(show_type: .info), animated: true) | 170 | + //跳转 身份大库 |
| 171 | + navigationViewController().pushViewController(CNLiveIdentityRepositoryController(), animated: true) | ||
| 172 | +// self.navigationController?.pushViewController(CNLiveMineAddInfoViewController.init(show_type: .info), animated: true) | ||
| 171 | } | 173 | } |
| 172 | if indexPath.section == 2 { | 174 | if indexPath.section == 2 { |
| 173 | - self.navigationController?.pushViewController(CNLiveMineAddInfoViewController.init(show_type: .add), animated: true) | 175 | + navigationViewController().pushViewController(CNLiveDigitalAssetsController(), animated: true) |
| 176 | +// self.navigationController?.pushViewController(CNLiveMineAddInfoViewController.init(show_type: .add), animated: true) | ||
| 174 | } | 177 | } |
| 175 | if indexPath.section == 3 && indexPath.row == 0 { | 178 | if indexPath.section == 3 && indexPath.row == 0 { |
| 176 | self.navigationController?.pushViewController(CNLiveHelpFeedBackViewController.init(), animated: true) | 179 | self.navigationController?.pushViewController(CNLiveHelpFeedBackViewController.init(), animated: true) |
metaCode/Classes/Main/MinePage/View/CNLiveMineInfoAlertView.swift
| @@ -689,7 +689,9 @@ class MineStandListAlertView: UIView, UIPickerViewDelegate, UIPickerViewDataSour | @@ -689,7 +689,9 @@ class MineStandListAlertView: UIView, UIPickerViewDelegate, UIPickerViewDataSour | ||
| 689 | 689 | ||
| 690 | addSubview(grayMaskView) | 690 | addSubview(grayMaskView) |
| 691 | addSubview(backView) | 691 | addSubview(backView) |
| 692 | - addSubview(addRealPersonButton) | 692 | + if _isAddPerson{ |
| 693 | + addSubview(addRealPersonButton) | ||
| 694 | + } | ||
| 693 | backView.addSubview(pickerView) | 695 | backView.addSubview(pickerView) |
| 694 | backView.addSubview(datePicker) | 696 | backView.addSubview(datePicker) |
| 695 | backView.addSubview(nameLable) | 697 | backView.addSubview(nameLable) |
| @@ -708,13 +710,14 @@ class MineStandListAlertView: UIView, UIPickerViewDelegate, UIPickerViewDataSour | @@ -708,13 +710,14 @@ class MineStandListAlertView: UIView, UIPickerViewDelegate, UIPickerViewDataSour | ||
| 708 | make.left.right.equalToSuperview() | 710 | make.left.right.equalToSuperview() |
| 709 | make.height.equalTo(250) | 711 | make.height.equalTo(250) |
| 710 | } | 712 | } |
| 711 | - addRealPersonButton.snp.makeConstraints { make in | ||
| 712 | - make.centerX.equalToSuperview() | ||
| 713 | - make.bottom.equalTo(backView.snp.top).offset(-40) | ||
| 714 | - make.width.equalTo(105) | ||
| 715 | - make.height.equalTo(30) | 713 | + if _isAddPerson{ |
| 714 | + addRealPersonButton.snp.makeConstraints { make in | ||
| 715 | + make.centerX.equalToSuperview() | ||
| 716 | + make.bottom.equalTo(backView.snp.top).offset(-40) | ||
| 717 | + make.width.equalTo(105) | ||
| 718 | + make.height.equalTo(30) | ||
| 719 | + } | ||
| 716 | } | 720 | } |
| 717 | - | ||
| 718 | doneButton.snp.makeConstraints { make in | 721 | doneButton.snp.makeConstraints { make in |
| 719 | make.right.equalToSuperview() | 722 | make.right.equalToSuperview() |
| 720 | make.top.equalTo(10) | 723 | make.top.equalTo(10) |
| @@ -807,6 +810,9 @@ class MineStandListAlertView: UIView, UIPickerViewDelegate, UIPickerViewDataSour | @@ -807,6 +810,9 @@ class MineStandListAlertView: UIView, UIPickerViewDelegate, UIPickerViewDataSour | ||
| 807 | if _show_type == .text { | 810 | if _show_type == .text { |
| 808 | text = _infos![row] as? Dictionary<String, String> | 811 | text = _infos![row] as? Dictionary<String, String> |
| 809 | } | 812 | } |
| 813 | + if _show_type == .string { | ||
| 814 | + text = _infos![row] as? String | ||
| 815 | + } | ||
| 810 | } | 816 | } |
| 811 | 817 | ||
| 812 | required init?(coder: NSCoder) { | 818 | required init?(coder: NSCoder) { |
metaCode/Classes/Main/MinePage/ViewModel/CNLiveMineBaseModel.swift
| @@ -276,7 +276,7 @@ class MineAuthenticationsChildIdentitiesModel: BaseModel { | @@ -276,7 +276,7 @@ class MineAuthenticationsChildIdentitiesModel: BaseModel { | ||
| 276 | var status: Int = 0 | 276 | var status: Int = 0 |
| 277 | var sort: Int = 0 | 277 | var sort: Int = 0 |
| 278 | var type: Int = 0 | 278 | var type: Int = 0 |
| 279 | - var userAuth: Int = -1//是否已认证 null 为进行认证操作 0正在审核 1 审核成功 -1审核失败 null与-1 前端可做同一状态处理 | 279 | + var userAuth: Int = -1//是否已认证 null为进行认证操作 0正在审核 1审核成功 -1审核失败 null与-1前端可做同一状态处理 |
| 280 | } | 280 | } |
| 281 | 281 | ||
| 282 | // !!!: /api/identityApi/getUserMsg 接口标记 身份信息 | 282 | // !!!: /api/identityApi/getUserMsg 接口标记 身份信息 |
metaCode/Classes/Main/MinePage/ViewModel/CNLiveMineViewModel.swift
| @@ -583,6 +583,7 @@ class CNLiveMineViewModel: NSObject { | @@ -583,6 +583,7 @@ class CNLiveMineViewModel: NSObject { | ||
| 583 | static func requestsGETAuthInfoList(page: NSInteger, resultBlock: @escaping resultNewsBlock) { | 583 | static func requestsGETAuthInfoList(page: NSInteger, resultBlock: @escaping resultNewsBlock) { |
| 584 | let param = NSMutableDictionary() | 584 | let param = NSMutableDictionary() |
| 585 | param.setValue(UserInfoManager.shared.userInfo.uid, forKey: "sid") | 585 | param.setValue(UserInfoManager.shared.userInfo.uid, forKey: "sid") |
| 586 | + param.setValue(UserInfoManager.shared.userInfo.currentUser?.vsid, forKey: "vsid") | ||
| 586 | param.setValue("1", forKey: "type") //0正在审核 1已认证 -1审核失败 | 587 | param.setValue("1", forKey: "type") //0正在审核 1已认证 -1审核失败 |
| 587 | param.setValue("\(page)", forKey: "page") | 588 | param.setValue("\(page)", forKey: "page") |
| 588 | param.setValue("30", forKey: "pageSize") | 589 | param.setValue("30", forKey: "pageSize") |
| @@ -716,8 +717,6 @@ class CNLiveMineViewModel: NSObject { | @@ -716,8 +717,6 @@ class CNLiveMineViewModel: NSObject { | ||
| 716 | /// - resultBlock: 返回 | 717 | /// - resultBlock: 返回 |
| 717 | static func requestsIndustryInfo(channelId: String, sid: String, vsid: String,resultBlock: @escaping resultNewsBlock) { | 718 | static func requestsIndustryInfo(channelId: String, sid: String, vsid: String,resultBlock: @escaping resultNewsBlock) { |
| 718 | let param = NSMutableDictionary() | 719 | let param = NSMutableDictionary() |
| 719 | -// param.setValue("1342671", forKey: "sid")// | ||
| 720 | -// param.setValue("2", forKey: "vsid") | ||
| 721 | param.setValue(UserInfoManager.shared.userInfo.uid, forKey: "sid") | 720 | param.setValue(UserInfoManager.shared.userInfo.uid, forKey: "sid") |
| 722 | param.setValue(vsid, forKey: "vsid") | 721 | param.setValue(vsid, forKey: "vsid") |
| 723 | param.setValue(channelId, forKey: "channelId") | 722 | param.setValue(channelId, forKey: "channelId") |
metaCode/Supporting Files/Assets.xcassets/AuthPage/auth_shenfen.imageset/Contents.json
0 → 100644
| 1 | +{ | ||
| 2 | + "images" : [ | ||
| 3 | + { | ||
| 4 | + "idiom" : "universal", | ||
| 5 | + "scale" : "1x" | ||
| 6 | + }, | ||
| 7 | + { | ||
| 8 | + "filename" : "auth_shenfen@2x.png", | ||
| 9 | + "idiom" : "universal", | ||
| 10 | + "scale" : "2x" | ||
| 11 | + }, | ||
| 12 | + { | ||
| 13 | + "filename" : "auth_shenfen@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/AuthPage/auth_shenfen.imageset/auth_shenfen@2x.png
0 → 100644
5.01 KB
metaCode/Supporting Files/Assets.xcassets/AuthPage/auth_shenfen.imageset/auth_shenfen@3x.png
0 → 100644
10.9 KB
metaCode/Supporting Files/Assets.xcassets/AuthPage/auth_shuaxin.imageset/Contents.json
0 → 100644
| 1 | +{ | ||
| 2 | + "images" : [ | ||
| 3 | + { | ||
| 4 | + "idiom" : "universal", | ||
| 5 | + "scale" : "1x" | ||
| 6 | + }, | ||
| 7 | + { | ||
| 8 | + "filename" : "auth_shuaxin@2x.png", | ||
| 9 | + "idiom" : "universal", | ||
| 10 | + "scale" : "2x" | ||
| 11 | + }, | ||
| 12 | + { | ||
| 13 | + "idiom" : "universal", | ||
| 14 | + "scale" : "3x" | ||
| 15 | + } | ||
| 16 | + ], | ||
| 17 | + "info" : { | ||
| 18 | + "author" : "xcode", | ||
| 19 | + "version" : 1 | ||
| 20 | + } | ||
| 21 | +} |
metaCode/Supporting Files/Assets.xcassets/AuthPage/auth_shuaxin.imageset/auth_shuaxin@2x.png
0 → 100644
8.08 KB