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
4f0e5590
Commit
4f0e5590
authored
Jul 15, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
选择头像标题修改
parent
a613ec70
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
YHInformationAuthorizationStepOneViewController.swift
...)/C/YHInformationAuthorizationStepOneViewController.swift
+1
-1
YHImagePickerView.swift
...ainApplicantInformation(主申请人信息)/V/YHImagePickerView.swift
+2
-1
YHUserInfoSettingViewController.swift
...Modules/Login(登录)/C/YHUserInfoSettingViewController.swift
+1
-1
YHEditBaseUserInfoViewController.swift
...我的)/MyCard(我的名片)/C/YHEditBaseUserInfoViewController.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/C/YHInformationAuthorizationStepOneViewController.swift
View file @
4f0e5590
...
...
@@ -175,7 +175,7 @@ class YHInformationAuthorizationStepOneViewController: YHBaseViewController {
@objc
func
takePhoto
()
{
view
.
endEditing
(
true
)
YHImagePickerView
.
show
()
{[
weak
self
]
image
in
YHImagePickerView
.
show
(
"请选择头像"
)
{[
weak
self
]
image
in
guard
let
self
=
self
else
{
return
}
let
clipperVC
=
YHHeadImageViewController
()
clipperVC
.
setBaseImg
(
image
,
resultImgSize
:
CGSize
(
width
:
300
,
height
:
300
),
type
:
.
Move
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/MainApplicantInformation(主申请人信息)/V/YHImagePickerView.swift
View file @
4f0e5590
...
...
@@ -29,9 +29,10 @@ class YHImagePickerView: UIView {
var
cannalButton
:
UIButton
!
var
lineView
:
UIView
!
static
func
show
(
callBack
:
@escaping
((
UIImage
)
->
Void
))
{
static
func
show
(
_
title
:
String
=
"请选择上传方式"
,
callBack
:
@escaping
((
UIImage
)
->
Void
))
{
let
view
=
YHImagePickerView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
KScreenHeight
))
view
.
backImage
=
callBack
view
.
titleLabel
.
text
=
title
let
window
=
UIApplication
.
shared
.
yhKeyWindow
()
window
?
.
addSubview
(
view
)
}
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHUserInfoSettingViewController.swift
View file @
4f0e5590
...
...
@@ -153,7 +153,7 @@ class YHUserInfoSettingViewController: YHBaseViewController {
@objc
func
takePhoto
()
{
view
.
endEditing
(
true
)
YHImagePickerView
.
show
()
{[
weak
self
]
image
in
YHImagePickerView
.
show
(
"请选择头像"
)
{[
weak
self
]
image
in
guard
let
self
=
self
else
{
return
}
let
clipperVC
=
YHHeadImageViewController
()
clipperVC
.
setBaseImg
(
image
,
resultImgSize
:
CGSize
(
width
:
300
,
height
:
300
),
type
:
.
Move
)
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/MyCard(我的名片)/C/YHEditBaseUserInfoViewController.swift
View file @
4f0e5590
...
...
@@ -139,7 +139,7 @@ class YHEditBaseUserInfoViewController: YHBaseViewController {
@objc
func
takePhoto
()
{
view
.
endEditing
(
true
)
YHImagePickerView
.
show
()
{[
weak
self
]
image
in
YHImagePickerView
.
show
(
"请选择头像"
)
{[
weak
self
]
image
in
guard
let
self
=
self
else
{
return
}
let
clipperVC
=
YHHeadImageViewController
()
clipperVC
.
setBaseImg
(
image
,
resultImgSize
:
CGSize
(
width
:
300
,
height
:
300
),
type
:
.
Move
)
...
...
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