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
c7451495
Commit
c7451495
authored
Mar 08, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录图片显示
parent
1c306395
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
4 deletions
+28
-4
YHWorkExperienceItemView.swift
...流程)/WorkExperience(工作经验)/V/YHWorkExperienceItemView.swift
+3
-3
YHPhoneLoginViewController.swift
...sses/Modules/Login(登录)/C/YHPhoneLoginViewController.swift
+3
-1
Contents.json
...s/Assets.xcassets/Login/login_icon.imageset/Contents.json
+22
-0
login_icon@2x.png
...sets.xcassets/Login/login_icon.imageset/login_icon@2x.png
+0
-0
login_icon@3x.png
...sets.xcassets/Login/login_icon.imageset/login_icon@3x.png
+0
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience(工作经验)/V/YHWorkExperienceItemView.swift
View file @
c7451495
...
@@ -142,7 +142,7 @@ class YHWorkExperienceItemView: UIView {
...
@@ -142,7 +142,7 @@ class YHWorkExperienceItemView: UIView {
button
.
setImage
(
UIImage
(
named
:
"main_time_normal"
),
for
:
.
normal
)
button
.
setImage
(
UIImage
(
named
:
"main_time_normal"
),
for
:
.
normal
)
button
.
setImage
(
UIImage
(
named
:
"main_time_select"
),
for
:
.
selected
)
button
.
setImage
(
UIImage
(
named
:
"main_time_select"
),
for
:
.
selected
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
setTitle
(
"
长期
"
,
for
:
.
normal
)
button
.
setTitle
(
"
至今
"
,
for
:
.
normal
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
button
.
contentHorizontalAlignment
=
.
right
button
.
contentHorizontalAlignment
=
.
right
button
.
addTarget
(
self
,
action
:
#selector(
longTimeButtonClick
)
,
for
:
.
touchUpInside
)
button
.
addTarget
(
self
,
action
:
#selector(
longTimeButtonClick
)
,
for
:
.
touchUpInside
)
...
@@ -162,7 +162,7 @@ class YHWorkExperienceItemView: UIView {
...
@@ -162,7 +162,7 @@ class YHWorkExperienceItemView: UIView {
@objc
func
longTimeButtonClick
()
{
@objc
func
longTimeButtonClick
()
{
longTimeButton
.
isSelected
=
!
longTimeButton
.
isSelected
longTimeButton
.
isSelected
=
!
longTimeButton
.
isSelected
if
longTimeButton
.
isSelected
{
if
longTimeButton
.
isSelected
{
self
.
dataSource
?
.
message
=
"
长期
"
self
.
dataSource
?
.
message
=
"
至今
"
self
.
updateAllViews
()
self
.
updateAllViews
()
if
let
block
=
self
.
block
{
if
let
block
=
self
.
block
{
block
(
self
.
dataSource
??
YHWorkExperienceModel
())
block
(
self
.
dataSource
??
YHWorkExperienceModel
())
...
@@ -284,7 +284,7 @@ class YHWorkExperienceItemView: UIView {
...
@@ -284,7 +284,7 @@ class YHWorkExperienceItemView: UIView {
if
dataSource
.
id
==
.
id10
||
dataSource
.
id
==
.
id22
{
if
dataSource
.
id
==
.
id10
||
dataSource
.
id
==
.
id22
{
longTimeButton
.
isHidden
=
false
longTimeButton
.
isHidden
=
false
nextStepImageView
.
isHidden
=
true
nextStepImageView
.
isHidden
=
true
if
dataSource
.
message
==
"
长期
"
{
if
dataSource
.
message
==
"
至今
"
{
longTimeButton
.
isSelected
=
true
longTimeButton
.
isSelected
=
true
longTimeButton
.
snp
.
remakeConstraints
{
make
in
longTimeButton
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
equalTo
(
messageTextField
.
snp
.
left
)
make
.
left
.
equalTo
(
messageTextField
.
snp
.
left
)
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHPhoneLoginViewController.swift
View file @
c7451495
...
@@ -69,7 +69,9 @@ class YHPhoneLoginViewController: YHBaseViewController {
...
@@ -69,7 +69,9 @@ class YHPhoneLoginViewController: YHBaseViewController {
logImageView
=
{
logImageView
=
{
let
imageView
=
UIImageView
()
let
imageView
=
UIImageView
()
imageView
.
image
=
UIImage
(
named
:
"login_phone_log_image"
)
imageView
.
image
=
UIImage
(
named
:
"login_icon"
)
imageView
.
layer
.
masksToBounds
=
true
imageView
.
layer
.
cornerRadius
=
kCornerRadius8
return
imageView
return
imageView
}()
}()
view
.
addSubview
(
logImageView
)
view
.
addSubview
(
logImageView
)
...
...
galaxy/galaxy/Res/Assets.xcassets/Login/login_icon.imageset/Contents.json
0 → 100644
View file @
c7451495
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"login_icon@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"login_icon@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/Login/login_icon.imageset/login_icon@2x.png
0 → 100644
View file @
c7451495
5.27 KB
galaxy/galaxy/Res/Assets.xcassets/Login/login_icon.imageset/login_icon@3x.png
0 → 100644
View file @
c7451495
7.59 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