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
e768c063
Commit
e768c063
authored
Apr 01, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// plan
parent
f301fa55
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
YHPlanPolicyDetailViewController.swift
...Modules/Plan(方案)/C/YHPlanPolicyDetailViewController.swift
+6
-1
YHPlanViewController.swift
...axy/Classes/Modules/Plan(方案)/C/YHPlanViewController.swift
+1
-3
YHMakePlanViewModel.swift
...es/Modules/Plan(方案)/MakePlan/VM/YHMakePlanViewModel.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/Plan(方案)/C/YHPlanPolicyDetailViewController.swift
View file @
e768c063
...
...
@@ -67,10 +67,15 @@ class YHPlanPolicyDetailViewController: YHBaseViewController {
btn
.
setTitleColor
(
.
mainTextColor
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
.
PFSC_M
(
ofSize
:
16
)
btn
.
layer
.
cornerRadius
=
3.0
btn
.
addTarget
(
self
,
action
:
#selector(
di
smiss
)
,
for
:
.
touchUpInside
)
btn
.
addTarget
(
self
,
action
:
#selector(
di
dShareBtnClicked
)
,
for
:
.
touchUpInside
)
return
btn
}()
@objc
func
didShareBtnClicked
()
{
let
view
=
YHPlanLinkShareView
.
alertView
()
view
.
show
()
}
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
...
...
galaxy/galaxy/Classes/Modules/Plan(方案)/C/YHPlanViewController.swift
View file @
e768c063
...
...
@@ -269,8 +269,7 @@ class YHPlanViewController: YHBaseViewController {
lazy
var
policyVieiw
:
YHPlanPolicyCarouselView
=
{
let
v
=
YHPlanPolicyCarouselView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
268
))
v
.
clickBlock
=
{
[
weak
self
]
arr
,
index
in
v
.
clickBlock
=
{
[
weak
self
]
arr
,
index
in
guard
let
self
=
self
else
{
return
}
let
vc
=
YHPlanPolicyDetailViewController
()
vc
.
arr
=
arr
...
...
@@ -282,7 +281,6 @@ class YHPlanViewController: YHBaseViewController {
@objc
func
didRevalueBtnClicked
()
{
YHPlanLinkShareView
.
alertView
()
.
show
()
}
override
func
viewDidLoad
()
{
...
...
galaxy/galaxy/Classes/Modules/Plan(方案)/MakePlan/VM/YHMakePlanViewModel.swift
View file @
e768c063
...
...
@@ -18,7 +18,7 @@ class YHMakePlanViewModel: YHBaseViewModel {
// 1. json字符串 转 对象
guard
self
!=
nil
else
{
return
}
if
json
.
code
==
200
{
guard
let
dic
=
json
.
data
?
.
peel
as?
[
String
:
Any
],
let
data
=
dic
[
"Data"
]
as?
[
String
:
Any
],
let
result
=
YHMakePlanModel
.
deserialize
(
from
:
data
)
else
{
guard
let
dic
=
json
.
data
?
.
peel
as?
[
String
:
Any
],
let
data
=
dic
[
"Data"
]
as?
[
String
:
Any
],
let
result
=
YHMakePlanModel
.
deserialize
(
from
:
data
)
else
{
callBackBlock
(
false
,
nil
)
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