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
f736ecfc
Commit
f736ecfc
authored
Mar 17, 2025
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码修改
parent
ad207555
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
8 deletions
+10
-8
YHJsApi.swift
...galaxy/Classes/Modules/InteractionH5(与H5交互)/YHJsApi.swift
+2
-2
YHCategoryDropdownView.swift
...ules/LivestreamSales(直播销售)/V/YHCategoryDropdownView.swift
+3
-1
YHValidateCodeInputView.swift
...Classes/Modules/Login(登录)/V/YHValidateCodeInputView.swift
+2
-2
YHSmsCodeInputView.swift
...asses/Modules/Login(登录)/V/验证码输入框/YHSmsCodeInputView.swift
+1
-1
YHMessageDetailListVC.swift
...Classes/Modules/Message(消息)/C/YHMessageDetailListVC.swift
+2
-2
No files found.
galaxy/galaxy/Classes/Modules/InteractionH5(与H5交互)/YHJsApi.swift
View file @
f736ecfc
...
...
@@ -701,9 +701,9 @@ extension YHJsApi {
let
tmpT
=
url
.
base64Encoded
??
""
// 对deepLink使用 base64编码
var
oldUrl
=
shareH5Url
if
oldUrl
.
contains
(
"?"
)
{
oldUrl
=
oldUrl
+
"&appDeepLink=
\(
tmpT
)
"
oldUrl
+=
"&appDeepLink=
\(
tmpT
)
"
}
else
{
oldUrl
=
oldUrl
+
"?appDeepLink=
\(
tmpT
)
"
oldUrl
+=
"?appDeepLink=
\(
tmpT
)
"
}
DispatchQueue
.
main
.
async
{
...
...
galaxy/galaxy/Classes/Modules/LivestreamSales(直播销售)/V/YHCategoryDropdownView.swift
View file @
f736ecfc
...
...
@@ -111,7 +111,9 @@ extension YHCategoryDropdownView: UITableViewDelegate, UITableViewDataSource {
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"YHDropCategoryCell"
,
for
:
indexPath
)
as!
YHDropCategoryCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"YHDropCategoryCell"
,
for
:
indexPath
)
as?
YHDropCategoryCell
else
{
return
UITableViewCell
()
}
cell
.
titleLabel
.
text
=
categories
[
indexPath
.
row
]
cell
.
isSelected
=
indexPath
.
row
==
selectedIndex
return
cell
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/V/YHValidateCodeInputView.swift
View file @
f736ecfc
...
...
@@ -136,8 +136,8 @@ class YHValidateCodeInputView: UIView {
func
interactive
()
{
for
index
in
1
...
count
{
let
component
=
self
.
viewWithTag
(
baseTag
+
index
)
as
!
YHValidateCodeComponentView
_
=
component
.
viewWithTag
(
999
)
as!
UITextField
let
component
=
self
.
viewWithTag
(
baseTag
+
index
)
as
?
YHValidateCodeComponentView
_
=
component
?
.
viewWithTag
(
999
)
as?
UITextField
}
}
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/V/验证码输入框/YHSmsCodeInputView.swift
View file @
f736ecfc
...
...
@@ -136,7 +136,7 @@ class YHSmsCodeInputView: UIView {
if
text
.
count
>
config
.
count
{
return
}
for
index
in
0
..<
config
.
count
{
let
codeView
=
self
.
viewWithTag
(
codeViewBaseTag
+
index
+
1
)
as!
YHSmsCodeView
guard
let
codeView
=
self
.
viewWithTag
(
codeViewBaseTag
+
index
+
1
)
as?
YHSmsCodeView
else
{
return
}
codeView
.
text
=
(
index
<
text
.
count
?
String
(
text
[
index
])
:
""
)
codeView
.
showCursor
=
(
index
==
text
.
count
)
...
...
galaxy/galaxy/Classes/Modules/Message(消息)/C/YHMessageDetailListVC.swift
View file @
f736ecfc
...
...
@@ -294,7 +294,7 @@ extension YHMessageDetailListVC: UITableViewDelegate, UITableViewDataSource {
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHDetailMessageCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as!
YHDetailMessageCell
guard
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHDetailMessageCell
.
cellReuseIdentifier
,
for
:
indexPath
)
as?
YHDetailMessageCell
else
{
return
UITableViewCell
()
}
if
0
<=
indexPath
.
row
&&
indexPath
.
row
<
msgArr
.
count
{
let
item
=
msgArr
[
indexPath
.
row
]
cell
.
updateModel
(
item
,
type
:
self
.
type
)
...
...
@@ -393,7 +393,7 @@ extension YHMessageDetailListVC: UITableViewDelegate, UITableViewDataSource {
// 累计出现在屏幕上的未读消息集合
func
addUpAppearUnreadMessages
()
{
let
visibleCells
=
tableView
.
visibleCells
as
!
[
YHDetailMessageCell
]
let
visibleCells
=
tableView
.
visibleCells
as
?
[
YHDetailMessageCell
]
??
[
]
if
visibleCells
.
count
<=
0
{
return
}
for
cell
in
visibleCells
{
if
let
msgItem
=
cell
.
model
{
...
...
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