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
04ce6fa2
Commit
04ce6fa2
authored
Apr 16, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、删除不使用的数据
2、替换图片
parent
7ded3f94
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
25 additions
and
23 deletions
+25
-23
AppDelegate.swift
galaxy/galaxy/AppDelegate.swift
+23
-21
Contents.json
galaxy/galaxy/Res/Assets.xcassets/Home/Arrow/Contents.json
+0
-0
Contents.json
...assets/Home/Arrow/form_right_arrow.imageset/Contents.json
+0
-0
箭头中@2x.png
....xcassets/Home/Arrow/form_right_arrow.imageset/箭头中@2x.png
+0
-0
箭头中@3x.png
....xcassets/Home/Arrow/form_right_arrow.imageset/箭头中@3x.png
+0
-0
Contents.json
...assets/Home/kingkong/kingkong_sffl.imageset/Contents.json
+2
-2
Frame 1@2x.png
...ssets/Home/kingkong/kingkong_sffl.imageset/Frame 1@2x.png
+0
-0
Frame 1@3x.png
...ssets/Home/kingkong/kingkong_sffl.imageset/Frame 1@3x.png
+0
-0
Group 2033194158@2x.png
...e/kingkong/kingkong_sffl.imageset/Group 2033194158@2x.png
+0
-0
Group 2033194158@3x.png
...e/kingkong/kingkong_sffl.imageset/Group 2033194158@3x.png
+0
-0
No files found.
galaxy/galaxy/AppDelegate.swift
View file @
04ce6fa2
...
@@ -123,28 +123,30 @@ extension AppDelegate {
...
@@ -123,28 +123,30 @@ extension AppDelegate {
//1.设置主窗口
//1.设置主窗口
private
func
setupRootVC
()
{
private
func
setupRootVC
()
{
let
tabBarController
=
YHTabBarViewController
()
// let tabBarController = YHTabBarViewController()
let
homeVC
=
YHHomePageViewController
()
// let homeVC = YHHomePageViewController()
tabBarController
.
delegate
=
homeVC
// tabBarController.delegate = homeVC
let
v0
=
YHNavigationController
(
rootVC
:
homeVC
)
// let v0 = YHNavigationController(rootVC:homeVC)
let
v1
=
YHNavigationController
(
rootVC
:
YHServiceCenterMainViewController
())
// let v1 = YHNavigationController(rootVC:YHServiceCenterMainViewController())
let
v2
=
YHNavigationController
(
rootVC
:
YHMsgViewController
())
// let v2 = YHNavigationController(rootVC:YHMsgViewController())
let
v3
=
YHNavigationController
(
rootVC
:
YHMyViewController
())
// let v3 = YHNavigationController(rootVC:YHMyViewController())
//
v0
.
tabBarItem
=
ESTabBarItem
.
init
(
YHBasicContentView
(),
title
:
"首页"
,
image
:
UIImage
(
named
:
"home"
),
selectedImage
:
UIImage
(
named
:
"home_1"
))
// v0.tabBarItem = ESTabBarItem.init(YHBasicContentView(),title: "首页", image: UIImage(named: "home"), selectedImage: UIImage(named: "home_1"))
//
v1
.
tabBarItem
=
ESTabBarItem
.
init
(
YHBasicContentView
(),
title
:
"服务"
,
image
:
UIImage
(
named
:
"service"
),
selectedImage
:
UIImage
(
named
:
"service_1"
))
// v1.tabBarItem = ESTabBarItem.init(YHBasicContentView(),title: "服务", image: UIImage(named: "service"), selectedImage: UIImage(named: "service_1"))
//
v2
.
tabBarItem
=
ESTabBarItem
.
init
(
YHBasicContentView
(),
title
:
"消息"
,
image
:
UIImage
(
named
:
"msg"
),
selectedImage
:
UIImage
(
named
:
"msg_1"
))
// v2.tabBarItem = ESTabBarItem.init(YHBasicContentView(),title: "消息", image: UIImage(named: "msg"), selectedImage: UIImage(named: "msg_1"))
//
v3
.
tabBarItem
=
ESTabBarItem
.
init
(
YHBasicContentView
(),
title
:
"我的"
,
image
:
UIImage
(
named
:
"me"
),
selectedImage
:
UIImage
(
named
:
"me_1"
))
// v3.tabBarItem = ESTabBarItem.init(YHBasicContentView(),title: "我的", image: UIImage(named: "me"), selectedImage: UIImage(named: "me_1"))
//
tabBarController
.
viewControllers
=
[
v0
,
v1
,
v2
,
v3
]
// tabBarController.viewControllers = [v0,v1,v2,v3]
tabBarController
.
tabBar
.
backgroundColor
=
.
white
// tabBarController.tabBar.backgroundColor = .white
let
nav
=
YHNavigationController
(
rootVC
:
YHStartPageViewController
())
window
=
UIWindow
(
frame
:
UIScreen
.
main
.
bounds
)
window
=
UIWindow
(
frame
:
UIScreen
.
main
.
bounds
)
window
?
.
rootViewController
=
YHStartPageViewController
()
window
?
.
rootViewController
=
nav
window
?
.
makeKeyAndVisible
()
window
?
.
makeKeyAndVisible
()
}
}
...
...
galaxy/galaxy/Res/Assets.xcassets/Arrow/Contents.json
→
galaxy/galaxy/Res/Assets.xcassets/
Home/
Arrow/Contents.json
View file @
04ce6fa2
File moved
galaxy/galaxy/Res/Assets.xcassets/Arrow/form_right_arrow.imageset/Contents.json
→
galaxy/galaxy/Res/Assets.xcassets/
Home/
Arrow/form_right_arrow.imageset/Contents.json
View file @
04ce6fa2
File moved
galaxy/galaxy/Res/Assets.xcassets/Arrow/form_right_arrow.imageset/箭头中@2x.png
→
galaxy/galaxy/Res/Assets.xcassets/
Home/
Arrow/form_right_arrow.imageset/箭头中@2x.png
View file @
04ce6fa2
File moved
galaxy/galaxy/Res/Assets.xcassets/Arrow/form_right_arrow.imageset/箭头中@3x.png
→
galaxy/galaxy/Res/Assets.xcassets/
Home/
Arrow/form_right_arrow.imageset/箭头中@3x.png
View file @
04ce6fa2
File moved
galaxy/galaxy/Res/Assets.xcassets/Home/kingkong/kingkong_sffl.imageset/Contents.json
View file @
04ce6fa2
...
@@ -5,12 +5,12 @@
...
@@ -5,12 +5,12 @@
"scale"
:
"1x"
"scale"
:
"1x"
},
},
{
{
"filename"
:
"
Frame 1
@2x.png"
,
"filename"
:
"
Group 2033194158
@2x.png"
,
"idiom"
:
"universal"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
"scale"
:
"2x"
},
},
{
{
"filename"
:
"
Frame 1
@3x.png"
,
"filename"
:
"
Group 2033194158
@3x.png"
,
"idiom"
:
"universal"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
"scale"
:
"3x"
}
}
...
...
galaxy/galaxy/Res/Assets.xcassets/Home/kingkong/kingkong_sffl.imageset/Frame 1@2x.png
deleted
100644 → 0
View file @
7ded3f94
919 Bytes
galaxy/galaxy/Res/Assets.xcassets/Home/kingkong/kingkong_sffl.imageset/Frame 1@3x.png
deleted
100644 → 0
View file @
7ded3f94
1.43 KB
galaxy/galaxy/Res/Assets.xcassets/Home/kingkong/kingkong_sffl.imageset/Group 2033194158@2x.png
0 → 100644
View file @
04ce6fa2
922 Bytes
galaxy/galaxy/Res/Assets.xcassets/Home/kingkong/kingkong_sffl.imageset/Group 2033194158@3x.png
0 → 100644
View file @
04ce6fa2
1.41 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