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
524b8a45
Commit
524b8a45
authored
Apr 08, 2025
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
逻辑修改
parent
b56a3902
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
+21
-3
YHMakePlanViewController.swift
...odules/Plan(方案)/MakePlan/C/YHMakePlanViewController.swift
+5
-0
YHMakePlanCell.swift
.../Classes/Modules/Plan(方案)/MakePlan/V/YHMakePlanCell.swift
+16
-3
No files found.
galaxy/galaxy/Classes/Modules/Plan(方案)/MakePlan/C/YHMakePlanViewController.swift
View file @
524b8a45
...
@@ -189,6 +189,7 @@ extension YHMakePlanViewController: UITableViewDelegate, UITableViewDataSource {
...
@@ -189,6 +189,7 @@ extension YHMakePlanViewController: UITableViewDelegate, UITableViewDataSource {
cell
.
titleLabel
.
text
=
"投资联系提升"
cell
.
titleLabel
.
text
=
"投资联系提升"
}
}
cell
.
dataSource
=
dataSource
cell
.
dataSource
=
dataSource
cell
.
index
=
indexPath
.
row
cell
.
actionHandler
=
{
product
in
cell
.
actionHandler
=
{
product
in
self
.
viewModel
.
makePlanModel
.
toggleAddCartStatus
(
for
:
product
)
self
.
viewModel
.
makePlanModel
.
toggleAddCartStatus
(
for
:
product
)
self
.
updataPrice
()
self
.
updataPrice
()
...
@@ -210,7 +211,11 @@ extension YHMakePlanViewController: UITableViewDelegate, UITableViewDataSource {
...
@@ -210,7 +211,11 @@ extension YHMakePlanViewController: UITableViewDelegate, UITableViewDataSource {
count
=
viewModel
.
makePlanModel
.
invest
.
count
count
=
viewModel
.
makePlanModel
.
invest
.
count
}
}
if
count
==
0
{
if
count
==
0
{
if
indexPath
.
row
==
0
{
return
168
+
32
return
168
+
32
}
else
{
return
188
+
32
}
}
}
return
CGFloat
(
36
+
16
+
118
*
count
)
return
CGFloat
(
36
+
16
+
118
*
count
)
}
}
...
...
galaxy/galaxy/Classes/Modules/Plan(方案)/MakePlan/V/YHMakePlanCell.swift
View file @
524b8a45
...
@@ -14,7 +14,19 @@ class YHMakePlanCell: UITableViewCell {
...
@@ -14,7 +14,19 @@ class YHMakePlanCell: UITableViewCell {
var
titleLabel
:
UILabel
!
var
titleLabel
:
UILabel
!
var
mainItemView
:
UIView
!
var
mainItemView
:
UIView
!
var
country
:
String
=
""
var
country
:
String
=
""
var
index
:
Int
=
0
{
didSet
{
if
index
==
0
{
noDataView
.
tipsLabel
.
text
=
"您已满足续签至永居服务~"
}
else
if
index
==
1
{
noDataView
.
tipsLabel
.
text
=
"暂未推荐香港工作相关产品,详情请咨询您的专属顾问"
}
else
if
index
==
2
{
noDataView
.
tipsLabel
.
text
=
"暂未推荐香港工作相关产品,详情请咨询您的专属顾问"
}
else
if
index
==
3
{
noDataView
.
tipsLabel
.
text
=
"暂未推荐投资相关产品,详情请咨询您的专属顾问"
}
}
}
lazy
var
noDataView
:
YHEmptyDataView
=
{
lazy
var
noDataView
:
YHEmptyDataView
=
{
let
view
=
YHEmptyDataView
.
createView
(
"您已满足续签至永居服务~"
,
kNoPlanBgName
)
let
view
=
YHEmptyDataView
.
createView
(
"您已满足续签至永居服务~"
,
kNoPlanBgName
)
view
.
frame
=
CGRect
(
x
:
0
,
y
:
36
,
width
:
KScreenWidth
-
32
,
height
:
116
)
view
.
frame
=
CGRect
(
x
:
0
,
y
:
36
,
width
:
KScreenWidth
-
32
,
height
:
116
)
...
@@ -27,9 +39,10 @@ class YHMakePlanCell: UITableViewCell {
...
@@ -27,9 +39,10 @@ class YHMakePlanCell: UITableViewCell {
}
}
view
.
tipsLabel
.
snp
.
remakeConstraints
{
make
in
view
.
tipsLabel
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalTo
(
view
.
emptyBgImgV
.
snp
.
bottom
)
make
.
top
.
equalTo
(
view
.
emptyBgImgV
.
snp
.
bottom
)
make
.
heigh
t
.
equalTo
(
20
)
make
.
lef
t
.
equalTo
(
20
)
make
.
centerX
.
equalTo
(
view
)
make
.
right
.
equalTo
(
-
20
)
}
}
view
.
tipsLabel
.
numberOfLines
=
2
return
view
return
view
}()
}()
...
...
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