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
5f6f23af
Commit
5f6f23af
authored
Jul 04, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决工作经验图片比例显示问题
parent
89fccda8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
YHWorkExperienceViewController.swift
...rkExperience(工作经验)/C/YHWorkExperienceViewController.swift
+3
-2
YHWorkIntroductionViewController.swift
...Experience(工作经验)/C/YHWorkIntroductionViewController.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/C/YHWorkExperienceViewController.swift
View file @
5f6f23af
...
@@ -423,7 +423,8 @@ extension YHWorkExperienceViewController: UITableViewDelegate, UITableViewDataSo
...
@@ -423,7 +423,8 @@ extension YHWorkExperienceViewController: UITableViewDelegate, UITableViewDataSo
YHImagePickerView
.
show
()
{[
weak
self
]
image
in
YHImagePickerView
.
show
()
{[
weak
self
]
image
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
let
clipperVC
=
YHImageClipperViewController
()
let
clipperVC
=
YHImageClipperViewController
()
clipperVC
.
setBaseImg
(
image
,
resultImgSize
:
CGSize
(
width
:
300
,
height
:
300
),
type
:
.
Stay
)
clipperVC
.
setBaseImg
(
image
,
resultImgSize
:
CGSize
(
width
:
image
.
size
.
width
,
height
:
image
.
size
.
height
),
type
:
.
Stay
)
clipperVC
.
successClippedHandler
=
{[
weak
self
]
result
in
clipperVC
.
successClippedHandler
=
{[
weak
self
]
result
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
self
.
viewModel
.
mainModel
.
wduty
=
result
self
.
viewModel
.
mainModel
.
wduty
=
result
...
@@ -467,7 +468,7 @@ extension YHWorkExperienceViewController: UITableViewDelegate, UITableViewDataSo
...
@@ -467,7 +468,7 @@ extension YHWorkExperienceViewController: UITableViewDelegate, UITableViewDataSo
YHImagePickerView
.
show
()
{[
weak
self
]
image
in
YHImagePickerView
.
show
()
{[
weak
self
]
image
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
let
clipperVC
=
YHImageClipperViewController
()
let
clipperVC
=
YHImageClipperViewController
()
clipperVC
.
setBaseImg
(
image
,
resultImgSize
:
CGSize
(
width
:
300
,
height
:
300
),
type
:
.
Stay
)
clipperVC
.
setBaseImg
(
image
,
resultImgSize
:
CGSize
(
width
:
image
.
size
.
width
,
height
:
image
.
size
.
height
),
type
:
.
Stay
)
clipperVC
.
successClippedHandler
=
{[
weak
self
]
result
in
clipperVC
.
successClippedHandler
=
{[
weak
self
]
result
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
self
.
viewModel
.
mainModel
.
highlights
=
result
self
.
viewModel
.
mainModel
.
highlights
=
result
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/C/YHWorkIntroductionViewController.swift
View file @
5f6f23af
...
@@ -248,7 +248,7 @@ class YHWorkIntroductionViewController: YHBaseViewController {
...
@@ -248,7 +248,7 @@ class YHWorkIntroductionViewController: YHBaseViewController {
YHImagePickerView
.
show
()
{[
weak
self
]
image
in
YHImagePickerView
.
show
()
{[
weak
self
]
image
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
let
clipperVC
=
YHImageClipperViewController
()
let
clipperVC
=
YHImageClipperViewController
()
clipperVC
.
setBaseImg
(
image
,
resultImgSize
:
CGSize
(
width
:
300
,
height
:
300
),
type
:
.
Stay
)
clipperVC
.
setBaseImg
(
image
,
resultImgSize
:
CGSize
(
width
:
image
.
size
.
width
,
height
:
image
.
size
.
height
),
type
:
.
Stay
)
clipperVC
.
successClippedHandler
=
{[
weak
self
]
result
in
clipperVC
.
successClippedHandler
=
{[
weak
self
]
result
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
self
.
dataSource
.
project_highlights
=
result
self
.
dataSource
.
project_highlights
=
result
...
...
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