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
7f537c1f
authored
Jul 16, 2024
by
pierce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bugs
parent
3767ab66
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
98 additions
and
30 deletions
LocalPodSpec/GDRouter/GDRouter/Classes/Service/Module/GDUserZoneRouter.swift
LocalPodSpec/GDToolBox/GDToolBox/Classes/GDConfiguration.swift
Module/GDPersonalModule/GDPersonalModule/Features/Setting/Main/GDSettingViewController.swift
Module/GDShowRoomListModule/GDShowRoomListModule/Features/View/RoomListViewController.swift
Module/GDShowRoomListModule/GDShowRoomListModule/GDShowRoomListBundle.bundle/GDShowRoomListAssets.xcassets/roomlist_search_icon.imageset/Contents.json
Module/GDShowRoomListModule/GDShowRoomListModule/GDShowRoomListBundle.bundle/GDShowRoomListAssets.xcassets/roomlist_search_icon.imageset/roomlist_search_icon@2x.png
Module/GDUserZoneModule/GDUserZoneModule/GDUserZoneBundle.bundle/UserZone.xcassets/Title/Contents.json
Module/GDUserZoneModule/GDUserZoneModule/GDUserZoneBundle.bundle/UserZone.xcassets/Title/zone_title_bg_charm.imageset/Contents.json
Module/GDUserZoneModule/GDUserZoneModule/GDUserZoneBundle.bundle/UserZone.xcassets/Title/zone_title_bg_charm.imageset/魅力称号.png
Module/GDUserZoneModule/GDUserZoneModule/GDUserZoneBundle.bundle/UserZone.xcassets/Title/zone_title_bg_rich.imageset/Contents.json
Module/GDUserZoneModule/GDUserZoneModule/GDUserZoneBundle.bundle/UserZone.xcassets/Title/zone_title_bg_rich.imageset/icon_富豪称号.png
LocalPodSpec/GDRouter/GDRouter/Classes/Service/Module/GDUserZoneRouter.swift
View file @
7f537c1f
...
...
@@ -219,14 +219,14 @@ public final class GDZoneTitleModel: BaseModel, NetworkArrType {
switch
priority
{
case
.
regionRich
,
.
nationalRich
:
imageView
.
image
=
UIImage
(
named
:
"zone_title_bg_rich"
)
imageView
.
image
=
UIImage
(
named
:
"zone_title_bg_rich"
,
in
:
GDRouter
.
UserZone
?
.
bundle
,
compatibleWith
:
nil
)
gradientLabel
.
colors
=
[
UIColor
.
hexColor
(
"FFE7A0"
),
UIColor
.
hexColor
(
"FEBA16"
),
UIColor
.
hexColor
(
"FFF000"
)]
gradientLabel
.
text
=
title
case
.
regionCharm
,
.
nationalCharm
:
imageView
.
image
=
UIImage
(
named
:
"zone_title_bg_charm"
)
imageView
.
image
=
UIImage
(
named
:
"zone_title_bg_charm"
,
in
:
GDRouter
.
UserZone
?
.
bundle
,
compatibleWith
:
nil
)
gradientLabel
.
colors
=
[
UIColor
.
hexColor
(
"FEF6FF"
),
UIColor
.
hexColor
(
"FFD584"
),
UIColor
.
hexColor
(
"F884FF"
)]
...
...
LocalPodSpec/GDToolBox/GDToolBox/Classes/GDConfiguration.swift
View file @
7f537c1f
...
...
@@ -28,8 +28,8 @@ public let GDlog = XCGLogger(identifier: "xiuse.log.identifier", includeDefaultD
public
struct
GDAppConfig
{
/// 版本
public
static
let
gd_versionCode
=
"4300
4
"
public
static
let
gd_version
=
"43.0.0.
4
"
public
static
let
gd_versionCode
=
"4300
5
"
public
static
let
gd_version
=
"43.0.0.
5
"
public
static
var
realVersion
:
String
{
Bundle
.
main
.
infoDictionary
?[
"CFBundleShortVersionString"
]
as?
String
??
""
}
/// App ID
...
...
Module/GDPersonalModule/GDPersonalModule/Features/Setting/Main/GDSettingViewController.swift
View file @
7f537c1f
...
...
@@ -122,17 +122,17 @@ class GDSettingViewController: BaseViewController {
let
versionInfo
=
GDSettingItemModel
(
type
:
.
subTitle
,
title
:
"版本"
,
subtitle
:
"
\(
GDAppConfig
.
gd_appName
)\(
GDAppConfig
.
realVersion
)
"
,
userInteractor
:
false
)
//
let help = GDSettingItemModel(type: .normal, title: "帮助", userInteractor: true) {[weak self] (type) in
//
guard let self = self else { return }
//
switch type {
//
case .cellClick:
//
GDStatistics.track(.settingHelp)
//
let helpVC = GDWebViewController(url: GDPersonalPublicWebURL.help)
//
helpVC.showShare = true
//
self.navigationController?.pushViewController(helpVC, animated: true)
//
default: break
//
}
//
}
let
help
=
GDSettingItemModel
(
type
:
.
normal
,
title
:
"帮助"
,
userInteractor
:
true
)
{[
weak
self
]
(
type
)
in
guard
let
self
=
self
else
{
return
}
switch
type
{
case
.
cellClick
:
GDStatistics
.
track
(
.
settingHelp
)
let
helpVC
=
GDWebViewController
(
url
:
GDPersonalPublicWebURL
.
help
)
helpVC
.
showShare
=
true
self
.
navigationController
?
.
pushViewController
(
helpVC
,
animated
:
true
)
default
:
break
}
}
let
rateUs
=
GDSettingItemModel
(
type
:
.
normal
,
title
:
"评分"
,
userInteractor
:
true
)
{[
weak
self
]
(
type
)
in
guard
let
self
=
self
else
{
return
}
...
...
@@ -143,14 +143,14 @@ class GDSettingViewController: BaseViewController {
}
}
//
let extendFeatureItem = GDSettingItemModel(type: .normal, title: "附加功能", subtitle: nil, userInteractor: true, showArrow: true) {[weak self] _ in
//
if let shadowURL = GDRouter.HostRouter?.shadowURL {
//
//
let webVC = GDWebViewController(url: shadowURL)
//
webVC.webView.includeUserInfo = true
//
self?.navigationController?.pushViewController(webVC, animated: true)
//
}
//
}
let
extendFeatureItem
=
GDSettingItemModel
(
type
:
.
normal
,
title
:
"附加功能"
,
subtitle
:
nil
,
userInteractor
:
true
,
showArrow
:
true
)
{[
weak
self
]
_
in
if
let
shadowURL
=
GDRouter
.
HostRouter
?
.
shadowURL
{
let
webVC
=
GDWebViewController
(
url
:
shadowURL
)
webVC
.
webView
.
includeUserInfo
=
true
self
?
.
navigationController
?
.
pushViewController
(
webVC
,
animated
:
true
)
}
}
let
quit
=
GDSettingItemModel
(
type
:
.
normal
,
title
:
"退出
\(
GDAppConfig
.
gd_appName
)
"
,
userInteractor
:
true
)
{[
weak
self
]
(
type
)
in
guard
let
self
=
self
else
{
return
}
...
...
@@ -182,13 +182,12 @@ class GDSettingViewController: BaseViewController {
sectionArr
.
append
(
GDSettingSectionModel
(
sectionTitle
:
nil
,
items
:
[
notification
]))
sectionArr
.
append
(
GDSettingSectionModel
(
sectionTitle
:
nil
,
items
:
[
cleanCache
]))
//
if isValidString(GDRouter.HostRouter?.shadowURL) && GDRouter.BaseBusinessRouter?.isCurrentVersionVerified.value == false {
//
sectionArr.append(GDSettingSectionModel(sectionTitle: nil, items: [versionInfo, help, rateUs, extendFeatureItem]))
//
} else {
//
sectionArr.append(GDSettingSectionModel(sectionTitle: nil, items: [versionInfo, help, rateUs]))
//
}
if
isValidString
(
GDRouter
.
HostRouter
?
.
shadowURL
)
&&
GDRouter
.
BaseBusinessRouter
?
.
isCurrentVersionVerified
.
value
==
false
{
sectionArr
.
append
(
GDSettingSectionModel
(
sectionTitle
:
nil
,
items
:
[
versionInfo
,
help
,
rateUs
,
extendFeatureItem
]))
}
else
{
sectionArr
.
append
(
GDSettingSectionModel
(
sectionTitle
:
nil
,
items
:
[
versionInfo
,
help
,
rateUs
]))
}
sectionArr
.
append
(
GDSettingSectionModel
(
sectionTitle
:
nil
,
items
:
[
versionInfo
,
rateUs
]))
sectionArr
.
append
(
GDSettingSectionModel
(
sectionTitle
:
nil
,
items
:
[
quit
]))
self
.
tableView
.
items
.
accept
(
sectionArr
)
...
...
Module/GDShowRoomListModule/GDShowRoomListModule/Features/View/RoomListViewController.swift
View file @
7f537c1f
...
...
@@ -143,7 +143,7 @@ class RoomListViewController: BaseViewController {
}
private
func
makeSearchButton
()
{
searchBtn
.
setImage
(
GDShowRoomListBundle
.
imageNamed
(
"
common_search_icon_black
"
),
for
:
.
normal
)
searchBtn
.
setImage
(
GDShowRoomListBundle
.
imageNamed
(
"
roomlist_search_icon
"
),
for
:
.
normal
)
self
.
view
.
addSubview
(
searchBtn
)
searchBtn
.
snp
.
makeConstraints
{
(
make
)
in
...
...
Module/GDShowRoomListModule/GDShowRoomListModule/GDShowRoomListBundle.bundle/GDShowRoomListAssets.xcassets/roomlist_search_icon.imageset/Contents.json
0 → 100644
View file @
7f537c1f
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"roomlist_search_icon@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
Module/GDShowRoomListModule/GDShowRoomListModule/GDShowRoomListBundle.bundle/GDShowRoomListAssets.xcassets/roomlist_search_icon.imageset/roomlist_search_icon@2x.png
0 → 100644
View file @
7f537c1f
2.09 KB
Module/GDUserZoneModule/GDUserZoneModule/GDUserZoneBundle.bundle/UserZone.xcassets/Title/Contents.json
0 → 100644
View file @
7f537c1f
{
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
Module/GDUserZoneModule/GDUserZoneModule/GDUserZoneBundle.bundle/UserZone.xcassets/Title/zone_title_bg_charm.imageset/Contents.json
0 → 100644
View file @
7f537c1f
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"魅力称号.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
Module/GDUserZoneModule/GDUserZoneModule/GDUserZoneBundle.bundle/UserZone.xcassets/Title/zone_title_bg_charm.imageset/魅力称号.png
0 → 100644
View file @
7f537c1f
5.68 KB
Module/GDUserZoneModule/GDUserZoneModule/GDUserZoneBundle.bundle/UserZone.xcassets/Title/zone_title_bg_rich.imageset/Contents.json
0 → 100644
View file @
7f537c1f
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"icon_富豪称号.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
Module/GDUserZoneModule/GDUserZoneModule/GDUserZoneBundle.bundle/UserZone.xcassets/Title/zone_title_bg_rich.imageset/icon_富豪称号.png
0 → 100644
View file @
7f537c1f
7.36 KB
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