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
ca623498
Commit
ca623498
authored
Sep 05, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
产品问题走查
parent
41047b33
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
30 additions
and
19 deletions
+30
-19
YHAddAdoptersViewController.swift
...)/AddAdopters(2新增受养人)/C/YHAddAdoptersViewController.swift
+3
-1
YHAdopterNewPeopleViewController.swift
...Adopters(2新增受养人)/C/YHAdopterNewPeopleViewController.swift
+1
-1
YHAdopterOtherViewController.swift
.../AddAdopters(2新增受养人)/C/YHAdopterOtherViewController.swift
+7
-2
YHAdopterCardTableViewCell.swift
...段)/AddAdopters(2新增受养人)/V/YHAdopterCardTableViewCell.swift
+1
-1
YHAdopterIncomeTableViewCell.swift
.../AddAdopters(2新增受养人)/V/YHAdopterIncomeTableViewCell.swift
+1
-1
YHAdopterMarryCardTableViewCell.swift
...dAdopters(2新增受养人)/V/YHAdopterMarryCardTableViewCell.swift
+13
-12
YHAdopterOtherCardTableViewCell.swift
...dAdopters(2新增受养人)/V/YHAdopterOtherCardTableViewCell.swift
+4
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAddAdoptersViewController.swift
View file @
ca623498
...
...
@@ -102,7 +102,9 @@ class YHAddAdoptersViewController: YHBaseViewController {
}
@objc
func
nextStep
()
{
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
let
vc
=
YHCertificateAppointViewController
()
vc
.
orderId
=
orderId
navigationController
?
.
pushViewController
(
vc
)
}
func
showDeleteAlert
(
_
model
:
YHAdopterDependentModel
)
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAdopterNewPeopleViewController.swift
View file @
ca623498
...
...
@@ -139,7 +139,7 @@ class YHAdopterNewPeopleViewController: YHBaseViewController {
}
self
.
stepView
.
currentIndex
=
self
.
stepView
.
currentIndex
+
1
self
.
updateDataSource
()
if
self
.
viewModel
.
mainModel
.
info
.
is_read_agreement
==
0
{
if
self
.
viewModel
.
mainModel
.
info
.
is_read_agreement
==
0
&&
titleText
==
"新增子女"
{
let
view
=
YHAdopterCardOtherGuideView
.
sheetView
()
view
.
ischeckBeforeFlag
=
false
view
.
block
=
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAdopterOtherViewController.swift
View file @
ca623498
...
...
@@ -45,6 +45,8 @@ class YHAdopterOtherViewController: YHBaseViewController {
tableView
.
register
(
cellWithClass
:
YHAdopterOtherCardTableViewCell
.
self
)
tableView
.
register
(
cellWithClass
:
YHAdopterCardExplainTableViewCell
.
self
)
tableView
.
register
(
cellWithClass
:
YHAdopterIncomeFileCountTableViewCell
.
self
)
let
view
=
UIView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
20
))
tableView
.
tableFooterView
=
view
return
tableView
}()
view
.
addSubview
(
tableView
)
...
...
@@ -171,8 +173,11 @@ extension YHAdopterOtherViewController: UITableViewDelegate, UITableViewDataSour
return
84
}
if
indexPath
.
row
==
2
{
let
count
=
urls
.
count
/
2
return
CGFloat
(
173
+
count
*
173
)
var
count
=
urls
.
count
/
2
if
count
>
4
{
count
=
4
}
return
CGFloat
(
173
+
count
*
143
)
}
return
45
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/V/YHAdopterCardTableViewCell.swift
View file @
ca623498
...
...
@@ -115,7 +115,7 @@ class YHAdopterCardTableViewCell: UITableViewCell {
}()
centerView
.
addSubview
(
moreButton
)
moreButton
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalTo
(
titleLabel
.
snp
.
centerY
)
make
.
centerY
.
equalTo
Superview
(
)
make
.
right
.
equalTo
(
-
14
)
make
.
height
.
equalTo
(
20
)
make
.
width
.
equalTo
(
62
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/V/YHAdopterIncomeTableViewCell.swift
View file @
ca623498
...
...
@@ -71,7 +71,7 @@ class YHAdopterIncomeTableViewCell: UITableViewCell {
centerView
.
addSubview
(
titleLabel
)
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
18
)
make
.
top
.
equalTo
(
16
)
make
.
top
.
equalTo
(
23
)
make
.
height
.
equalTo
(
24
)
make
.
right
.
equalTo
(
-
18
)
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/V/YHAdopterMarryCardTableViewCell.swift
View file @
ca623498
...
...
@@ -320,21 +320,22 @@ class YHAdopterMarryCardTableViewCell: UITableViewCell {
}
YHImagePickerView
.
show
()
{[
weak
self
]
image
in
guard
let
self
=
self
else
{
return
}
self
.
third
ImageButton
.
setContent
(
"card_loading"
,
"上传中"
)
self
.
third
ImageButton
.
startRotationAnimation
()
self
.
backSurface
ImageButton
.
setContent
(
"card_loading"
,
"上传中"
)
self
.
backSurface
ImageButton
.
startRotationAnimation
()
self
.
viewModel
.
uploadImage
(
image
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
self
.
third
ImageButton
.
stopRotationAnimation
()
self
.
third
ImageButton
.
setContent
(
""
,
""
)
self
.
backSurface
ImageButton
.
stopRotationAnimation
()
self
.
backSurface
ImageButton
.
setContent
(
""
,
""
)
guard
let
url
=
success
else
{
return
}
self
.
third
ImageButton
.
setBackgroundImage
(
image
,
for
:
.
normal
)
self
.
third
DeleteButton
.
isHidden
=
false
self
.
backSurface
ImageButton
.
setBackgroundImage
(
image
,
for
:
.
normal
)
self
.
backSurface
DeleteButton
.
isHidden
=
false
if
let
block
=
self
.
urlBlock
{
block
(
url
,
1
)
}
}
}
}
@objc
func
thirdImageClick
()
{
...
...
@@ -349,16 +350,16 @@ class YHAdopterMarryCardTableViewCell: UITableViewCell {
}
YHImagePickerView
.
show
()
{[
weak
self
]
image
in
guard
let
self
=
self
else
{
return
}
self
.
backSurface
ImageButton
.
setContent
(
"card_loading"
,
"上传中"
)
self
.
backSurface
ImageButton
.
startRotationAnimation
()
self
.
third
ImageButton
.
setContent
(
"card_loading"
,
"上传中"
)
self
.
third
ImageButton
.
startRotationAnimation
()
self
.
viewModel
.
uploadImage
(
image
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
self
.
backSurface
ImageButton
.
stopRotationAnimation
()
self
.
backSurface
ImageButton
.
setContent
(
""
,
""
)
self
.
third
ImageButton
.
stopRotationAnimation
()
self
.
third
ImageButton
.
setContent
(
""
,
""
)
guard
let
url
=
success
else
{
return
}
self
.
backSurface
ImageButton
.
setBackgroundImage
(
image
,
for
:
.
normal
)
self
.
backSurface
DeleteButton
.
isHidden
=
false
self
.
third
ImageButton
.
setBackgroundImage
(
image
,
for
:
.
normal
)
self
.
third
DeleteButton
.
isHidden
=
false
if
let
block
=
self
.
urlBlock
{
block
(
url
,
2
)
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/V/YHAdopterOtherCardTableViewCell.swift
View file @
ca623498
...
...
@@ -86,8 +86,11 @@ class YHAdopterOtherCardTableViewCell: UITableViewCell {
extension
YHAdopterOtherCardTableViewCell
:
UICollectionViewDelegate
,
UICollectionViewDataSource
{
func
collectionView
(
_
collectionView
:
UICollectionView
,
numberOfItemsInSection
section
:
Int
)
->
Int
{
if
self
.
dataSource
.
count
<
10
{
return
self
.
dataSource
.
count
}
return
10
}
func
collectionView
(
_
collectionView
:
UICollectionView
,
cellForItemAt
indexPath
:
IndexPath
)
->
UICollectionViewCell
{
let
cell
=
collectionView
.
dequeueReusableCell
(
withReuseIdentifier
:
YHAdopterOtherCardCollectionViewCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHAdopterOtherCardCollectionViewCell
...
...
@@ -136,7 +139,7 @@ class YHAdopterOtherCardCollectionViewCell: UICollectionViewCell {
}
var
state
:
Int
=
0
{
didSet
{
if
self
.
state
==
1
||
self
.
state
==
2
{
if
self
.
state
==
1
||
self
.
state
==
3
{
imagePickView
.
state
=
true
}
}
...
...
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