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
4b0f09f8
Commit
4b0f09f8
authored
Aug 22, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 赴港办证预约
parent
8fa3be52
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
63 additions
and
28 deletions
+63
-28
YHCertificateAppointViewController.swift
...cate(3 赴港办证预约)/C/YHCertificateAppointViewController.swift
+1
-1
YHGrabFileCell.swift
...(办证段)/AppointCertificate(3 赴港办证预约)/V/YHGrabFileCell.swift
+5
-1
YHGrabNumberInfoView.swift
...AppointCertificate(3 赴港办证预约)/V/YHGrabNumberInfoView.swift
+3
-1
YHGrabingNumberListCell.swift
...ointCertificate(3 赴港办证预约)/V/YHGrabingNumberListCell.swift
+51
-22
YHHaveGrabbedNumberListCell.swift
...Certificate(3 赴港办证预约)/V/YHHaveGrabbedNumberListCell.swift
+2
-2
YHMyViewController.swift
...alaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/C/YHCertificateAppointViewController.swift
View file @
4b0f09f8
...
...
@@ -247,7 +247,7 @@ extension YHCertificateAppointViewController: UITableViewDelegate, UITableViewDa
if
item
.
type
==
.
grabingNumberBatch
{
// 赴港办理抢号中批次
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHGrabingNumberListCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHGrabingNumberListCell
cell
.
listArr
=
self
.
waitList
return
cell
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/V/YHGrabFileCell.swift
View file @
4b0f09f8
...
...
@@ -12,7 +12,7 @@ class YHGrabFileCell: UICollectionViewCell {
static
let
cellReuseIdentifier
=
"YHGrabFileCell"
lazy
var
select
ImgView
:
UIImageView
=
{
lazy
var
file
ImgView
:
UIImageView
=
{
let
view
=
UIImageView
(
image
:
UIImage
(
named
:
""
))
return
view
}()
...
...
@@ -30,5 +30,9 @@ class YHGrabFileCell: UICollectionViewCell {
self
.
layer
.
cornerRadius
=
5.0
self
.
layer
.
borderWidth
=
0.5
self
.
layer
.
borderColor
=
UIColor
.
init
(
hex
:
0xD8D8D8
)
.
cgColor
self
.
addSubview
(
fileImgView
)
fileImgView
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalToSuperview
()
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/V/YHGrabNumberInfoView.swift
View file @
4b0f09f8
...
...
@@ -89,8 +89,10 @@ class YHGrabNumberInfoItemView: UIView {
make
.
height
.
equalTo
(
0
)
}
}
self
.
setNeedsLayout
()
self
.
layoutIfNeeded
()
}
lazy
var
dotView
:
UIView
=
{
...
...
@@ -267,7 +269,7 @@ extension YHGrabNumberInfoItemView: UICollectionViewDelegate, UICollectionViewDa
func
collectionView
(
_
collectionView
:
UICollectionView
,
cellForItemAt
indexPath
:
IndexPath
)
->
UICollectionViewCell
{
let
cell
=
collectionView
.
dequeueReusableCell
(
withReuseIdentifier
:
YHGrabFileCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHGrabFileCell
if
0
<=
indexPath
.
item
&&
indexPath
.
item
<
item
.
files
.
count
{
let
applicant
=
item
.
files
[
indexPath
.
item
]
let
url
=
item
.
files
[
indexPath
.
item
]
}
return
cell
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/V/YHGrabingNumberListCell.swift
View file @
4b0f09f8
...
...
@@ -11,8 +11,48 @@ import UIKit
class
YHGrabingNumberListCell
:
UITableViewCell
{
static
let
cellReuseIdentifier
=
"YHGrabingNumberListCell"
var
listArr
:
[
YHAppointMemberGroupModel
]
=
[]
{
didSet
{
listContainView
.
removeSubviews
()
var
lastView
:
YHHaveGrabbedNumberInfoView
?
=
nil
for
(
index
,
group
)
in
listArr
.
enumerated
()
{
let
listView
=
YHHaveGrabbedNumberInfoView
(
frame
:
.
zero
)
let
chineseNum
=
convertNumberToChineseText
(
index
+
1
)
listView
.
titleLabel
.
text
=
"第
\(
chineseNum
)
批"
listView
.
membersLabel
.
text
=
"成员:
\(
group
.
getMemberNames
()
)
"
// 抢号信息
let
items1
=
[
YHGrabItem
(
type
:
.
grab
,
title
:
"赴港时间:"
,
detail
:
"抢号中"
),
YHGrabItem
(
type
:
.
grab
,
title
:
"香港入境处:"
,
detail
:
"抢号中"
),
YHGrabItem
(
type
:
.
grab
,
title
:
"抢号反馈回执:"
,
detail
:
"抢号中"
),]
listView
.
grabInfoView
.
updateItems
(
items1
)
// 意向信息
let
items2
=
[
YHGrabItem
(
type
:
.
info
,
title
:
"期望赴港时间:"
,
detail
:
"
\(
group
.
wantMinTime
)
~
\(
group
.
wantMaxTime
)
"
),
YHGrabItem
(
type
:
.
info
,
title
:
"期望香港办证点:"
,
detail
:
group
.
wantImmigrationOffice
)]
listView
.
intentionInfoView
.
updateItems
(
items2
)
var
items
:[
String
]
=
[
""
,
""
]
listContainView
.
addSubview
(
listView
)
listView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
18
)
make
.
right
.
equalTo
(
-
18
)
if
let
last
=
lastView
{
make
.
top
.
equalTo
(
last
.
snp
.
bottom
)
.
offset
(
16
)
}
else
{
make
.
top
.
equalTo
(
listContainView
.
snp
.
top
)
}
if
index
==
listArr
.
count
-
1
{
make
.
bottom
.
equalTo
(
-
16
)
}
}
lastView
=
listView
}
self
.
setNeedsLayout
()
self
.
layoutIfNeeded
()
}
}
lazy
var
whiteContentView
:
UIView
=
{
let
view
=
UIView
()
...
...
@@ -36,6 +76,11 @@ class YHGrabingNumberListCell: UITableViewCell {
return
label
}()
lazy
var
listContainView
:
UIView
=
{
let
view
=
UIView
()
return
view
}()
required
init
?(
coder
:
NSCoder
)
{
super
.
init
(
coder
:
coder
)
}
...
...
@@ -53,6 +98,8 @@ class YHGrabingNumberListCell: UITableViewCell {
contentView
.
addSubview
(
whiteContentView
)
whiteContentView
.
addSubview
(
titleLabel
)
whiteContentView
.
addSubview
(
lineView
)
whiteContentView
.
addSubview
(
listContainView
)
whiteContentView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
16
)
...
...
@@ -73,27 +120,9 @@ class YHGrabingNumberListCell: UITableViewCell {
make
.
height
.
equalTo
(
0.5
)
}
var
lastView
:
YHGrabingNumberListView
?
=
nil
for
(
index
,
_
)
in
items
.
enumerated
()
{
let
listView
=
YHGrabingNumberListView
(
frame
:
.
zero
)
let
chineseNum
=
convertNumberToChineseText
(
index
+
1
)
listView
.
titleLabel
.
text
=
"第
\(
chineseNum
)
批"
listView
.
membersLabel
.
text
=
"成员:刘德华德成员:刘德华德、刘德华德、刘德华德、刘德华德、刘德华德、刘德华德、刘德华德、刘德华德、刘德华德"
whiteContentView
.
addSubview
(
listView
)
listView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
18
)
make
.
right
.
equalTo
(
-
18
)
if
let
last
=
lastView
{
make
.
top
.
equalTo
(
last
.
snp
.
bottom
)
}
else
{
make
.
top
.
equalTo
(
lineView
.
snp
.
bottom
)
}
if
index
==
items
.
count
-
1
{
make
.
bottom
.
equalTo
(
-
16
)
}
}
lastView
=
listView
listContainView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
lineView
.
snp
.
bottom
)
.
offset
(
0
)
make
.
left
.
right
.
bottom
.
equalToSuperview
()
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AppointCertificate(3 赴港办证预约)/V/YHHaveGrabbedNumberListCell.swift
View file @
4b0f09f8
...
...
@@ -29,7 +29,7 @@ class YHHaveGrabbedNumberListCell: UITableViewCell {
listView
.
grabInfoView
.
updateItems
(
items1
)
// 意向信息
let
items2
=
[
YHGrabItem
(
type
:
.
info
,
title
:
"期望赴港时间:"
,
detail
:
"
\(
group
.
wantMinTime
)
-
\(
group
.
wantMaxTime
)
"
),
let
items2
=
[
YHGrabItem
(
type
:
.
info
,
title
:
"期望赴港时间:"
,
detail
:
"
\(
group
.
wantMinTime
)
~
\(
group
.
wantMaxTime
)
"
),
YHGrabItem
(
type
:
.
info
,
title
:
"期望香港办证点:"
,
detail
:
group
.
wantImmigrationOffice
)]
listView
.
intentionInfoView
.
updateItems
(
items2
)
...
...
@@ -38,7 +38,7 @@ class YHHaveGrabbedNumberListCell: UITableViewCell {
make
.
left
.
equalTo
(
18
)
make
.
right
.
equalTo
(
-
18
)
if
let
last
=
lastView
{
make
.
top
.
equalTo
(
last
.
snp
.
bottom
)
make
.
top
.
equalTo
(
last
.
snp
.
bottom
)
.
offset
(
16
)
}
else
{
make
.
top
.
equalTo
(
listContainView
.
snp
.
top
)
}
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyViewController.swift
View file @
4b0f09f8
...
...
@@ -355,7 +355,7 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
// }
let
vc
=
YHCertificateAppointViewController
()
vc
.
orderId
=
1510
90
vc
.
orderId
=
1510
85
self
.
navigationController
?
.
pushViewController
(
vc
)
return
}
...
...
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