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
0d0f2cfa
authored
May 06, 2024
by
pierce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bugs
parent
e940266c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
127 additions
and
4 deletions
LocalPodSpec/GDToolBox/GDToolBox/Assets/Asset.xcassets/share_small_icon_apple.imageset/Contents.json
LocalPodSpec/GDToolBox/GDToolBox/Assets/Asset.xcassets/share_small_icon_apple.imageset/share_small_icon_apple@2x.png
LocalPodSpec/GDToolBox/GDToolBox/Assets/Asset.xcassets/share_small_icon_qq.imageset/Contents.json
LocalPodSpec/GDToolBox/GDToolBox/Assets/Asset.xcassets/share_small_icon_qq.imageset/share_small_icon_qq@2x.png
LocalPodSpec/GDToolBox/GDToolBox/Assets/Asset.xcassets/share_small_icon_wechat.imageset/Contents.json
LocalPodSpec/GDToolBox/GDToolBox/Assets/Asset.xcassets/share_small_icon_wechat.imageset/share_small_icon_wechat@2x.png
LocalPodSpec/GDToolBox/GDToolBox/Classes/Base/SettingItemView/View/Cell/GDSettingItemBindCell.swift
LocalPodSpec/GDToolBox/GDToolBox/Classes/Base/Video/GDURLVideoPlayView.swift
Module/GDPersonalModule/GDPersonalModule/Features/Setting/Main/GDSettingAccountController.swift
Module/GDTeenagerModule/GDTeenagerModule/Features/TeenagerMode/TeenagerPlayView/GDTeenagerPlayController.swift
Module/GDUserZoneModule/GDUserZoneModule/Feature/Zone/Main/View/InfoView/Info/ZoneInfoTableView/Cell/GDZoneInfoAuthCell.swift
TealiveModule/TealiveModule/AppDelegate.swift
TealiveModule/TealiveModule/Info.plist
TealiveModule/TealiveModule/TealiveModule.entitlements
LocalPodSpec/GDToolBox/GDToolBox/Assets/Asset.xcassets/share_small_icon_apple.imageset/Contents.json
0 → 100644
View file @
0d0f2cfa
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"share_small_icon_apple@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
LocalPodSpec/GDToolBox/GDToolBox/Assets/Asset.xcassets/share_small_icon_apple.imageset/share_small_icon_apple@2x.png
0 → 100644
View file @
0d0f2cfa
2.91 KB
LocalPodSpec/GDToolBox/GDToolBox/Assets/Asset.xcassets/share_small_icon_qq.imageset/Contents.json
0 → 100644
View file @
0d0f2cfa
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"share_small_icon_qq@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
LocalPodSpec/GDToolBox/GDToolBox/Assets/Asset.xcassets/share_small_icon_qq.imageset/share_small_icon_qq@2x.png
0 → 100644
View file @
0d0f2cfa
2.55 KB
LocalPodSpec/GDToolBox/GDToolBox/Assets/Asset.xcassets/share_small_icon_wechat.imageset/Contents.json
0 → 100644
View file @
0d0f2cfa
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"share_small_icon_wechat@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
LocalPodSpec/GDToolBox/GDToolBox/Assets/Asset.xcassets/share_small_icon_wechat.imageset/share_small_icon_wechat@2x.png
0 → 100644
View file @
0d0f2cfa
3.25 KB
LocalPodSpec/GDToolBox/GDToolBox/Classes/Base/SettingItemView/View/Cell/GDSettingItemBindCell.swift
View file @
0d0f2cfa
...
@@ -120,11 +120,29 @@ class GDSettingItemBindCell: GDSettingItemBaseCell {
...
@@ -120,11 +120,29 @@ class GDSettingItemBindCell: GDSettingItemBaseCell {
self
.
socialPlatImageView
.
isHidden
=
false
self
.
socialPlatImageView
.
isHidden
=
false
if
model
.
plat
==
.
apple
{
if
model
.
plat
==
.
apple
{
self
.
socialPlatImageView
.
isHidden
=
true
self
.
socialPlatImageView
.
isHidden
=
true
faceImageView
.
snp
.
remakeConstraints
({
make
in
make
.
left
.
equalToSuperview
()
make
.
size
.
equalTo
(
0
)
make
.
centerY
.
equalToSuperview
()
})
}
else
{
faceImageView
.
snp
.
remakeConstraints
({
make
in
make
.
left
.
equalToSuperview
()
.
offset
(
16
)
make
.
size
.
equalTo
(
30
)
make
.
centerY
.
equalToSuperview
()
})
}
}
}
else
{
}
else
{
self
.
bindBtn
.
style
=
.
circle
self
.
bindBtn
.
style
=
.
circle
self
.
bindBtn
.
setTitle
(
"绑定"
,
for
:
.
normal
)
self
.
bindBtn
.
setTitle
(
"绑定"
,
for
:
.
normal
)
self
.
socialPlatImageView
.
isHidden
=
true
self
.
socialPlatImageView
.
isHidden
=
true
faceImageView
.
snp
.
remakeConstraints
({
make
in
make
.
left
.
equalToSuperview
()
make
.
size
.
equalTo
(
0
)
make
.
centerY
.
equalToSuperview
()
})
}
}
})
.
disposed
(
by
:
disposeBag
)
})
.
disposed
(
by
:
disposeBag
)
...
...
LocalPodSpec/GDToolBox/GDToolBox/Classes/Base/Video/GDURLVideoPlayView.swift
View file @
0d0f2cfa
...
@@ -55,6 +55,7 @@ public class GDURLVideoPlayView: BaseView {
...
@@ -55,6 +55,7 @@ public class GDURLVideoPlayView: BaseView {
if
isValidString
(
self
.
videoUrl
)
==
false
{
if
isValidString
(
self
.
videoUrl
)
==
false
{
return
;
return
;
}
}
self
.
videoUrl
=
self
.
videoUrl
.
replacingOccurrences
(
of
:
"
\t
"
,
with
:
""
)
self
.
destroyEngine
()
self
.
destroyEngine
()
//使用默认配置
//使用默认配置
...
@@ -81,7 +82,7 @@ public class GDURLVideoPlayView: BaseView {
...
@@ -81,7 +82,7 @@ public class GDURLVideoPlayView: BaseView {
self
.
player
=
IJKFFMoviePlayerController
.
init
(
contentURL
:
URL
.
init
(
string
:
self
.
videoUrl
),
with
:
options
)
self
.
player
=
IJKFFMoviePlayerController
.
init
(
contentURL
:
URL
.
init
(
string
:
self
.
videoUrl
),
with
:
options
)
self
.
player
?
.
setPauseInBackground
(
false
)
self
.
player
?
.
setPauseInBackground
(
false
)
//缩放模式
//缩放模式
self
.
player
?
.
scalingMode
=
.
aspectFi
ll
self
.
player
?
.
scalingMode
=
.
aspectFi
t
//设置自动播放模式
//设置自动播放模式
self
.
player
?
.
shouldAutoplay
=
true
self
.
player
?
.
shouldAutoplay
=
true
//准备播放
//准备播放
...
...
Module/GDPersonalModule/GDPersonalModule/Features/Setting/Main/GDSettingAccountController.swift
View file @
0d0f2cfa
This diff is collapsed.
Click to expand it.
Module/GDTeenagerModule/GDTeenagerModule/Features/TeenagerMode/TeenagerPlayView/GDTeenagerPlayController.swift
View file @
0d0f2cfa
...
@@ -68,8 +68,11 @@ class GDTeenagerPlayController: BaseViewController {
...
@@ -68,8 +68,11 @@ class GDTeenagerPlayController: BaseViewController {
}
}
closeBtn
.
rx
.
tap
closeBtn
.
rx
.
tap
.
bind
(
to
:
self
.
rx_dismissViewController
)
.
subscribe
(
onNext
:
{
[
weak
self
]
_
in
.
disposed
(
by
:
disposeBag
)
self
?
.
viewModel
.
leaveRoom
()
self
?
.
streamPlayView
.
destroyEngine
()
self
?
.
dismiss
(
animated
:
true
)
})
.
disposed
(
by
:
disposeBag
)
}
}
/// 流播放 View
/// 流播放 View
...
...
Module/GDUserZoneModule/GDUserZoneModule/Feature/Zone/Main/View/InfoView/Info/ZoneInfoTableView/Cell/GDZoneInfoAuthCell.swift
View file @
0d0f2cfa
...
@@ -12,7 +12,8 @@ import RxCocoa
...
@@ -12,7 +12,8 @@ import RxCocoa
import
GDToolBox
import
GDToolBox
import
GDRouter
import
GDRouter
let
authArr
:
[
GDPersonalAuthType
]
=
[
.
phone
,
.
idCard
,
.
wechat
]
//let authArr: [GDPersonalAuthType] = [.phone, .idCard, .wechat]
let
authArr
:
[
GDPersonalAuthType
]
=
[
.
phone
,
.
idCard
]
class
GDZoneInfoAuthCell
:
UITableViewCell
{
class
GDZoneInfoAuthCell
:
UITableViewCell
{
...
...
TealiveModule/TealiveModule/AppDelegate.swift
View file @
0d0f2cfa
...
@@ -32,5 +32,28 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
...
@@ -32,5 +32,28 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
return
true
return
true
}
}
func
application
(
_
app
:
UIApplication
,
open
url
:
URL
,
options
:
[
UIApplication
.
OpenURLOptionsKey
:
Any
]
=
[:])
->
Bool
{
Bifrost
.
checkAllModules
(
with
:
#selector(
application(_:open:options:)
)
,
arguments
:
[
app
,
url
,
options
])
}
func
applicationDidBecomeActive
(
_
application
:
UIApplication
)
{
Bifrost
.
checkAllModules
(
with
:
#selector(
applicationDidBecomeActive(_:)
)
,
arguments
:
[
application
])
}
func
application
(
_
application
:
UIApplication
,
didRegisterForRemoteNotificationsWithDeviceToken
deviceToken
:
Data
)
{
Bifrost
.
checkAllModules
(
with
:
#selector(
application(_:didRegisterForRemoteNotificationsWithDeviceToken:)
)
,
arguments
:
[
application
,
deviceToken
])
}
func
applicationDidEnterBackground
(
_
application
:
UIApplication
)
{
Bifrost
.
checkAllModules
(
with
:
#selector(
applicationDidEnterBackground(_:)
)
,
arguments
:
[
application
])
}
func
applicationWillEnterForeground
(
_
application
:
UIApplication
)
{
Bifrost
.
checkAllModules
(
with
:
#selector(
applicationWillEnterForeground(_:)
)
,
arguments
:
[
application
])
}
func
applicationWillTerminate
(
_
application
:
UIApplication
)
{
Bifrost
.
checkAllModules
(
with
:
#selector(
applicationWillTerminate(_:)
)
,
arguments
:
[
application
])
}
}
}
TealiveModule/TealiveModule/Info.plist
View file @
0d0f2cfa
...
@@ -2,6 +2,16 @@
...
@@ -2,6 +2,16 @@
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
!
D
O
C
TYP
E
plist
PU
B
LI
C
"-//
A
ppl
e
//
D
T
D
PLIST
1
.
0
//
E
N"
"http://www.
a
ppl
e
.
c
om/
D
T
D
s/Prop
e
rtyList-
1
.
0
.
d
t
d
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
plist
v
e
rsion="
1
.
0
"
>
<
d
i
c
t
>
<
d
i
c
t
>
<
k
e
y
>
LSApplicationQueriesSchemes
<
/k
e
y
>
<
a
rr
a
y
>
<
string
>
wtloginmqq2
<
/string
>
<
string
>
mqqapi
<
/string
>
<
string
>
mqqopensdkapiv2
<
/string
>
<
string
>
mqqopensdkapiv3
<
/string
>
<
string
>
mqq
<
/string
>
<
string
>
mqqwpa
<
/string
>
<
string
>
mqqopensdkssologin
<
/string
>
<
/
a
rr
a
y
>
<
k
e
y
>
CFBundleURLTypes
<
/k
e
y
>
<
k
e
y
>
CFBundleURLTypes
<
/k
e
y
>
<
a
rr
a
y
>
<
a
rr
a
y
>
<
d
i
c
t
>
<
d
i
c
t
>
...
...
TealiveModule/TealiveModule/TealiveModule.entitlements
View file @
0d0f2cfa
...
@@ -4,6 +4,10 @@
...
@@ -4,6 +4,10 @@
<dict>
<dict>
<key>
aps-environment
</key>
<key>
aps-environment
</key>
<string>
development
</string>
<string>
development
</string>
<key>
com.apple.developer.applesignin
</key>
<array>
<string>
Default
</string>
</array>
<key>
com.apple.developer.associated-domains
</key>
<key>
com.apple.developer.associated-domains
</key>
<array>
<array>
<string>
applinks:xs.cxylive.top/xiusechat/
</string>
<string>
applinks:xs.cxylive.top/xiusechat/
</string>
...
...
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