Commit 38719154b08f625c080b78cb2bbb6585359445c1

Authored by 张旭
1 parent de9f1649

禁止认证mainview左右没有视图时滑动

Showing 52 changed files with 165 additions and 109 deletions
metaCode.xcodeproj/project.pbxproj
... ... @@ -801,6 +801,80 @@
801 801 path = PlayletHomePage;
802 802 sourceTree = "<group>";
803 803 };
  804 + 1938BD482B512C5800390A34 /* DownSlide */ = {
  805 + isa = PBXGroup;
  806 + children = (
  807 + 7CD6753B2A2740B0008354C1 /* CNDownSlideView.swift */,
  808 + 7CD6753A2A2740B0008354C1 /* CNDownSlideViewRemindView.swift */,
  809 + 19FA20162AE22D3C001F7186 /* CNLiveDownSlideRecommendCell.swift */,
  810 + 19FA20182AE22D98001F7186 /* CNLiveDownSlideTodayRecommendCell.swift */,
  811 + 19CC4D462ADD006600308E2A /* CNDownSlideSingleCourseCell.swift */,
  812 + 19CC4D4E2ADD0FC200308E2A /* CNUpSlideDetailScrollView.swift */,
  813 + );
  814 + path = DownSlide;
  815 + sourceTree = "<group>";
  816 + };
  817 + 1938BD492B512CA300390A34 /* UpSlide */ = {
  818 + isa = PBXGroup;
  819 + children = (
  820 + 7CD675392A2740B0008354C1 /* CNUpSlideView.swift */,
  821 + 7CD675372A2740B0008354C1 /* CNUpSlideViewRemindView.swift */,
  822 + );
  823 + path = UpSlide;
  824 + sourceTree = "<group>";
  825 + };
  826 + 1938BD4A2B512CCE00390A34 /* MainView */ = {
  827 + isa = PBXGroup;
  828 + children = (
  829 + 7CD675382A2740B0008354C1 /* CNMainView.swift */,
  830 + 7C4931372A307BDB000E44B4 /* CNHomePageGuideView.swift */,
  831 + 19F1C2322AB5728B0083D06C /* CNIDCardView.swift */,
  832 + 7C27032F2A36CBE30061EC50 /* CNCertificationView.swift */,
  833 + 7C4931302A2F142F000E44B4 /* CNHomePageBackgroupView.swift */,
  834 + );
  835 + path = MainView;
  836 + sourceTree = "<group>";
  837 + };
  838 + 1938BD4B2B512D3000390A34 /* Shop */ = {
  839 + isa = PBXGroup;
  840 + children = (
  841 + 1938BD4C2B512EBF00390A34 /* ShopConsole */,
  842 + 191733402B284D4A007BCC04 /* ShopCoupon */,
  843 + 19565ED02AF8D904007D6727 /* GoodsManager */,
  844 + 1938BD4D2B512F4600390A34 /* ShopDetail */,
  845 + );
  846 + path = Shop;
  847 + sourceTree = "<group>";
  848 + };
  849 + 1938BD4C2B512EBF00390A34 /* ShopConsole */ = {
  850 + isa = PBXGroup;
  851 + children = (
  852 + 19BB1FE92AEF7B4A0094D962 /* CNLiveShopConsoleCell.swift */,
  853 + );
  854 + path = ShopConsole;
  855 + sourceTree = "<group>";
  856 + };
  857 + 1938BD4D2B512F4600390A34 /* ShopDetail */ = {
  858 + isa = PBXGroup;
  859 + children = (
  860 + 19BB1FF12AF21A950094D962 /* CNLliveShopDetailBannerCell.swift */,
  861 + 19565EBF2AF4DE0E007D6727 /* CNLiveShopDetailBtnsCell.swift */,
  862 + 19565EC12AF616CA007D6727 /* CNLiveShopDetailOrderAssetCell.swift */,
  863 + );
  864 + path = ShopDetail;
  865 + sourceTree = "<group>";
  866 + };
  867 + 1938BD4E2B51316200390A34 /* VerticalViews */ = {
  868 + isa = PBXGroup;
  869 + children = (
  870 + 7CD675412A2740F8008354C1 /* CNCustomIndexView.swift */,
  871 + 1938BD482B512C5800390A34 /* DownSlide */,
  872 + 1938BD4A2B512CCE00390A34 /* MainView */,
  873 + 1938BD492B512CA300390A34 /* UpSlide */,
  874 + );
  875 + path = VerticalViews;
  876 + sourceTree = "<group>";
  877 + };
804 878 19565EC32AF8ACC2007D6727 /* GoodsManager */ = {
805 879 isa = PBXGroup;
806 880 children = (
... ... @@ -1333,26 +1407,8 @@
1333 1407 7CD675232A26F8F8008354C1 /* View */ = {
1334 1408 isa = PBXGroup;
1335 1409 children = (
1336   - 191733402B284D4A007BCC04 /* ShopCoupon */,
1337   - 19565ED02AF8D904007D6727 /* GoodsManager */,
1338   - 7CD675372A2740B0008354C1 /* CNUpSlideViewRemindView.swift */,
1339   - 7CD6753B2A2740B0008354C1 /* CNDownSlideView.swift */,
1340   - 7CD675382A2740B0008354C1 /* CNMainView.swift */,
1341   - 7CD6753A2A2740B0008354C1 /* CNDownSlideViewRemindView.swift */,
1342   - 7CD675392A2740B0008354C1 /* CNUpSlideView.swift */,
1343   - 7CD675412A2740F8008354C1 /* CNCustomIndexView.swift */,
1344   - 7C4931302A2F142F000E44B4 /* CNHomePageBackgroupView.swift */,
1345   - 7C4931372A307BDB000E44B4 /* CNHomePageGuideView.swift */,
1346   - 7C27032F2A36CBE30061EC50 /* CNCertificationView.swift */,
1347   - 19F1C2322AB5728B0083D06C /* CNIDCardView.swift */,
1348   - 19FA20162AE22D3C001F7186 /* CNLiveDownSlideRecommendCell.swift */,
1349   - 19FA20182AE22D98001F7186 /* CNLiveDownSlideTodayRecommendCell.swift */,
1350   - 19CC4D4E2ADD0FC200308E2A /* CNUpSlideDetailScrollView.swift */,
1351   - 19BB1FE92AEF7B4A0094D962 /* CNLiveShopConsoleCell.swift */,
1352   - 19BB1FF12AF21A950094D962 /* CNLliveShopDetailBannerCell.swift */,
1353   - 19CC4D462ADD006600308E2A /* CNDownSlideSingleCourseCell.swift */,
1354   - 19565EBF2AF4DE0E007D6727 /* CNLiveShopDetailBtnsCell.swift */,
1355   - 19565EC12AF616CA007D6727 /* CNLiveShopDetailOrderAssetCell.swift */,
  1410 + 1938BD4E2B51316200390A34 /* VerticalViews */,
  1411 + 1938BD4B2B512D3000390A34 /* Shop */,
1356 1412 );
1357 1413 name = View;
1358 1414 path = HomePage/View;
... ...
metaCode/Classes/Main/HomePage/Controller/AuthMainController/CNMetaCodeHomePageController.swift
... ... @@ -370,8 +370,7 @@ class CNMetaCodeHomePageController:CNLiveBaseViewController, NewPagedFlowViewDel
370 370 return true
371 371 }
372 372  
373   - // MARK: - NewPagedFlowView代理
374   -
  373 + // MARK: - NewPagedFlowView代理 水平方向滑动
375 374 func numberOfPages(in flowView: NewPagedFlowView!) -> Int {
376 375 self.dataArray.count
377 376 }
... ... @@ -411,39 +410,38 @@ class CNMetaCodeHomePageController:CNLiveBaseViewController, NewPagedFlowViewDel
411 410 return CGSize(width: MainViewW, height: Height)
412 411 }
413 412  
414   - ///NewPagedFlowView 开始滑动
  413 + ///NewPagedFlowView 水平方向开始滑动
415 414 func willBeginScroll(_ scrollView: UIScrollView!) {
416 415 beginOffset = scrollView.contentOffset.x
417 416 }
418 417 ///NewPagedFlowView 滑动中
419 418 func didScroll(_ scrollView: UIScrollView!) {
420   -
421 419 let currentOffset:CGFloat = scrollView.contentOffset.x
422 420  
423 421 if(currentOffset > beginOffset){
424 422  
425 423 if let rightView = self.backgroupView.getRightView(){
426   -
  424 + scrollView.isScrollEnabled = true
427 425 if let currentApearView = self.backgroupView.currentApearView{
428 426 self.backgroupView.insertSubview(rightView, belowSubview: currentApearView)
429 427 }
430 428  
431 429 self.backgroupView.currentApearView?.maskLayer.right = KSreenWidth - (currentOffset-beginOffset)*2.5
432 430 }else{
433   -
  431 + scrollView.isScrollEnabled = false
434 432 }
435 433 }
436 434  
437 435 if(currentOffset < beginOffset){
438 436 if let leftView = self.backgroupView.getLeftView(){
439   -
  437 + scrollView.isScrollEnabled = true
440 438 if let currentApearView = self.backgroupView.currentApearView{
441 439 self.backgroupView.insertSubview(leftView, belowSubview: currentApearView)
442 440 }
443 441  
444 442 self.backgroupView.currentApearView?.maskLayer.left = (beginOffset-currentOffset)*2.5
445 443 }else{
446   -
  444 + scrollView.isScrollEnabled = false
447 445 }
448 446 }
449 447 }
... ...
metaCode/Classes/Main/HomePage/View/CNCertificationView.swift deleted 100644 → 0
1   -//
2   -// CNCertificationView.swift
3   -// metaCode
4   -//
5   -// Created by daojian on 2023/6/12.
6   -//
7   -
8   -import Foundation
9   -
10   -///身份认证View
11   -class CNCertificationView : UIView{
12   - ///添加身份点击事件回调
13   - var addCertificationAction: closeBlock?
14   -
15   - lazy var contentView: UIView = {
16   - let W = self.width-50
17   - let H = W*1.5
18   - let contentView = UIView.init(frame: CGRect(x: 25, y: KSreenHeight*0.16, width: W, height: H ))
19   - contentView.backgroundColor = UIColor.white
20   - contentView.clipsToBounds = true
21   - contentView.layer.cornerRadius = 20
22   -
23   - return contentView
24   -
25   - }()
26   -
27   -// ///添加身份认证按钮
28   -// lazy var addCerBtn: UIButton = {
29   -// let addCerBtn = UIButton(type: .custom)
30   -// addCerBtn.frame = CGRect(x: 0, y: 0, width: 145, height: 141)
31   -// addCerBtn.centerX = self.contentView.width/2
32   -// addCerBtn.centerY = self.contentView.height/2
33   -// addCerBtn.setImage(UIImage(named: "homePage_addCertification_icon"), for: .normal)
34   -// addCerBtn.addTarget(self, action: #selector(addCerBtnAction), for: .touchUpInside)
35   -// return addCerBtn
36   -// }()
37   -//
38   -// ///添加身份按钮底部标题
39   -// lazy var addCerBtnBottomTitle: UILabel = {
40   -// let addCerBtnBottomTitle = UILabel(frame: CGRect(x: 0, y: self.addCerBtn.bottom - 10, width: 100, height: 22))
41   -// addCerBtnBottomTitle.centerX = self.addCerBtn.centerX
42   -// addCerBtnBottomTitle.textColor = UIColor("#0066FE")
43   -// addCerBtnBottomTitle.textAlignment = .center
44   -// addCerBtnBottomTitle.font = UIFont.systemFont(ofSize: 15, weight: .regular)
45   -// addCerBtnBottomTitle.text = "身份认证"
46   -// return addCerBtnBottomTitle
47   -//
48   -// }()
49   -
50   - override init(frame: CGRect) {
51   - super.init(frame: frame)
52   - self.initUI()
53   -
54   - }
55   -
56   - required init?(coder: NSCoder) {
57   - fatalError("init(coder:) has not been implemented")
58   - }
59   -
60   - func initUI()
61   - {
62   - self.addSubview(self.contentView)
63   -// self.contentView.addSubview(self.addCerBtn)
64   -// self.contentView.addSubview(self.addCerBtnBottomTitle)
65   -// }
66   -
67   -// @objc func addCerBtnAction(){
68   -//
69   -// if(self.addCertificationAction != nil){
70   -// self.addCertificationAction!()
71   -// }
72   -//
73   - }
74   -}
metaCode/Classes/Main/HomePage/View/GoodsManager/CNLiveAddGoodsSelectUploadImageView.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/GoodsManager/CNLiveAddGoodsSelectUploadImageView.swift
metaCode/Classes/Main/HomePage/View/GoodsManager/CNLiveRoundedRectView.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/GoodsManager/CNLiveRoundedRectView.swift
metaCode/Classes/Main/HomePage/View/GoodsManager/CNLiveSelUplSingleImageView.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/GoodsManager/CNLiveSelUplSingleImageView.swift
metaCode/Classes/Main/HomePage/View/GoodsManager/CNLiveShopAddGoodsSingleView.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/GoodsManager/CNLiveShopAddGoodsSingleView.swift
metaCode/Classes/Main/HomePage/View/GoodsManager/CNLiveShopAssociatedGoodsTableViewCell.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/GoodsManager/CNLiveShopAssociatedGoodsTableViewCell.swift
metaCode/Classes/Main/HomePage/View/GoodsManager/CNLiveShopClassifyCell.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/GoodsManager/CNLiveShopClassifyCell.swift
metaCode/Classes/Main/HomePage/View/GoodsManager/CNLiveShopClassifyInputTableViewCell.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/GoodsManager/CNLiveShopClassifyInputTableViewCell.swift
metaCode/Classes/Main/HomePage/View/GoodsManager/CNLiveShopClassifySectionHeaderView.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/GoodsManager/CNLiveShopClassifySectionHeaderView.swift
metaCode/Classes/Main/HomePage/View/GoodsManager/CNLiveShopClassifySwitchTableViewCell.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/GoodsManager/CNLiveShopClassifySwitchTableViewCell.swift
metaCode/Classes/Main/HomePage/View/GoodsManager/CNLiveShopClassilyIconTableViewCell.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/GoodsManager/CNLiveShopClassilyIconTableViewCell.swift
metaCode/Classes/Main/HomePage/View/GoodsManager/CNLiveShopClassilyManageHeaderView.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/GoodsManager/CNLiveShopClassilyManageHeaderView.swift
metaCode/Classes/Main/HomePage/View/GoodsManager/CNLiveShopClassilyManageTableViewCell.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/GoodsManager/CNLiveShopClassilyManageTableViewCell.swift
metaCode/Classes/Main/HomePage/View/GoodsManager/CNLiveShopGoodsListCell.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/GoodsManager/CNLiveShopGoodsListCell.swift
metaCode/Classes/Main/HomePage/View/GoodsManager/CNLiveShopGoodsListClassifyView.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/GoodsManager/CNLiveShopGoodsListClassifyView.swift
metaCode/Classes/Main/HomePage/View/GoodsManager/CNLiveShopGoodsManageDetailsInputManager.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/GoodsManager/CNLiveShopGoodsManageDetailsInputManager.swift
metaCode/Classes/Main/HomePage/View/GoodsManager/CNLiveShopGoodsManageListTableViewCell.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/GoodsManager/CNLiveShopGoodsManageListTableViewCell.swift
metaCode/Classes/Main/HomePage/View/GoodsManager/CNLiveShopTextView.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/GoodsManager/CNLiveShopTextView.swift
metaCode/Classes/Main/HomePage/View/GoodsManager/CNLiveSwitchView.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/GoodsManager/CNLiveSwitchView.swift
metaCode/Classes/Main/HomePage/View/CNLiveShopConsoleCell.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/ShopConsole/CNLiveShopConsoleCell.swift
... ... @@ -3,7 +3,7 @@
3 3 // metaCode
4 4 //
5 5 // Created by zx on 2023/10/30.
6   -//
  6 +// 电商控制台cell
7 7  
8 8 import Foundation
9 9  
... ...
metaCode/Classes/Main/HomePage/View/ShopCoupon/CNLiveCouponGoodsListSearchView.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/ShopCoupon/CNLiveCouponGoodsListSearchView.swift
metaCode/Classes/Main/HomePage/View/ShopCoupon/CNLiveCouponGoodsListTableViewCell.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/ShopCoupon/CNLiveCouponGoodsListTableViewCell.swift
metaCode/Classes/Main/HomePage/View/ShopCoupon/CNLiveCouponGoodsListView.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/ShopCoupon/CNLiveCouponGoodsListView.swift
metaCode/Classes/Main/HomePage/View/ShopCoupon/CNLiveCouponGoodsSearchView.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/ShopCoupon/CNLiveCouponGoodsSearchView.swift
metaCode/Classes/Main/HomePage/View/ShopCoupon/CNLiveCouponListTableViewCell.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/ShopCoupon/CNLiveCouponListTableViewCell.swift
metaCode/Classes/Main/HomePage/View/ShopCoupon/CNLiveCreateCouponTableViewCell.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/ShopCoupon/CNLiveCreateCouponTableViewCell.swift
metaCode/Classes/Main/HomePage/View/ShopCoupon/CNLiveCreateCouponTypeMoneyView.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/ShopCoupon/CNLiveCreateCouponTypeMoneyView.swift
metaCode/Classes/Main/HomePage/View/ShopCoupon/CNLivePickerSelectDateTools.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/ShopCoupon/CNLivePickerSelectDateTools.swift
metaCode/Classes/Main/HomePage/View/ShopCoupon/CNLivePickerToolsView.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/ShopCoupon/CNLivePickerToolsView.swift
metaCode/Classes/Main/HomePage/View/ShopCoupon/CNLivePickerView.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/ShopCoupon/CNLivePickerView.swift
metaCode/Classes/Main/HomePage/View/ShopCoupon/CNLiveSelectCouponTapView.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/ShopCoupon/CNLiveSelectCouponTapView.swift
metaCode/Classes/Main/HomePage/View/ShopCoupon/CNLiveShopCouponCreateBottomView.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/ShopCoupon/CNLiveShopCouponCreateBottomView.swift
metaCode/Classes/Main/HomePage/View/CNLiveShopDetailBtnsCell.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/ShopDetail/CNLiveShopDetailBtnsCell.swift
... ... @@ -3,7 +3,7 @@
3 3 // metaCode
4 4 //
5 5 // Created by zx on 2023/11/3.
6   -//
  6 +// 电商上滑详情页(下面的页) banner下的按钮cell
7 7  
8 8 import Foundation
9 9  
... ...
metaCode/Classes/Main/HomePage/View/CNLiveShopDetailOrderAssetCell.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/ShopDetail/CNLiveShopDetailOrderAssetCell.swift
... ... @@ -3,7 +3,7 @@
3 3 // metaCode
4 4 //
5 5 // Created by zx on 2023/11/4.
6   -// 我的订单,我的资产
  6 +// 电商上滑详情页(下面的页) banner下的 我的订单,我的资产cell
7 7  
8 8 import Foundation
9 9 enum CNLiveShopDetailDisplayType {
... ...
metaCode/Classes/Main/HomePage/View/CNLliveShopDetailBannerCell.swift renamed to metaCode/Classes/Main/HomePage/View/Shop/ShopDetail/CNLliveShopDetailBannerCell.swift
... ... @@ -3,7 +3,7 @@
3 3 // metaCode
4 4 //
5 5 // Created by zx on 2023/11/1.
6   -//
  6 +// 电商上滑详情页(下面的页) bannercell
7 7  
8 8 import Foundation
9 9 import FSPagerView
... ...
metaCode/Classes/Main/HomePage/View/CNCustomIndexView.swift renamed to metaCode/Classes/Main/HomePage/View/VerticalViews/CNCustomIndexView.swift
... ... @@ -3,7 +3,7 @@
3 3 // metaCode
4 4 //
5 5 // Created by daojian on 2023/5/31.
6   -//
  6 +// 认证-上下滑的容器View
7 7  
8 8 import Foundation
9 9  
... ...
metaCode/Classes/Main/HomePage/View/CNDownSlideSingleCourseCell.swift renamed to metaCode/Classes/Main/HomePage/View/VerticalViews/DownSlide/CNDownSlideSingleCourseCell.swift
metaCode/Classes/Main/HomePage/View/CNDownSlideView.swift renamed to metaCode/Classes/Main/HomePage/View/VerticalViews/DownSlide/CNDownSlideView.swift
metaCode/Classes/Main/HomePage/View/CNDownSlideViewRemindView.swift renamed to metaCode/Classes/Main/HomePage/View/VerticalViews/DownSlide/CNDownSlideViewRemindView.swift
metaCode/Classes/Main/HomePage/View/CNLiveDownSlideRecommendCell.swift renamed to metaCode/Classes/Main/HomePage/View/VerticalViews/DownSlide/CNLiveDownSlideRecommendCell.swift
metaCode/Classes/Main/HomePage/View/CNLiveDownSlideTodayRecommendCell.swift renamed to metaCode/Classes/Main/HomePage/View/VerticalViews/DownSlide/CNLiveDownSlideTodayRecommendCell.swift
metaCode/Classes/Main/HomePage/View/CNUpSlideDetailScrollView.swift renamed to metaCode/Classes/Main/HomePage/View/VerticalViews/DownSlide/CNUpSlideDetailScrollView.swift
metaCode/Classes/Main/HomePage/View/VerticalViews/MainView/CNCertificationView.swift 0 → 100644
  1 +////
  2 +//// CNCertificationView.swift
  3 +//// metaCode
  4 +////
  5 +//// Created by daojian on 2023/6/12.
  6 +//// 旧卡片(废弃)
  7 +//
  8 +//import Foundation
  9 +//
  10 +/////身份认证View
  11 +//class CNCertificationView : UIView{
  12 +// ///添加身份点击事件回调
  13 +// var addCertificationAction: closeBlock?
  14 +//
  15 +// lazy var contentView: UIView = {
  16 +// let W = self.width-50
  17 +// let H = W*1.5
  18 +// let contentView = UIView.init(frame: CGRect(x: 25, y: KSreenHeight*0.16, width: W, height: H ))
  19 +// contentView.backgroundColor = UIColor.white
  20 +// contentView.clipsToBounds = true
  21 +// contentView.layer.cornerRadius = 20
  22 +//
  23 +// return contentView
  24 +//
  25 +// }()
  26 +//
  27 +//// ///添加身份认证按钮
  28 +//// lazy var addCerBtn: UIButton = {
  29 +//// let addCerBtn = UIButton(type: .custom)
  30 +//// addCerBtn.frame = CGRect(x: 0, y: 0, width: 145, height: 141)
  31 +//// addCerBtn.centerX = self.contentView.width/2
  32 +//// addCerBtn.centerY = self.contentView.height/2
  33 +//// addCerBtn.setImage(UIImage(named: "homePage_addCertification_icon"), for: .normal)
  34 +//// addCerBtn.addTarget(self, action: #selector(addCerBtnAction), for: .touchUpInside)
  35 +//// return addCerBtn
  36 +//// }()
  37 +////
  38 +//// ///添加身份按钮底部标题
  39 +//// lazy var addCerBtnBottomTitle: UILabel = {
  40 +//// let addCerBtnBottomTitle = UILabel(frame: CGRect(x: 0, y: self.addCerBtn.bottom - 10, width: 100, height: 22))
  41 +//// addCerBtnBottomTitle.centerX = self.addCerBtn.centerX
  42 +//// addCerBtnBottomTitle.textColor = UIColor("#0066FE")
  43 +//// addCerBtnBottomTitle.textAlignment = .center
  44 +//// addCerBtnBottomTitle.font = UIFont.systemFont(ofSize: 15, weight: .regular)
  45 +//// addCerBtnBottomTitle.text = "身份认证"
  46 +//// return addCerBtnBottomTitle
  47 +////
  48 +//// }()
  49 +//
  50 +// override init(frame: CGRect) {
  51 +// super.init(frame: frame)
  52 +// self.initUI()
  53 +//
  54 +// }
  55 +//
  56 +// required init?(coder: NSCoder) {
  57 +// fatalError("init(coder:) has not been implemented")
  58 +// }
  59 +//
  60 +// func initUI()
  61 +// {
  62 +// self.addSubview(self.contentView)
  63 +//// self.contentView.addSubview(self.addCerBtn)
  64 +//// self.contentView.addSubview(self.addCerBtnBottomTitle)
  65 +//// }
  66 +//
  67 +//// @objc func addCerBtnAction(){
  68 +////
  69 +//// if(self.addCertificationAction != nil){
  70 +//// self.addCertificationAction!()
  71 +//// }
  72 +////
  73 +// }
  74 +//}
... ...
metaCode/Classes/Main/HomePage/View/CNHomePageBackgroupView.swift renamed to metaCode/Classes/Main/HomePage/View/VerticalViews/MainView/CNHomePageBackgroupView.swift
... ... @@ -3,7 +3,7 @@
3 3 // metaCode
4 4 //
5 5 // Created by daojian on 2023/6/6.
6   -//
  6 +// 认证-添加身份背景视图
7 7  
8 8 import Foundation
9 9 import UIKit
... ...
metaCode/Classes/Main/HomePage/View/CNHomePageGuideView.swift renamed to metaCode/Classes/Main/HomePage/View/VerticalViews/MainView/CNHomePageGuideView.swift
metaCode/Classes/Main/HomePage/View/CNIDCardView.swift renamed to metaCode/Classes/Main/HomePage/View/VerticalViews/MainView/CNIDCardView.swift
... ... @@ -3,7 +3,7 @@
3 3 // metaCode
4 4 //
5 5 // Created by zx on 2023/9/16.
6   -//
  6 +// 身份认证卡片
7 7  
8 8 import Foundation
9 9  
... ...
metaCode/Classes/Main/HomePage/View/CNMainView.swift renamed to metaCode/Classes/Main/HomePage/View/VerticalViews/MainView/CNMainView.swift
metaCode/Classes/Main/HomePage/View/CNUpSlideView.swift renamed to metaCode/Classes/Main/HomePage/View/VerticalViews/UpSlide/CNUpSlideView.swift
metaCode/Classes/Main/HomePage/View/CNUpSlideViewRemindView.swift renamed to metaCode/Classes/Main/HomePage/View/VerticalViews/UpSlide/CNUpSlideViewRemindView.swift
metaCode/Classes/Main/HomePages/Controller/AuthController/push相关/CNHomepageDetailViewController.swift
... ... @@ -175,7 +175,9 @@ class CNHomepageDetailViewController: CNLiveBaseViewController ,UITableViewData
175 175  
176 176 // MARK: - 获取全部专辑列表
177 177 func getBlockContents(page:NSInteger){
  178 + showLoading(message: "")
178 179 CNLiveHomePageViewModel.getBlockContents(blockId: self.slideModel!.blockId ?? "", page: page) {[weak self] result, status in
  180 + hiddenLoading()
179 181 if status == .success{
180 182 if self!.pageNum > 1 {
181 183 self!.dataArray.addObjects(from: result as! [CNLiveAlbumModel])
... ...