Commit 56c9e815 authored by Steven杜宇's avatar Steven杜宇

// 方案

parent f2761274
......@@ -1216,6 +1216,11 @@
04AFEF572D6C78AA0007A011 /* YHVipLevelRightViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04AFEF562D6C78AA0007A011 /* YHVipLevelRightViewController.swift */; };
04AFEF592D6C8CE00007A011 /* YHVipLevelRightHeaderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04AFEF582D6C8CDF0007A011 /* YHVipLevelRightHeaderView.swift */; };
04AFEF5B2D76DC740007A011 /* YHTravelCertificateUsageTipsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04AFEF5A2D76DC740007A011 /* YHTravelCertificateUsageTipsView.swift */; };
04D8FF552D9258AA00703C75 /* YHPlanScoreView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04D8FF542D9258AA00703C75 /* YHPlanScoreView.swift */; };
04D8FF572D925A0800703C75 /* YHPlanScoreChart.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04D8FF562D925A0800703C75 /* YHPlanScoreChart.swift */; };
04D8FF592D925E6700703C75 /* YHPlanModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04D8FF582D925E6700703C75 /* YHPlanModel.swift */; };
04D8FF5B2D925E8100703C75 /* YHPlanViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04D8FF5A2D925E8100703C75 /* YHPlanViewModel.swift */; };
04D8FF5D2D925EA900703C75 /* YHPlanViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04D8FF5C2D925EA900703C75 /* YHPlanViewController.swift */; };
04E4CF3E2D5C6D32004D4013 /* YHCountryMessageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04E4CF3D2D5C6D32004D4013 /* YHCountryMessageView.swift */; };
04E4CF402D5C83AE004D4013 /* YHSelectPhoneCountryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04E4CF3F2D5C83AE004D4013 /* YHSelectPhoneCountryViewController.swift */; };
04E507D62D6EE856005F758B /* YHUserLevelAlertView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04E507D52D6EE856005F758B /* YHUserLevelAlertView.swift */; };
......@@ -2471,6 +2476,11 @@
04AFEF562D6C78AA0007A011 /* YHVipLevelRightViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHVipLevelRightViewController.swift; sourceTree = "<group>"; };
04AFEF582D6C8CDF0007A011 /* YHVipLevelRightHeaderView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHVipLevelRightHeaderView.swift; sourceTree = "<group>"; };
04AFEF5A2D76DC740007A011 /* YHTravelCertificateUsageTipsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHTravelCertificateUsageTipsView.swift; sourceTree = "<group>"; };
04D8FF542D9258AA00703C75 /* YHPlanScoreView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHPlanScoreView.swift; sourceTree = "<group>"; };
04D8FF562D925A0800703C75 /* YHPlanScoreChart.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHPlanScoreChart.swift; sourceTree = "<group>"; };
04D8FF582D925E6700703C75 /* YHPlanModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHPlanModel.swift; sourceTree = "<group>"; };
04D8FF5A2D925E8100703C75 /* YHPlanViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHPlanViewModel.swift; sourceTree = "<group>"; };
04D8FF5C2D925EA900703C75 /* YHPlanViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHPlanViewController.swift; sourceTree = "<group>"; };
04E4CF3D2D5C6D32004D4013 /* YHCountryMessageView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCountryMessageView.swift; sourceTree = "<group>"; };
04E4CF3F2D5C83AE004D4013 /* YHSelectPhoneCountryViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHSelectPhoneCountryViewController.swift; sourceTree = "<group>"; };
04E507D52D6EE856005F758B /* YHUserLevelAlertView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHUserLevelAlertView.swift; sourceTree = "<group>"; };
......@@ -6604,6 +6614,7 @@
04D8FF502D92580200703C75 /* C */ = {
isa = PBXGroup;
children = (
04D8FF5C2D925EA900703C75 /* YHPlanViewController.swift */,
);
path = C;
sourceTree = "<group>";
......@@ -6611,6 +6622,8 @@
04D8FF512D92580900703C75 /* V */ = {
isa = PBXGroup;
children = (
04D8FF542D9258AA00703C75 /* YHPlanScoreView.swift */,
04D8FF562D925A0800703C75 /* YHPlanScoreChart.swift */,
);
path = V;
sourceTree = "<group>";
......@@ -6618,6 +6631,7 @@
04D8FF522D92580F00703C75 /* M */ = {
isa = PBXGroup;
children = (
04D8FF582D925E6700703C75 /* YHPlanModel.swift */,
);
path = M;
sourceTree = "<group>";
......@@ -6625,6 +6639,7 @@
04D8FF532D92581300703C75 /* VM */ = {
isa = PBXGroup;
children = (
04D8FF5A2D925E8100703C75 /* YHPlanViewModel.swift */,
);
path = VM;
sourceTree = "<group>";
......@@ -6984,6 +6999,7 @@
045C0FC82D12CA5F00BD2DC0 /* YHCollectionModel.swift in Sources */,
045C0FC92D12CA5F00BD2DC0 /* YHOtherLanguageSelecteView.swift in Sources */,
045C0FCA2D12CA5F00BD2DC0 /* YHAutoTextView.swift in Sources */,
04D8FF5B2D925E8100703C75 /* YHPlanViewModel.swift in Sources */,
045C0FCB2D12CA5F00BD2DC0 /* UIView+Extension.swift in Sources */,
045C0FCC2D12CA5F00BD2DC0 /* YHGalaxyManagerTipsItemView.swift in Sources */,
045C0FCD2D12CA5F00BD2DC0 /* YHFormItemDegreeInfoCell.swift in Sources */,
......@@ -7001,6 +7017,7 @@
045C0FD92D12CA5F00BD2DC0 /* YHHomeCollectionViewCell.swift in Sources */,
045C0FDA2D12CA5F00BD2DC0 /* YHBasicContentView.swift in Sources */,
045C0FDB2D12CA5F00BD2DC0 /* YHSelectViewController.swift in Sources */,
04D8FF5D2D925EA900703C75 /* YHPlanViewController.swift in Sources */,
047A96862D1698150033BB4E /* YHGCMySchemeViewModel.swift in Sources */,
04AE20312D13B6E500891D24 /* YHGCChildBasicInfoVC.swift in Sources */,
045C0FDC2D12CA5F00BD2DC0 /* YHMyNotifySettingVC.swift in Sources */,
......@@ -7077,6 +7094,7 @@
0411CF082D1A896800644D35 /* YHGCMySignatureListModel.swift in Sources */,
045C101D2D12CA5F00BD2DC0 /* YHHUDProgressView.swift in Sources */,
045C101E2D12CA5F00BD2DC0 /* YHFailPromptView.swift in Sources */,
04D8FF592D925E6700703C75 /* YHPlanModel.swift in Sources */,
045C101F2D12CA5F00BD2DC0 /* YHBasePlayerViewController.swift in Sources */,
0411CEFE2D1A7FFD00644D35 /* YHGCMySignatureListViewController.swift in Sources */,
045C10202D12CA5F00BD2DC0 /* YHSelectLookHeadView.swift in Sources */,
......@@ -7195,6 +7213,7 @@
04AE20182D12CFAF00891D24 /* YHGCApplicationModel.swift in Sources */,
04AE20192D12CFAF00891D24 /* YHGCApplicationTypeResponseModel.swift in Sources */,
0411CF022D1A80F500644D35 /* YHGCMySignatureDetailViewController.swift in Sources */,
04D8FF552D9258AA00703C75 /* YHPlanScoreView.swift in Sources */,
045C10822D12CA5F00BD2DC0 /* YHHKPlanCell.swift in Sources */,
045C10832D12CA5F00BD2DC0 /* YHAdopterIncomeViewModel.swift in Sources */,
045C10842D12CA5F00BD2DC0 /* YHResignAppointMember.swift in Sources */,
......@@ -7626,6 +7645,7 @@
045C11FE2D12CA5F00BD2DC0 /* YHVideoPlayerControlView.swift in Sources */,
043671472D6C3ED100E8D9BA /* YHMembershipGrowthGuideView.swift in Sources */,
045C11FF2D12CA5F00BD2DC0 /* YHResignCertificateModel.swift in Sources */,
04D8FF572D925A0800703C75 /* YHPlanScoreChart.swift in Sources */,
045C12002D12CA5F00BD2DC0 /* YHPrincipleApprovedAlertView.swift in Sources */,
045C12012D12CA5F00BD2DC0 /* YHSchemeTableHeadView.swift in Sources */,
045C12022D12CA5F00BD2DC0 /* YHResignDocumentUploadStatus.swift in Sources */,
......
//
// YHPlanViewController.swift
// galaxy
//
// Created by Dufet on 2025/3/25.
// Copyright © 2025 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHPlanViewController: YHBaseViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
// Pass the selected object to the new view controller.
}
*/
}
//
// YHPlanModel.swift
// galaxy
//
// Created by Dufet on 2025/3/25.
// Copyright © 2025 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHPlanModel: NSObject {
}
//
// YHPlanScoreChart.swift
// galaxy
//
// Created by Dufet on 2025/3/25.
// Copyright © 2025 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHPlanScoreItemView: UIView {
lazy var titleLabel: UILabel = {
let lable = UILabel()
lable.textColor = UIColor.init(hex: 0x604127)
lable.textAlignment = .center
lable.font = UIFont.PFSC_B(ofSize: 14)
return lable
}()
lazy var scoreLabel: UILabel = {
let lable = UILabel()
lable.textColor = UIColor.init(hex: 0xAE6C32)
lable.textAlignment = .center
lable.font = UIFont(name: "DINAlternate-Bold", size: 16)
return lable
}()
override init(frame: CGRect) {
super.init(frame: frame)
createUI()
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
func createUI() {
self.addSubview(titleLabel)
self.addSubview(scoreLabel)
titleLabel.snp.makeConstraints { make in
make.centerX.equalToSuperview()
make.height.equalTo(20)
}
scoreLabel.snp.makeConstraints { make in
make.centerX.equalToSuperview()
make.height.equalTo(16)
make.top.equalTo(titleLabel.snp.bottom).offset(2)
}
}
}
class YHPlanScoreChart: UIView {
lazy var squareImgV: UIImageView = {
let v = UIImageView()
v.image = UIImage(named: "plan_score_square")
return v
}()
lazy var circleBgImgV: UIImageView = {
let v = UIImageView()
v.image = UIImage(named: "plan_score_circle_bg")
return v
}()
lazy var careerItemView: YHPlanScoreItemView = {
let v = YHPlanScoreItemView(frame: .zero)
v.titleLabel.text = "事业"
v.scoreLabel.text = "0"
return v
}()
lazy var lifeItemView: YHPlanScoreItemView = {
let v = YHPlanScoreItemView(frame: .zero)
v.titleLabel.text = "生活"
v.scoreLabel.text = "0"
return v
}()
lazy var investItemView: YHPlanScoreItemView = {
let v = YHPlanScoreItemView(frame: .zero)
v.titleLabel.text = "投资"
v.scoreLabel.text = "0"
return v
}()
lazy var stayItemView: YHPlanScoreItemView = {
let v = YHPlanScoreItemView(frame: .zero)
v.titleLabel.text = "逗留"
v.scoreLabel.text = "0"
return v
}()
override init(frame: CGRect) {
super.init(frame: frame)
createUI()
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
func createUI() {
self.addSubview(circleBgImgV)
self.addSubview(squareImgV)
self.addSubview(careerItemView)
self.addSubview(lifeItemView)
self.addSubview(investItemView)
self.addSubview(stayItemView)
squareImgV.snp.makeConstraints { make in
make.height.width.equalTo(182)
make.centerX.equalToSuperview()
make.centerY.equalToSuperview()
}
circleBgImgV.snp.makeConstraints { make in
make.height.width.equalTo(228)
make.centerX.equalToSuperview()
make.centerY.equalToSuperview()
}
careerItemView.snp.makeConstraints { make in
make.centerX.equalToSuperview()
make.bottom.equalTo(squareImgV.snp.top).offset(-5)
make.height.equalTo(38)
make.width.equalTo(40)
}
lifeItemView.snp.makeConstraints { make in
make.centerY.equalToSuperview()
make.left.equalTo(squareImgV.snp.right).offset(5)
make.height.equalTo(38)
make.width.equalTo(40)
}
investItemView.snp.makeConstraints { make in
make.centerX.equalToSuperview()
make.bottom.equalTo(squareImgV.snp.top).offset(-5)
make.height.equalTo(38)
make.width.equalTo(40)
}
}
}
//
// YHPlanScoreView.swift
// galaxy
//
// Created by Dufet on 2025/3/25.
// Copyright © 2025 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHPlanScoreView: UIView {
lazy var whiteContentView: UIView = {
let v = UIView()
v.backgroundColor = .white
v.layer.cornerRadius = 6.0
v.clipsToBounds = true
return v
}()
lazy var titleLabel: UILabel = {
let lable = UILabel()
lable.textColor = UIColor.init(hex: 0x6A7586)
lable.textAlignment = .center
lable.font = UIFont.PFSC_R(ofSize: 13)
return lable
}()
lazy var statusLabel: UILabel = {
let lable = UILabel()
lable.textColor = UIColor.mainTextColor
lable.textAlignment = .center
lable.font = UIFont(name: "AlibabaPuHuiTi_3_95_ExtraBold", size: 24)
return lable
}()
func setupUI() {
backgroundColor = .clear
}
}
//
// YHPlanViewModel.swift
// galaxy
//
// Created by Dufet on 2025/3/25.
// Copyright © 2025 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHPlanViewModel: NSObject {
}
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