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
a37a5a29
Commit
a37a5a29
authored
Apr 08, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// UI
parent
729c8a26
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
YHPlanShareViewController.swift
...lasses/Modules/Plan(方案)/C/YHPlanShareViewController.swift
+2
-0
YHPlanViewController.swift
...axy/Classes/Modules/Plan(方案)/C/YHPlanViewController.swift
+7
-3
YHPlanAnalyzeInfoCell.swift
...xy/Classes/Modules/Plan(方案)/V/YHPlanAnalyzeInfoCell.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/Plan(方案)/C/YHPlanShareViewController.swift
View file @
a37a5a29
...
...
@@ -143,7 +143,9 @@ class YHPlanShareViewController: YHBaseViewController {
let
fileName
=
destinationURL
.
lastPathComponent
let
fileExtension
=
destinationURL
.
pathExtension
YHShareManager
.
shared
.
shareFileToWeChat
(
fileUrl
:
destinationURL
,
filename
:
fileName
,
ext
:
fileExtension
)
return
}
YHHUD
.
flash
(
message
:
"请先点击保存PDF"
)
}
else
if
eventType
==
.
saveImg
{
...
...
galaxy/galaxy/Classes/Modules/Plan(方案)/C/YHPlanViewController.swift
View file @
a37a5a29
...
...
@@ -587,21 +587,25 @@ extension YHPlanViewController: UIScrollViewDelegate {
let
rect
=
self
.
fakeTableView
.
rectForRow
(
at
:
IndexPath
(
row
:
0
,
section
:
index
))
let
conditon
=
index
==
0
?
fakeTableView
.
contentOffset
.
y
<=
rect
.
origin
.
y
:
fakeTableView
.
contentOffset
.
y
<
rect
.
origin
.
y
-
5
if
conditon
{
if
conditon
,
index
<
infoArr
.
count
-
1
{
find
=
true
let
targetIndex
=
index
-
1
>=
0
?
index
-
1
:
0
self
.
segmented2View
.
defaultSelectedIndex
=
targetIndex
self
.
segmented2View
.
reloadDataWithoutListContainer
()
self
.
segmented1View
.
defaultSelectedIndex
=
targetIndex
self
.
segmented1View
.
reloadDataWithoutListContainer
()
printLog
(
"TargetIndex:
\(
targetIndex
)
"
)
break
}
}
if
!
find
{
self
.
segmented2View
.
defaultSelectedIndex
=
infoArr
.
count
-
1
printLog
(
"TargetIndex:
\(
segmentTitles
.
count
-
1
)
"
)
self
.
segmented2View
.
defaultSelectedIndex
=
segmentTitles
.
count
-
1
self
.
segmented2View
.
reloadDataWithoutListContainer
()
self
.
segmented1View
.
defaultSelectedIndex
=
infoArr
.
count
-
1
self
.
segmented1View
.
defaultSelectedIndex
=
segmentTitles
.
count
-
1
self
.
segmented1View
.
reloadDataWithoutListContainer
()
}
...
...
galaxy/galaxy/Classes/Modules/Plan(方案)/V/YHPlanAnalyzeInfoCell.swift
View file @
a37a5a29
...
...
@@ -14,7 +14,7 @@ class YHPlanAnalyzeInfoView: UIView {
var
desc
:
String
=
""
{
didSet
{
if
desc
.
isEmpty
{
descLabel
.
text
=
"—
—
"
descLabel
.
text
=
"—"
}
else
{
descLabel
.
text
=
desc
}
...
...
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