Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
iOSTeam
/
Majiabao
/
TealiveModule
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f633aecc
authored
May 29, 2024
by
pierce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed 富豪等级的bug
parent
6196bc87
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
4 deletions
LocalPodSpec/GDToolBox/GDToolBox/Classes/Base/WebView/GDWebView.swift
LocalPodSpec/GDToolBox/GDToolBox/Classes/Base/WebView/TLWKWebViewController/GDWebViewController.swift
Module/GDChatMessage/GDChatMessage/Network/GDChatMessageHttpHelper.swift
Module/GDPersonalModule/GDPersonalModule/Features/MyLevel/View/RichLevelView/GDRichLevelPriviledgeCell.swift
LocalPodSpec/GDToolBox/GDToolBox/Classes/Base/WebView/GDWebView.swift
View file @
f633aecc
...
...
@@ -803,7 +803,9 @@ public class GDWebView: WKWebView, WKNavigationDelegate, WKScriptMessageHandler
}
public
func
webView
(
_
webView
:
WKWebView
,
decidePolicyFor
navigationAction
:
WKNavigationAction
,
decisionHandler
:
@escaping
(
WKNavigationActionPolicy
)
->
Void
)
{
let
urlStr
=
navigationAction
.
request
.
url
?
.
absoluteString
??
""
var
urlStr
=
navigationAction
.
request
.
url
?
.
absoluteString
??
""
urlStr
.
replacingOccurrences
(
of
:
"/eggplant/"
,
with
:
"/xs/"
)
if
urlStr
.
contains
(
"weixin://"
)
{
if
let
url
=
URL
(
string
:
urlStr
)
{
if
UIApplication
.
shared
.
canOpenURL
(
url
)
{
...
...
LocalPodSpec/GDToolBox/GDToolBox/Classes/Base/WebView/TLWKWebViewController/GDWebViewController.swift
View file @
f633aecc
...
...
@@ -110,7 +110,10 @@ open class GDWebViewController: BaseViewController, GDWebViewControllerType {
webView
.
titlePublished
.
subscribe
(
onNext
:
{
[
weak
self
]
(
title
)
in
guard
let
self
=
self
else
{
return
}
self
.
title
=
title
var
webTitle
=
title
.
replacingOccurrences
(
of
:
"果冻"
,
with
:
"羞涩"
)
webTitle
=
webTitle
.
replacingOccurrences
(
of
:
"果券"
,
with
:
"小券"
)
webTitle
=
webTitle
.
replacingOccurrences
(
of
:
"直播"
,
with
:
""
)
self
.
title
=
webTitle
})
.
disposed
(
by
:
disposeBag
)
self
.
view
.
addSubview
(
progressView
)
...
...
Module/GDChatMessage/GDChatMessage/Network/GDChatMessageHttpHelper.swift
View file @
f633aecc
...
...
@@ -35,7 +35,6 @@ class GDChatMessageHttpHelper {
return
chatMessageProvider
.
upload
(
.
serviceChatUploadImage
(
image
:
image
))
}
/// 上报消息已读
/// - Parameter mid: mid
/// - Returns:
...
...
Module/GDPersonalModule/GDPersonalModule/Features/MyLevel/View/RichLevelView/GDRichLevelPriviledgeCell.swift
View file @
f633aecc
...
...
@@ -47,7 +47,8 @@ class GDRichLevelPriviledgeCell: UICollectionViewCell {
self
.
contentView
.
addSubview
(
iconImageView
)
iconImageView
.
snp
.
makeConstraints
{
(
make
)
in
make
.
width
.
height
.
equalTo
(
50
)
make
.
height
.
equalTo
(
50
)
make
.
width
.
equalTo
(
100
)
make
.
top
.
equalToSuperview
()
.
offset
(
8
)
make
.
centerX
.
equalToSuperview
()
}
...
...
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