Commit 68900fe3e0a041a85552fec7c8c7471a3b93873e
1 parent
55ab9eaa
下滑工作台
Showing
33 changed files
with
751 additions
and
25 deletions
metaCode.xcodeproj/project.pbxproj
| ... | ... | @@ -13,6 +13,11 @@ |
| 13 | 13 | 1926C28F2AE0D76C00C71DC3 /* CNLiveDownSlideViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1926C28E2AE0D76C00C71DC3 /* CNLiveDownSlideViewModel.swift */; }; |
| 14 | 14 | 1926C2912AE0FD4500C71DC3 /* CNLiveDownSlideModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1926C2902AE0FD4500C71DC3 /* CNLiveDownSlideModel.swift */; }; |
| 15 | 15 | 19BB1FDF2AEA3A450094D962 /* CNSlideBaseNavigationController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19BB1FDE2AEA3A450094D962 /* CNSlideBaseNavigationController.swift */; }; |
| 16 | + 19BB1FE12AEB5C220094D962 /* CNLiveShopConsoleController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19BB1FE02AEB5C220094D962 /* CNLiveShopConsoleController.swift */; }; | |
| 17 | + 19BB1FE32AEB8B7C0094D962 /* CNLiveShopConsoleViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19BB1FE22AEB8B7C0094D962 /* CNLiveShopConsoleViewModel.swift */; }; | |
| 18 | + 19BB1FE62AEB93B80094D962 /* CNLiveShopUserInfoModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19BB1FE52AEB93B80094D962 /* CNLiveShopUserInfoModel.swift */; }; | |
| 19 | + 19BB1FE82AECAD060094D962 /* CNLiveShopConsoleModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19BB1FE72AECAD060094D962 /* CNLiveShopConsoleModel.swift */; }; | |
| 20 | + 19BB1FEA2AEF7B4A0094D962 /* CNLiveShopConsoleCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19BB1FE92AEF7B4A0094D962 /* CNLiveShopConsoleCell.swift */; }; | |
| 16 | 21 | 19CC4D472ADD006600308E2A /* CNDownSlideSingleCourseCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19CC4D462ADD006600308E2A /* CNDownSlideSingleCourseCell.swift */; }; |
| 17 | 22 | 19CC4D492ADD06C500308E2A /* UITableView+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19CC4D482ADD06C500308E2A /* UITableView+Extension.swift */; }; |
| 18 | 23 | 19CC4D4B2ADD086F00308E2A /* CNUpSlideDetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19CC4D4A2ADD086F00308E2A /* CNUpSlideDetailViewController.swift */; }; |
| ... | ... | @@ -135,6 +140,11 @@ |
| 135 | 140 | 1926C28E2AE0D76C00C71DC3 /* CNLiveDownSlideViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveDownSlideViewModel.swift; sourceTree = "<group>"; }; |
| 136 | 141 | 1926C2902AE0FD4500C71DC3 /* CNLiveDownSlideModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveDownSlideModel.swift; sourceTree = "<group>"; }; |
| 137 | 142 | 19BB1FDE2AEA3A450094D962 /* CNSlideBaseNavigationController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNSlideBaseNavigationController.swift; sourceTree = "<group>"; }; |
| 143 | + 19BB1FE02AEB5C220094D962 /* CNLiveShopConsoleController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveShopConsoleController.swift; sourceTree = "<group>"; }; | |
| 144 | + 19BB1FE22AEB8B7C0094D962 /* CNLiveShopConsoleViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveShopConsoleViewModel.swift; sourceTree = "<group>"; }; | |
| 145 | + 19BB1FE52AEB93B80094D962 /* CNLiveShopUserInfoModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveShopUserInfoModel.swift; sourceTree = "<group>"; }; | |
| 146 | + 19BB1FE72AECAD060094D962 /* CNLiveShopConsoleModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveShopConsoleModel.swift; sourceTree = "<group>"; }; | |
| 147 | + 19BB1FE92AEF7B4A0094D962 /* CNLiveShopConsoleCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNLiveShopConsoleCell.swift; sourceTree = "<group>"; }; | |
| 138 | 148 | 19CC4D462ADD006600308E2A /* CNDownSlideSingleCourseCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNDownSlideSingleCourseCell.swift; sourceTree = "<group>"; }; |
| 139 | 149 | 19CC4D482ADD06C500308E2A /* UITableView+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UITableView+Extension.swift"; sourceTree = "<group>"; }; |
| 140 | 150 | 19CC4D4A2ADD086F00308E2A /* CNUpSlideDetailViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CNUpSlideDetailViewController.swift; sourceTree = "<group>"; }; |
| ... | ... | @@ -271,6 +281,16 @@ |
| 271 | 281 | /* End PBXFrameworksBuildPhase section */ |
| 272 | 282 | |
| 273 | 283 | /* Begin PBXGroup section */ |
| 284 | + 19BB1FE42AEB93850094D962 /* Model */ = { | |
| 285 | + isa = PBXGroup; | |
| 286 | + children = ( | |
| 287 | + 1926C2902AE0FD4500C71DC3 /* CNLiveDownSlideModel.swift */, | |
| 288 | + 19BB1FE52AEB93B80094D962 /* CNLiveShopUserInfoModel.swift */, | |
| 289 | + 19BB1FE72AECAD060094D962 /* CNLiveShopConsoleModel.swift */, | |
| 290 | + ); | |
| 291 | + path = Model; | |
| 292 | + sourceTree = "<group>"; | |
| 293 | + }; | |
| 274 | 294 | 19CC4D502ADD126D00308E2A /* Util */ = { |
| 275 | 295 | isa = PBXGroup; |
| 276 | 296 | children = ( |
| ... | ... | @@ -569,7 +589,7 @@ |
| 569 | 589 | children = ( |
| 570 | 590 | 7C83B43D2A52B8BA004BF4A4 /* CNHomePageViewModel.swift */, |
| 571 | 591 | 1926C28E2AE0D76C00C71DC3 /* CNLiveDownSlideViewModel.swift */, |
| 572 | - 1926C2902AE0FD4500C71DC3 /* CNLiveDownSlideModel.swift */, | |
| 592 | + 19BB1FE22AEB8B7C0094D962 /* CNLiveShopConsoleViewModel.swift */, | |
| 573 | 593 | ); |
| 574 | 594 | name = ViewModel; |
| 575 | 595 | path = HomePage/ViewModel; |
| ... | ... | @@ -579,6 +599,7 @@ |
| 579 | 599 | isa = PBXGroup; |
| 580 | 600 | children = ( |
| 581 | 601 | 19CC4D502ADD126D00308E2A /* Util */, |
| 602 | + 19BB1FE42AEB93850094D962 /* Model */, | |
| 582 | 603 | 7C83B43C2A52B899004BF4A4 /* ViewModel */, |
| 583 | 604 | 7CD6754D2A2840B9008354C1 /* Controller */, |
| 584 | 605 | 7CD675232A26F8F8008354C1 /* View */, |
| ... | ... | @@ -603,6 +624,7 @@ |
| 603 | 624 | 19FA20182AE22D98001F7186 /* CNLiveDownSlideTodayRecommendCell.swift */, |
| 604 | 625 | 19CC4D462ADD006600308E2A /* CNDownSlideSingleCourseCell.swift */, |
| 605 | 626 | 19CC4D4E2ADD0FC200308E2A /* CNUpSlideDetailScrollView.swift */, |
| 627 | + 19BB1FE92AEF7B4A0094D962 /* CNLiveShopConsoleCell.swift */, | |
| 606 | 628 | ); |
| 607 | 629 | name = View; |
| 608 | 630 | path = HomePage/View; |
| ... | ... | @@ -617,6 +639,7 @@ |
| 617 | 639 | 192336EA2AD9224300D47CD4 /* CNUpSlideViewController.swift */, |
| 618 | 640 | 19CC4D4A2ADD086F00308E2A /* CNUpSlideDetailViewController.swift */, |
| 619 | 641 | 19CC4D532ADD163D00308E2A /* CNUpSlideCardPresentationController.swift */, |
| 642 | + 19BB1FE02AEB5C220094D962 /* CNLiveShopConsoleController.swift */, | |
| 620 | 643 | ); |
| 621 | 644 | name = Controller; |
| 622 | 645 | path = HomePage/Controller; |
| ... | ... | @@ -924,6 +947,7 @@ |
| 924 | 947 | isa = PBXSourcesBuildPhase; |
| 925 | 948 | buildActionMask = 2147483647; |
| 926 | 949 | files = ( |
| 950 | + 19BB1FE82AECAD060094D962 /* CNLiveShopConsoleModel.swift in Sources */, | |
| 927 | 951 | 19F1C2332AB5728B0083D06C /* CNIDCardView.swift in Sources */, |
| 928 | 952 | 7CD675292A270F6A008354C1 /* WJColorChange.m in Sources */, |
| 929 | 953 | 79F4B11C2A33036E00993C03 /* CNLiveMineInfoAlertView.swift in Sources */, |
| ... | ... | @@ -950,6 +974,7 @@ |
| 950 | 974 | 19CC4D4F2ADD0FC200308E2A /* CNUpSlideDetailScrollView.swift in Sources */, |
| 951 | 975 | 79EABB892AB4497700F3A4E2 /* CNLiveSaveStandDB.swift in Sources */, |
| 952 | 976 | 790B1FB62A41938F0074CF00 /* UIImage+CNLiveExtensions.swift in Sources */, |
| 977 | + 19BB1FEA2AEF7B4A0094D962 /* CNLiveShopConsoleCell.swift in Sources */, | |
| 953 | 978 | 790D019D2A2DCBD000C5978D /* UIView+CNLiveExtensions.swift in Sources */, |
| 954 | 979 | 790B1FB62A41938F0074CF00 /* UIImage+CNLiveExtensions.swift in Sources */, |
| 955 | 980 | 19FA20172AE22D3C001F7186 /* CNLiveDownSlideRecommendCell.swift in Sources */, |
| ... | ... | @@ -970,9 +995,11 @@ |
| 970 | 995 | 79282A402A2F055100B5F8CF /* CNLiveConfigUserInfo.swift in Sources */, |
| 971 | 996 | 7C83B43E2A52B8BA004BF4A4 /* CNHomePageViewModel.swift in Sources */, |
| 972 | 997 | 19BB1FDF2AEA3A450094D962 /* CNSlideBaseNavigationController.swift in Sources */, |
| 998 | + 19BB1FE12AEB5C220094D962 /* CNLiveShopConsoleController.swift in Sources */, | |
| 973 | 999 | 7C4931382A307BDB000E44B4 /* CNHomePageGuideView.swift in Sources */, |
| 974 | 1000 | 7CD6753E2A2740B0008354C1 /* CNUpSlideView.swift in Sources */, |
| 975 | 1001 | 7CD675402A2740B0008354C1 /* CNDownSlideView.swift in Sources */, |
| 1002 | + 19BB1FE32AEB8B7C0094D962 /* CNLiveShopConsoleViewModel.swift in Sources */, | |
| 976 | 1003 | 792E57D92A3AA2F2005834DB /* CNLiveCommonBaseModel.swift in Sources */, |
| 977 | 1004 | 7CD6753E2A2740B0008354C1 /* CNUpSlideView.swift in Sources */, |
| 978 | 1005 | 7CD675402A2740B0008354C1 /* CNDownSlideView.swift in Sources */, |
| ... | ... | @@ -983,6 +1010,7 @@ |
| 983 | 1010 | 7CD6754F2A2840B9008354C1 /* CNMetaCodeHomePageController.swift in Sources */, |
| 984 | 1011 | 7989B5C52A4BDC6000A19B10 /* CNLiveMineEarnViewController.swift in Sources */, |
| 985 | 1012 | 792E57DB2A3AE9F4005834DB /* CNLiveCommonQiniuTool.swift in Sources */, |
| 1013 | + 19BB1FE62AEB93B80094D962 /* CNLiveShopUserInfoModel.swift in Sources */, | |
| 986 | 1014 | 7CD675472A274167008354C1 /* NewPagedFlowView.m in Sources */, |
| 987 | 1015 | 79F4B11A2A32F21400993C03 /* CNLiveMineNickViewController.swift in Sources */, |
| 988 | 1016 | 798A44FF2A30A0A800815935 /* CNLiveInputFeedBackViewController.swift in Sources */, | ... | ... |
metaCode/Classes/Environment/CNLiveEnvironment.swift
| ... | ... | @@ -25,9 +25,10 @@ let APPBaseMCUrl: String = CNLiveEnvironmentManager.shared.base_mc_url |
| 25 | 25 | let APPBaseWjjUrl: String = CNLiveEnvironmentManager.shared.base_wjj_url |
| 26 | 26 | /// 网家家内电商接口 |
| 27 | 27 | let APPBaseWjjShopUrl: String = CNLiveEnvironmentManager.shared.base_mjj_shop_url |
| 28 | +/// 商家版电商接口 | |
| 29 | +let APPBaseShopUrl: String = CNLiveEnvironmentManager.shared.base_shop_url | |
| 28 | 30 | /// cms接口 |
| 29 | 31 | let APPBaseCMSUrl: String = CNLiveEnvironmentManager.shared.base_cms_url |
| 30 | - | |
| 31 | 32 | ///当前APP的环境 |
| 32 | 33 | let APPCurrentEnvironment: CNLiveEnvironment = CNLiveEnvironmentManager.shared.currentEnvironment |
| 33 | 34 | |
| ... | ... | @@ -69,6 +70,8 @@ class CNLiveEnvironmentManager: NSObject{ |
| 69 | 70 | var img_token_url: String |
| 70 | 71 | /// 网家家电商域名请求 |
| 71 | 72 | var base_mjj_shop_url: String |
| 73 | + /// 电商域名请求 | |
| 74 | + var base_shop_url: String | |
| 72 | 75 | /// 元码webViewUA设置 |
| 73 | 76 | var base_web_UA: String = "yuanma" |
| 74 | 77 | /// cms域名请求 |
| ... | ... | @@ -89,6 +92,7 @@ class CNLiveEnvironmentManager: NSObject{ |
| 89 | 92 | self.img_token_url = "" |
| 90 | 93 | self.base_wjj_url = "" |
| 91 | 94 | self.base_mjj_shop_url = "" |
| 95 | + self.base_shop_url = "" | |
| 92 | 96 | self.base_cms_url = "" |
| 93 | 97 | self.currentEnvironment = .development |
| 94 | 98 | } |
| ... | ... | @@ -128,6 +132,7 @@ class CNLiveEnvironmentManager: NSObject{ |
| 128 | 132 | self.base_mc_url = "https://metacode.cnlive.com/api" |
| 129 | 133 | self.base_wjj_url = "https://apiwjj.cnlive.com" |
| 130 | 134 | self.base_mjj_shop_url = "https://manageshop.cnlive.com" |
| 135 | + self.base_shop_url = "https://managemall.cnlive.com:8080" | |
| 131 | 136 | self.base_cms_url = "https://cmsapi.cnlive.com" |
| 132 | 137 | } |
| 133 | 138 | //testFlight 环境配置 |
| ... | ... | @@ -142,6 +147,7 @@ class CNLiveEnvironmentManager: NSObject{ |
| 142 | 147 | self.base_mc_url = "https://metacode.cnlive.com/api" |
| 143 | 148 | self.base_wjj_url = "https://apiwjj.cnlive.com" |
| 144 | 149 | self.base_mjj_shop_url = "https://manageshop.cnlive.com" |
| 150 | + self.base_shop_url = "https://managemall.cnlive.com:8080" | |
| 145 | 151 | self.base_cms_url = "https://cmsapi.cnlive.com" |
| 146 | 152 | } |
| 147 | 153 | //production 生产环境配置 |
| ... | ... | @@ -156,6 +162,7 @@ class CNLiveEnvironmentManager: NSObject{ |
| 156 | 162 | self.base_mc_url = "https://metacode.cnlive.com/api" |
| 157 | 163 | self.base_wjj_url = "https://apiwjj.cnlive.com" |
| 158 | 164 | self.base_mjj_shop_url = "https://manageshop.cnlive.com" |
| 165 | + self.base_shop_url = "https://managemall.cnlive.com:8080" | |
| 159 | 166 | self.base_cms_url = "https://cmsapi.cnlive.com" |
| 160 | 167 | } |
| 161 | 168 | ... | ... |
metaCode/Classes/Main/HomePage/Controller/CNLiveShopConsoleController.swift
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveShopConsoleController.swift | |
| 3 | +// metaCode | |
| 4 | +// | |
| 5 | +// Created by zx on 2023/10/27. | |
| 6 | +// | |
| 7 | + | |
| 8 | +import Foundation | |
| 9 | + | |
| 10 | +class CNLiveShopConsoleController: CNLiveBaseViewController, UICollectionViewDelegate, UICollectionViewDataSource { | |
| 11 | + | |
| 12 | + let kCNLiveShopConsoleCellKey = "kCNLiveShopConsoleCellKey" | |
| 13 | + | |
| 14 | + let kCNLiveShopConsoleCollectionReusableHeaderViewID = "kCNLiveShopConsoleCollectionReusableHeaderViewID" | |
| 15 | + let kCNLiveShopConsoleCollectionReusableFooterViewID = "kCNLiveShopConsoleCollectionReusableFooterViewID" | |
| 16 | + | |
| 17 | + lazy var collectionView: UICollectionView = { | |
| 18 | + let gap = CGFloat(15) | |
| 19 | + let layout = UICollectionViewFlowLayout.init() | |
| 20 | + layout.itemSize = CGSize(width: (KSreenWidth - gap*2-10)/2, height: 72) | |
| 21 | + layout.sectionInset = .init(top: gap, left: gap, bottom: gap, right: gap) | |
| 22 | + layout.headerReferenceSize = CGSize(width: KSreenWidth, height: 20) | |
| 23 | + let collectionView = UICollectionView(frame: .zero, collectionViewLayout: layout) | |
| 24 | + collectionView.delegate = self | |
| 25 | + collectionView.dataSource = self | |
| 26 | + collectionView.backgroundColor = .clear | |
| 27 | + collectionView.register(CNLiveShopConsoleHeaderView.self, forSupplementaryViewOfKind: UICollectionView.elementKindSectionHeader, withReuseIdentifier: kCNLiveShopConsoleCollectionReusableHeaderViewID) | |
| 28 | + collectionView.register(CNLiveShopConsoleCell.self, forCellWithReuseIdentifier: kCNLiveShopConsoleCellKey) | |
| 29 | + return collectionView | |
| 30 | + }() | |
| 31 | + | |
| 32 | + lazy var dataModel: CNLiveShopConsoleModel = { | |
| 33 | + let dataModel = CNLiveShopConsoleModel() | |
| 34 | + return dataModel | |
| 35 | + }() | |
| 36 | + | |
| 37 | + override func viewDidLoad() { | |
| 38 | + super.viewDidLoad() | |
| 39 | + self.view.backgroundColor = .clear | |
| 40 | + self.getPageApi() | |
| 41 | + | |
| 42 | + view.addSubview(collectionView) | |
| 43 | + collectionView.snp.makeConstraints { make in | |
| 44 | + make.top.equalToSuperview().offset(KNavigationHeight) | |
| 45 | + make.left.bottom.right.equalToSuperview() | |
| 46 | + } | |
| 47 | + } | |
| 48 | + | |
| 49 | + // MARK: - UICollectionViewDelegate | |
| 50 | + func numberOfSections(in collectionView: UICollectionView) -> Int { | |
| 51 | + return self.dataModel.list.count | |
| 52 | + } | |
| 53 | + func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { | |
| 54 | + let listMdl = self.dataModel.list[section] | |
| 55 | + return listMdl.list.count | |
| 56 | + } | |
| 57 | + func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { | |
| 58 | + let cell = collectionView.dequeueReusableCell(withReuseIdentifier: kCNLiveShopConsoleCellKey, for: indexPath) as! CNLiveShopConsoleCell | |
| 59 | + let listMdl = self.dataModel.list[indexPath.section] | |
| 60 | + let model = listMdl.list[indexPath.item] | |
| 61 | + cell.shopListContentModel = model | |
| 62 | + return cell | |
| 63 | + } | |
| 64 | +// func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, referenceSizeForHeaderInSection section: Int) -> CGSize { | |
| 65 | +// if (section == 0) { | |
| 66 | +// return CGSizeMake(self.view.width, 33); | |
| 67 | +// }else { | |
| 68 | +// return CGSizeMake(self.view.width, 33); | |
| 69 | +// } | |
| 70 | +// } | |
| 71 | + | |
| 72 | + func collectionView(_ collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> UICollectionReusableView { | |
| 73 | + if (kind == UICollectionView.elementKindSectionHeader){ | |
| 74 | + let sectionMdl = self.dataModel.list[indexPath.section] | |
| 75 | + let headerView:CNLiveShopConsoleHeaderView = collectionView .dequeueReusableSupplementaryView(ofKind: UICollectionView.elementKindSectionHeader, withReuseIdentifier: kCNLiveShopConsoleCollectionReusableHeaderViewID, for: indexPath) as! CNLiveShopConsoleHeaderView | |
| 76 | + headerView.height = 24 | |
| 77 | + headerView.title = sectionMdl.title | |
| 78 | + return headerView | |
| 79 | + }else { | |
| 80 | + let footer = collectionView .dequeueReusableSupplementaryView(ofKind: UICollectionView.elementKindSectionFooter, withReuseIdentifier: kCNLiveShopConsoleCollectionReusableFooterViewID, for: indexPath) | |
| 81 | + return footer | |
| 82 | + } | |
| 83 | + } | |
| 84 | + | |
| 85 | + func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) { | |
| 86 | + let listMdl = self.dataModel.list[indexPath.section] | |
| 87 | + let itemModel = listMdl.list[indexPath.item] | |
| 88 | + if itemModel.type == CNLiveShopConsoleType.XZSP.rawValue{ | |
| 89 | + //商城新增商品 | |
| 90 | + | |
| 91 | + }else if itemModel.type == CNLiveShopConsoleType.SPGL.rawValue{ | |
| 92 | + //商城商品管理 | |
| 93 | + | |
| 94 | + }else if itemModel.type == CNLiveShopConsoleType.XZYHQ.rawValue{ | |
| 95 | + //新增优惠券 | |
| 96 | + | |
| 97 | + }else if itemModel.type == CNLiveShopConsoleType.GLYHQ.rawValue{ | |
| 98 | + //优惠券管理 | |
| 99 | + | |
| 100 | + }else if itemModel.type == CNLiveShopConsoleType.CreateShopClassify.rawValue{ | |
| 101 | + //创建店铺分类 | |
| 102 | + | |
| 103 | + }else if itemModel.type == CNLiveShopConsoleType.ShopClassifyManager.rawValue{ | |
| 104 | + //店铺分类管理 | |
| 105 | + | |
| 106 | + }else if itemModel.type == CNLiveShopConsoleType.FBDT.rawValue{ | |
| 107 | + //发布动态 | |
| 108 | + | |
| 109 | + }else if itemModel.type == CNLiveShopConsoleType.DTGL.rawValue{ | |
| 110 | + //动态管理 | |
| 111 | + | |
| 112 | + }else if itemModel.type == CNLiveShopConsoleType.DDGL.rawValue{ | |
| 113 | + //订单管理 | |
| 114 | + | |
| 115 | + } | |
| 116 | +// else if itemModel.type == CNLiveShopConsoleType.SH.rawValue{ | |
| 117 | +// //退款/售后 | |
| 118 | +// | |
| 119 | +// } | |
| 120 | + else if itemModel.type == CNLiveShopConsoleType.JYJL.rawValue{ | |
| 121 | + //交易记录 | |
| 122 | + | |
| 123 | + }else if itemModel.type == CNLiveShopConsoleType.OnManagerment.rawValue{ | |
| 124 | + //直播管理 | |
| 125 | + | |
| 126 | + } | |
| 127 | + } | |
| 128 | + | |
| 129 | + //MARK: - 网络请求获取详情页 | |
| 130 | + func getPageApi() | |
| 131 | + { | |
| 132 | + showLoading(message: "") | |
| 133 | + CNLiveShopConsoleViewModel.requestUserInfo() { result, status in | |
| 134 | + hiddenLoading() | |
| 135 | + | |
| 136 | + if status == .success{ | |
| 137 | + let shopUserModel = result as! CNLiveShopUserInfoModel | |
| 138 | + if shopUserModel.type != "3"{ | |
| 139 | + //type 1商家或者8达人 | |
| 140 | + let shopConsoleModel = CNLiveShopConsoleModel() | |
| 141 | + shopConsoleModel.initDataSource() | |
| 142 | + self.dataModel = shopConsoleModel | |
| 143 | + self.collectionView.reloadData() | |
| 144 | + } | |
| 145 | + }else if (status == .failed){ | |
| 146 | +// self.NetApiStatus = .apiError | |
| 147 | + }else if (status == .noNetwork){ | |
| 148 | + | |
| 149 | +// self.NetApiStatus = .notNetwork | |
| 150 | + } | |
| 151 | + } | |
| 152 | +// | |
| 153 | + } | |
| 154 | +} | ... | ... |
metaCode/Classes/Main/HomePage/View/CNCustomIndexView.swift
| ... | ... | @@ -393,7 +393,7 @@ class CNCustomIndexView:PGIndexBannerSubiew, UIScrollViewDelegate, WJColorChange |
| 393 | 393 | if scrollView.contentOffset.y == 0{ |
| 394 | 394 | //滚动到第一页,显示downSlideView的底部view |
| 395 | 395 | self.downSlideView.bottomView.isHidden = false |
| 396 | - self.downSlideView.contentView.backgroundColor = KVCBackgroupColor | |
| 396 | + self.downSlideView.contentView.backgroundColor = HexColor(kCNDownSlideBackgroundColorHex) //KVCBackgroupColor | |
| 397 | 397 | } |
| 398 | 398 | |
| 399 | 399 | delegate?.customIndexViewDidScroll(scrollView: self.baseScrollView) |
| ... | ... | @@ -420,7 +420,7 @@ class CNCustomIndexView:PGIndexBannerSubiew, UIScrollViewDelegate, WJColorChange |
| 420 | 420 | if scrollView.contentOffset.y == 0{ |
| 421 | 421 | //滚动到第一页,显示downSlideView的底部view |
| 422 | 422 | self.downSlideView.bottomView.isHidden = false |
| 423 | - self.downSlideView.contentView.backgroundColor = KVCBackgroupColor | |
| 423 | + self.downSlideView.contentView.backgroundColor = HexColor(kCNDownSlideBackgroundColorHex)//KVCBackgroupColor | |
| 424 | 424 | } |
| 425 | 425 | |
| 426 | 426 | //滑动结束 把topNavView 放到scrollView的上层 | ... | ... |
metaCode/Classes/Main/HomePage/View/CNDownSlideView.swift
| ... | ... | @@ -48,11 +48,18 @@ class CNDownSlideView:UIView{ |
| 48 | 48 | return webView |
| 49 | 49 | }() |
| 50 | 50 | |
| 51 | - var upSlideVCView:CNUpSlideViewController = { | |
| 52 | - let upSlideVCView = CNUpSlideViewController.init() | |
| 53 | - upSlideVCView.view.width = KSreenWidth | |
| 54 | - upSlideVCView.view.height = KSreenHeight-DownSlideBottomViewHeight | |
| 55 | - return upSlideVCView | |
| 51 | + var upSlideVC:CNUpSlideViewController = { | |
| 52 | + let upSlideVC = CNUpSlideViewController.init() | |
| 53 | + upSlideVC.view.width = KSreenWidth | |
| 54 | + upSlideVC.view.height = KSreenHeight-DownSlideBottomViewHeight | |
| 55 | + return upSlideVC | |
| 56 | + }() | |
| 57 | + | |
| 58 | + var shopConsoleVC:CNLiveShopConsoleController = { | |
| 59 | + let shopConsoleVC = CNLiveShopConsoleController.init() | |
| 60 | + shopConsoleVC.view.width = KSreenWidth | |
| 61 | + shopConsoleVC.view.height = KSreenHeight-DownSlideBottomViewHeight | |
| 62 | + return shopConsoleVC | |
| 56 | 63 | }() |
| 57 | 64 | |
| 58 | 65 | var type:Int? |
| ... | ... | @@ -66,30 +73,23 @@ class CNDownSlideView:UIView{ |
| 66 | 73 | _downPath = newValue! |
| 67 | 74 | |
| 68 | 75 | if(type == UpDownTypeH5){ |
| 76 | + self.contentView.addSubview(self.webView) | |
| 69 | 77 | if (_downPath != ""){ |
| 70 | 78 | let webUrl: URL! = URL.init(string: _downPath!) |
| 71 | 79 | webView.load(URLRequest.init(url:webUrl)) |
| 72 | 80 | } |
| 73 | 81 | }else if(type == UpDownTypePage){ |
| 74 | - print("UpDownTypePage") | |
| 75 | - self.webView.isHidden = true | |
| 76 | - self.upSlideVCView.downPath = _downPath | |
| 82 | + self.addSubview(self.upSlideVC.view) | |
| 83 | + self.upSlideVC.downPath = _downPath | |
| 77 | 84 | |
| 78 | 85 | }else if(type == UpDownTypeShopDetail){ |
| 79 | 86 | |
| 80 | 87 | }else if(type == UpDownTypeShopControlConsole){ |
| 81 | - | |
| 88 | + self.addSubview(self.shopConsoleVC.view) | |
| 82 | 89 | } |
| 83 | 90 | } |
| 84 | 91 | } |
| 85 | 92 | |
| 86 | - lazy var topView:UIView = { | |
| 87 | - | |
| 88 | - let tempTopView = UIView(frame: CGRect(x:0, y:20, width: self.width - 50, height: 70)) | |
| 89 | - | |
| 90 | - return tempTopView | |
| 91 | - }() | |
| 92 | - | |
| 93 | 93 | lazy var bottomView:UIView = { |
| 94 | 94 | |
| 95 | 95 | let bottomView = UIView(frame: CGRect(x:0, y:self.height - DownSlideBottomViewHeight, width: self.width, height: DownSlideBottomViewHeight)) |
| ... | ... | @@ -140,11 +140,8 @@ class CNDownSlideView:UIView{ |
| 140 | 140 | func initUI(){ |
| 141 | 141 | self.isUserInteractionEnabled = true |
| 142 | 142 | self.addSubview(self.contentView) |
| 143 | - self.contentView.addSubview(self.webView) | |
| 144 | -// self.addSubview(self.topView) | |
| 145 | - self.addSubview(self.upSlideVCView.view) | |
| 143 | + | |
| 146 | 144 | self.addSubview(self.bottomView) |
| 147 | - | |
| 148 | 145 | } |
| 149 | 146 | |
| 150 | 147 | @objc func backBtnAction(){ | ... | ... |
metaCode/Classes/Main/HomePage/View/CNLiveShopConsoleCell.swift
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveShopConsoleCell.swift | |
| 3 | +// metaCode | |
| 4 | +// | |
| 5 | +// Created by zx on 2023/10/30. | |
| 6 | +// | |
| 7 | + | |
| 8 | +import Foundation | |
| 9 | + | |
| 10 | +class CNLiveShopConsoleCell: UICollectionViewCell { | |
| 11 | + | |
| 12 | + var bgView = UIView() | |
| 13 | + var iconImageView = UIImageView() | |
| 14 | + var titleLbl = UILabel() | |
| 15 | + var subTitleLbl = UILabel() | |
| 16 | + | |
| 17 | + //slideModel | |
| 18 | + var _shopListContentModel : CNLiveShopConsoleListContentModel? | |
| 19 | + var shopListContentModel : CNLiveShopConsoleListContentModel? { | |
| 20 | + get{ | |
| 21 | + _shopListContentModel | |
| 22 | + } | |
| 23 | + set{ | |
| 24 | + _shopListContentModel = newValue! | |
| 25 | + self.iconImageView.image = UIImage(named: _shopListContentModel!.simg!) | |
| 26 | + self.titleLbl.text = _shopListContentModel?.title | |
| 27 | + self.subTitleLbl.text = _shopListContentModel?.subtitle | |
| 28 | + } | |
| 29 | + } | |
| 30 | + | |
| 31 | + override init(frame: CGRect) { | |
| 32 | + super.init(frame: frame) | |
| 33 | + self.backgroundColor = .clear | |
| 34 | + self.setUI() | |
| 35 | + } | |
| 36 | + | |
| 37 | + required init?(coder: NSCoder) { | |
| 38 | + fatalError("init(coder:) has not been implemented") | |
| 39 | + } | |
| 40 | + | |
| 41 | + func setUI(){ | |
| 42 | + self.bgView = UIView(frame: contentView.bounds) | |
| 43 | + self.bgView.backgroundColor = .white | |
| 44 | + self.bgView.layer.cornerRadius = 7 | |
| 45 | + contentView.addSubview(self.bgView) | |
| 46 | + | |
| 47 | + self.iconImageView = UIImageView(frame: CGRectMake(15, 0, 35, 35)) | |
| 48 | + self.iconImageView.centerY = contentView.centerY | |
| 49 | + self.iconImageView.clipsToBounds = true | |
| 50 | + self.iconImageView.contentMode = .scaleAspectFit | |
| 51 | + self.bgView.addSubview(self.iconImageView) | |
| 52 | + | |
| 53 | + self.titleLbl = UILabel(frame: CGRect(x: self.iconImageView.right+10, y: (contentView.height-20-15)*0.5, width: contentView.width-self.iconImageView.right-10-20, height: 20)) | |
| 54 | + self.titleLbl.text = "创建店铺分类" | |
| 55 | + self.titleLbl.font = Font_14 | |
| 56 | + self.titleLbl.textColor = HexColor("#4A4A4A") | |
| 57 | + self.bgView.addSubview(self.titleLbl) | |
| 58 | + | |
| 59 | + self.subTitleLbl = UILabel(frame: CGRect(x: self.titleLbl.left, y: self.titleLbl.bottom, width: self.titleLbl.width, height: 15)) | |
| 60 | + self.subTitleLbl.text = "创建店铺分类" | |
| 61 | + self.subTitleLbl.font = Font_11 | |
| 62 | + self.subTitleLbl.textColor = HexColor("#999999") | |
| 63 | + self.bgView.addSubview(self.subTitleLbl) | |
| 64 | + } | |
| 65 | +} | |
| 66 | + | |
| 67 | +class CNLiveShopConsoleHeaderView:UICollectionReusableView{ | |
| 68 | + | |
| 69 | + var _title:String? | |
| 70 | + var title:String? { | |
| 71 | + get{ | |
| 72 | + return _title | |
| 73 | + } | |
| 74 | + set{ | |
| 75 | + _title = newValue! | |
| 76 | + self.titleLbl.text = _title | |
| 77 | + } | |
| 78 | + } | |
| 79 | + | |
| 80 | + var titleLbl:UILabel = { | |
| 81 | + let titleLbl = UILabel(frame: CGRect(x: 15, y: 0, width: 100, height:23 )) | |
| 82 | + titleLbl.text = "商品管理" | |
| 83 | + titleLbl.font = Font_16 | |
| 84 | + titleLbl.textColor = HexColor("#B4B4B4") | |
| 85 | + return titleLbl | |
| 86 | + }() | |
| 87 | + | |
| 88 | + override init(frame: CGRect) { | |
| 89 | + super.init(frame: frame) | |
| 90 | + self.setUI() | |
| 91 | + } | |
| 92 | + | |
| 93 | + required init?(coder: NSCoder) { | |
| 94 | + fatalError("init(coder:) has not been implemented") | |
| 95 | + } | |
| 96 | + | |
| 97 | + func setUI(){ | |
| 98 | + self.addSubview(self.titleLbl) | |
| 99 | + | |
| 100 | + } | |
| 101 | +} | ... | ... |
metaCode/Classes/Main/HomePage/View/CNUpSlideView.swift
| ... | ... | @@ -43,6 +43,8 @@ class CNUpSlideView:UIView{ |
| 43 | 43 | let webUrl: URL! = URL.init(string: _url!) |
| 44 | 44 | webView.load(URLRequest.init(url:webUrl)) |
| 45 | 45 | } |
| 46 | + self.webView.isHidden = false | |
| 47 | + self.upSlideVC.view.isHidden = true | |
| 46 | 48 | } |
| 47 | 49 | else if(type == UpDownTypePage){ |
| 48 | 50 | self.webView.isHidden = true |
| ... | ... | @@ -50,7 +52,8 @@ class CNUpSlideView:UIView{ |
| 50 | 52 | }else if(type == UpDownTypeShopDetail){ |
| 51 | 53 | |
| 52 | 54 | }else if(type == UpDownTypeShopControlConsole){ |
| 53 | - | |
| 55 | + self.webView.isHidden = true | |
| 56 | + self.upSlideVC.view.isHidden = true | |
| 54 | 57 | } |
| 55 | 58 | } |
| 56 | 59 | } | ... | ... |
metaCode/Classes/Main/HomePage/ViewModel/CNLiveShopConsoleViewModel.swift
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveShopConsoleViewModel.swift | |
| 3 | +// metaCode | |
| 4 | +// | |
| 5 | +// Created by zx on 2023/10/27. | |
| 6 | +// | |
| 7 | + | |
| 8 | +import Foundation | |
| 9 | +import CNLiveRequestBastKit | |
| 10 | + | |
| 11 | +class CNLiveShopConsoleViewModel: NSObject { | |
| 12 | + /// 用户信息获取 | |
| 13 | + /// - Parameters: | |
| 14 | + /// - userId: 用户ID | |
| 15 | + static func requestUserInfo(resultBlock: @escaping downSlideResultBlock) { | |
| 16 | + let param = NSMutableDictionary() | |
| 17 | + param.setValue(UserInfoManager.shared.userInfo.uid, forKey: "uid") | |
| 18 | + CNLiveNetworking.setAllowRequestDefaultArgument(true) | |
| 19 | + CNLiveNetworking.setupShowDataResult(false) | |
| 20 | + CNLiveNetworking.requestNetwork(with: .POST, urlString: APPBaseShopUrl+"/api/v1/isSellerNew", param: param as! [String : String], cacheType: .networkOnly) { task, result, error in | |
| 21 | + hiddenLoading() | |
| 22 | + if (error == nil) { | |
| 23 | + let resp = result as! NSDictionary | |
| 24 | + let dataDic = resp["data"] as! NSDictionary | |
| 25 | + let shopUserInfoModel = newDictionaryToModel(dataDic as! [String : Any], CNLiveShopUserInfoModel.self) | |
| 26 | + resultBlock(shopUserInfoModel,.success) | |
| 27 | + }else{ | |
| 28 | + resultBlock(NSNull(),.failed) | |
| 29 | + } | |
| 30 | + } | |
| 31 | + } | |
| 32 | +} | ... | ... |
metaCode/Classes/Main/HomePage/ViewModel/CNLiveDownSlideModel.swift renamed to metaCode/Classes/Main/Model/CNLiveDownSlideModel.swift
metaCode/Classes/Main/Model/CNLiveShopConsoleModel.swift
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveShopConsoleModel.swift | |
| 3 | +// metaCode | |
| 4 | +// | |
| 5 | +// Created by zx on 2023/10/28. | |
| 6 | +// | |
| 7 | + | |
| 8 | +import Foundation | |
| 9 | +///商城item类型 | |
| 10 | +enum CNLiveShopConsoleType:Int { | |
| 11 | + ///商城新增商品 | |
| 12 | + case XZSP, | |
| 13 | + ///商城商品管理 | |
| 14 | + SPGL, | |
| 15 | + ///新增优惠券 | |
| 16 | + XZYHQ, | |
| 17 | + ///管理优惠券 | |
| 18 | + GLYHQ, | |
| 19 | + ///创建店铺分类 | |
| 20 | + CreateShopClassify, | |
| 21 | + ///店铺分类管理 | |
| 22 | + ShopClassifyManager, | |
| 23 | + ///发布动态 | |
| 24 | + FBDT, | |
| 25 | + ///动态管理 | |
| 26 | + DTGL, | |
| 27 | + ///商城订单管理 | |
| 28 | + DDGL, | |
| 29 | + ///商城交易记录 | |
| 30 | + JYJL, | |
| 31 | + ///直播管理 | |
| 32 | + OnManagerment | |
| 33 | + | |
| 34 | + | |
| 35 | +// ///商城退款/售后 | |
| 36 | +// SH, | |
| 37 | +// ///动态草稿箱 | |
| 38 | +// CGX, | |
| 39 | +// ///餐品管理 | |
| 40 | +// CPGL_REPAST, | |
| 41 | +// ///餐厅订单 | |
| 42 | +// CTDD_REPAST, | |
| 43 | +// ///餐厅管理投诉/售后 | |
| 44 | +// TSSH_REPAST, | |
| 45 | +// ///餐厅满减券 | |
| 46 | +// MJQ_REPAST, | |
| 47 | +// ///餐厅管理 | |
| 48 | +// CTGL_REPAST, | |
| 49 | +// ///餐厅商家配置 | |
| 50 | +// SJPZ_REPAST, | |
| 51 | +// | |
| 52 | +} | |
| 53 | + | |
| 54 | +class CNLiveShopConsoleModel:BaseModel { | |
| 55 | + ///大分组 | |
| 56 | + var list = [CNLiveShopConsoleListModel]() | |
| 57 | + | |
| 58 | + func initDataSource(){ | |
| 59 | + var dataSource = | |
| 60 | + [["title":"商品管理", | |
| 61 | + "list":[ | |
| 62 | + ["title":"新增商品", "subtitle":"创建新的商品", "simg":"DS_WB_XZSP", "type":0], | |
| 63 | + ["title":"商品管理", "subtitle":"管理现有的商品", "simg":"DS_WB_SPGL", "type":1]]], | |
| 64 | + ["title":"订单管理", | |
| 65 | + "list":[ | |
| 66 | + ["title":"订单管理", "subtitle":"管理用户订单", "simg":"DS_WB_DDGL", "type":8]]], | |
| 67 | + ["title":"直播管理", | |
| 68 | + "list":[["title":"直播管理","subtitle":"申请创建直播","simg":"DS_WB_NO_Management","type":10]]]] | |
| 69 | + /** | |
| 70 | + var dataSource = | |
| 71 | + [["title":"商品管理", | |
| 72 | + "list":[ | |
| 73 | + ["title":"新增商品", "subtitle":"创建新的商品", "simg":"DS_WB_XZSP", "type":0], | |
| 74 | + ["title":"商品管理", "subtitle":"管理现有的商品", "simg":"DS_WB_SPGL", "type":1], | |
| 75 | + ["title":"新增优惠券", "subtitle":"创建新增优惠券", "simg":"DS_WB_XZYHQ", "type":2], | |
| 76 | + ["title":"优惠券管理", "subtitle":"管理现有的优惠券", "simg":"DS_WB_GLYHQ", "type":3]]], | |
| 77 | + ["title":"分类管理", | |
| 78 | + "list":[ | |
| 79 | + ["title":"创建店铺分类", "subtitle":"创建店铺分类", "simg":"DS_WB_SJPZ_REPAST", "type":4], | |
| 80 | + ["title":"店铺分类管理", "subtitle":"店铺分类管理", "simg":"DS_WB_DPFL", "type":5]]], | |
| 81 | + ["title":"动态管理", | |
| 82 | + "list":[ | |
| 83 | + ["title":"发布动态", "subtitle":"发布新鲜动态", "simg":"DS_WB_FBDT", "type":6], | |
| 84 | + ["title":"动态管理", "subtitle":"管理现有动态", "simg":"DS_WB_DTGL", "type":7]]], | |
| 85 | + ["title":"订单管理", | |
| 86 | + "list":[ | |
| 87 | + ["title":"订单管理", "subtitle":"管理用户订单", "simg":"DS_WB_DDGL", "type":8]]], | |
| 88 | + ["title":"交易管理", | |
| 89 | + "list":[ | |
| 90 | + ["title":"交易记录", "subtitle":"查看交易记录", "simg":"DS_WB_JYJL", "type":9]]], | |
| 91 | + ["title":"直播管理", | |
| 92 | + "list":[["title":"直播管理","subtitle":"申请创建直播","simg":"DS_WB_NO_Management","type":10]]]] | |
| 93 | + */ | |
| 94 | + for dic in dataSource{ | |
| 95 | + let mdl = newDictionaryToModel(dic, CNLiveShopConsoleListModel.self) | |
| 96 | + list.append(mdl as! CNLiveShopConsoleListModel) | |
| 97 | + | |
| 98 | + } | |
| 99 | + } | |
| 100 | + | |
| 101 | +} | |
| 102 | + | |
| 103 | +class CNLiveShopConsoleListModel: BaseModel { | |
| 104 | + /// section标题 | |
| 105 | + var title: String? | |
| 106 | + /// item list内容 | |
| 107 | + var list = [CNLiveShopConsoleListContentModel]() | |
| 108 | +} | |
| 109 | + | |
| 110 | +class CNLiveShopConsoleListContentModel: BaseModel { | |
| 111 | + /// 图片 | |
| 112 | + var simg: String? | |
| 113 | + /// 标题 | |
| 114 | + var title: String? | |
| 115 | + /// 子标题 | |
| 116 | + var subtitle: String? | |
| 117 | + /// 类型 | |
| 118 | + var type:Int = 0//CNLiveShopConsoleType | |
| 119 | +} | ... | ... |
metaCode/Classes/Main/Model/CNLiveShopUserInfoModel.swift
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveShopUserInfoModel.swift | |
| 3 | +// metaCode | |
| 4 | +// | |
| 5 | +// Created by zx on 2023/10/27. | |
| 6 | +// | |
| 7 | + | |
| 8 | +import Foundation | |
| 9 | + | |
| 10 | +//获取用户信息 | |
| 11 | +class CNLiveShopUserInfoModel:BaseModel{ | |
| 12 | + ///darenid生成付款码时用到 | |
| 13 | + var daren_id: String? | |
| 14 | + ///uid 用于请求老达人信息接口 | |
| 15 | + var daren_uid: String? | |
| 16 | + ///id | |
| 17 | + var id: String? | |
| 18 | + ///链接im的id daren_XXXXX | |
| 19 | + var im_id: String? | |
| 20 | + ///0 未申请过 1 未提交 2 审核中 3 审核拒绝 4 审核通过(type==0踢出) | |
| 21 | + var state: String? | |
| 22 | + ///0 老达人 1 普通商家 2 文创精品 3 健康餐桌 8 达人 | |
| 23 | + var type: String? | |
| 24 | + ///达人申请地址 | |
| 25 | + var url: String? | |
| 26 | + ///链接im的token | |
| 27 | + var token: String? | |
| 28 | + ///商家是否可用 1可用 0禁用(禁用踢出) | |
| 29 | + var is_able: String? | |
| 30 | + ///商家昵称 | |
| 31 | + var title: String? | |
| 32 | + ///商家logo | |
| 33 | + var logo: String? | |
| 34 | +} | |
| 35 | +/** | |
| 36 | + Printing description of ((__NSDictionaryI *)0x000000010884eca0): | |
| 37 | + { | |
| 38 | + "daren_id" = "daren_10505455"; | |
| 39 | + "daren_uid" = 10505455; | |
| 40 | + id = 219; | |
| 41 | + "im_id" = "daren_10505455"; | |
| 42 | + "is_able" = 0; | |
| 43 | + logo = "https://wjj.ys2.cnliveimg.com/769/shop/img/2021/01/06/5ff567b950c9a"; | |
| 44 | + qqUid = ""; | |
| 45 | + sinaUid = ""; | |
| 46 | + state = 4; | |
| 47 | + title = "\U4e1c\U5317\U5473\U9053"; | |
| 48 | + token = "eJxNjl1PgzAYhf9LbzXaFkqKiRcEyAZjZvNjmYlJU9dOOzJo2so6jP9dRrbo7fOc9z3nGzxXTzd8s2m-GsfcUUtwByC4HrESsnFqq6QZoOBGNgxBAklIyDnBtVaCcccCI-4dWlGzUQ0MhRBCgiJ6kdJrZSTjWzf*xSTGQ*IsO2msapsTh4ggHED4J53an*ahKKYBpRGNLnXqY8Dz-CUtct7b-atHWPr34uqQpCV9zPtliKu67H2c6WCxK99uU*jmNlF54goVrq3Pp369yFzX0VDvspmnq3oSZ*3xUE3l54wuVw8Teg9*fgGu0Fnz"; | |
| 49 | + type = 8; | |
| 50 | + uid = 10505455; | |
| 51 | + url = "https://managemall.cnlive.com/html/preferred-library-b/1/#/pages/checkIt/checkIt?redirect=daren"; | |
| 52 | + wxUid = "oBAMNt5Phwrb_kWID0EyxYsZU3d0"; | |
| 53 | + } | |
| 54 | + */ | ... | ... |
metaCode/Supporting Files/Assets.xcassets/Home/DS_WB_DDGL.imageset/Contents.json
0 → 100644
| 1 | +{ | |
| 2 | + "images" : [ | |
| 3 | + { | |
| 4 | + "idiom" : "universal", | |
| 5 | + "scale" : "1x" | |
| 6 | + }, | |
| 7 | + { | |
| 8 | + "filename" : "DS_WB_DDGL@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/Home/DS_WB_DDGL.imageset/DS_WB_DDGL@2x.png
0 → 100644
2 KB
metaCode/Supporting Files/Assets.xcassets/Home/DS_WB_DPFL.imageset/Contents.json
0 → 100644
| 1 | +{ | |
| 2 | + "images" : [ | |
| 3 | + { | |
| 4 | + "idiom" : "universal", | |
| 5 | + "scale" : "1x" | |
| 6 | + }, | |
| 7 | + { | |
| 8 | + "filename" : "DS_WB_DPFL@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/Home/DS_WB_DPFL.imageset/DS_WB_DPFL@2x.png
0 → 100644
1013 Bytes
metaCode/Supporting Files/Assets.xcassets/Home/DS_WB_DTGL.imageset/Contents.json
0 → 100644
| 1 | +{ | |
| 2 | + "images" : [ | |
| 3 | + { | |
| 4 | + "idiom" : "universal", | |
| 5 | + "scale" : "1x" | |
| 6 | + }, | |
| 7 | + { | |
| 8 | + "filename" : "DS_WB_DTGL@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/Home/DS_WB_DTGL.imageset/DS_WB_DTGL@2x.png
0 → 100644
2.41 KB
metaCode/Supporting Files/Assets.xcassets/Home/DS_WB_FBDT.imageset/Contents.json
0 → 100644
| 1 | +{ | |
| 2 | + "images" : [ | |
| 3 | + { | |
| 4 | + "idiom" : "universal", | |
| 5 | + "scale" : "1x" | |
| 6 | + }, | |
| 7 | + { | |
| 8 | + "filename" : "DS_WB_FBDT@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/Home/DS_WB_FBDT.imageset/DS_WB_FBDT@2x.png
0 → 100644
1.07 KB
metaCode/Supporting Files/Assets.xcassets/Home/DS_WB_GLYHQ.imageset/Contents.json
0 → 100644
| 1 | +{ | |
| 2 | + "images" : [ | |
| 3 | + { | |
| 4 | + "idiom" : "universal", | |
| 5 | + "scale" : "1x" | |
| 6 | + }, | |
| 7 | + { | |
| 8 | + "filename" : "DS_WB_GLYHQ@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/Home/DS_WB_GLYHQ.imageset/DS_WB_GLYHQ@2x.png
0 → 100644
2.68 KB
metaCode/Supporting Files/Assets.xcassets/Home/DS_WB_JYJL.imageset/Contents.json
0 → 100644
| 1 | +{ | |
| 2 | + "images" : [ | |
| 3 | + { | |
| 4 | + "idiom" : "universal", | |
| 5 | + "scale" : "1x" | |
| 6 | + }, | |
| 7 | + { | |
| 8 | + "filename" : "DS_WB_JYJL@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/Home/DS_WB_JYJL.imageset/DS_WB_JYJL@2x.png
0 → 100644
2.21 KB
metaCode/Supporting Files/Assets.xcassets/Home/DS_WB_NO_Management.imageset/Contents.json
0 → 100644
| 1 | +{ | |
| 2 | + "images" : [ | |
| 3 | + { | |
| 4 | + "idiom" : "universal", | |
| 5 | + "scale" : "1x" | |
| 6 | + }, | |
| 7 | + { | |
| 8 | + "filename" : "DS_WB_NO_Management@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/Home/DS_WB_NO_Management.imageset/DS_WB_NO_Management@2x.png
0 → 100644
2.04 KB
metaCode/Supporting Files/Assets.xcassets/Home/DS_WB_SJPZ_REPAST.imageset/Contents.json
0 → 100644
| 1 | +{ | |
| 2 | + "images" : [ | |
| 3 | + { | |
| 4 | + "idiom" : "universal", | |
| 5 | + "scale" : "1x" | |
| 6 | + }, | |
| 7 | + { | |
| 8 | + "filename" : "DS_WB_SJPZ_REPAST@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/Home/DS_WB_SJPZ_REPAST.imageset/DS_WB_SJPZ_REPAST@2x.png
0 → 100644
2.18 KB
metaCode/Supporting Files/Assets.xcassets/Home/DS_WB_SPGL.imageset/Contents.json
0 → 100644
| 1 | +{ | |
| 2 | + "images" : [ | |
| 3 | + { | |
| 4 | + "idiom" : "universal", | |
| 5 | + "scale" : "1x" | |
| 6 | + }, | |
| 7 | + { | |
| 8 | + "filename" : "DS_WB_SPGL@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/Home/DS_WB_SPGL.imageset/DS_WB_SPGL@2x.png
0 → 100644
2.11 KB
metaCode/Supporting Files/Assets.xcassets/Home/DS_WB_XZSP.imageset/Contents.json
0 → 100644
| 1 | +{ | |
| 2 | + "images" : [ | |
| 3 | + { | |
| 4 | + "idiom" : "universal", | |
| 5 | + "scale" : "1x" | |
| 6 | + }, | |
| 7 | + { | |
| 8 | + "filename" : "DS_WB_XZSP@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/Home/DS_WB_XZSP.imageset/DS_WB_XZSP@2x.png
0 → 100644
1.32 KB
metaCode/Supporting Files/Assets.xcassets/Home/DS_WB_XZYHQ.imageset/Contents.json
0 → 100644
| 1 | +{ | |
| 2 | + "images" : [ | |
| 3 | + { | |
| 4 | + "idiom" : "universal", | |
| 5 | + "scale" : "1x" | |
| 6 | + }, | |
| 7 | + { | |
| 8 | + "filename" : "DS_WB_XZYHQ@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/Home/DS_WB_XZYHQ.imageset/DS_WB_XZYHQ@2x.png
0 → 100644
2.96 KB