Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
3ada6188
Commit
3ada6188
authored
Jun 25, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首次提示
parent
a401e183
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
111 additions
and
2 deletions
+111
-2
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+4
-0
YHAllowUseMyInfoViewController.swift
.../Modules/Login(登录)/C/YHAllowUseMyInfoViewController.swift
+5
-2
YHLoginOneLeadView.swift
...laxy/Classes/Modules/Login(登录)/V/YHLoginOneLeadView.swift
+80
-0
Contents.json
...Assets.xcassets/Login/my_card_lead.imageset/Contents.json
+22
-0
my_card_lead@2x.png
....xcassets/Login/my_card_lead.imageset/my_card_lead@2x.png
+0
-0
my_card_lead@3x.png
....xcassets/Login/my_card_lead.imageset/my_card_lead@3x.png
+0
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
3ada6188
...
@@ -72,6 +72,7 @@
...
@@ -72,6 +72,7 @@
044D0C1C2C22C30B00C5CF5E
/* YHEditSchoolViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
044D0C1B2C22C30B00C5CF5E
/* YHEditSchoolViewController.swift */
;
};
044D0C1C2C22C30B00C5CF5E
/* YHEditSchoolViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
044D0C1B2C22C30B00C5CF5E
/* YHEditSchoolViewController.swift */
;
};
044D0C1E2C22CFBF00C5CF5E
/* YHEditWorkViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
044D0C1D2C22CFBF00C5CF5E
/* YHEditWorkViewController.swift */
;
};
044D0C1E2C22CFBF00C5CF5E
/* YHEditWorkViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
044D0C1D2C22CFBF00C5CF5E
/* YHEditWorkViewController.swift */
;
};
044D0C202C22D37500C5CF5E
/* YHEditHonorViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
044D0C1F2C22D37500C5CF5E
/* YHEditHonorViewController.swift */
;
};
044D0C202C22D37500C5CF5E
/* YHEditHonorViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
044D0C1F2C22D37500C5CF5E
/* YHEditHonorViewController.swift */
;
};
045A7E672C2ACB1A008F995B
/* YHLoginOneLeadView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045A7E662C2ACB1A008F995B
/* YHLoginOneLeadView.swift */
;
};
045EEE792B9F171A0022A143
/* YHPreviewViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045EED9A2B9F171A0022A143
/* YHPreviewViewModel.swift */
;
};
045EEE792B9F171A0022A143
/* YHPreviewViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045EED9A2B9F171A0022A143
/* YHPreviewViewModel.swift */
;
};
045EEE7A2B9F171A0022A143
/* YHPreviewForOtherInfoModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045EED9C2B9F171A0022A143
/* YHPreviewForOtherInfoModel.swift */
;
};
045EEE7A2B9F171A0022A143
/* YHPreviewForOtherInfoModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045EED9C2B9F171A0022A143
/* YHPreviewForOtherInfoModel.swift */
;
};
045EEE7B2B9F171A0022A143
/* YHPersonInfoCellModel2.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045EED9D2B9F171A0022A143
/* YHPersonInfoCellModel2.swift */
;
};
045EEE7B2B9F171A0022A143
/* YHPersonInfoCellModel2.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045EED9D2B9F171A0022A143
/* YHPersonInfoCellModel2.swift */
;
};
...
@@ -634,6 +635,7 @@
...
@@ -634,6 +635,7 @@
044D0C1B2C22C30B00C5CF5E
/* YHEditSchoolViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHEditSchoolViewController.swift
;
sourceTree
=
"<group>"
;
};
044D0C1B2C22C30B00C5CF5E
/* YHEditSchoolViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHEditSchoolViewController.swift
;
sourceTree
=
"<group>"
;
};
044D0C1D2C22CFBF00C5CF5E
/* YHEditWorkViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHEditWorkViewController.swift
;
sourceTree
=
"<group>"
;
};
044D0C1D2C22CFBF00C5CF5E
/* YHEditWorkViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHEditWorkViewController.swift
;
sourceTree
=
"<group>"
;
};
044D0C1F2C22D37500C5CF5E
/* YHEditHonorViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHEditHonorViewController.swift
;
sourceTree
=
"<group>"
;
};
044D0C1F2C22D37500C5CF5E
/* YHEditHonorViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHEditHonorViewController.swift
;
sourceTree
=
"<group>"
;
};
045A7E662C2ACB1A008F995B
/* YHLoginOneLeadView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHLoginOneLeadView.swift
;
sourceTree
=
"<group>"
;
};
045EED9A2B9F171A0022A143
/* YHPreviewViewModel.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewViewModel.swift
;
sourceTree
=
"<group>"
;
};
045EED9A2B9F171A0022A143
/* YHPreviewViewModel.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewViewModel.swift
;
sourceTree
=
"<group>"
;
};
045EED9C2B9F171A0022A143
/* YHPreviewForOtherInfoModel.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewForOtherInfoModel.swift
;
sourceTree
=
"<group>"
;
};
045EED9C2B9F171A0022A143
/* YHPreviewForOtherInfoModel.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewForOtherInfoModel.swift
;
sourceTree
=
"<group>"
;
};
045EED9D2B9F171A0022A143
/* YHPersonInfoCellModel2.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPersonInfoCellModel2.swift
;
sourceTree
=
"<group>"
;
};
045EED9D2B9F171A0022A143
/* YHPersonInfoCellModel2.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPersonInfoCellModel2.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -2589,6 +2591,7 @@
...
@@ -2589,6 +2591,7 @@
0468D4212B493A5E00CFB916
/* YHPhoneMessageView.swift */
,
0468D4212B493A5E00CFB916
/* YHPhoneMessageView.swift */
,
0468D4272B50D4AF00CFB916
/* YHPrivacyAlertView.swift */
,
0468D4272B50D4AF00CFB916
/* YHPrivacyAlertView.swift */
,
044D0BF72C21572B00C5CF5E
/* YHAllowSettingTableViewCell.swift */
,
044D0BF72C21572B00C5CF5E
/* YHAllowSettingTableViewCell.swift */
,
045A7E662C2ACB1A008F995B
/* YHLoginOneLeadView.swift */
,
);
);
path
=
V
;
path
=
V
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
...
@@ -3442,6 +3445,7 @@
...
@@ -3442,6 +3445,7 @@
04A6715E2B9FFCA700C1FB91
/* YHCertificateNameCell.swift in Sources */
,
04A6715E2B9FFCA700C1FB91
/* YHCertificateNameCell.swift in Sources */
,
A5787E3C2C23DEE500B021D7
/* YHActivityTitleItemView.swift in Sources */
,
A5787E3C2C23DEE500B021D7
/* YHActivityTitleItemView.swift in Sources */
,
A567E5AF2BD7643D00D5D5A0
/* YHHomeWebViewBottomForSavePicView.swift in Sources */
,
A567E5AF2BD7643D00D5D5A0
/* YHHomeWebViewBottomForSavePicView.swift in Sources */
,
045A7E672C2ACB1A008F995B
/* YHLoginOneLeadView.swift in Sources */
,
048787D72BCE96F50036E221
/* YHServiceOrderProgressTableViewCell.swift in Sources */
,
048787D72BCE96F50036E221
/* YHServiceOrderProgressTableViewCell.swift in Sources */
,
04AD31792C23FFC700DF5655
/* YHInterestModel.swift in Sources */
,
04AD31792C23FFC700DF5655
/* YHInterestModel.swift in Sources */
,
04EA23082BB50753009DA928
/* YHDocumentMessageTableViewCell.swift in Sources */
,
04EA23082BB50753009DA928
/* YHDocumentMessageTableViewCell.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHAllowUseMyInfoViewController.swift
View file @
3ada6188
...
@@ -75,8 +75,11 @@ class YHAllowUseMyInfoViewController: YHBaseViewController {
...
@@ -75,8 +75,11 @@ class YHAllowUseMyInfoViewController: YHBaseViewController {
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
viewModel
.
requestBusinessCardAuthorize
{[
weak
self
]
success
,
error
in
viewModel
.
requestBusinessCardAuthorize
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
self
.
dismiss
(
animated
:
true
)
self
.
dismiss
(
animated
:
true
)
{
let
view
=
YHLoginOneLeadView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
KScreenHeight
))
let
window
=
UIApplication
.
shared
.
yhKeyWindow
()
window
?
.
addSubview
(
view
)
}
}
}
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/V/YHLoginOneLeadView.swift
0 → 100644
View file @
3ada6188
//
// YHLoginOneLeadView.swift
// galaxy
//
// Created by EDY on 2024/6/25.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHLoginOneLeadView
:
UIView
{
var
centerView
:
UIView
!
var
bottomImageView
:
UIImageView
!
var
bottomButton
:
UIButton
!
override
init
(
frame
:
CGRect
)
{
super
.
init
(
frame
:
frame
)
backgroundColor
=
UIColor
(
white
:
0.5
,
alpha
:
0.1
)
let
tap
=
UITapGestureRecognizer
(
target
:
self
,
action
:
#selector(
handleTap
)
)
tap
.
delegate
=
self
addGestureRecognizer
(
tap
)
setView
()
}
required
init
?(
coder
:
NSCoder
)
{
fatalError
(
"init(coder:) has not been implemented"
)
}
func
setView
()
{
backgroundColor
=
UIColor
(
hex
:
0x000000
,
alpha
:
0.5
)
centerView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
}()
addSubview
(
centerView
)
centerView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
top
.
bottom
.
equalToSuperview
()
}
bottomImageView
=
{
let
imageView
=
UIImageView
()
imageView
.
image
=
UIImage
(
named
:
"my_card_lead"
)
return
imageView
}()
centerView
.
addSubview
(
bottomImageView
)
bottomImageView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
top
.
bottom
.
equalToSuperview
()
}
bottomButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
addTarget
(
self
,
action
:
#selector(
dismiss
)
,
for
:
.
touchUpInside
)
return
button
}()
centerView
.
addSubview
(
bottomButton
)
bottomButton
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
top
.
bottom
.
equalToSuperview
()
}
}
@objc
private
func
handleTap
(
_
sender
:
AnyObject
?)
{
print
(
"处理点击手势"
)
dismiss
()
}
@objc
func
dismiss
()
{
removeFromSuperview
()
}
}
extension
YHLoginOneLeadView
:
UIGestureRecognizerDelegate
{
func
gestureRecognizer
(
_
gestureRecognizer
:
UIGestureRecognizer
,
shouldReceive
touch
:
UITouch
)
->
Bool
{
if
touch
.
view
==
self
{
return
true
}
return
false
}
}
galaxy/galaxy/Res/Assets.xcassets/Login/my_card_lead.imageset/Contents.json
0 → 100644
View file @
3ada6188
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"my_card_lead@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"my_card_lead@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/Login/my_card_lead.imageset/my_card_lead@2x.png
0 → 100644
View file @
3ada6188
133 KB
galaxy/galaxy/Res/Assets.xcassets/Login/my_card_lead.imageset/my_card_lead@3x.png
0 → 100644
View file @
3ada6188
244 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment