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
9dafa395
Commit
9dafa395
authored
Mar 18, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部分UI bug修改
parent
065fded0
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
64 additions
and
14 deletions
+64
-14
YHMineSchemeViewController.swift
...)/MyCertificates(我的证书)/C/YHMineSchemeViewController.swift
+6
-2
YHAddressPickView.swift
...rmation(主申请人信息)/V/YHAddressPicker/YHAddressPickView.swift
+14
-2
YHCardExampleView.swift
...ainApplicantInformation(主申请人信息)/V/YHCardExampleView.swift
+1
-0
YHImagePickerView.swift
...ainApplicantInformation(主申请人信息)/V/YHImagePickerView.swift
+2
-2
YHItemView.swift
...信息流程)/MainApplicantInformation(主申请人信息)/V/YHItemView.swift
+6
-0
YHMainApplicantInformationViewModel.swift
...tion(主申请人信息)/VM/YHMainApplicantInformationViewModel.swift
+1
-1
YHImageResultViewController.swift
.../WorkExperience(工作经验)/C/YHImageResultViewController.swift
+1
-1
YHWorkExperienceItemView.swift
...流程)/WorkExperience(工作经验)/V/YHWorkExperienceItemView.swift
+6
-0
YHServiceCenterMainViewModel.swift
...ligentService(服务中心)/VM/YHServiceCenterMainViewModel.swift
+6
-6
Contents.json
...s/ServiceCenter/我的评分/my_scheme_nav.imageset/Contents.json
+21
-0
my_scheme_nav.png
...rviceCenter/我的评分/my_scheme_nav.imageset/my_scheme_nav.png
+0
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YHMineSchemeViewController.swift
View file @
9dafa395
...
...
@@ -16,8 +16,12 @@ class YHMineSchemeViewController: YHBaseViewController {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
// Do any additional setup after loading the view.
gk_navBackgroundImage
=
UIImage
(
named
:
"my_scheme_nav"
)
gk_darkNavBackgroundImage
=
UIImage
(
named
:
"my_scheme_nav"
)
gk_navShadowImage
=
UIImage
(
named
:
"my_scheme_nav"
)
gk_darkNavShadowImage
=
UIImage
(
named
:
"my_scheme_nav"
)
gk_backImage
=
UIImage
(
named
:
"my_scheme_nav"
)
gk_darkBackImage
=
UIImage
(
named
:
"my_scheme_nav"
)
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/MainApplicantInformation(主申请人信息)/V/YHAddressPicker/YHAddressPickView.swift
View file @
9dafa395
...
...
@@ -125,7 +125,7 @@ class YHAddressPickView: UIView {
return
button
}()
private
let
leftLabel
:
UILabel
=
{
let
label
=
UILabel
(
frame
:
CGRect
(
x
:
24
,
y
:
5
2
,
width
:
100
,
height
:
18
))
let
label
=
UILabel
(
frame
:
CGRect
(
x
:
24
,
y
:
6
2
,
width
:
100
,
height
:
18
))
label
.
text
=
"已选择"
label
.
textColor
=
UIColor
.
mainTextColor
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
...
...
@@ -158,7 +158,7 @@ class YHAddressPickView: UIView {
private
var
titleSV
:
UIScrollView
!
/// titleSV上button下的滚动线
// private var underLine = UIView()
private
var
tableView
=
UITableView
(
frame
:
CGRect
(
x
:
0
,
y
:
5
2
,
width
:
UIScreen
.
main
.
bounds
.
width
,
height
:
526
))
private
var
tableView
=
UITableView
(
frame
:
CGRect
(
x
:
0
,
y
:
6
2
,
width
:
UIScreen
.
main
.
bounds
.
width
,
height
:
526
))
init
(
frame
:
CGRect
,
selectColor
:
UIColor
,
selectedProvince
:
String
?
=
nil
,
selectedCity
:
String
?
=
nil
)
{
self
.
selectColor
=
selectColor
...
...
@@ -176,6 +176,18 @@ class YHAddressPickView: UIView {
buildTitleScrollView
()
drawTableView
()
self
.
addSubview
(
titleLabel
)
let
lineView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
UIColor
.
separatorColor
return
view
}()
addSubview
(
lineView
)
lineView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
21
)
make
.
top
.
equalTo
(
52
)
make
.
height
.
equalTo
(
1
)
make
.
right
.
equalTo
(
-
21
)
}
self
.
addSubview
(
rightCancelButton
)
rightCancelButton
.
addTarget
(
self
,
action
:
#selector(
onClickCancelButton
)
,
for
:
.
touchUpInside
)
self
.
addSubview
(
leftLabel
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/MainApplicantInformation(主申请人信息)/V/YHCardExampleView.swift
View file @
9dafa395
...
...
@@ -80,6 +80,7 @@ class YHCardExampleView: UIView {
centerView
.
addSubview
(
titleLabel
)
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
21
)
make
.
right
.
equalTo
(
-
21
)
make
.
height
.
equalTo
(
21
)
make
.
top
.
equalTo
(
16
)
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/MainApplicantInformation(主申请人信息)/V/YHImagePickerView.swift
View file @
9dafa395
...
...
@@ -54,7 +54,7 @@ class YHImagePickerView: UIView {
centerView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
16
view
.
layer
.
cornerRadius
=
kCornerRadius8
return
view
}()
addSubview
(
centerView
)
...
...
@@ -68,7 +68,7 @@ class YHImagePickerView: UIView {
label
.
text
=
"请选择上传方式"
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
17
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
center
return
label
}()
centerView
.
addSubview
(
titleLabel
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/MainApplicantInformation(主申请人信息)/V/YHItemView.swift
View file @
9dafa395
...
...
@@ -486,6 +486,12 @@ extension YHItemView: UITextFieldDelegate {
func
textField
(
_
textField
:
UITextField
,
shouldChangeCharactersIn
range
:
NSRange
,
replacementString
string
:
String
)
->
Bool
{
if
string
.
isEmpty
==
true
{
var
newText
=
(
textField
.
text
!
as
NSString
)
.
replacingCharacters
(
in
:
range
,
with
:
string
)
var
data
=
dataSource
??
YHItemModel
()
data
.
message
=
newText
if
let
block
=
block
{
block
(
data
)
}
return
true
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/MainApplicantInformation(主申请人信息)/VM/YHMainApplicantInformationViewModel.swift
View file @
9dafa395
...
...
@@ -109,7 +109,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
let
section
=
YHSectionItemModel
(
title
:
"主申请人信息"
,
models
:
[
item
,
item1
,
item2
,
item3
,
item4
,
item555
,
item6
,
item7
])
let
item8
=
YHItemModel
(
id
:
.
id29
,
isNeed
:
true
,
title
:
"手机号码"
,
isUserKeyBoard
:
true
,
prompts
:
"请输入"
,
message
:
mainModel
.
mobile
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请输入手机号码"
)
let
item9
=
YHItemModel
(
id
:
.
id30
,
isNeed
:
false
,
title
:
"电子邮箱"
,
isUserKeyBoard
:
true
,
prompts
:
"请输入"
,
message
:
mainModel
.
email
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"
请输入电子邮箱
"
)
let
item9
=
YHItemModel
(
id
:
.
id30
,
isNeed
:
false
,
title
:
"电子邮箱"
,
isUserKeyBoard
:
true
,
prompts
:
"请输入"
,
message
:
mainModel
.
email
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
""
)
let
section1
=
YHSectionItemModel
(
title
:
"联系方式"
,
models
:
[
item8
,
item9
])
let
item10
=
YHItemModel
(
id
:
.
id31
,
isNeed
:
true
,
title
:
"是否办理过"
,
isUserKeyBoard
:
false
,
prompts
:
nil
,
message
:
"
\(
mainModel
.
has_hk_id
)
"
,
leftButtonString
:
"是"
,
rightButtonString
:
"否"
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请选择"
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/C/YHImageResultViewController.swift
View file @
9dafa395
...
...
@@ -42,7 +42,7 @@ class YHImageResultViewController: YHBaseViewController {
let
bottom
=
YHResultBottomView
()
bottom
.
nextblock
=
{[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
YHHUD
.
show
(
.
progress
(
message
:
""
))
YHHUD
.
show
(
.
progress
(
message
:
"
识别中…
"
))
self
.
viewModel
.
uploadImage
(
self
.
img
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
url
=
success
else
{
return
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/V/YHWorkExperienceItemView.swift
View file @
9dafa395
...
...
@@ -477,6 +477,12 @@ extension YHWorkExperienceItemView: UITextFieldDelegate {
func
textField
(
_
textField
:
UITextField
,
shouldChangeCharactersIn
range
:
NSRange
,
replacementString
string
:
String
)
->
Bool
{
if
string
.
isEmpty
==
true
{
let
newText
=
(
textField
.
text
!
as
NSString
)
.
replacingCharacters
(
in
:
range
,
with
:
string
)
var
data
=
dataSource
??
YHWorkExperienceModel
()
data
.
message
=
newText
if
let
block
=
block
{
block
(
data
)
}
return
true
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/VM/YHServiceCenterMainViewModel.swift
View file @
9dafa395
...
...
@@ -173,14 +173,14 @@ extension YHServiceCenterMainViewModel {
arrContactStausItmes
.
append
(
model5
)
// }
if
resultModel
.
scheme_position_switch
==
1
{
//
if resultModel.scheme_position_switch == 1 {
//我的方案
let
model
5
=
YHContactMainItemStatusModel
()
model
5
.
type
=
6
model
5
.
isFinished
=
true
arrContactStausItmes
.
append
(
model
5
)
let
model
6
=
YHContactMainItemStatusModel
()
model
6
.
type
=
6
model
6
.
isFinished
=
true
arrContactStausItmes
.
append
(
model
6
)
}
//
}
}
else
{
let
model
=
YHContactMainItemStatusModel
()
...
...
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的评分/my_scheme_nav.imageset/Contents.json
0 → 100644
View file @
9dafa395
{
"images"
:
[
{
"filename"
:
"my_scheme_nav.png"
,
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/我的评分/my_scheme_nav.imageset/my_scheme_nav.png
0 → 100644
View file @
9dafa395
58 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