Commit 23f29594bd4972b8bba54e8c610cdd6b4159376b

Authored by “张旭”
1 parent ecaee50d

我的数字资产页面-管理证书

Showing 28 changed files with 537 additions and 490 deletions
metaCode.xcodeproj/project.pbxproj
@@ -7,6 +7,9 @@ @@ -7,6 +7,9 @@
7 objects = { 7 objects = {
8 8
9 /* Begin PBXBuildFile section */ 9 /* Begin PBXBuildFile section */
  10 + 1909DC962C6309EC001E7986 /* CNLiveDigitalResumePreViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1909DC952C6309EC001E7986 /* CNLiveDigitalResumePreViewController.swift */; };
  11 + 1909DC982C6342C4001E7986 /* CNLiveDigitalThreeCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1909DC972C6342C3001E7986 /* CNLiveDigitalThreeCell.swift */; };
  12 + 1909DC9B2C634D6F001E7986 /* CNLiveDigitalThreeCerCollectCell .swift in Sources */ = {isa = PBXBuildFile; fileRef = 1909DC9A2C634D6F001E7986 /* CNLiveDigitalThreeCerCollectCell .swift */; };
10 19123FC12ABC11170075C883 /* CNWebViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19123FC02ABC11170075C883 /* CNWebViewController.swift */; }; 13 19123FC12ABC11170075C883 /* CNWebViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19123FC02ABC11170075C883 /* CNWebViewController.swift */; };
11 1917328E2B032583007BCC04 /* CNLiveRoundedRectView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1917328D2B032583007BCC04 /* CNLiveRoundedRectView.swift */; }; 14 1917328E2B032583007BCC04 /* CNLiveRoundedRectView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1917328D2B032583007BCC04 /* CNLiveRoundedRectView.swift */; };
12 191732902B0348F6007BCC04 /* CNLiveSwitchView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1917328F2B0348F6007BCC04 /* CNLiveSwitchView.swift */; }; 15 191732902B0348F6007BCC04 /* CNLiveSwitchView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1917328F2B0348F6007BCC04 /* CNLiveSwitchView.swift */; };
@@ -344,6 +347,9 @@ @@ -344,6 +347,9 @@
344 347
345 /* Begin PBXFileReference section */ 348 /* Begin PBXFileReference section */
346 170BC5D0622EA2969D110A3B /* Pods-metaCode.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-metaCode.release.xcconfig"; path = "Target Support Files/Pods-metaCode/Pods-metaCode.release.xcconfig"; sourceTree = "<group>"; }; 349 170BC5D0622EA2969D110A3B /* Pods-metaCode.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-metaCode.release.xcconfig"; path = "Target Support Files/Pods-metaCode/Pods-metaCode.release.xcconfig"; sourceTree = "<group>"; };
  350 + 1909DC952C6309EC001E7986 /* CNLiveDigitalResumePreViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveDigitalResumePreViewController.swift; sourceTree = "<group>"; };
  351 + 1909DC972C6342C3001E7986 /* CNLiveDigitalThreeCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveDigitalThreeCell.swift; sourceTree = "<group>"; };
  352 + 1909DC9A2C634D6F001E7986 /* CNLiveDigitalThreeCerCollectCell .swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "CNLiveDigitalThreeCerCollectCell .swift"; sourceTree = "<group>"; };
347 19123FC02ABC11170075C883 /* CNWebViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNWebViewController.swift; sourceTree = "<group>"; }; 353 19123FC02ABC11170075C883 /* CNWebViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNWebViewController.swift; sourceTree = "<group>"; };
348 1917328D2B032583007BCC04 /* CNLiveRoundedRectView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveRoundedRectView.swift; sourceTree = "<group>"; }; 354 1917328D2B032583007BCC04 /* CNLiveRoundedRectView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveRoundedRectView.swift; sourceTree = "<group>"; };
349 1917328F2B0348F6007BCC04 /* CNLiveSwitchView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveSwitchView.swift; sourceTree = "<group>"; }; 355 1917328F2B0348F6007BCC04 /* CNLiveSwitchView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveSwitchView.swift; sourceTree = "<group>"; };
@@ -703,6 +709,51 @@ @@ -703,6 +709,51 @@
703 /* End PBXFrameworksBuildPhase section */ 709 /* End PBXFrameworksBuildPhase section */
704 710
705 /* Begin PBXGroup section */ 711 /* Begin PBXGroup section */
  712 + 1909DC922C6308FA001E7986 /* 数字简历相关页面 */ = {
  713 + isa = PBXGroup;
  714 + children = (
  715 + 19DFE63F2C3FC5F400E428AE /* CNLiveDigitalResumeController.swift */,
  716 + 19DFE64C2C4792C500E428AE /* CNLiveDigitalResumeInfoController.swift */,
  717 + 192ED4642C4DF6340057244C /* CNLiveDigitalResumeInfoSelectAddressController.swift */,
  718 + 192ED4662C4F47E50057244C /* CNLiveSelectHangYeController.swift */,
  719 + 1909DC952C6309EC001E7986 /* CNLiveDigitalResumePreViewController.swift */,
  720 + );
  721 + path = "数字简历相关页面";
  722 + sourceTree = "<group>";
  723 + };
  724 + 1909DC932C630915001E7986 /* 实名认证 */ = {
  725 + isa = PBXGroup;
  726 + children = (
  727 + 1941348F2C22C25A004FC047 /* CNLiveDigitalMineRealNameController.swift */,
  728 + 194134932C240583004FC047 /* CNLiveDigitalRealManageController.swift */,
  729 + 19C735CD2C12D19D00CACF4E /* CNLiveRealNameAuthController.swift */,
  730 + 194134772C17F83B004FC047 /* CNLiveFaceAuthController.swift */,
  731 + );
  732 + path = "实名认证";
  733 + sourceTree = "<group>";
  734 + };
  735 + 1909DC942C63094F001E7986 /* 数字认证身份相关页面 */ = {
  736 + isa = PBXGroup;
  737 + children = (
  738 + 19C0F7732BDF71CA0097CC8F /* CNLiveDigitalAuthController.swift */,
  739 + 194134872C1FE4E7004FC047 /* CNLiveDigitalAssetsController.swift */,
  740 + 194134972C292199004FC047 /* CNLiveIdentityRepositoryController.swift */,
  741 + );
  742 + path = "数字认证身份相关页面";
  743 + sourceTree = "<group>";
  744 + };
  745 + 1909DC992C634D59001E7986 /* 数字资产cell */ = {
  746 + isa = PBXGroup;
  747 + children = (
  748 + 194134892C200E4E004FC047 /* CNLiveDigitalFirstCell.swift */,
  749 + 1941348B2C20261C004FC047 /* CNLiveDigitalSecCell.swift */,
  750 + 1941348D2C2165EE004FC047 /* CNLiveDigitalSecCollectionCell.swift */,
  751 + 1909DC972C6342C3001E7986 /* CNLiveDigitalThreeCell.swift */,
  752 + 1909DC9A2C634D6F001E7986 /* CNLiveDigitalThreeCerCollectCell .swift */,
  753 + );
  754 + path = "数字资产cell";
  755 + sourceTree = "<group>";
  756 + };
706 191732F62B08AAD4007BCC04 /* ShopClassify */ = { 757 191732F62B08AAD4007BCC04 /* ShopClassify */ = {
707 isa = PBXGroup; 758 isa = PBXGroup;
708 children = ( 759 children = (
@@ -1219,19 +1270,11 @@ @@ -1219,19 +1270,11 @@
1219 19C0F7722BDF71890097CC8F /* DigitalAuth */ = { 1270 19C0F7722BDF71890097CC8F /* DigitalAuth */ = {
1220 isa = PBXGroup; 1271 isa = PBXGroup;
1221 children = ( 1272 children = (
  1273 + 1909DC942C63094F001E7986 /* 数字认证身份相关页面 */,
  1274 + 1909DC932C630915001E7986 /* 实名认证 */,
  1275 + 1909DC922C6308FA001E7986 /* 数字简历相关页面 */,
1222 192ED4822C57422D0057244C /* 工作相关页面 */, 1276 192ED4822C57422D0057244C /* 工作相关页面 */,
1223 192ED4812C5742190057244C /* 证书相关页面 */, 1277 192ED4812C5742190057244C /* 证书相关页面 */,
1224 - 19C0F7732BDF71CA0097CC8F /* CNLiveDigitalAuthController.swift */,  
1225 - 194134932C240583004FC047 /* CNLiveDigitalRealManageController.swift */,  
1226 - 19C735CD2C12D19D00CACF4E /* CNLiveRealNameAuthController.swift */,  
1227 - 194134772C17F83B004FC047 /* CNLiveFaceAuthController.swift */,  
1228 - 194134872C1FE4E7004FC047 /* CNLiveDigitalAssetsController.swift */,  
1229 - 1941348F2C22C25A004FC047 /* CNLiveDigitalMineRealNameController.swift */,  
1230 - 194134972C292199004FC047 /* CNLiveIdentityRepositoryController.swift */,  
1231 - 19DFE63F2C3FC5F400E428AE /* CNLiveDigitalResumeController.swift */,  
1232 - 19DFE64C2C4792C500E428AE /* CNLiveDigitalResumeInfoController.swift */,  
1233 - 192ED4642C4DF6340057244C /* CNLiveDigitalResumeInfoSelectAddressController.swift */,  
1234 - 192ED4662C4F47E50057244C /* CNLiveSelectHangYeController.swift */,  
1235 ); 1278 );
1236 path = DigitalAuth; 1279 path = DigitalAuth;
1237 sourceTree = "<group>"; 1280 sourceTree = "<group>";
@@ -1247,6 +1290,7 @@ @@ -1247,6 +1290,7 @@
1247 19C735C82C1063A000CACF4E /* DigitalAuthViews */ = { 1290 19C735C82C1063A000CACF4E /* DigitalAuthViews */ = {
1248 isa = PBXGroup; 1291 isa = PBXGroup;
1249 children = ( 1292 children = (
  1293 + 1909DC992C634D59001E7986 /* 数字资产cell */,
1250 192ED46E2C5217A00057244C /* Vitae */, 1294 192ED46E2C5217A00057244C /* Vitae */,
1251 19DFE6472C44BE9500E428AE /* DigitalResume */, 1295 19DFE6472C44BE9500E428AE /* DigitalResume */,
1252 19C735C92C10647B00CACF4E /* CNLiveDigitalAuthCell.swift */, 1296 19C735C92C10647B00CACF4E /* CNLiveDigitalAuthCell.swift */,
@@ -1254,9 +1298,6 @@ @@ -1254,9 +1298,6 @@
1254 194134952C2412C7004FC047 /* CNLiveRealManageCell.swift */, 1298 194134952C2412C7004FC047 /* CNLiveRealManageCell.swift */,
1255 19C735CF2C12F5F600CACF4E /* CNLiveRealNameCell.swift */, 1299 19C735CF2C12F5F600CACF4E /* CNLiveRealNameCell.swift */,
1256 1941347F2C18160C004FC047 /* CNLiveAuthPreviewView.swift */, 1300 1941347F2C18160C004FC047 /* CNLiveAuthPreviewView.swift */,
1257 - 194134892C200E4E004FC047 /* CNLiveDigitalFirstCell.swift */,  
1258 - 1941348B2C20261C004FC047 /* CNLiveDigitalSecCell.swift */,  
1259 - 1941348D2C2165EE004FC047 /* CNLiveDigitalSecCollectionCell.swift */,  
1260 194134912C22C920004FC047 /* CNLiveDigitalMineRealNameCell.swift */, 1301 194134912C22C920004FC047 /* CNLiveDigitalMineRealNameCell.swift */,
1261 194134992C294A78004FC047 /* CNLiveIdentityResTableCell.swift */, 1302 194134992C294A78004FC047 /* CNLiveIdentityResTableCell.swift */,
1262 195226782C294C8E00CB0707 /* CNLiveIdentityResThreeCollectCell.swift */, 1303 195226782C294C8E00CB0707 /* CNLiveIdentityResThreeCollectCell.swift */,
@@ -2167,6 +2208,7 @@ @@ -2167,6 +2208,7 @@
2167 7CD6753D2A2740B0008354C1 /* CNMainView.swift in Sources */, 2208 7CD6753D2A2740B0008354C1 /* CNMainView.swift in Sources */,
2168 19B153CB2BC3E1870018906C /* CNLiveShopPayController.swift in Sources */, 2209 19B153CB2BC3E1870018906C /* CNLiveShopPayController.swift in Sources */,
2169 191733662B39237D007BCC04 /* CNLiveShopGoodsManageListTableViewCell.swift in Sources */, 2210 191733662B39237D007BCC04 /* CNLiveShopGoodsManageListTableViewCell.swift in Sources */,
  2211 + 1909DC982C6342C4001E7986 /* CNLiveDigitalThreeCell.swift in Sources */,
2170 793CAF522A58FCA200882EF4 /* CNLiveMineExchangeViewController.swift in Sources */, 2212 793CAF522A58FCA200882EF4 /* CNLiveMineExchangeViewController.swift in Sources */,
2171 192ED4802C5488AD0057244C /* CNLiveVitaeCerAddPhotoController.swift in Sources */, 2213 192ED4802C5488AD0057244C /* CNLiveVitaeCerAddPhotoController.swift in Sources */,
2172 1917334E2B2C1A08007BCC04 /* CNLiveSelectCouponTapView.swift in Sources */, 2214 1917334E2B2C1A08007BCC04 /* CNLiveSelectCouponTapView.swift in Sources */,
@@ -2260,6 +2302,7 @@ @@ -2260,6 +2302,7 @@
2260 1917335C2B3283FF007BCC04 /* CNLiveCouponGoodsListSearchView.swift in Sources */, 2302 1917335C2B3283FF007BCC04 /* CNLiveCouponGoodsListSearchView.swift in Sources */,
2261 798A44F92A30835400815935 /* CNLiveHelpFeedBackViewController.swift in Sources */, 2303 798A44F92A30835400815935 /* CNLiveHelpFeedBackViewController.swift in Sources */,
2262 1938BD262B479D3400390A34 /* UILabel+FormattedText.swift in Sources */, 2304 1938BD262B479D3400390A34 /* UILabel+FormattedText.swift in Sources */,
  2305 + 1909DC962C6309EC001E7986 /* CNLiveDigitalResumePreViewController.swift in Sources */,
2263 79DC67642B5FB60900261A94 /* CNLiveMineAuthFormViewController.swift in Sources */, 2306 79DC67642B5FB60900261A94 /* CNLiveMineAuthFormViewController.swift in Sources */,
2264 790D01852A2D89E100C5978D /* UIColor+CNLiveExtensions.swift in Sources */, 2307 790D01852A2D89E100C5978D /* UIColor+CNLiveExtensions.swift in Sources */,
2265 19C0F7672BD8DC4D0097CC8F /* CNThreeLoginModel.swift in Sources */, 2308 19C0F7672BD8DC4D0097CC8F /* CNThreeLoginModel.swift in Sources */,
@@ -2321,6 +2364,7 @@ @@ -2321,6 +2364,7 @@
2321 79BB1C142B05C51900C5720C /* CNLiveShopCouponViewController.swift in Sources */, 2364 79BB1C142B05C51900C5720C /* CNLiveShopCouponViewController.swift in Sources */,
2322 1941348A2C200E4E004FC047 /* CNLiveDigitalFirstCell.swift in Sources */, 2365 1941348A2C200E4E004FC047 /* CNLiveDigitalFirstCell.swift in Sources */,
2323 798916ED2B048E8200D08302 /* CNLiveShopTransViewController.swift in Sources */, 2366 798916ED2B048E8200D08302 /* CNLiveShopTransViewController.swift in Sources */,
  2367 + 1909DC9B2C634D6F001E7986 /* CNLiveDigitalThreeCerCollectCell .swift in Sources */,
2324 191733172B10A017007BCC04 /* CNLivePlayerBottomNaviView.swift in Sources */, 2368 191733172B10A017007BCC04 /* CNLivePlayerBottomNaviView.swift in Sources */,
2325 1941348E2C2165EE004FC047 /* CNLiveDigitalSecCollectionCell.swift in Sources */, 2369 1941348E2C2165EE004FC047 /* CNLiveDigitalSecCollectionCell.swift in Sources */,
2326 19BB1FEC2AF0AB8E0094D962 /* CNLiveDownShopDetailController.swift in Sources */, 2370 19BB1FEC2AF0AB8E0094D962 /* CNLiveDownShopDetailController.swift in Sources */,
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/CNLiveDigitalMineRealNameController.swift renamed to metaCode/Classes/Main/HomePage/Controller/DigitalAuth/实名认证/CNLiveDigitalMineRealNameController.swift
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/CNLiveDigitalRealManageController.swift renamed to metaCode/Classes/Main/HomePage/Controller/DigitalAuth/实名认证/CNLiveDigitalRealManageController.swift
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/CNLiveFaceAuthController.swift renamed to metaCode/Classes/Main/HomePage/Controller/DigitalAuth/实名认证/CNLiveFaceAuthController.swift
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/CNLiveRealNameAuthController.swift renamed to metaCode/Classes/Main/HomePage/Controller/DigitalAuth/实名认证/CNLiveRealNameAuthController.swift
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/CNLiveDigitalResumeController.swift renamed to metaCode/Classes/Main/HomePage/Controller/DigitalAuth/数字简历相关页面/CNLiveDigitalResumeController.swift
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/CNLiveDigitalResumeInfoController.swift renamed to metaCode/Classes/Main/HomePage/Controller/DigitalAuth/数字简历相关页面/CNLiveDigitalResumeInfoController.swift
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/CNLiveDigitalResumeInfoSelectAddressController.swift renamed to metaCode/Classes/Main/HomePage/Controller/DigitalAuth/数字简历相关页面/CNLiveDigitalResumeInfoSelectAddressController.swift
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/数字简历相关页面/CNLiveDigitalResumePreViewController.swift 0 → 100644
  1 +//
  2 +// CNLiveDigitalResumePreViewController.swift
  3 +// metaCode
  4 +//
  5 +// Created by zx on 2024/8/7.
  6 +// 数字简历预览页面
  7 +
  8 +import Foundation
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/CNLiveSelectHangYeController.swift renamed to metaCode/Classes/Main/HomePage/Controller/DigitalAuth/数字简历相关页面/CNLiveSelectHangYeController.swift
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/CNLiveDigitalAssetsController.swift renamed to metaCode/Classes/Main/HomePage/Controller/DigitalAuth/数字认证身份相关页面/CNLiveDigitalAssetsController.swift
@@ -9,6 +9,8 @@ import Foundation @@ -9,6 +9,8 @@ import Foundation
9 9
10 class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSource, UITableViewDelegate{ 10 class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSource, UITableViewDelegate{
11 11
  12 + var certificatesArr = [CNLiveVitaeCertificateModel]()
  13 +
12 lazy var nextBtn: UIButton = { 14 lazy var nextBtn: UIButton = {
13 let nextBtn = UIButton(type: .custom) 15 let nextBtn = UIButton(type: .custom)
14 nextBtn.setTitle("培训就业指南", for: .normal) 16 nextBtn.setTitle("培训就业指南", for: .normal)
@@ -23,6 +25,7 @@ class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSou @@ -23,6 +25,7 @@ class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSou
23 25
24 let kCNLiveDigitalFirstCellIdentifier = "kCNLiveDigitalFirstCellIdentifier" 26 let kCNLiveDigitalFirstCellIdentifier = "kCNLiveDigitalFirstCellIdentifier"
25 let kCNLiveDigitalSecCellIdentifier = "kCNLiveDigitalSecCellIdentifier" 27 let kCNLiveDigitalSecCellIdentifier = "kCNLiveDigitalSecCellIdentifier"
  28 + let kCNLiveDigitalThreeCellIdentifier = "kCNLiveDigitalThreeCellIdentifier"
26 29
27 lazy var tableView : UITableView = { 30 lazy var tableView : UITableView = {
28 let tableView = UITableView(frame: .zero, style: .plain) 31 let tableView = UITableView(frame: .zero, style: .plain)
@@ -32,7 +35,7 @@ class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSou @@ -32,7 +35,7 @@ class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSou
32 tableView.tableFooterView = UIView.init() 35 tableView.tableFooterView = UIView.init()
33 tableView.register(CNLiveDigitalFirstCell.self, forCellReuseIdentifier: kCNLiveDigitalFirstCellIdentifier) 36 tableView.register(CNLiveDigitalFirstCell.self, forCellReuseIdentifier: kCNLiveDigitalFirstCellIdentifier)
34 tableView.register(CNLiveDigitalSecCell.self, forCellReuseIdentifier: kCNLiveDigitalSecCellIdentifier) 37 tableView.register(CNLiveDigitalSecCell.self, forCellReuseIdentifier: kCNLiveDigitalSecCellIdentifier)
35 - 38 + tableView.register(CNLiveDigitalThreeCell.self, forCellReuseIdentifier: kCNLiveDigitalThreeCellIdentifier)
36 return tableView 39 return tableView
37 }() 40 }()
38 lazy var dataArray: NSMutableArray = { 41 lazy var dataArray: NSMutableArray = {
@@ -43,6 +46,7 @@ class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSou @@ -43,6 +46,7 @@ class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSou
43 override func viewWillAppear(_ animated: Bool) { 46 override func viewWillAppear(_ animated: Bool) {
44 super.viewWillAppear(animated) 47 super.viewWillAppear(animated)
45 self.loadData() 48 self.loadData()
  49 +
46 } 50 }
47 override func viewDidLoad() { 51 override func viewDidLoad() {
48 super.viewDidLoad() 52 super.viewDidLoad()
@@ -102,6 +106,8 @@ class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSou @@ -102,6 +106,8 @@ class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSou
102 self!.dataArray.add(MineAuthListModel()) 106 self!.dataArray.add(MineAuthListModel())
103 self!.tableView.reloadData() 107 self!.tableView.reloadData()
104 } 108 }
  109 +
  110 + self!.getCetList()
105 }else { 111 }else {
106 112
107 } 113 }
@@ -109,7 +115,7 @@ class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSou @@ -109,7 +115,7 @@ class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSou
109 } 115 }
110 116
111 func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { 117 func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
112 - return 2 118 + return 3
113 } 119 }
114 120
115 func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { 121 func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
@@ -120,7 +126,7 @@ class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSou @@ -120,7 +126,7 @@ class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSou
120 return cell 126 return cell
121 } 127 }
122 return cell 128 return cell
123 - }else{ 129 + }else if indexPath.row == 1{
124 guard let cell = tableView.dequeueReusableCell(withIdentifier: kCNLiveDigitalSecCellIdentifier) as? CNLiveDigitalSecCell 130 guard let cell = tableView.dequeueReusableCell(withIdentifier: kCNLiveDigitalSecCellIdentifier) as? CNLiveDigitalSecCell
125 else { 131 else {
126 let cell = CNLiveDigitalSecCell() 132 let cell = CNLiveDigitalSecCell()
@@ -129,6 +135,14 @@ class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSou @@ -129,6 +135,14 @@ class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSou
129 } 135 }
130 cell.digitalListModels = self.dataArray as? [MineAuthListModel] 136 cell.digitalListModels = self.dataArray as? [MineAuthListModel]
131 return cell 137 return cell
  138 + }else{
  139 + guard let cell = tableView.dequeueReusableCell(withIdentifier: kCNLiveDigitalThreeCellIdentifier) as? CNLiveDigitalThreeCell
  140 + else {
  141 + let cell = CNLiveDigitalThreeCell()
  142 + return cell
  143 + }
  144 + cell.certificatesArr = self.certificatesArr
  145 + return cell
132 } 146 }
133 147
134 } 148 }
@@ -136,10 +150,11 @@ class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSou @@ -136,10 +150,11 @@ class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSou
136 func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { 150 func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
137 if indexPath.row == 0{ 151 if indexPath.row == 0{
138 return adapt_length(length: 121+20) 152 return adapt_length(length: 121+20)
  153 + }else if indexPath.row == 1{
  154 + return adapt_length(length: 152+15)
139 }else{ 155 }else{
140 - return adapt_length(length: 838+15) 156 + return 317+15
141 } 157 }
142 -  
143 } 158 }
144 deinit { 159 deinit {
145 160
@@ -148,4 +163,19 @@ class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSou @@ -148,4 +163,19 @@ class CNLiveDigitalAssetsController:CNLiveBaseViewController, UITableViewDataSou
148 @objc func nextBtnAction(){ 163 @objc func nextBtnAction(){
149 showMessage(message: "此功能对您暂未开放") 164 showMessage(message: "此功能对您暂未开放")
150 } 165 }
  166 +
  167 + func getCetList(){
  168 + let vsid = UserInfoManager.shared.userInfo.currentUser?.vsid ?? ""
  169 + CNLiveVitaeViewModel.getCerList(vsid: vsid, page: 1, pageSize: 100){ result, respStatue in
  170 + if respStatue == .success{
  171 + if let res = result as? [CNLiveVitaeCertificateModel]{
  172 + self.certificatesArr = res
  173 + self.tableView.reloadData()
  174 + }
  175 + }else{
  176 + showMessage(message: "数据异常")
  177 + }
  178 +
  179 + }
  180 + }
151 } 181 }
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/CNLiveDigitalAuthController.swift renamed to metaCode/Classes/Main/HomePage/Controller/DigitalAuth/数字认证身份相关页面/CNLiveDigitalAuthController.swift
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/CNLiveIdentityRepositoryController.swift renamed to metaCode/Classes/Main/HomePage/Controller/DigitalAuth/数字认证身份相关页面/CNLiveIdentityRepositoryController.swift
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/CNLiveDigitalSecCell.swift deleted 100644 → 0
1 -//  
2 -// CNLiveDigitalSecCell.swift  
3 -// metaCode  
4 -//  
5 -// Created by zx on 2024/6/17.  
6 -// 数字资产-身份cell  
7 -  
8 -import Foundation  
9 -import Kingfisher  
10 -import SnapKit  
11 -  
12 -class CNLiveDigitalSecCell: UITableViewCell, UICollectionViewDelegate, UICollectionViewDataSource {  
13 -  
14 - lazy var whiteView :UIView = {  
15 - let whiteView = UIView(frame: CGRect(x: 15, y:adapt_length(length: 15), width: KSreenWidth-30, height: adapt_length(length: 838)))  
16 - whiteView.backgroundColor = .white  
17 - whiteView.layer.cornerRadius = 12  
18 - whiteView.clipsToBounds = true  
19 - return whiteView  
20 - }()  
21 -  
22 - lazy var myIdentityTitleLabel: UILabel = {  
23 - let titleLabel = UILabel()  
24 - titleLabel.textColor = HexColor("#333333")  
25 - titleLabel.textAlignment = .center  
26 - titleLabel.text = "我的身份"  
27 - titleLabel.font = BoldFont_16  
28 - return titleLabel  
29 - }()  
30 -  
31 - let kCNLiveDigitalSecCollectCellID = "kCNLiveDigitalSecCollectCellID"  
32 - lazy var threeCollectionView: UICollectionView = {  
33 - let layout = UICollectionViewFlowLayout()  
34 - layout.itemSize = CGSizeMake(adapt_length(length: 60), adapt_length(length: 60+3+17))  
35 - layout.minimumLineSpacing = 22  
36 - layout.scrollDirection = .horizontal  
37 - let collectionView = UICollectionView(frame: .zero, collectionViewLayout: layout)  
38 - collectionView.delegate = self  
39 - collectionView.dataSource = self  
40 - collectionView.backgroundColor = .white  
41 - collectionView.register(CNLiveDigitalSecCollectionCell.self, forCellWithReuseIdentifier: kCNLiveDigitalSecCollectCellID)  
42 - return collectionView  
43 - }()  
44 - var currSeleIndex = 0  
45 -  
46 - var _digitalListModels : [MineAuthListModel]?  
47 - var digitalListModels : [MineAuthListModel]? {  
48 - get{  
49 - _digitalListModels  
50 - }  
51 - set{  
52 - _digitalListModels = newValue!  
53 - setupNewUI(models: _digitalListModels!)  
54 - }  
55 - }  
56 -  
57 - //关联证书  
58 - lazy var zhengshuView :UIView = {  
59 - let bottomNavView = UIView(frame: CGRect(x: 15, y: self.threeCollectionView.bottom+17, width: self.width-30, height: 231))  
60 - bottomNavView.backgroundColor = HexColor("#F9F9F9")  
61 - bottomNavView.layer.cornerRadius = 9  
62 - bottomNavView.clipsToBounds = true  
63 - return bottomNavView  
64 - }()  
65 - lazy var zhengshuTitleLabel: UILabel = {  
66 - let titleLabel = UILabel()  
67 - titleLabel.textColor = HexColor("#333333")  
68 - titleLabel.textAlignment = .center  
69 - titleLabel.text = "关联证书"  
70 - titleLabel.font = BoldFont_16  
71 - return titleLabel  
72 - }()  
73 - lazy var zhengshuDescTitleLabel: UILabel = {  
74 - let titleLabel = UILabel()  
75 - titleLabel.textColor = HexColor("#999999")  
76 - titleLabel.textAlignment = .left  
77 - titleLabel.text = "关联技能证书或身份证书,见证你的实力"  
78 - titleLabel.font = Font_12  
79 - return titleLabel  
80 - }()  
81 - lazy var zhengshuImgView :UIImageView = {  
82 - let iconImgView = UIImageView()  
83 - iconImgView.image = UIImage(named: "auth_zhengshu")  
84 - return iconImgView  
85 - }()  
86 - lazy var zhengshuBtn: UIButton = {  
87 - let closeBtn = UIButton(type: .custom)  
88 - closeBtn.setTitle("关联证书", for: .normal)  
89 - closeBtn.setTitleColor(HexColor("#999999"), for: .normal)  
90 - closeBtn.titleLabel?.font = BoldFont_14  
91 - closeBtn.layer.borderColor = HexColor("#999999")?.cgColor  
92 - closeBtn.layer.borderWidth = 0.5  
93 - closeBtn.layer.cornerRadius = 6  
94 - closeBtn.clipsToBounds = true  
95 - closeBtn.addTarget(self, action: #selector(zhengshuBtnAction), for: .touchUpInside)  
96 - return closeBtn  
97 - }()  
98 -  
99 - //关联工作记录  
100 - lazy var gongzuoView :UIView = {  
101 - let bottomNavView = UIView(frame: CGRect(x: 15, y: self.zhengshuView.bottom+15, width: self.width-30, height: 131))  
102 - bottomNavView.backgroundColor = HexColor("#F9F9F9")  
103 - bottomNavView.layer.cornerRadius = 9  
104 - bottomNavView.clipsToBounds = true  
105 - return bottomNavView  
106 - }()  
107 - lazy var gongzuoTitleLabel: UILabel = {  
108 - let titleLabel = UILabel()  
109 - titleLabel.textColor = HexColor("#333333")  
110 - titleLabel.textAlignment = .center  
111 - titleLabel.text = "关联工作记录"  
112 - titleLabel.font = BoldFont_16  
113 - return titleLabel  
114 - }()  
115 - lazy var gongzuoDescTitleLabel: UILabel = {  
116 - let titleLabel = UILabel()  
117 - titleLabel.textColor = HexColor("#999999")  
118 - titleLabel.textAlignment = .left  
119 - titleLabel.text = "关联工作记录,见证你的专业经验"  
120 - titleLabel.font = Font_12  
121 - return titleLabel  
122 - }()  
123 - lazy var gongzuoBtn: UIButton = {  
124 - let closeBtn = UIButton(type: .custom)  
125 - closeBtn.setTitle("关联工作记录", for: .normal)  
126 - closeBtn.setTitleColor(HexColor("#999999"), for: .normal)  
127 - closeBtn.titleLabel?.font = BoldFont_14  
128 - closeBtn.layer.borderColor = HexColor("#999999")?.cgColor  
129 - closeBtn.layer.borderWidth = 0.5  
130 - closeBtn.layer.cornerRadius = 6  
131 - closeBtn.clipsToBounds = true  
132 - closeBtn.addTarget(self, action: #selector(gongzuoBtnAction), for: .touchUpInside)  
133 - return closeBtn  
134 - }()  
135 -  
136 - //关联社团经历  
137 - lazy var shetuanView :UIView = {  
138 - let bottomNavView = UIView(frame: CGRect(x: 15, y: self.gongzuoView.bottom+15, width: self.width-30, height: 131))  
139 - bottomNavView.backgroundColor = HexColor("#F9F9F9")  
140 - bottomNavView.layer.cornerRadius = 9  
141 - bottomNavView.clipsToBounds = true  
142 - return bottomNavView  
143 - }()  
144 - lazy var shetuanTitleLabel: UILabel = {  
145 - let titleLabel = UILabel()  
146 - titleLabel.textColor = HexColor("#333333")  
147 - titleLabel.textAlignment = .center  
148 - titleLabel.text = "关联社团经历"  
149 - titleLabel.font = BoldFont_16  
150 - return titleLabel  
151 - }()  
152 - lazy var shetuanDescTitleLabel: UILabel = {  
153 - let titleLabel = UILabel()  
154 - titleLabel.textColor = HexColor("#999999")  
155 - titleLabel.textAlignment = .left  
156 - titleLabel.text = "关联社团经历,见证全面成长与技能发展"  
157 - titleLabel.font = Font_12  
158 - return titleLabel  
159 - }()  
160 - lazy var shetuanBtn: UIButton = {  
161 - let closeBtn = UIButton(type: .custom)  
162 - closeBtn.setTitle("关联社团经历", for: .normal)  
163 - closeBtn.setTitleColor(HexColor("#999999"), for: .normal)  
164 - closeBtn.titleLabel?.font = BoldFont_14  
165 - closeBtn.layer.borderColor = HexColor("#999999")?.cgColor  
166 - closeBtn.layer.borderWidth = 0.5  
167 - closeBtn.layer.cornerRadius = 6  
168 - closeBtn.clipsToBounds = true  
169 - closeBtn.addTarget(self, action: #selector(shetuanBtnAction), for: .touchUpInside)  
170 - return closeBtn  
171 - }()  
172 -  
173 - //关联获奖情况  
174 - lazy var huojiangView :UIView = {  
175 - let bottomNavView = UIView(frame: CGRect(x: 15, y: self.gongzuoView.bottom+15, width: self.width-30, height: 131))  
176 - bottomNavView.backgroundColor = HexColor("#F9F9F9")  
177 - bottomNavView.layer.cornerRadius = 9  
178 - bottomNavView.clipsToBounds = true  
179 - return bottomNavView  
180 - }()  
181 - lazy var huojiangTitleLabel: UILabel = {  
182 - let titleLabel = UILabel()  
183 - titleLabel.textColor = HexColor("#333333")  
184 - titleLabel.textAlignment = .center  
185 - titleLabel.text = "关联获奖情况"  
186 - titleLabel.font = BoldFont_16  
187 - return titleLabel  
188 - }()  
189 - lazy var huojiangDescTitleLabel: UILabel = {  
190 - let titleLabel = UILabel()  
191 - titleLabel.textColor = HexColor("#999999")  
192 - titleLabel.textAlignment = .left  
193 - titleLabel.text = "关联获奖情况,见证全面成长与技能发展"  
194 - titleLabel.font = Font_12  
195 - return titleLabel  
196 - }()  
197 - lazy var huojiangBtn: UIButton = {  
198 - let closeBtn = UIButton(type: .custom)  
199 - closeBtn.setTitle("关联获奖情况", for: .normal)  
200 - closeBtn.setTitleColor(HexColor("#999999"), for: .normal)  
201 - closeBtn.titleLabel?.font = BoldFont_14  
202 - closeBtn.layer.borderColor = HexColor("#999999")?.cgColor  
203 - closeBtn.layer.borderWidth = 0.5  
204 - closeBtn.layer.cornerRadius = 6  
205 - closeBtn.clipsToBounds = true  
206 - closeBtn.addTarget(self, action: #selector(huojiangBtnAction), for: .touchUpInside)  
207 - return closeBtn  
208 - }()  
209 - let delegate = UIApplication.shared.delegate as! AppDelegate  
210 - /// 未认证-inputType17时弹窗背景图  
211 - lazy var alertBgImgView:UIImageView = {  
212 - let alertBgImgView:UIImageView = UIImageView()  
213 - alertBgImgView.tag = 20001  
214 - alertBgImgView.isUserInteractionEnabled = true  
215 - let ges = UITapGestureRecognizer(target: self, action: #selector(alertBgImgViewClickAction))  
216 - alertBgImgView.addGestureRecognizer(ges)  
217 -  
218 - return alertBgImgView  
219 - }()  
220 - lazy var alertBgView:UIView = {  
221 - let alertBgView:UIView = UIView(frame: CGRect(x: 0, y: 0, width: KSreenWidth, height: KSreenHeight))  
222 - alertBgView.backgroundColor = HexColor("#000000")  
223 - alertBgView.alpha = 0.6  
224 - alertBgView.isUserInteractionEnabled = true  
225 - alertBgView.tag = 20000  
226 -  
227 - let ges = UITapGestureRecognizer(target: self, action: #selector(alertBgViewClickAction))  
228 - alertBgView.addGestureRecognizer(ges)  
229 -  
230 - return alertBgView  
231 - }()  
232 -  
233 - override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {  
234 - super.init(style: style, reuseIdentifier: reuseIdentifier)  
235 - self.contentView.backgroundColor = .clear  
236 - self.backgroundColor = .clear  
237 - self.selectionStyle = .none  
238 - self.contentView.addSubview(self.whiteView)  
239 - self.whiteView.addSubview(self.myIdentityTitleLabel)  
240 - self.myIdentityTitleLabel.snp.makeConstraints { make in  
241 - make.top.equalToSuperview().offset(adapt_length(length: 15))  
242 - make.left.equalTo(adapt_length(length: 15))  
243 - }  
244 -  
245 - self.whiteView.addSubview(self.threeCollectionView)  
246 - self.threeCollectionView.snp.makeConstraints { make in  
247 - make.left.right.equalToSuperview().offset(adapt_length(length: 18))  
248 - make.top.equalTo(adapt_length(length: 53))  
249 - make.height.equalTo(adapt_length(length: 60+7+17))  
250 - make.width.equalToSuperview().offset(adapt_length(length: -36))  
251 - }  
252 -  
253 - self.whiteView.addSubview(self.zhengshuView)  
254 - self.zhengshuView.snp.makeConstraints { make in  
255 - make.left.equalToSuperview().offset(adapt_length(length: 15))  
256 - make.right.equalToSuperview().offset(adapt_length(length: -15))  
257 - make.top.equalTo(self.threeCollectionView.snp.bottom).offset(adapt_length(length: 17))  
258 - make.height.equalTo(adapt_length(length: 231))  
259 - }  
260 - self.zhengshuView.addSubview(self.zhengshuTitleLabel)  
261 - self.zhengshuTitleLabel.snp.makeConstraints { make in  
262 - make.left.equalToSuperview().offset(adapt_length(length: 15))  
263 - make.top.equalToSuperview().offset(adapt_length(length: 15))  
264 - }  
265 - self.zhengshuView.addSubview(self.zhengshuDescTitleLabel)  
266 - self.zhengshuDescTitleLabel.snp.makeConstraints { make in  
267 - make.left.equalToSuperview().offset(adapt_length(length: 15))  
268 - make.top.equalTo(self.zhengshuTitleLabel.snp.bottom).offset(adapt_length(length: 3))  
269 - }  
270 - self.zhengshuView.addSubview(self.zhengshuImgView)  
271 - self.zhengshuImgView.snp.makeConstraints { make in  
272 - make.centerX.equalToSuperview()  
273 - make.top.equalTo(self.zhengshuDescTitleLabel.snp.bottom).offset(adapt_length(length: 20))  
274 - make.width.equalTo(adapt_length(length: 125))  
275 - make.height.equalTo(adapt_length(length: 85))  
276 - }  
277 - self.zhengshuView.addSubview(self.zhengshuBtn)  
278 - self.zhengshuBtn.snp.makeConstraints { make in  
279 - make.centerX.equalToSuperview()  
280 - make.top.equalTo(self.zhengshuImgView.snp.bottom).offset(adapt_length(length: 15))  
281 - make.width.equalTo(adapt_length(length: 86))  
282 - make.height.equalTo(adapt_length(length: 34))  
283 - }  
284 -  
285 - self.whiteView.addSubview(self.gongzuoView)  
286 - self.gongzuoView.snp.makeConstraints { make in  
287 - make.left.equalToSuperview().offset(adapt_length(length: 15))  
288 - make.right.equalToSuperview().offset(adapt_length(length: -15))  
289 - make.top.equalTo(self.zhengshuView.snp.bottom).offset(adapt_length(length: 15))  
290 - make.height.equalTo(adapt_length(length: 131))  
291 - }  
292 - self.gongzuoView.addSubview(self.gongzuoTitleLabel)  
293 - self.gongzuoTitleLabel.snp.makeConstraints { make in  
294 - make.left.equalToSuperview().offset(adapt_length(length: 15))  
295 - make.top.equalToSuperview().offset(adapt_length(length: 15))  
296 - }  
297 - self.gongzuoView.addSubview(self.gongzuoDescTitleLabel)  
298 - self.gongzuoDescTitleLabel.snp.makeConstraints { make in  
299 - make.left.equalToSuperview().offset(adapt_length(length: 15))  
300 - make.top.equalTo(self.gongzuoTitleLabel.snp.bottom).offset(adapt_length(length: 3))  
301 - }  
302 - self.gongzuoView.addSubview(self.gongzuoBtn)  
303 - self.gongzuoBtn.snp.makeConstraints { make in  
304 - make.centerX.equalToSuperview()  
305 - make.top.equalTo(self.gongzuoDescTitleLabel.snp.bottom).offset(adapt_length(length: 20))  
306 - make.width.equalTo(adapt_length(length: 86))  
307 - make.height.equalTo(adapt_length(length: 34))  
308 - }  
309 -  
310 - self.whiteView.addSubview(self.shetuanView)  
311 - self.shetuanView.snp.makeConstraints { make in  
312 - make.left.equalToSuperview().offset(adapt_length(length: 15))  
313 - make.right.equalToSuperview().offset(adapt_length(length: -15))  
314 - make.top.equalTo(self.gongzuoView.snp.bottom).offset(adapt_length(length: 15))  
315 - make.height.equalTo(adapt_length(length: 131))  
316 - }  
317 - self.shetuanView.addSubview(self.shetuanTitleLabel)  
318 - self.shetuanTitleLabel.snp.makeConstraints { make in  
319 - make.left.equalToSuperview().offset(adapt_length(length: 15))  
320 - make.top.equalToSuperview().offset(adapt_length(length: 15))  
321 - }  
322 - self.shetuanView.addSubview(self.shetuanDescTitleLabel)  
323 - self.shetuanDescTitleLabel.snp.makeConstraints { make in  
324 - make.left.equalToSuperview().offset(adapt_length(length: 15))  
325 - make.top.equalTo(self.shetuanTitleLabel.snp.bottom).offset(adapt_length(length: 3))  
326 - }  
327 - self.shetuanView.addSubview(self.shetuanBtn)  
328 - self.shetuanBtn.snp.makeConstraints { make in  
329 - make.centerX.equalToSuperview()  
330 - make.top.equalTo(self.shetuanDescTitleLabel.snp.bottom).offset(adapt_length(length: 20))  
331 - make.width.equalTo(adapt_length(length: 86))  
332 - make.height.equalTo(adapt_length(length: 34))  
333 - }  
334 -  
335 - self.whiteView.addSubview(self.huojiangView)  
336 - self.huojiangView.snp.makeConstraints { make in  
337 - make.left.equalToSuperview().offset(adapt_length(length: 15))  
338 - make.right.equalToSuperview().offset(adapt_length(length: -15))  
339 - make.top.equalTo(self.shetuanView.snp.bottom).offset(adapt_length(length: 15))  
340 - make.height.equalTo(adapt_length(length: 131))  
341 - }  
342 - self.huojiangView.addSubview(self.huojiangTitleLabel)  
343 - self.huojiangTitleLabel.snp.makeConstraints { make in  
344 - make.left.equalToSuperview().offset(adapt_length(length: 15))  
345 - make.top.equalToSuperview().offset(adapt_length(length: 15))  
346 - }  
347 - self.huojiangView.addSubview(self.huojiangDescTitleLabel)  
348 - self.huojiangDescTitleLabel.snp.makeConstraints { make in  
349 - make.left.equalToSuperview().offset(adapt_length(length: 15))  
350 - make.top.equalTo(self.huojiangTitleLabel.snp.bottom).offset(adapt_length(length: 3))  
351 - }  
352 - self.huojiangView.addSubview(self.huojiangBtn)  
353 - self.huojiangBtn.snp.makeConstraints { make in  
354 - make.centerX.equalToSuperview()  
355 - make.top.equalTo(self.huojiangDescTitleLabel.snp.bottom).offset(adapt_length(length: 20))  
356 - make.width.equalTo(adapt_length(length: 86))  
357 - make.height.equalTo(adapt_length(length: 34))  
358 - }  
359 -  
360 - }  
361 - required init?(coder: NSCoder) {  
362 - fatalError("init(coder:) has not been implemented")  
363 - }  
364 -  
365 - @objc func zhengshuBtnAction(){  
366 - self.show17Alert()  
367 - }  
368 - @objc func gongzuoBtnAction(){  
369 - self.show17Alert()  
370 - }  
371 - @objc func shetuanBtnAction(){  
372 - self.show17Alert()  
373 - }  
374 - @objc func huojiangBtnAction(){  
375 - self.show17Alert()  
376 - }  
377 -  
378 - // MARK: - 点击弹窗,按类型跳转  
379 - @objc func alertBgImgViewClickAction() {  
380 - self.hiden17Alert()  
381 - }  
382 - @objc func alertBgViewClickAction() {  
383 - //点击蒙版隐藏view  
384 - self.hiden17Alert()  
385 - }  
386 -  
387 - //弹出弹窗  
388 - func show17Alert(){  
389 -  
390 - delegate.window?.addSubview(self.alertBgView)  
391 - delegate.window?.addSubview(self.alertBgImgView)  
392 - alertBgImgView.snp.makeConstraints { make in  
393 - make.centerX.equalToSuperview()  
394 - make.centerY.equalToSuperview()  
395 - make.width.equalTo(KSreenWidth-80)  
396 - make.height.equalTo((KSreenWidth-80)*170.5/295)  
397 - }  
398 -  
399 - self.alertBgImgView.image = UIImage(named: "auth_alert_unOpen")  
400 - }  
401 - func hiden17Alert(){  
402 - delegate.window?.subviews.forEach({ view in  
403 - if view.tag >= 20000{  
404 - view.removeFromSuperview()  
405 - }  
406 - })  
407 - }  
408 -  
409 -  
410 - func setupNewUI(models:[MineAuthListModel]){  
411 -  
412 - self.threeCollectionView.reloadData()  
413 - }  
414 -  
415 - func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {  
416 - self.digitalListModels?.count ?? 0  
417 - }  
418 -  
419 - func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {  
420 - let cell = collectionView.dequeueReusableCell(withReuseIdentifier: kCNLiveDigitalSecCollectCellID, for: indexPath) as! CNLiveDigitalSecCollectionCell  
421 - cell.authListModel = self.digitalListModels?[indexPath.row]  
422 - if indexPath.row == currSeleIndex  
423 - {//  
424 - cell.cellIsSelected = true  
425 - }else{  
426 - //  
427 - cell.cellIsSelected = false  
428 - }  
429 - return cell  
430 - }  
431 -  
432 - func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {  
433 - self.currSeleIndex = indexPath.row  
434 - self.threeCollectionView.reloadData()  
435 - }  
436 -}  
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/DigitalResume/CNLiveDigitalResumeCell.swift
@@ -742,7 +742,7 @@ class CNLiveDigitalResumeCell: UITableViewCell { @@ -742,7 +742,7 @@ class CNLiveDigitalResumeCell: UITableViewCell {
742 } 742 }
743 } 743 }
744 @objc func chakanTitleLabelAciton(){ 744 @objc func chakanTitleLabelAciton(){
745 - 745 + self.chakanBtnAction()
746 } 746 }
747 @objc func shezhiBtnAction(){ 747 @objc func shezhiBtnAction(){
748 let vc = CNLiveDigitalResumeInfoController() 748 let vc = CNLiveDigitalResumeInfoController()
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/CNLiveDigitalFirstCell.swift renamed to metaCode/Classes/Main/HomePage/View/DigitalAuthViews/数字资产cell/CNLiveDigitalFirstCell.swift
@@ -77,33 +77,13 @@ class CNLiveDigitalFirstCell: UITableViewCell { @@ -77,33 +77,13 @@ class CNLiveDigitalFirstCell: UITableViewCell {
77 titleLabel.font = Font_14 77 titleLabel.font = Font_14
78 return titleLabel 78 return titleLabel
79 }() 79 }()
80 - lazy var realNameView :UIView = {  
81 - let bottomNavView = UIView(frame: CGRect(x: 0, y: 0, width: adapt_length(length: 80), height: adapt_length(length: 106)))  
82 - bottomNavView.clipsToBounds = true  
83 - bottomNavView.layer.cornerRadius = 44  
84 - bottomNavView.layer.maskedCorners = [.layerMinXMaxYCorner, .layerMaxXMaxYCorner]  
85 - // fillCode  
86 - let bgLayer1 = CAGradientLayer()  
87 - bgLayer1.colors = [UIColor(red: 0.25, green: 0.27, blue: 0.4, alpha: 1).cgColor, UIColor(red: 0.56, green: 0.64, blue: 0.78, alpha: 1).cgColor]  
88 - bgLayer1.locations = [0, 1]  
89 - bgLayer1.frame = bottomNavView.bounds  
90 - bgLayer1.startPoint = CGPoint(x: 0.5, y: -0.37)  
91 - bgLayer1.endPoint = CGPoint(x: 0.71, y: 0.71)  
92 - bottomNavView.layer.addSublayer(bgLayer1)  
93 -  
94 - let iconImgView = UIImageView(frame: CGRect(x: adapt_length(length: 6), y: adapt_length(length: 32), width: adapt_length(length: 68), height: adapt_length(length: 68)))  
95 - iconImgView.image = UIImage(named: "auth_realIcon")  
96 - bottomNavView.addSubview(iconImgView)  
97 -  
98 - let titleLabel = UILabel(frame: CGRect(x: 0, y: adapt_length(length: 10), width: adapt_length(length: 80), height: 17))  
99 - titleLabel.textColor = HexColor("#FFFFFE")  
100 - titleLabel.textAlignment = .center  
101 - titleLabel.text = "去实名认证"  
102 - titleLabel.font = Font_12  
103 - bottomNavView.addSubview(titleLabel)  
104 -  
105 - bottomNavView.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(realNameViewAction)))  
106 - return bottomNavView 80 + lazy var realNameView :UIImageView = {
  81 + let iconImgView = UIImageView(frame: CGRect(x: 0, y: 0, width: adapt_length(length: 130), height: adapt_length(length: 47)))
  82 + iconImgView.right = self.whiteView.width-33
  83 + iconImgView.image = UIImage(named: "mine_renzheng_info_bg")
  84 + iconImgView.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(realNameViewAction)))
  85 + iconImgView.isUserInteractionEnabled = true
  86 + return iconImgView
107 }() 87 }()
108 88
109 89
@@ -144,10 +124,10 @@ class CNLiveDigitalFirstCell: UITableViewCell { @@ -144,10 +124,10 @@ class CNLiveDigitalFirstCell: UITableViewCell {
144 124
145 self.whiteView.addSubview(self.realNameView) 125 self.whiteView.addSubview(self.realNameView)
146 self.realNameView.snp.makeConstraints { make in 126 self.realNameView.snp.makeConstraints { make in
147 - make.right.equalToSuperview().offset(adapt_length(length: -35)) 127 + make.right.equalToSuperview().offset(adapt_length(length: -33))
148 make.top.equalToSuperview() 128 make.top.equalToSuperview()
149 - make.width.equalTo(adapt_length(length: 80))  
150 - make.height.equalTo(adapt_length(length: 106)) 129 + make.width.equalTo(adapt_length(length: 85))
  130 + make.height.equalTo(adapt_length(length: 31))
151 } 131 }
152 }else{ 132 }else{
153 //未实名认证 133 //未实名认证
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/数字资产cell/CNLiveDigitalSecCell.swift 0 → 100644
  1 +//
  2 +// CNLiveDigitalSecCell.swift
  3 +// metaCode
  4 +//
  5 +// Created by zx on 2024/6/17.
  6 +// 数字资产-身份cell
  7 +
  8 +import Foundation
  9 +import Kingfisher
  10 +import SnapKit
  11 +
  12 +class CNLiveDigitalSecCell: UITableViewCell, UICollectionViewDelegate, UICollectionViewDataSource {
  13 +
  14 + lazy var whiteView :UIView = {
  15 + let whiteView = UIView(frame: CGRect(x: 15, y:adapt_length(length: 15), width: KSreenWidth-30, height: adapt_length(length: 152)))
  16 + whiteView.backgroundColor = .white
  17 + whiteView.layer.cornerRadius = 12
  18 + whiteView.clipsToBounds = true
  19 + return whiteView
  20 + }()
  21 +
  22 + lazy var myIdentityTitleLabel: UILabel = {
  23 + let titleLabel = UILabel()
  24 + titleLabel.textColor = HexColor("#333333")
  25 + titleLabel.textAlignment = .center
  26 + titleLabel.text = "官方认证"
  27 + titleLabel.font = BoldFont_16
  28 + return titleLabel
  29 + }()
  30 +
  31 + let kCNLiveDigitalSecCollectCellID = "kCNLiveDigitalSecCollectCellID"
  32 + lazy var threeCollectionView: UICollectionView = {
  33 + let layout = UICollectionViewFlowLayout()
  34 + layout.itemSize = CGSizeMake(adapt_length(length: 60), adapt_length(length: 60+3+17))
  35 + layout.minimumLineSpacing = 22
  36 + layout.scrollDirection = .horizontal
  37 + let collectionView = UICollectionView(frame: .zero, collectionViewLayout: layout)
  38 + collectionView.delegate = self
  39 + collectionView.dataSource = self
  40 + collectionView.backgroundColor = .white
  41 + collectionView.register(CNLiveDigitalSecCollectionCell.self, forCellWithReuseIdentifier: kCNLiveDigitalSecCollectCellID)
  42 + return collectionView
  43 + }()
  44 + var currSeleIndex = 0
  45 +
  46 + var _digitalListModels : [MineAuthListModel]?
  47 + var digitalListModels : [MineAuthListModel]? {
  48 + get{
  49 + _digitalListModels
  50 + }
  51 + set{
  52 + _digitalListModels = newValue!
  53 + setupNewUI(models: _digitalListModels!)
  54 + }
  55 + }
  56 +
  57 + override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
  58 + super.init(style: style, reuseIdentifier: reuseIdentifier)
  59 + self.contentView.backgroundColor = .clear
  60 + self.backgroundColor = .clear
  61 + self.selectionStyle = .none
  62 + self.contentView.addSubview(self.whiteView)
  63 + self.whiteView.addSubview(self.myIdentityTitleLabel)
  64 + self.myIdentityTitleLabel.snp.makeConstraints { make in
  65 + make.top.equalToSuperview().offset(adapt_length(length: 15))
  66 + make.left.equalTo(adapt_length(length: 15))
  67 + }
  68 +
  69 + self.whiteView.addSubview(self.threeCollectionView)
  70 + self.threeCollectionView.snp.makeConstraints { make in
  71 + make.left.right.equalToSuperview().offset(adapt_length(length: 18))
  72 + make.top.equalTo(adapt_length(length: 53))
  73 + make.height.equalTo(adapt_length(length: 60+7+17))
  74 + make.width.equalToSuperview().offset(adapt_length(length: -36))
  75 + }
  76 +
  77 + }
  78 + required init?(coder: NSCoder) {
  79 + fatalError("init(coder:) has not been implemented")
  80 + }
  81 +
  82 +// @objc func zhengshuBtnAction(){
  83 +// self.show17Alert()
  84 +// }
  85 +// @objc func gongzuoBtnAction(){
  86 +// self.show17Alert()
  87 +// }
  88 +// @objc func shetuanBtnAction(){
  89 +// self.show17Alert()
  90 +// }
  91 +// @objc func huojiangBtnAction(){
  92 +// self.show17Alert()
  93 +// }
  94 +
  95 +// // MARK: - 点击弹窗,按类型跳转
  96 +// @objc func alertBgImgViewClickAction() {
  97 +// self.hiden17Alert()
  98 +// }
  99 +// @objc func alertBgViewClickAction() {
  100 +// //点击蒙版隐藏view
  101 +// self.hiden17Alert()
  102 +// }
  103 +//
  104 +// //弹出弹窗
  105 +// func show17Alert(){
  106 +//
  107 +// delegate.window?.addSubview(self.alertBgView)
  108 +// delegate.window?.addSubview(self.alertBgImgView)
  109 +// alertBgImgView.snp.makeConstraints { make in
  110 +// make.centerX.equalToSuperview()
  111 +// make.centerY.equalToSuperview()
  112 +// make.width.equalTo(KSreenWidth-80)
  113 +// make.height.equalTo((KSreenWidth-80)*170.5/295)
  114 +// }
  115 +//
  116 +// self.alertBgImgView.image = UIImage(named: "auth_alert_unOpen")
  117 +// }
  118 +// func hiden17Alert(){
  119 +// delegate.window?.subviews.forEach({ view in
  120 +// if view.tag >= 20000{
  121 +// view.removeFromSuperview()
  122 +// }
  123 +// })
  124 +// }
  125 +//
  126 +
  127 + func setupNewUI(models:[MineAuthListModel]){
  128 +
  129 + self.threeCollectionView.reloadData()
  130 + }
  131 +
  132 + func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
  133 + self.digitalListModels?.count ?? 0
  134 + }
  135 +
  136 + func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
  137 + let cell = collectionView.dequeueReusableCell(withReuseIdentifier: kCNLiveDigitalSecCollectCellID, for: indexPath) as! CNLiveDigitalSecCollectionCell
  138 + cell.authListModel = self.digitalListModels?[indexPath.row]
  139 + if indexPath.row == currSeleIndex
  140 + {//
  141 + cell.cellIsSelected = true
  142 + }else{
  143 + //
  144 + cell.cellIsSelected = false
  145 + }
  146 + return cell
  147 + }
  148 +
  149 + func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
  150 + self.currSeleIndex = indexPath.row
  151 + self.threeCollectionView.reloadData()
  152 + }
  153 +}
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/CNLiveDigitalSecCollectionCell.swift renamed to metaCode/Classes/Main/HomePage/View/DigitalAuthViews/数字资产cell/CNLiveDigitalSecCollectionCell.swift
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/数字资产cell/CNLiveDigitalThreeCell.swift 0 → 100644
  1 +//
  2 +// CNLiveDigitalThreeCell.swift
  3 +// metaCode
  4 +//
  5 +// Created by zx on 2024/8/7.
  6 +// 数字资产-其他证书cell
  7 +
  8 +import Foundation
  9 +import Kingfisher
  10 +import SnapKit
  11 +
  12 +class CNLiveDigitalThreeCell: UITableViewCell, UICollectionViewDelegate, UICollectionViewDataSource {
  13 +
  14 + var _certificatesArr : [CNLiveVitaeCertificateModel]?
  15 + var certificatesArr : [CNLiveVitaeCertificateModel]? {
  16 + get{
  17 + _certificatesArr
  18 + }
  19 + set{
  20 + _certificatesArr = newValue!
  21 + setupNewUI(models: _certificatesArr!)
  22 + }
  23 + }
  24 +
  25 + lazy var whiteView :UIView = {
  26 + let whiteView = UIView(frame: CGRect(x: 15, y:adapt_length(length: 20), width: KSreenWidth-30, height: 317))
  27 + whiteView.backgroundColor = .white
  28 + whiteView.layer.cornerRadius = 12
  29 + whiteView.clipsToBounds = true
  30 + return whiteView
  31 + }()
  32 +
  33 + lazy var authNameTitleLabel: UILabel = {
  34 + let titleLabel = UILabel()
  35 + titleLabel.textColor = HexColor("#333333")
  36 + titleLabel.textAlignment = .left
  37 + titleLabel.text = "其他证书"
  38 + titleLabel.font = BoldFont_16
  39 + return titleLabel
  40 + }()
  41 + //关联证书
  42 + lazy var zhengshuView :UIView = {
  43 + let bottomNavView = UIView(frame: CGRect(x: 15, y: 0, width: 100, height: 231))
  44 + bottomNavView.backgroundColor = HexColor("#F9F9F9")
  45 + bottomNavView.layer.cornerRadius = 9
  46 + bottomNavView.clipsToBounds = true
  47 + return bottomNavView
  48 + }()
  49 + lazy var zhengshuTitleLabel: UILabel = {
  50 + let titleLabel = UILabel()
  51 + titleLabel.textColor = HexColor("#333333")
  52 + titleLabel.textAlignment = .center
  53 + titleLabel.text = "关联证书"
  54 + titleLabel.font = BoldFont_16
  55 + return titleLabel
  56 + }()
  57 + lazy var zhengshuDescTitleLabel: UILabel = {
  58 + let titleLabel = UILabel()
  59 + titleLabel.textColor = HexColor("#999999")
  60 + titleLabel.textAlignment = .left
  61 + titleLabel.text = "关联技能证书或身份证书,见证你的实力"
  62 + titleLabel.font = Font_12
  63 + return titleLabel
  64 + }()
  65 +
  66 + let kCNLiveDigitalThreeCerCollectCellID = "kCNLiveDigitalThreeCerCollectCellID"
  67 + lazy var threeCollectionView: UICollectionView = {
  68 + let layout = UICollectionViewFlowLayout()
  69 + layout.itemSize = CGSizeMake(85, 101)
  70 + layout.minimumLineSpacing = 20
  71 + layout.scrollDirection = .horizontal
  72 + let collectionView = UICollectionView(frame: .zero, collectionViewLayout: layout)
  73 + collectionView.delegate = self
  74 + collectionView.dataSource = self
  75 + collectionView.backgroundColor = .clear
  76 + collectionView.register(CNLiveDigitalThreeCerCollectCell.self, forCellWithReuseIdentifier: kCNLiveDigitalThreeCerCollectCellID)
  77 + return collectionView
  78 + }()
  79 +
  80 + lazy var zhengshuNoDescTitleLabel: UILabel = {
  81 + let titleLabel = UILabel()
  82 + titleLabel.textColor = HexColor("#999999")
  83 + titleLabel.textAlignment = .left
  84 + titleLabel.text = "还没有添加其他职业证书"
  85 + titleLabel.font = Font_12
  86 + return titleLabel
  87 + }()
  88 + lazy var zhengshuNoIconImgView :UIImageView = {
  89 + let iconImgView = UIImageView(frame: CGRect(x: 18, y: 0, width: 60, height: 45))
  90 + iconImgView.contentMode = .scaleAspectFit
  91 + iconImgView.image = UIImage(named: "mine_jianli_nocer")
  92 + return iconImgView
  93 + }()
  94 +
  95 + lazy var zhengshuBtn: UIButton = {
  96 + let closeBtn = UIButton(type: .custom)
  97 + closeBtn.setTitle("管理证书", for: .normal)
  98 + closeBtn.setTitleColor(HexColor("#1961FE"), for: .normal)
  99 + closeBtn.titleLabel?.font = BoldFont_14
  100 + closeBtn.layer.borderColor = HexColor("#1961FE")?.cgColor
  101 + closeBtn.layer.borderWidth = 0.5
  102 + closeBtn.layer.cornerRadius = 6
  103 + closeBtn.clipsToBounds = true
  104 + closeBtn.addTarget(self, action: #selector(zhengshuBtnAction), for: .touchUpInside)
  105 + return closeBtn
  106 + }()
  107 +
  108 + override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
  109 + super.init(style: style, reuseIdentifier: reuseIdentifier)
  110 + self.contentView.backgroundColor = .clear
  111 + self.backgroundColor = .clear
  112 + self.selectionStyle = .none
  113 +
  114 + self.contentView.addSubview(self.whiteView)
  115 + self.whiteView.addSubview(self.authNameTitleLabel)
  116 + self.authNameTitleLabel.snp.makeConstraints { make in
  117 + make.left.equalTo(adapt_length(length: 15))
  118 + make.top.equalTo(adapt_length(length: 15))
  119 + }
  120 +
  121 + self.whiteView.addSubview(self.zhengshuView)
  122 + self.zhengshuView.snp.makeConstraints { make in
  123 + make.left.equalToSuperview().offset(adapt_length(length: 15))
  124 + make.right.equalToSuperview().offset(adapt_length(length: -15))
  125 + make.top.equalTo(self.authNameTitleLabel.snp.bottom).offset(adapt_length(length: 15))
  126 + make.height.equalTo(249)
  127 + }
  128 + self.zhengshuView.addSubview(self.zhengshuTitleLabel)
  129 + self.zhengshuTitleLabel.snp.makeConstraints { make in
  130 + make.left.equalToSuperview().offset(adapt_length(length: 15))
  131 + make.top.equalToSuperview().offset(adapt_length(length: 15))
  132 + }
  133 + self.zhengshuView.addSubview(self.zhengshuDescTitleLabel)
  134 + self.zhengshuDescTitleLabel.snp.makeConstraints { make in
  135 + make.left.equalToSuperview().offset(adapt_length(length: 15))
  136 + make.top.equalTo(self.zhengshuTitleLabel.snp.bottom).offset(adapt_length(length: 3))
  137 + }
  138 + self.zhengshuView.addSubview(self.threeCollectionView)
  139 + self.threeCollectionView.snp.makeConstraints { make in
  140 + make.left.right.equalToSuperview()
  141 + make.top.equalTo(self.zhengshuDescTitleLabel.snp.bottom).offset(15)
  142 + make.height.equalTo(101)
  143 + make.width.equalToSuperview().offset(-20)
  144 + }
  145 + self.zhengshuView.addSubview(self.zhengshuBtn)
  146 + self.zhengshuBtn.snp.makeConstraints { make in
  147 + make.centerX.equalToSuperview()
  148 + make.bottom.equalToSuperview().offset(adapt_length(length: -20))
  149 + make.width.equalTo(adapt_length(length: 86))
  150 + make.height.equalTo(34)
  151 + }
  152 +
  153 + self.zhengshuView.addSubview(self.zhengshuNoDescTitleLabel)
  154 + self.zhengshuNoDescTitleLabel.snp.makeConstraints { make in
  155 + make.centerX.equalToSuperview()
  156 + make.bottom.equalTo(self.zhengshuBtn.snp.top).offset(-10)
  157 + }
  158 + self.zhengshuView.addSubview(self.zhengshuNoIconImgView)
  159 + self.zhengshuNoIconImgView.snp.makeConstraints { make in
  160 + make.centerX.equalToSuperview()
  161 + make.bottom.equalTo(self.zhengshuNoDescTitleLabel.snp.top).offset(-10)
  162 + make.width.equalTo(60)
  163 + make.height.equalTo(45)
  164 + }
  165 +
  166 +
  167 + }
  168 + required init?(coder: NSCoder) {
  169 + fatalError("init(coder:) has not been implemented")
  170 + }
  171 +
  172 + func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
  173 + self.certificatesArr?.count ?? 0
  174 + }
  175 +
  176 + func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
  177 + let cell = collectionView.dequeueReusableCell(withReuseIdentifier: kCNLiveDigitalThreeCerCollectCellID, for: indexPath) as! CNLiveDigitalThreeCerCollectCell
  178 + cell.cerModel = self.certificatesArr?[indexPath.row]
  179 + return cell
  180 + }
  181 +
  182 + func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
  183 +
  184 + }
  185 +
  186 + @objc func zhengshuBtnAction(){
  187 + //跳转 证书列表页面
  188 + navigationViewController().pushViewController(CNLiveVitaeVocationalCertificateController(), animated: true)
  189 + }
  190 +
  191 + func setupNewUI(models:[CNLiveVitaeCertificateModel]){
  192 + if models.count > 0{
  193 + self.threeCollectionView.reloadData()
  194 + self.threeCollectionView.isHidden = false
  195 + self.zhengshuNoDescTitleLabel.isHidden = true
  196 + self.zhengshuNoIconImgView.isHidden = true
  197 +
  198 + }else{
  199 + self.threeCollectionView.isHidden = true
  200 + self.zhengshuNoDescTitleLabel.isHidden = false
  201 + self.zhengshuNoIconImgView.isHidden = false
  202 + }
  203 + }
  204 +}
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/数字资产cell/CNLiveDigitalThreeCerCollectCell .swift 0 → 100644
  1 +//
  2 +// CNLiveDigitalThreeCerCollectCell .swift
  3 +// metaCode
  4 +//
  5 +// Created by zx on 2024/8/7.
  6 +// 数字资产-其他证书-证书img列表Cell
  7 +
  8 +import Foundation
  9 +import Kingfisher
  10 +
  11 +class CNLiveDigitalThreeCerCollectCell: UICollectionViewCell {
  12 +
  13 + var _cerModel : CNLiveVitaeCertificateModel?
  14 + var cerModel : CNLiveVitaeCertificateModel? {
  15 + get{
  16 + _cerModel
  17 + }
  18 + set{
  19 + _cerModel = newValue!
  20 + setupNewUI(model: _cerModel!)
  21 + }
  22 + }
  23 +
  24 + lazy var iconImgView :UIImageView = {
  25 + let iconImgView = UIImageView(frame: CGRect(x: 18, y: 0, width: 85, height: 101))
  26 + iconImgView.contentMode = .scaleAspectFill
  27 + iconImgView.clipsToBounds = true
  28 + return iconImgView
  29 + }()
  30 +
  31 + override init(frame: CGRect) {
  32 + super.init(frame: frame)
  33 + self.contentView.addSubview(self.iconImgView)
  34 + }
  35 +
  36 + required init?(coder: NSCoder) {
  37 + fatalError("init(coder:) has not been implemented")
  38 + }
  39 +
  40 + func setupNewUI(model:CNLiveVitaeCertificateModel){
  41 + self.iconImgView.kf.setImage(with: URL(string: model.img))
  42 + }
  43 +}
metaCode/Classes/Main/MinePage/Controller/CNLiveMineViewController.swift
@@ -271,7 +271,7 @@ extension CNLiveMineViewController { @@ -271,7 +271,7 @@ extension CNLiveMineViewController {
271 self.navigationController?.pushViewController(CNLiveMineQuestViewController.init(checkModel: checkModel), animated: true) 271 self.navigationController?.pushViewController(CNLiveMineQuestViewController.init(checkModel: checkModel), animated: true)
272 } 272 }
273 if indexPath.section == 1 { 273 if indexPath.section == 1 {
274 - //我的身份跳转 身份大库 274 + //我的身份跳转 我的数字资产
275 navigationViewController().pushViewController(CNLiveDigitalAssetsController(), animated: true) 275 navigationViewController().pushViewController(CNLiveDigitalAssetsController(), animated: true)
276 } 276 }
277 if indexPath.section == 2 { 277 if indexPath.section == 2 {
@@ -298,7 +298,7 @@ extension CNLiveMineViewController { @@ -298,7 +298,7 @@ extension CNLiveMineViewController {
298 298
299 } 299 }
300 if indexPath.section == 3 { 300 if indexPath.section == 3 {
301 - //官方认证 301 + //官方认证--身份大库
302 let vc = CNLiveIdentityRepositoryController() 302 let vc = CNLiveIdentityRepositoryController()
303 vc.channelId = "" 303 vc.channelId = ""
304 vc.type = "1" 304 vc.type = "1"
metaCode/Supporting Files/Assets.xcassets/AuthPage/auth_realIcon.imageset/auth_realIcon@2x.png deleted 100644 → 0

15.7 KB

metaCode/Supporting Files/Assets.xcassets/AuthPage/auth_realIcon.imageset/auth_realIcon@3x.png deleted 100644 → 0

33.2 KB

metaCode/Supporting Files/Assets.xcassets/AuthPage/mine_jianli_nocer.imageset/Contents.json 0 → 100644
  1 +{
  2 + "images" : [
  3 + {
  4 + "idiom" : "universal",
  5 + "scale" : "1x"
  6 + },
  7 + {
  8 + "filename" : "mine_jianli_nocer@2x.png",
  9 + "idiom" : "universal",
  10 + "scale" : "2x"
  11 + },
  12 + {
  13 + "filename" : "mine_jianli_nocer@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/mine_jianli_nocer.imageset/mine_jianli_nocer@2x.png 0 → 100644

3.09 KB

metaCode/Supporting Files/Assets.xcassets/AuthPage/mine_jianli_nocer.imageset/mine_jianli_nocer@3x.png 0 → 100644

6.45 KB

metaCode/Supporting Files/Assets.xcassets/AuthPage/auth_realIcon.imageset/Contents.json renamed to metaCode/Supporting Files/Assets.xcassets/AuthPage/mine_renzheng_info_bg.imageset/Contents.json
@@ -5,12 +5,11 @@ @@ -5,12 +5,11 @@
5 "scale" : "1x" 5 "scale" : "1x"
6 }, 6 },
7 { 7 {
8 - "filename" : "auth_realIcon@2x.png", 8 + "filename" : "mine_renzheng_info_bg@2x.png",
9 "idiom" : "universal", 9 "idiom" : "universal",
10 "scale" : "2x" 10 "scale" : "2x"
11 }, 11 },
12 { 12 {
13 - "filename" : "auth_realIcon@3x.png",  
14 "idiom" : "universal", 13 "idiom" : "universal",
15 "scale" : "3x" 14 "scale" : "3x"
16 } 15 }
metaCode/Supporting Files/Assets.xcassets/AuthPage/mine_renzheng_info_bg.imageset/mine_renzheng_info_bg@2x.png 0 → 100644

20.7 KB