Commit f3c50fea authored by Steven杜宇's avatar Steven杜宇

Merge branch 'develop' into duyu

# Conflicts:
#	galaxy/galaxy/Classes/Tools/NetWork/YHNetRequest.swift
parents aa2a3762 8dc576d5
...@@ -59,6 +59,10 @@ ...@@ -59,6 +59,10 @@
0468D47B2B68A08600CFB916 /* YHAddressPresentAnimated.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0468D4752B68A08600CFB916 /* YHAddressPresentAnimated.swift */; }; 0468D47B2B68A08600CFB916 /* YHAddressPresentAnimated.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0468D4752B68A08600CFB916 /* YHAddressPresentAnimated.swift */; };
0468D47C2B68A08600CFB916 /* YHAddressPickView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0468D4762B68A08600CFB916 /* YHAddressPickView.swift */; }; 0468D47C2B68A08600CFB916 /* YHAddressPickView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0468D4762B68A08600CFB916 /* YHAddressPickView.swift */; };
0468D47E2B68CEA200CFB916 /* YHImagePickerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0468D47D2B68CEA200CFB916 /* YHImagePickerView.swift */; }; 0468D47E2B68CEA200CFB916 /* YHImagePickerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0468D47D2B68CEA200CFB916 /* YHImagePickerView.swift */; };
0468D4802B6914E600CFB916 /* YHSelectCountryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0468D47F2B6914E600CFB916 /* YHSelectCountryViewController.swift */; };
0468D4822B6A2A8500CFB916 /* YHSelectCountryViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0468D4812B6A2A8500CFB916 /* YHSelectCountryViewModel.swift */; };
0468D4842B6A2F0D00CFB916 /* YHCountryMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0468D4832B6A2F0D00CFB916 /* YHCountryMessage.swift */; };
0468D4862B6A41F300CFB916 /* YHMainInformationModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0468D4852B6A41F300CFB916 /* YHMainInformationModel.swift */; };
04808C062B4686510056D53C /* ATAuthSDK.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 04808C042B4686510056D53C /* ATAuthSDK.bundle */; }; 04808C062B4686510056D53C /* ATAuthSDK.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 04808C042B4686510056D53C /* ATAuthSDK.bundle */; };
04808C082B4686C10056D53C /* ATAuthSDK_D.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 04808C032B4686510056D53C /* ATAuthSDK_D.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 04808C082B4686C10056D53C /* ATAuthSDK_D.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 04808C032B4686510056D53C /* ATAuthSDK_D.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
049A48A82B49417300D0C641 /* YHAboutUsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 049A48A72B49417300D0C641 /* YHAboutUsViewController.swift */; }; 049A48A82B49417300D0C641 /* YHAboutUsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 049A48A72B49417300D0C641 /* YHAboutUsViewController.swift */; };
...@@ -267,6 +271,10 @@ ...@@ -267,6 +271,10 @@
0468D4752B68A08600CFB916 /* YHAddressPresentAnimated.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHAddressPresentAnimated.swift; sourceTree = "<group>"; }; 0468D4752B68A08600CFB916 /* YHAddressPresentAnimated.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHAddressPresentAnimated.swift; sourceTree = "<group>"; };
0468D4762B68A08600CFB916 /* YHAddressPickView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHAddressPickView.swift; sourceTree = "<group>"; }; 0468D4762B68A08600CFB916 /* YHAddressPickView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = YHAddressPickView.swift; sourceTree = "<group>"; };
0468D47D2B68CEA200CFB916 /* YHImagePickerView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHImagePickerView.swift; sourceTree = "<group>"; }; 0468D47D2B68CEA200CFB916 /* YHImagePickerView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHImagePickerView.swift; sourceTree = "<group>"; };
0468D47F2B6914E600CFB916 /* YHSelectCountryViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHSelectCountryViewController.swift; sourceTree = "<group>"; };
0468D4812B6A2A8500CFB916 /* YHSelectCountryViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHSelectCountryViewModel.swift; sourceTree = "<group>"; };
0468D4832B6A2F0D00CFB916 /* YHCountryMessage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCountryMessage.swift; sourceTree = "<group>"; };
0468D4852B6A41F300CFB916 /* YHMainInformationModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHMainInformationModel.swift; sourceTree = "<group>"; };
04808C032B4686510056D53C /* ATAuthSDK_D.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = ATAuthSDK_D.framework; sourceTree = "<group>"; }; 04808C032B4686510056D53C /* ATAuthSDK_D.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = ATAuthSDK_D.framework; sourceTree = "<group>"; };
04808C042B4686510056D53C /* ATAuthSDK.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = ATAuthSDK.bundle; sourceTree = "<group>"; }; 04808C042B4686510056D53C /* ATAuthSDK.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = ATAuthSDK.bundle; sourceTree = "<group>"; };
049A48A72B49417300D0C641 /* YHAboutUsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAboutUsViewController.swift; sourceTree = "<group>"; }; 049A48A72B49417300D0C641 /* YHAboutUsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAboutUsViewController.swift; sourceTree = "<group>"; };
...@@ -545,6 +553,7 @@ ...@@ -545,6 +553,7 @@
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
0468D4422B61F76800CFB916 /* YHMainApplicantInformationViewController.swift */, 0468D4422B61F76800CFB916 /* YHMainApplicantInformationViewController.swift */,
0468D47F2B6914E600CFB916 /* YHSelectCountryViewController.swift */,
); );
path = C; path = C;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -553,6 +562,8 @@ ...@@ -553,6 +562,8 @@
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
0468D44A2B625AAB00CFB916 /* YHItemModel.swift */, 0468D44A2B625AAB00CFB916 /* YHItemModel.swift */,
0468D4832B6A2F0D00CFB916 /* YHCountryMessage.swift */,
0468D4852B6A41F300CFB916 /* YHMainInformationModel.swift */,
); );
path = M; path = M;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -577,6 +588,7 @@ ...@@ -577,6 +588,7 @@
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
0468D44E2B634E8A00CFB916 /* YHMainApplicantInformationViewModel.swift */, 0468D44E2B634E8A00CFB916 /* YHMainApplicantInformationViewModel.swift */,
0468D4812B6A2A8500CFB916 /* YHSelectCountryViewModel.swift */,
); );
path = VM; path = VM;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -1309,11 +1321,14 @@ ...@@ -1309,11 +1321,14 @@
A5ACE9542B4564F7002C94D2 /* YHNavigationController.swift in Sources */, A5ACE9542B4564F7002C94D2 /* YHNavigationController.swift in Sources */,
A5FD63DF2B6639AD00D1D9DA /* YHScoreDataModel.swift in Sources */, A5FD63DF2B6639AD00D1D9DA /* YHScoreDataModel.swift in Sources */,
A5ACE95E2B4571BF002C94D2 /* YHHomeViewController.swift in Sources */, A5ACE95E2B4571BF002C94D2 /* YHHomeViewController.swift in Sources */,
0468D4842B6A2F0D00CFB916 /* YHCountryMessage.swift in Sources */,
A5FD63BD2B623C2C00D1D9DA /* YHInformationPerfectListVC.swift in Sources */, A5FD63BD2B623C2C00D1D9DA /* YHInformationPerfectListVC.swift in Sources */,
041B52932B5E6CBA007EBCEB /* YHFormItemTitleCell.swift in Sources */, 041B52932B5E6CBA007EBCEB /* YHFormItemTitleCell.swift in Sources */,
0468D4822B6A2A8500CFB916 /* YHSelectCountryViewModel.swift in Sources */,
041B52952B5E7037007EBCEB /* YHFormItemAddCell.swift in Sources */, 041B52952B5E7037007EBCEB /* YHFormItemAddCell.swift in Sources */,
A5ACE93D2B4564F7002C94D2 /* UIButton+Extension.swift in Sources */, A5ACE93D2B4564F7002C94D2 /* UIButton+Extension.swift in Sources */,
041B528D2B5E58FA007EBCEB /* YHFormItemDoubleChoiceCell.swift in Sources */, 041B528D2B5E58FA007EBCEB /* YHFormItemDoubleChoiceCell.swift in Sources */,
0468D4802B6914E600CFB916 /* YHSelectCountryViewController.swift in Sources */,
A5ACE9292B4564F7002C94D2 /* YHSmsCodeInputView.swift in Sources */, A5ACE9292B4564F7002C94D2 /* YHSmsCodeInputView.swift in Sources */,
A5ACE9452B4564F7002C94D2 /* YHHUDContainerView.swift in Sources */, A5ACE9452B4564F7002C94D2 /* YHHUDContainerView.swift in Sources */,
A5ACE93A2B4564F7002C94D2 /* NSAttributedString+Extension.swift in Sources */, A5ACE93A2B4564F7002C94D2 /* NSAttributedString+Extension.swift in Sources */,
...@@ -1374,6 +1389,7 @@ ...@@ -1374,6 +1389,7 @@
A5FD63D82B6603A500D1D9DA /* YHScoreResultView.swift in Sources */, A5FD63D82B6603A500D1D9DA /* YHScoreResultView.swift in Sources */,
A5ACE9342B4564F7002C94D2 /* YHAllApiName.swift in Sources */, A5ACE9342B4564F7002C94D2 /* YHAllApiName.swift in Sources */,
A5ACE9502B4564F7002C94D2 /* YhCacheTool.swift in Sources */, A5ACE9502B4564F7002C94D2 /* YhCacheTool.swift in Sources */,
0468D4862B6A41F300CFB916 /* YHMainInformationModel.swift in Sources */,
0468D4242B494BEA00CFB916 /* YHCodeResultViewController.swift in Sources */, 0468D4242B494BEA00CFB916 /* YHCodeResultViewController.swift in Sources */,
A5FD63EA2B67D95100D1D9DA /* YHFamilyMemberViewController.swift in Sources */, A5FD63EA2B67D95100D1D9DA /* YHFamilyMemberViewController.swift in Sources */,
A5ACE93F2B4564F7002C94D2 /* UIViewController+Extension.swift in Sources */, A5ACE93F2B4564F7002C94D2 /* UIViewController+Extension.swift in Sources */,
......
...@@ -109,7 +109,7 @@ extension AppDelegate { ...@@ -109,7 +109,7 @@ extension AppDelegate {
IQKeyboardManager.shared.enable = true IQKeyboardManager.shared.enable = true
IQKeyboardManager.shared.enableAutoToolbar = true IQKeyboardManager.shared.enableAutoToolbar = true
IQKeyboardManager.shared.resignOnTouchOutside = true // 控制点击背景是否收起键盘 IQKeyboardManager.shared.resignOnTouchOutside = true //控制点击背景是否收起键盘
} }
} }
......
...@@ -13,15 +13,20 @@ import IQKeyboardManagerSwift ...@@ -13,15 +13,20 @@ import IQKeyboardManagerSwift
class YHBaseViewController: UIViewController { class YHBaseViewController: UIViewController {
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
view.backgroundColor = UIColor(hex:0xf8f8f8)
#if DEBUG //背景色
IQKeyboardManager.shared.enable = true view.backgroundColor = UIColor.pageBkgColor
#endif
//vc中导航栏默认透明,需要使用到的 在各自的vc中定制
gk_navBackgroundColor = .clear gk_navBackgroundColor = .clear
gk_navLineHidden = true gk_navLineHidden = true
gk_navBarAlpha = 0 gk_navBarAlpha = 0
//
#if DEBUG
IQKeyboardManager.shared.enable = true
#endif
} }
override var prefersStatusBarHidden: Bool { override var prefersStatusBarHidden: Bool {
...@@ -33,8 +38,8 @@ class YHBaseViewController: UIViewController { ...@@ -33,8 +38,8 @@ class YHBaseViewController: UIViewController {
} }
deinit { deinit {
#if DEBUG #if DEBUG
printLog(#function) printLog(#function)
#endif #endif
} }
} }
...@@ -26,7 +26,7 @@ open class YHPageContentView: UIView { ...@@ -26,7 +26,7 @@ open class YHPageContentView: UIView {
public var isScrollEnabled: Bool? { public var isScrollEnabled: Bool? {
didSet { didSet {
if let isScrollEnabled = isScrollEnabled { if let isScrollEnabled = isScrollEnabled {
// collectionView.isScrollEnabled = isScrollEnabled collectionView.isScrollEnabled = isScrollEnabled
} }
} }
} }
......
...@@ -50,6 +50,8 @@ class YHServiceCenterMainViewController: YHBaseViewController { ...@@ -50,6 +50,8 @@ class YHServiceCenterMainViewController: YHBaseViewController {
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
setupUI() setupUI()
loadData() loadData()
} }
} }
...@@ -57,8 +59,12 @@ class YHServiceCenterMainViewController: YHBaseViewController { ...@@ -57,8 +59,12 @@ class YHServiceCenterMainViewController: YHBaseViewController {
extension YHServiceCenterMainViewController { extension YHServiceCenterMainViewController {
func loadData() { func loadData() {
self.serviceCenterMainReqVM.getContactList { success, error in self.serviceCenterMainReqVM.getContactList { success, error in
if success == true { if self.serviceCenterMainReqVM.arrContactList.isEmpty {
self.homeTableView.isHidden = true
self.noDataView.isHidden = false
} else {
self.homeTableView.isHidden = false
self.noDataView.isHidden = true
} }
self.homeTableView.reloadData() self.homeTableView.reloadData()
} }
...@@ -96,14 +102,17 @@ extension YHServiceCenterMainViewController { ...@@ -96,14 +102,17 @@ extension YHServiceCenterMainViewController {
} }
homeTableView.delegate = self homeTableView.delegate = self
homeTableView.dataSource = self homeTableView.dataSource = self
self.homeTableView.isHidden = true
self.noDataView.isHidden = false
} }
} }
// MARK: - UITableViewDelegate 和 UITableViewDataSource // MARK: - UITableViewDelegate 和 UITableViewDataSource
extension YHServiceCenterMainViewController : UITableViewDelegate,UITableViewDataSource { extension YHServiceCenterMainViewController : UITableViewDelegate,UITableViewDataSource {
func numberOfSections(in tableView: UITableView) -> Int { func numberOfSections(in tableView: UITableView) -> Int {
// return self.serviceCenterMainReqVM.arrContactList.count return self.serviceCenterMainReqVM.arrContactList.count
return 1 //for test hjl
} }
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
...@@ -112,11 +121,11 @@ extension YHServiceCenterMainViewController : UITableViewDelegate,UITableViewDat ...@@ -112,11 +121,11 @@ extension YHServiceCenterMainViewController : UITableViewDelegate,UITableViewDat
} }
func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat { func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
return 16 return kMargin
} }
func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? { func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
let view = UIView(frame: CGRect(x: 0, y: 0, width: KScreenWidth, height: 16)) let view = UIView(frame: CGRect(x: 0, y: 0, width: KScreenWidth, height: kMargin))
return view return view
} }
...@@ -128,6 +137,11 @@ extension YHServiceCenterMainViewController : UITableViewDelegate,UITableViewDat ...@@ -128,6 +137,11 @@ extension YHServiceCenterMainViewController : UITableViewDelegate,UITableViewDat
return UIView() return UIView()
} }
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 81
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell0 = tableView.dequeueReusableCell(withClass: YHContractCell.self) let cell0 = tableView.dequeueReusableCell(withClass: YHContractCell.self)
cell0.selectionStyle = .none cell0.selectionStyle = .none
...@@ -142,8 +156,6 @@ extension YHServiceCenterMainViewController : UITableViewDelegate,UITableViewDat ...@@ -142,8 +156,6 @@ extension YHServiceCenterMainViewController : UITableViewDelegate,UITableViewDat
tableView.deselectRow(at: indexPath, animated: true) tableView.deselectRow(at: indexPath, animated: true)
printLog("点击了 tableView Cell \(indexPath.row)") printLog("点击了 tableView Cell \(indexPath.row)")
let vc = YHServiceCenterSecondViewController() let vc = YHServiceCenterSecondViewController()
// let vc = YHPersonInformMainViewController() //for test hjl
self.navigationController?.pushViewController(vc) self.navigationController?.pushViewController(vc)
} }
} }
...@@ -26,17 +26,19 @@ class YHMainApplicantInformationViewController: YHBaseViewController { ...@@ -26,17 +26,19 @@ class YHMainApplicantInformationViewController: YHBaseViewController {
} }
func getData() { func getData() {
if stepView.currentIndex == 0 { viewModel.requestMainInformation("133969") {[weak self] success, error in
dataSource = viewModel.getBaseDataSource() guard let self = self else { return }
} else if stepView.currentIndex == 1 { if self.stepView.currentIndex == 0 {
dataSource = viewModel.getIDCardDataSource() self.dataSource = self.viewModel.getBaseDataSource()
} else if stepView.currentIndex == 2 { } else if self.stepView.currentIndex == 1 {
dataSource = viewModel.getDocumentInformation() self.dataSource = self.viewModel.getIDCardDataSource()
} else if stepView.currentIndex == 3 { } else if self.stepView.currentIndex == 2 {
dataSource = viewModel.getDetailDataSource() self.dataSource = self.viewModel.getDocumentInformation()
} else if self.stepView.currentIndex == 3 {
self.dataSource = self.viewModel.getDetailDataSource()
}
self.tableView.reloadData()
} }
tableView.reloadData()
} }
func setView() { func setView() {
......
//
// YHSelectCountryViewController.swift
// galaxy
//
// Created by EDY on 2024/1/30.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHSelectCountryViewController: YHBaseViewController {
var searchView: UITextField!
var flagLabel: UILabel!
var tableView: UITableView!
var collectionView: UICollectionView!
var hotDataSource = ["中国-China","中国香港-Hong Kong","中国澳门-Macau","中国台湾-Taiwan","新加坡-Singapore","澳大利亚-Australia","美国-United States"]
var searchDataSource: [YHCountryMessage]?
var viewModel: YHSelectCountryViewModel?
override func viewDidLoad() {
super.viewDidLoad()
gk_navTitle = "国家/地区"
viewModel = YHSelectCountryViewModel()
setView()
getData()
}
func getData() {
tableView.reloadData()
}
func setView() {
view.backgroundColor = .white
searchView = {
let searchBar = UITextField()
searchBar.placeholder = "搜索国家/地区"
searchBar.backgroundColor = UIColor(hex: 0xf8f9fb)
searchBar.keyboardType = .default
searchBar.delegate = self
searchBar.layer.cornerRadius = 21
searchBar.leftView = UIView(frame: CGRect(x: 0, y: 0, width: 16, height: 42))
searchBar.leftViewMode = .always
return searchBar
}()
view.addSubview(searchView)
searchView.snp.makeConstraints { make in
make.top.equalTo(k_Height_NavigationtBarAndStatuBar + 16)
make.height.equalTo(42)
make.left.equalTo(16)
make.right.equalTo(-16)
}
tableView = {
let tableView = UITableView(frame:.zero, style:.plain)
if #available(iOS 11.0, *) {
tableView.contentInsetAdjustmentBehavior = .never
}
tableView.backgroundColor = .clear
tableView.separatorStyle = .none
tableView.delegate = self
tableView.dataSource = self
tableView.register(cellWithClass: YHCountryTableViewCell.self)
tableView.isHidden = true
return tableView
}()
view.addSubview(tableView)
tableView.snp.makeConstraints { make in
make.top.equalTo(k_Height_NavigationtBarAndStatuBar + 78)
make.bottom.equalTo(-k_Height_safeAreaInsetsBottom() - 64)
make.left.right.equalTo(view)
}
flagLabel = {
let label = UILabel()
label.text = "热门国家/地区"
label.textColor = UIColor(hex: 0x222222)
label.font = kFont(size: 14)
return label
}()
view.addSubview(flagLabel)
flagLabel.snp.makeConstraints { make in
make.top.equalTo(k_Height_NavigationtBarAndStatuBar + 78)
make.left.equalTo(21)
make.height.equalTo(20)
}
collectionView = {
let layout = UICollectionViewFlowLayout()
layout.minimumInteritemSpacing = 12 // 设置水平间距
layout.minimumLineSpacing = 16 // 设置垂直间距
layout.scrollDirection = .vertical
// 初始化UICollectionView对象
let collection = UICollectionView(frame: CGRect.zero, collectionViewLayout: layout)
collection.dataSource = self
collection.delegate = self
// 注册自定义单元格类型
collection.register(cellWithClass: YHCountryCollectionViewCell.self)
return collection
}()
view.addSubview(collectionView)
collectionView.snp.makeConstraints { make in
make.top.equalTo(k_Height_NavigationtBarAndStatuBar + 114)
make.left.equalTo(21)
make.right.equalTo(-21)
make.bottom.equalToSuperview()
}
}
}
extension YHSelectCountryViewController: UITextFieldDelegate {
func textFieldDidChangeSelection(_ textField: UITextField) {
if textField.text == "" {
tableView.isHidden = true
flagLabel.isHidden = false
collectionView.isHidden = false
} else {
viewModel?.requestCountry(textField.text ?? "") { [weak self] success, error in
guard let self = self else { return }
self.searchDataSource = success as? [YHCountryMessage]
self.tableView.isHidden = false
self.flagLabel.isHidden = true
self.collectionView.isHidden = true
self.tableView.reloadData()
}
}
}
}
extension YHSelectCountryViewController: UITableViewDelegate, UITableViewDataSource {
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return searchDataSource?.count ?? 0
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withClass: YHCountryTableViewCell.self)
let cn = searchDataSource?[indexPath.row].name_cn ?? ""
let en = searchDataSource?[indexPath.row].name_en ?? ""
cell.titleLabel.text = cn + en
return cell
}
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 44
}
}
extension YHSelectCountryViewController: UICollectionViewDelegate, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout {
func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
return hotDataSource.count
}
func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
let collectionCell = collectionView.dequeueReusableCell(withClass: YHCountryCollectionViewCell.self, for: indexPath)
collectionCell.label.text = hotDataSource[indexPath.row]
return collectionCell
}
func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize {
let string = hotDataSource[indexPath.row]
let size = (string as NSString).size(withAttributes: [NSAttributedString.Key.font : kFont(size: 13)])
return CGSize(width: size.width + 25, height: 32) // 这里可以根据需求设置不同的尺寸
}
}
class YHCountryCollectionViewCell: UICollectionViewCell {
var label: UILabel!
override init(frame: CGRect) {
super.init(frame: frame)
setUpView()
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
func setUpView() {
label = {
let view = UILabel()
view.textAlignment = .center
view.font = kFont(size: 13)
view.textColor = UIColor(hex: 0x222222)
view.backgroundColor = UIColor(hex: 0xf8f9fb)
view.layer.masksToBounds = true
view.layer.cornerRadius = 16
return view
}()
contentView.addSubview(label)
label.snp.makeConstraints { make in
make.top.bottom.right.left.equalToSuperview()
}
}
}
class YHCountryTableViewCell: UITableViewCell {
var titleLabel: UILabel!
override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
required init?(coder: NSCoder) {
super.init(coder: coder)
}
override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)
selectionStyle = .none
setupUI()
}
func setupUI() {
titleLabel = {
let label = UILabel()
label.font = kFont(size: 13)
label.textColor = UIColor(hex:0x222222)
return label
}()
contentView.addSubview(titleLabel)
titleLabel.snp.makeConstraints { make in
make.left.equalTo(22)
make.centerY.equalToSuperview()
make.height.equalTo(20)
}
}
}
//
// YHCountryModel.swift
// galaxy
//
// Created by EDY on 2024/1/31.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import Foundation
import SmartCodable
struct YHCountryMessage: SmartCodable {
var name_cn: String?
var name_en: String?
var code: String?
init(name_cn: String? = nil, name_en: String? = nil, code: String? = nil) {
self.name_cn = name_cn
self.name_en = name_en
self.code = code
}
init() {
}
}
...@@ -8,6 +8,17 @@ ...@@ -8,6 +8,17 @@
import UIKit import UIKit
enum YHItemSelectType: Int {
case normal = 0
case address = 1
case time = 2
case image = 3
case id = 4
case country = 5
case sex = 6
case marry = 7
}
struct YHItemModel { struct YHItemModel {
var isNeed: Bool? var isNeed: Bool?
var title: String? var title: String?
...@@ -16,8 +27,9 @@ struct YHItemModel { ...@@ -16,8 +27,9 @@ struct YHItemModel {
var message: String? var message: String?
var leftButtonString: String? var leftButtonString: String?
var rightButtonString: String? var rightButtonString: String?
var type: YHItemSelectType?
init(isNeed: Bool? = nil, title: String? = nil, isUserKeyBoard: Bool? = nil, prompts: String? = nil, message: String? = nil, leftButtonString: String? = nil, rightButtonString: String? = nil) { init(isNeed: Bool? = nil, title: String? = nil, isUserKeyBoard: Bool? = nil, prompts: String? = nil, message: String? = nil, leftButtonString: String? = nil, rightButtonString: String? = nil, type: YHItemSelectType? = nil) {
self.isNeed = isNeed self.isNeed = isNeed
self.title = title self.title = title
self.isUserKeyBoard = isUserKeyBoard self.isUserKeyBoard = isUserKeyBoard
...@@ -25,6 +37,7 @@ struct YHItemModel { ...@@ -25,6 +37,7 @@ struct YHItemModel {
self.message = message self.message = message
self.leftButtonString = leftButtonString self.leftButtonString = leftButtonString
self.rightButtonString = rightButtonString self.rightButtonString = rightButtonString
self.type = type
} }
} }
......
//
// YHMainInformationModel.swift
// galaxy
//
// Created by EDY on 2024/1/31.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import Foundation
import SmartCodable
struct YHMainInformationModel: SmartCodable {
var id: Int?
var order_id: String?
var nationality: String?
var is_handled: Int?
var username: String?
var used_name: String?
var birthday: String?
var age: String?
var birth_place_aboard: Int?
var sex: String?
var married: String?
var mobile: String?
var email: String?
var address_aboard: Int?
var has_hk_id: Int?
var hk_id_number: String?
var step: Int?
var surname: String?
var is_live_oversea_year: Int?
var username_pinyin: YHUserNameModel?
var birth_place: YHAddressModel?
var address: YHAddressModel?
var certificates: YHCertificatesModels?
}
struct YHUserNameModel: SmartCodable {
var family_name: String?
var given_name: String?
}
struct YHAddressModel: SmartCodable {
var area: [String]?
var country: String?
var details: String?
var foreign: String?
}
struct YHCertificatesModels: SmartCodable {
var hk_macao_pass: YHCertificatesModel?
var passport: YHCertificatesModel?
var cn_identity_card: YHCertificatesModel?
}
struct YHCertificatesModel: SmartCodable {
var number: String?
var issue_at: String?
var issue_date_start_at: String?
var issue_date_end_at: String?
var img_front: String?
var img_back: String?
var passport_type: String?
}
...@@ -199,7 +199,6 @@ extension YHImagePickerView: UINavigationControllerDelegate, UIImagePickerContro ...@@ -199,7 +199,6 @@ extension YHImagePickerView: UINavigationControllerDelegate, UIImagePickerContro
func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey : Any]) { func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey : Any]) {
if let image = info[UIImagePickerController.InfoKey.originalImage] as? UIImage { if let image = info[UIImagePickerController.InfoKey.originalImage] as? UIImage {
// 将图片显示给UIImageView // 将图片显示给UIImageView
if let block = backImage { if let block = backImage {
block(image) block(image)
self.dismiss() self.dismiss()
......
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
import UIKit import UIKit
class YHItemView: UIView { class YHItemView: UIView {
typealias Block = (_ model: YHItemModel) -> ()
var block: Block?
var titleLabel: UILabel! var titleLabel: UILabel!
var messageTextField: UITextField! var messageTextField: UITextField!
var nextStepImageView: UIImageView! var nextStepImageView: UIImageView!
...@@ -45,6 +47,7 @@ class YHItemView: UIView { ...@@ -45,6 +47,7 @@ class YHItemView: UIView {
messageTextField = { messageTextField = {
let textField = UITextField() let textField = UITextField()
textField.delegate = self
return textField return textField
}() }()
addSubview(messageTextField) addSubview(messageTextField)
...@@ -67,6 +70,7 @@ class YHItemView: UIView { ...@@ -67,6 +70,7 @@ class YHItemView: UIView {
centerButton = { centerButton = {
let button = UIButton(type: .custom) let button = UIButton(type: .custom)
button.addTarget(self, action: #selector(centerClick), for: .touchUpInside)
return button return button
}() }()
addSubview(centerButton) addSubview(centerButton)
...@@ -84,6 +88,7 @@ class YHItemView: UIView { ...@@ -84,6 +88,7 @@ class YHItemView: UIView {
button.layer.borderWidth = 1 button.layer.borderWidth = 1
button.layer.borderColor = UIColor(hex: 0x4487f9).cgColor button.layer.borderColor = UIColor(hex: 0x4487f9).cgColor
button.isSelected = true button.isSelected = true
button.addTarget(self, action: #selector(rightClick), for: .touchUpInside)
return button return button
}() }()
addSubview(rightButton) addSubview(rightButton)
...@@ -100,6 +105,7 @@ class YHItemView: UIView { ...@@ -100,6 +105,7 @@ class YHItemView: UIView {
button.setTitleColor(UIColor(hex: 0x4487f9), for: .selected) button.setTitleColor(UIColor(hex: 0x4487f9), for: .selected)
button.setTitleColor(UIColor(hex: 0x222222), for: .normal) button.setTitleColor(UIColor(hex: 0x222222), for: .normal)
button.layer.cornerRadius = 16 button.layer.cornerRadius = 16
button.addTarget(self, action: #selector(leftClick), for: .touchUpInside)
return button return button
}() }()
addSubview(leftButton) addSubview(leftButton)
...@@ -147,6 +153,12 @@ class YHItemView: UIView { ...@@ -147,6 +153,12 @@ class YHItemView: UIView {
leftButton.isHidden = false leftButton.isHidden = false
leftButton.setTitle(dataSource.leftButtonString, for: .normal) leftButton.setTitle(dataSource.leftButtonString, for: .normal)
nextStepImageView.isHidden = true nextStepImageView.isHidden = true
messageTextField.isHidden = true
if dataSource.message == "0" {
rightClick()
} else {
leftClick()
}
} else { } else {
leftButton.isHidden = true leftButton.isHidden = true
} }
...@@ -155,8 +167,44 @@ class YHItemView: UIView { ...@@ -155,8 +167,44 @@ class YHItemView: UIView {
rightButton.isHidden = false rightButton.isHidden = false
rightButton.setTitle(dataSource.rightButtonString, for: .normal) rightButton.setTitle(dataSource.rightButtonString, for: .normal)
nextStepImageView.isHidden = true nextStepImageView.isHidden = true
messageTextField.isHidden = true
} else { } else {
rightButton.isHidden = true rightButton.isHidden = true
} }
} }
@objc func rightClick() {
rightButton.isSelected = true
leftButton.isSelected = false
rightButton.layer.borderWidth = 1
rightButton.layer.borderColor = UIColor(hex: 0x4487f9).cgColor
rightButton.backgroundColor = UIColor(hex: 0x4487f9).withAlphaComponent(0.08)
leftButton.backgroundColor = UIColor(hex: 0xf8f9fb)
leftButton.layer.borderWidth = 0
dataSource?.message = "0"
}
@objc func leftClick() {
leftButton.isSelected = true
rightButton.isSelected = false
leftButton.layer.borderWidth = 1
leftButton.layer.borderColor = UIColor(hex: 0x4487f9).cgColor
leftButton.backgroundColor = UIColor(hex: 0x4487f9).withAlphaComponent(0.08)
rightButton.backgroundColor = UIColor(hex: 0xf8f9fb)
rightButton.layer.borderWidth = 0
dataSource?.message = "1"
}
@objc func centerClick() {
}
}
extension YHItemView: UITextFieldDelegate {
func textFieldDidEndEditing(_ textField: UITextField) {
dataSource?.message = textField.text
if let block = block {
block(dataSource ?? YHItemModel())
}
}
} }
//
// YHSelectCountryViewModel.swift
// galaxy
//
// Created by EDY on 2024/1/31.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHSelectCountryViewModel: NSObject {
override init() {
super.init()
}
func requestCountry(_ key: String, callBackBlock:@escaping (_ success: [YHCountryMessage?]?, _ error:YHErrorModel?)->()) {
let strUrl = YHBaseUrlManager.shared.curURL() + "frontend/country?keyword=\(key)"
YHNetRequest.getRequest(url: strUrl) { [weak self] json, code in
//1. json字符串 转 对象
guard let self = self else { return }
guard let model = NetBaseModel.deserialize(dict: json) else {
let error : YHErrorModel = YHErrorModel(errorCode:YHErrorCode.dictParseError.rawValue,errorMsg: YHErrorCode.dictParseError.description())
callBackBlock([],error)
return
}
//// printLog("model 是 ==> \(model)")
let dic = model.data?.peel
guard let resultArray = [YHCountryMessage].deserialize(array: dic as? [Any]) else {
callBackBlock([],nil)
return
}
callBackBlock(resultArray, nil)
} failBlock: { err in
callBackBlock([],err)
}
}
}
...@@ -39,18 +39,18 @@ class YHContractCell: UITableViewCell { ...@@ -39,18 +39,18 @@ class YHContractCell: UITableViewCell {
lazy var contractNameLable = { lazy var contractNameLable = {
let lable = UILabel() let lable = UILabel()
lable.textColor = UIColor(red: 0.133, green: 0.133, blue: 0.133, alpha: 1) lable.textColor = UIColor.mainTextColor
lable.font = kFont(name: "PingFangSC-Medium", size: 17) lable.font = UIFont.PFSC_M(ofSize: 17)
lable.text = "" lable.text = ""
return lable return lable
}() }()
lazy var contractIdLable = { lazy var contractIdLable = {
let lable = UILabel() let lable = UILabel()
lable.font = kFont(name: "PingFangSC-Medium", size: 17) lable.textColor = UIColor.labelTextColor2
lable.font = UIFont.PFSC_R(ofSize: 12)
lable.text = "" lable.text = ""
lable.textColor = UIColor(red: 0.533, green: 0.561, blue: 0.596, alpha: 1)
lable.font = kFont(name: "PingFangSC-Regular", size: 12)
return lable return lable
}() }()
...@@ -63,15 +63,15 @@ class YHContractCell: UITableViewCell { ...@@ -63,15 +63,15 @@ class YHContractCell: UITableViewCell {
extension YHContractCell { extension YHContractCell {
func updateUI() { func updateUI() {
contractNameLable.text = dataModel?.productName ?? "-" contractNameLable.text = dataModel?.productName ?? "-" + " - " + (dataModel?.username ?? "-")
let str = "订单号:" + (dataModel?.id ?? "-") let str = "合同编号:" + (dataModel?.orderSn ?? "-")
contractIdLable.text = str contractIdLable.text = str
} }
func setupUI() { func setupUI() {
let holdView = UIView() let holdView = UIView()
holdView.backgroundColor = .white holdView.backgroundColor = .white
holdView.layer.cornerRadius = 12 holdView.layer.cornerRadius = kCornerRadius6
holdView.clipsToBounds = true holdView.clipsToBounds = true
backgroundColor = .clear backgroundColor = .clear
...@@ -80,8 +80,8 @@ extension YHContractCell { ...@@ -80,8 +80,8 @@ extension YHContractCell {
contentView.addSubview(holdView) contentView.addSubview(holdView)
holdView.snp.makeConstraints { make in holdView.snp.makeConstraints { make in
make.top.bottom.equalToSuperview() make.top.bottom.equalToSuperview()
make.left.equalTo(16) make.left.equalTo(kMargin)
make.right.equalTo(-16) make.right.equalTo(-kMargin)
} }
...@@ -91,14 +91,14 @@ extension YHContractCell { ...@@ -91,14 +91,14 @@ extension YHContractCell {
holdView.addSubview(nextImgV) holdView.addSubview(nextImgV)
nextImgV.snp.makeConstraints { make in nextImgV.snp.makeConstraints { make in
make.centerY.equalToSuperview() make.centerY.equalToSuperview()
make.right.equalTo(-16) make.right.equalTo(-kMargin)
make.width.height.equalTo(16) make.width.height.equalTo(kMargin)
} }
holdView.addSubview(contractNameLable) holdView.addSubview(contractNameLable)
contractNameLable.snp.makeConstraints { make in contractNameLable.snp.makeConstraints { make in
make.top.equalTo(16) make.top.equalTo(kMargin)
make.left.equalTo(21) make.left.equalTo(21)
make.right.equalTo(nextImgV.snp.left).offset(-10) make.right.equalTo(nextImgV.snp.left).offset(-10)
make.height.equalTo(24) make.height.equalTo(24)
...@@ -111,7 +111,7 @@ extension YHContractCell { ...@@ -111,7 +111,7 @@ extension YHContractCell {
make.left.equalTo(contractNameLable) make.left.equalTo(contractNameLable)
make.right.equalTo(contractNameLable) make.right.equalTo(contractNameLable)
make.height.equalTo(20) make.height.equalTo(20)
make.bottom.equalToSuperview().offset(-16) make.bottom.equalToSuperview().offset(-kMargin)
} }
} }
......
...@@ -25,6 +25,15 @@ public func printLog<T>(_ message: T, file: String = #file, method: String = #fu ...@@ -25,6 +25,15 @@ public func printLog<T>(_ message: T, file: String = #file, method: String = #fu
#endif #endif
} }
//边距
let kMargin : CGFloat = 16.0
//圆角
let kCornerRadius6 : CGFloat = 6.0
let kCornerRadius8 : CGFloat = 8.0
///屏幕宽度 ///屏幕宽度
let KScreenWidth = UIScreen.main.bounds.size.width let KScreenWidth = UIScreen.main.bounds.size.width
......
...@@ -94,7 +94,7 @@ class YHNetRequest: NSObject { ...@@ -94,7 +94,7 @@ class YHNetRequest: NSObject {
requestHeader.add(name:"sign",value:sign) requestHeader.add(name:"sign",value:sign)
requestHeader.add(name: "token", value: "eyJpdiI6InkrcVNJK2tyMDMzekZOcHE1NklOUUE9PSIsInZhbHVlIjoiRTNMY0VoM2p1b2JvMVoxY28wa2RCRWtMdzA3N1BIaUhqN2F5d3Y5VXp6KzhlNHpTMzdWODlJckNaeUczZkNNamZDbWY0U1c2VGJJOVVBeVpDWUVqV29ISzRkNzh3d2ZZbDFKMk9vN3pRR0g4ZUlXTTliWTNoUzdyNHpQNGtKU1Z3YzMzTnRUMERPQXc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BYXJidVFnTTlSRG4wUjhEMXg3WWdXUkZSM0JiTlNVaDlBYjZEVFBxdm1lZkw4UGpjRXJMSlVQRFwvNG5zYmp3cVc4emd5bmI4VGU4dW1kS3RhdHhpMGY3NzVKRnVBVjhoVjBHc2VhRmZpS3V4aEdZZFpob3NcLzR1MHpCOUp4ZE92NkZoYU8xc3JuMVdQQjl0QmdoOENCVHZneG1xVFJ1eHVOSVIzN2xnNEVNZ01yeFhzMitESVM0QzdVTmJiUmNkaW1XS2VuR3lqclJNRWk4WmNjK0FyZXh2Qldxd25EU1h1MHE4WElPMnZtSVhQNHBYV1l4QXlKV0dBaUlGem5aMUFGNDFBTmgrMHNIeFVSTWtKUERxQkJvOFJ1anI1SGJZd2hJM1NWbFJnMXdSTUJKMytKeThucDlERVBrK3lkVUVnY1diRkRRXC90aEl2OCtyTFVaQjZcLzlnN01TaXcrVlF0TFVFdGNLbitrVU1WZnlobkVuQXZYSCtqc083cUNXYlRjS21sVDd4ak5FMDlMM05WeHMya3FBblYyVXRNSjI4MklXSmdaUnZqdGxOWTZXS1ZYNXpobTlPWGN0alwvODhoVzM4OEJDeDl3WmZrcGREYnJwbUVRaWdXb2dzMnVcL1ZEYXVxUUtjR1I2WjJuVHNidmlZUHBqREg3bmcyalB2QWdBdz09IiwibWFjIjoiYWYyZTgyMWJkZmUxYzUxOThmYjBiYTI3ZGRhNTk3NWU2NTBlODgzMjZjYmExYzEzZDEwZDA4NGU5YmUzNmIwNiJ9")
headers = requestHeader headers = requestHeader
} }
......
{ {
"images" : [ "images" : [
{ {
"filename" : "Rectangle 2419.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "1x" "scale" : "1x"
}, },
{ {
"filename" : "Rectangle 2419@2x.png", "filename" : "Rectangle 2420@2x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "Rectangle 2419@3x.png", "filename" : "Rectangle 2420@3x.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment