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
53f76bd5
Commit
53f76bd5
authored
May 29, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Plain Diff
no message
parents
c5f4c204
e238acf2
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
46 additions
and
24 deletions
+46
-24
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+3
-3
YHFormItemExpireDateCell.swift
...程)/FamilyMember(家庭成员信息表)/V/YHFormItemExpireDateCell.swift
+1
-1
YHWorkExperienceItemView.swift
...流程)/WorkExperience(工作经验)/V/YHWorkExperienceItemView.swift
+2
-1
YHInformationFillTipsAlertView.swift
...igentService(服务中心)/V/YHInformationFillTipsAlertView.swift
+1
-1
YHCodeSueecssWithVideoBkgViewController.swift
...Login(登录)/C/YHCodeSueecssWithVideoBkgViewController.swift
+32
-16
YHLoginPrivacyView.swift
...laxy/Classes/Modules/Login(登录)/V/YHLoginPrivacyView.swift
+5
-0
Rectangle 2490@2x.png
...gin/login_privacy_disagree.imageset/Rectangle 2490@2x.png
+0
-0
Rectangle 2490@3x.png
...gin/login_privacy_disagree.imageset/Rectangle 2490@3x.png
+0
-0
Contents.json
.../Login/login_privacy_disagree_grey.imageset/Contents.json
+0
-0
Rectangle 2490@2x.png
...ogin_privacy_disagree_grey.imageset/Rectangle 2490@2x.png
+0
-0
Rectangle 2490@3x.png
...ogin_privacy_disagree_grey.imageset/Rectangle 2490@3x.png
+0
-0
Contents.json
...r/主申请人/service_card_passport_frant.imageset/Contents.json
+2
-2
港澳通行证@2x.png
...er/主申请人/service_card_passport_frant.imageset/港澳通行证@2x.png
+0
-0
港澳通行证@3x.png
...er/主申请人/service_card_passport_frant.imageset/港澳通行证@3x.png
+0
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
53f76bd5
...
@@ -3189,7 +3189,7 @@
...
@@ -3189,7 +3189,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxyTestEnv.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxyTestEnv.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
5
;
CURRENT_PROJECT_VERSION
=
6
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
@@ -3393,7 +3393,7 @@
...
@@ -3393,7 +3393,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxyDebug.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxyDebug.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
5
;
CURRENT_PROJECT_VERSION
=
6
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
@@ -3439,7 +3439,7 @@
...
@@ -3439,7 +3439,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxy.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxy.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
5
;
CURRENT_PROJECT_VERSION
=
6
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员信息表)/V/YHFormItemExpireDateCell.swift
View file @
53f76bd5
...
@@ -89,7 +89,7 @@ class YHFormItemExpireDateCell: UITableViewCell {
...
@@ -89,7 +89,7 @@ class YHFormItemExpireDateCell: UITableViewCell {
btn
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
btn
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
btn
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
btn
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
btn
.
iconInLeft
(
spacing
:
6
)
btn
.
iconInLeft
(
spacing
:
6
)
let
unselectImg
=
UIImage
(
named
:
"login_privacy_disagree"
)
let
unselectImg
=
UIImage
(
named
:
"login_privacy_disagree
_white
"
)
let
selectImg
=
UIImage
(
named
:
"login_privacy_agree"
)
let
selectImg
=
UIImage
(
named
:
"login_privacy_agree"
)
btn
.
setImage
(
unselectImg
,
for
:
.
normal
)
btn
.
setImage
(
unselectImg
,
for
:
.
normal
)
btn
.
setImage
(
selectImg
,
for
:
.
selected
)
btn
.
setImage
(
selectImg
,
for
:
.
selected
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/V/YHWorkExperienceItemView.swift
View file @
53f76bd5
...
@@ -149,10 +149,11 @@ class YHWorkExperienceItemView: UIView {
...
@@ -149,10 +149,11 @@ class YHWorkExperienceItemView: UIView {
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
)
button
.
imageEdgeInsets
=
UIEdgeInsets
(
top
:
10
,
left
:
0
,
bottom
:
10
,
right
:
30
)
//
button.imageEdgeInsets = UIEdgeInsets(top: 10, left: 0, bottom: 10, right: 30)
button
.
isSelected
=
false
button
.
isSelected
=
false
return
button
return
button
}()
}()
addSubview
(
longTimeButton
)
addSubview
(
longTimeButton
)
longTimeButton
.
snp
.
makeConstraints
{
make
in
longTimeButton
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalToSuperview
()
make
.
right
.
equalToSuperview
()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHInformationFillTipsAlertView.swift
View file @
53f76bd5
...
@@ -186,7 +186,7 @@ class YHInformationFillTipsAlertView: UIView {
...
@@ -186,7 +186,7 @@ class YHInformationFillTipsAlertView: UIView {
}
}
let
selectedBtn
=
UIButton
(
type
:
.
custom
)
let
selectedBtn
=
UIButton
(
type
:
.
custom
)
selectedBtn
.
setImage
(
UIImage
(
named
:
"login_privacy_disagree"
),
for
:
.
normal
)
selectedBtn
.
setImage
(
UIImage
(
named
:
"login_privacy_disagree
_grey
"
),
for
:
.
normal
)
selectedBtn
.
setImage
(
UIImage
(
named
:
"login_privacy_agree"
),
for
:
.
selected
)
selectedBtn
.
setImage
(
UIImage
(
named
:
"login_privacy_agree"
),
for
:
.
selected
)
selectedBtn
.
addTarget
(
self
,
action
:
#selector(
onClickAgree
)
,
for
:
.
touchUpInside
)
selectedBtn
.
addTarget
(
self
,
action
:
#selector(
onClickAgree
)
,
for
:
.
touchUpInside
)
footer
.
addSubview
(
selectedBtn
)
footer
.
addSubview
(
selectedBtn
)
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHCodeSueecssWithVideoBkgViewController.swift
View file @
53f76bd5
...
@@ -25,6 +25,8 @@ class YHCodeSueecssWithVideoBkgViewController: YHBaseViewController {
...
@@ -25,6 +25,8 @@ class YHCodeSueecssWithVideoBkgViewController: YHBaseViewController {
var
phoneNumber
:
String
?
var
phoneNumber
:
String
?
var
viewModel
:
YHLoginViewModel
?
var
viewModel
:
YHLoginViewModel
?
private
var
isRequestFlag
:
Bool
=
false
override
func
viewDidLoad
()
{
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
super
.
viewDidLoad
()
setView
()
setView
()
...
@@ -50,6 +52,11 @@ class YHCodeSueecssWithVideoBkgViewController: YHBaseViewController {
...
@@ -50,6 +52,11 @@ class YHCodeSueecssWithVideoBkgViewController: YHBaseViewController {
override
var
preferredStatusBarStyle
:
UIStatusBarStyle
{
override
var
preferredStatusBarStyle
:
UIStatusBarStyle
{
return
.
lightContent
return
.
lightContent
}
}
override
func
viewDidDisappear
(
_
animated
:
Bool
)
{
super
.
viewDidDisappear
(
animated
)
isRequestFlag
=
false
}
}
}
...
@@ -89,9 +96,18 @@ extension YHCodeSueecssWithVideoBkgViewController {
...
@@ -89,9 +96,18 @@ extension YHCodeSueecssWithVideoBkgViewController {
}
}
func
requetLogin
(
phone
:
String
,
code
:
String
)
{
func
requetLogin
(
phone
:
String
,
code
:
String
)
{
if
isRequestFlag
{
#if DEBUG
YHHUD
.
flash
(
message
:
"请求已发送"
)
#endif
return
}
isRequestFlag
=
true
YHHUD
.
show
(
.
progress
(
message
:
"登录中..."
))
YHHUD
.
show
(
.
progress
(
message
:
"登录中..."
))
self
.
viewModel
?
.
login
(
phone
:
phone
,
code
:
code
,
callBackBlock
:
{[
weak
self
]
success
,
error
in
self
.
viewModel
?
.
login
(
phone
:
phone
,
code
:
code
,
callBackBlock
:
{[
weak
self
]
success
,
error
in
YHHUD
.
hide
()
YHHUD
.
hide
()
self
?
.
isRequestFlag
=
false
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
if
success
==
false
{
if
success
==
false
{
...
@@ -155,17 +171,17 @@ extension YHCodeSueecssWithVideoBkgViewController {
...
@@ -155,17 +171,17 @@ extension YHCodeSueecssWithVideoBkgViewController {
self
.
navigationController
?
.
popViewController
()
self
.
navigationController
?
.
popViewController
()
}
}
func
setupFrontUI
()
{
func
setupFrontUI
()
{
// bgImageView = {
// bgImageView = {
// let imageView = UIImageView()
// let imageView = UIImageView()
// imageView.image = UIImage(named: "login_phone_bg_image")
// imageView.image = UIImage(named: "login_phone_bg_image")
// imageView.isUserInteractionEnabled = true
// imageView.isUserInteractionEnabled = true
// return imageView
// return imageView
// }()
// }()
// view.addSubview(bgImageView)
// view.addSubview(bgImageView)
// bgImageView.snp.makeConstraints { make in
// bgImageView.snp.makeConstraints { make in
// make.left.right.top.equalTo(view)
// make.left.right.top.equalTo(view)
// make.height.equalTo(300)
// make.height.equalTo(300)
// }
// }
view
.
addSubview
(
frontHoldView
)
view
.
addSubview
(
frontHoldView
)
frontHoldView
.
snp
.
makeConstraints
{
make
in
frontHoldView
.
snp
.
makeConstraints
{
make
in
...
@@ -174,7 +190,7 @@ extension YHCodeSueecssWithVideoBkgViewController {
...
@@ -174,7 +190,7 @@ extension YHCodeSueecssWithVideoBkgViewController {
closeButton
=
{
closeButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
let
button
=
UIButton
(
type
:
.
custom
)
// button.setImage(UIImage(named: "login_back"), for: .normal)
// button.setImage(UIImage(named: "login_back"), for: .normal)
button
.
setImage
(
UIImage
(
named
:
"back_icon_for_code_input"
),
for
:
.
normal
)
button
.
setImage
(
UIImage
(
named
:
"back_icon_for_code_input"
),
for
:
.
normal
)
button
.
addTarget
(
self
,
action
:
#selector(
close
)
,
for
:
.
touchUpInside
)
button
.
addTarget
(
self
,
action
:
#selector(
close
)
,
for
:
.
touchUpInside
)
return
button
return
button
...
@@ -258,8 +274,8 @@ extension YHCodeSueecssWithVideoBkgViewController {
...
@@ -258,8 +274,8 @@ extension YHCodeSueecssWithVideoBkgViewController {
button
.
layer
.
cornerRadius
=
24
button
.
layer
.
cornerRadius
=
24
button
.
backgroundColor
=
UIColor
.
init
(
hex
:
0xffffff
,
transparency
:
0.4
)
button
.
backgroundColor
=
UIColor
.
init
(
hex
:
0xffffff
,
transparency
:
0.4
)
button
.
clipsToBounds
=
true
button
.
clipsToBounds
=
true
// button.layer.borderWidth = 1
// button.layer.borderWidth = 1
// button.layer.borderColor = UIColor(hex: 0xebeef4).cgColor
// button.layer.borderColor = UIColor(hex: 0xebeef4).cgColor
return
button
return
button
}()
}()
frontHoldView
.
addSubview
(
getCodeLabel
)
frontHoldView
.
addSubview
(
getCodeLabel
)
...
@@ -281,8 +297,8 @@ extension YHCodeSueecssWithVideoBkgViewController {
...
@@ -281,8 +297,8 @@ extension YHCodeSueecssWithVideoBkgViewController {
button
.
layer
.
cornerRadius
=
24
button
.
layer
.
cornerRadius
=
24
button
.
clipsToBounds
=
true
button
.
clipsToBounds
=
true
button
.
backgroundColor
=
UIColor
(
hex
:
0xffffff
,
alpha
:
1.0
)
button
.
backgroundColor
=
UIColor
(
hex
:
0xffffff
,
alpha
:
1.0
)
// button.layer.borderWidth = 1
// button.layer.borderWidth = 1
// button.layer.borderColor = UIColor(hex: 0xebeef4).cgColor
// button.layer.borderColor = UIColor(hex: 0xebeef4).cgColor
return
button
return
button
}()
}()
frontHoldView
.
addSubview
(
getCodeButton
)
frontHoldView
.
addSubview
(
getCodeButton
)
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/V/YHLoginPrivacyView.swift
View file @
53f76bd5
...
@@ -32,8 +32,13 @@ class YHLoginPrivacyView: UIView {
...
@@ -32,8 +32,13 @@ class YHLoginPrivacyView: UIView {
func
setView
()
{
func
setView
()
{
agreeButton
=
{
agreeButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
let
button
=
UIButton
(
type
:
.
custom
)
<<<<<<<
HEAD
button
.
setBackgroundImage
(
UIImage
(
named
:
"login_privacy_disagree_glay"
),
for
:
.
normal
)
button
.
setBackgroundImage
(
UIImage
(
named
:
"login_privacy_disagree_glay"
),
for
:
.
normal
)
button
.
setBackgroundImage
(
UIImage
(
named
:
"login_privacy_agree"
),
for
:
.
selected
)
button
.
setBackgroundImage
(
UIImage
(
named
:
"login_privacy_agree"
),
for
:
.
selected
)
=======
button
.
setBackgroundImage
(
UIImage
(
named
:
"login_privacy_disagree_white"
),
for
:
.
normal
)
button
.
setBackgroundImage
(
UIImage
(
named
:
"login_privacy_agree_white"
),
for
:
.
selected
)
>>>>>>>
main
button
.
addTarget
(
self
,
action
:
#selector(
agreeClick
)
,
for
:
.
touchUpInside
)
button
.
addTarget
(
self
,
action
:
#selector(
agreeClick
)
,
for
:
.
touchUpInside
)
return
button
return
button
}()
}()
...
...
galaxy/galaxy/Res/Assets.xcassets/Login/login_privacy_disagree.imageset/Rectangle 2490@2x.png
deleted
100644 → 0
View file @
c5f4c204
242 Bytes
galaxy/galaxy/Res/Assets.xcassets/Login/login_privacy_disagree.imageset/Rectangle 2490@3x.png
deleted
100644 → 0
View file @
c5f4c204
326 Bytes
galaxy/galaxy/Res/Assets.xcassets/Login/login_privacy_disagree.imageset/Contents.json
→
galaxy/galaxy/Res/Assets.xcassets/Login/login_privacy_disagree
_grey
.imageset/Contents.json
View file @
53f76bd5
File moved
galaxy/galaxy/Res/Assets.xcassets/Login/login_privacy_disagree_grey.imageset/Rectangle 2490@2x.png
0 → 100644
View file @
53f76bd5
587 Bytes
galaxy/galaxy/Res/Assets.xcassets/Login/login_privacy_disagree_grey.imageset/Rectangle 2490@3x.png
0 → 100644
View file @
53f76bd5
864 Bytes
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/主申请人/service_card_passport_frant.imageset/Contents.json
View file @
53f76bd5
...
@@ -5,12 +5,12 @@
...
@@ -5,12 +5,12 @@
"scale"
:
"1x"
"scale"
:
"1x"
},
},
{
{
"filename"
:
"
service_card_passport_frant
@2x.png"
,
"filename"
:
"
港澳通行证
@2x.png"
,
"idiom"
:
"universal"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
"scale"
:
"2x"
},
},
{
{
"filename"
:
"
service_card_passport_frant
@3x.png"
,
"filename"
:
"
港澳通行证
@3x.png"
,
"idiom"
:
"universal"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
"scale"
:
"3x"
}
}
...
...
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/主申请人/service_card_passport_frant.imageset/港澳通行证@2x.png
0 → 100644
View file @
53f76bd5
948 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/主申请人/service_card_passport_frant.imageset/港澳通行证@3x.png
0 → 100644
View file @
53f76bd5
This diff is collapsed.
Click to expand it.
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