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
99d8d71d
Commit
99d8d71d
authored
Apr 03, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// plan
parent
68987815
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
8 deletions
+7
-8
YHPlanViewController.swift
...axy/Classes/Modules/Plan(方案)/C/YHPlanViewController.swift
+2
-3
YHMakePlanViewController.swift
...odules/Plan(方案)/MakePlan/C/YHMakePlanViewController.swift
+2
-2
YHPlanAnalyzeInfoCell.swift
...xy/Classes/Modules/Plan(方案)/V/YHPlanAnalyzeInfoCell.swift
+1
-1
YHPlanProductListView.swift
...xy/Classes/Modules/Plan(方案)/V/YHPlanProductListView.swift
+2
-2
No files found.
galaxy/galaxy/Classes/Modules/Plan(方案)/C/YHPlanViewController.swift
View file @
99d8d71d
...
...
@@ -432,7 +432,7 @@ extension YHPlanViewController: UITableViewDelegate, UITableViewDataSource {
return
UITableViewCell
()
}
cell2
.
model
=
analyzeArr
[
indexPath
.
section
-
1
]
cell2
.
clickBlock
=
{
[
weak
self
]
model
in
cell2
.
clickBlock
=
{
[
weak
self
]
_
in
guard
let
self
=
self
else
{
return
}
self
.
enterMakePlanPage
()
}
...
...
@@ -445,8 +445,7 @@ extension YHPlanViewController: UITableViewDelegate, UITableViewDataSource {
return
UITableViewCell
()
}
cell3
.
cases
=
self
.
caseArr
cell3
.
clickBlock
=
{
[
weak
self
]
arr
,
index
in
cell3
.
clickBlock
=
{
[
weak
self
]
arr
,
index
in
guard
let
self
=
self
else
{
return
}
let
vc
=
YHPlanPolicyDetailViewController
()
vc
.
arr
=
arr
...
...
galaxy/galaxy/Classes/Modules/Plan(方案)/MakePlan/C/YHMakePlanViewController.swift
View file @
99d8d71d
...
...
@@ -88,9 +88,9 @@ class YHMakePlanViewController: YHBaseViewController {
}
func
addShopCard
()
{
self
.
viewModel
.
addShopCard
(
model
:
self
.
viewModel
.
makePlanModel
)
{
success
,
error
in
self
.
viewModel
.
addShopCard
(
model
:
self
.
viewModel
.
makePlanModel
)
{
success
,
_
in
if
success
{
//跳转购物车
//
跳转购物车
if
let
token
=
YHLoginManager
.
shared
.
userModel
?
.
token
,
token
.
count
>
5
{
var
url
=
YHBaseUrlManager
.
shared
.
curH5URL
()
+
"superAppBridge.html#/goods/cart"
url
=
url
+
"?param="
+
YHLoginManager
.
shared
.
h5Token
...
...
galaxy/galaxy/Classes/Modules/Plan(方案)/V/YHPlanAnalyzeInfoCell.swift
View file @
99d8d71d
...
...
@@ -63,7 +63,7 @@ class YHPlanAnalyzeInfoCell: UITableViewCell {
static
let
cellReuseIdentifier
=
"YHPlanAnalyzeInfoCell"
var
clickBlock
:
((
YHPlanProductModel
)
->
()
)?
var
clickBlock
:
((
YHPlanProductModel
)
->
Void
)?
var
model
=
YHPlanAnalyzeModel
()
{
didSet
{
...
...
galaxy/galaxy/Classes/Modules/Plan(方案)/V/YHPlanProductListView.swift
View file @
99d8d71d
...
...
@@ -10,7 +10,7 @@ import UIKit
class
YHPlanProductItemView
:
UIView
{
var
clickBlock
:
((
YHPlanProductModel
)
->
()
)?
var
clickBlock
:
((
YHPlanProductModel
)
->
Void
)?
var
product
:
YHPlanProductModel
=
YHPlanProductModel
()
{
didSet
{
...
...
@@ -107,7 +107,7 @@ class YHPlanProductItemView: UIView {
class
YHPlanProductListView
:
UIView
{
var
clickBlock
:
((
YHPlanProductModel
)
->
()
)?
var
clickBlock
:
((
YHPlanProductModel
)
->
Void
)?
var
products
:
[
YHPlanProductModel
]
=
[]
{
didSet
{
...
...
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