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
799d155a
Commit
799d155a
authored
Apr 03, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// plan
parent
2c22a2cd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
AppDelegate.swift
galaxy/galaxy/AppDelegate.swift
+2
-2
YHMyNewViewController.swift
...xy/Classes/Modules/Mine(我的)/C/YHMyNewViewController.swift
+5
-5
YHPlanShareImageCell.swift
...axy/Classes/Modules/Plan(方案)/V/YHPlanShareImageCell.swift
+1
-1
YHPlanViewModel.swift
.../galaxy/Classes/Modules/Plan(方案)/VM/YHPlanViewModel.swift
+1
-1
No files found.
galaxy/galaxy/AppDelegate.swift
View file @
799d155a
...
...
@@ -156,7 +156,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate {
// 跳转分析
}
}
else
if
iType
==
6
{
}
else
if
iType
==
6
{
// 跳转方案商品
DispatchQueue
.
main
.
asyncAfter
(
deadline
:
.
now
()
+
0.25
)
{
// - 获取它对应的参数
...
...
@@ -168,7 +168,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate {
let
vc
=
YHMakePlanViewController
()
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
}
else
{
}
else
{
printLog
(
"未处理的类型
\(
iType
)
"
)
}
}
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMyNewViewController.swift
View file @
799d155a
...
...
@@ -629,11 +629,11 @@ extension YHMyNewViewController {
func
clickItem
(
_
item
:
PersonalModuleItem
)
{
//
do {
//
let vc = YHPlanViewController()
//
self.navigationController?.pushViewController(vc)
//
return
//
}
do
{
let
vc
=
YHPlanViewController
()
self
.
navigationController
?
.
pushViewController
(
vc
)
return
}
if
!
checkLogin
()
{
return
}
...
...
galaxy/galaxy/Classes/Modules/Plan(方案)/V/YHPlanShareImageCell.swift
View file @
799d155a
...
...
@@ -21,7 +21,7 @@ class YHPlanShareImageCell: UICollectionViewCell {
imgView
.
image
=
UIImage
(
named
:
"global_default_image"
)
}
imgView
.
snp
.
updat
eConstraints
{
make
in
imgView
.
snp
.
remak
eConstraints
{
make
in
make
.
top
.
bottom
.
equalToSuperview
()
make
.
centerX
.
equalToSuperview
()
make
.
width
.
equalTo
(
imgView
.
snp
.
height
)
.
multipliedBy
(
model
.
width
/
model
.
height
)
...
...
galaxy/galaxy/Classes/Modules/Plan(方案)/VM/YHPlanViewModel.swift
View file @
799d155a
...
...
@@ -46,7 +46,7 @@ class YHPlanViewModel: YHBaseViewModel {
// 1. json字符串 转 对象
if
json
.
code
==
200
{
guard
let
dic
=
json
.
data
?
.
peel
as?
[
String
:
Any
],
let
url
=
dic
[
"
image
_url"
]
as?
String
else
{
guard
let
dic
=
json
.
data
?
.
peel
as?
[
String
:
Any
],
let
url
=
dic
[
"
pdf
_url"
]
as?
String
else
{
callBackBlock
(
""
)
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