Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GeliBusinessPlatform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ljy
GeliBusinessPlatform
Commits
ed54ccaf
Commit
ed54ccaf
authored
May 28, 2020
by
刘俊宏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
没有工作中心
parent
da2d899a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
...ata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/SceneDelegate.swift
GeliBusinessPlatform/SceneDelegate.swift
+5
-4
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
View file @
ed54ccaf
No preview for this file type
GeliBusinessPlatform/SceneDelegate.swift
View file @
ed54ccaf
...
...
@@ -81,21 +81,22 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate, UITabBarControllerDeleg
let
v1
=
OrderListViewController
()
let
v2
=
GoodsManageListVC
()
let
v3
=
WorkCViewController
()
//
let v3 = WorkCViewController()
let
v4
=
WarehoseMangementListVC
()
let
v5
=
PersonCenterViewController
()
v1
.
tabBarItem
=
ESTabBarItem
.
init
(
ExampleBouncesContentView
(),
title
:
"订单管理"
,
image
:
UIImage
(
named
:
"tab_btn_dingdao_nor"
),
selectedImage
:
UIImage
(
named
:
"tab_btn_dingdan_hig"
))
v2
.
tabBarItem
=
ESTabBarItem
.
init
(
ExampleBouncesContentView
(),
title
:
"商品管理"
,
image
:
UIImage
(
named
:
"tab_btn_shangpin_nor"
),
selectedImage
:
UIImage
(
named
:
"tab_btn_shangpin_hig"
))
v3
.
tabBarItem
=
ESTabBarItem
.
init
(
ExampleBouncesContentView
(),
title
:
"工作中心"
,
image
:
UIImage
(
named
:
"tab_btn_gongzuo_nor"
),
selectedImage
:
UIImage
(
named
:
"tab_btn_gongzuo_hig"
))
//
v3.tabBarItem = ESTabBarItem.init(ExampleBouncesContentView(), title: "工作中心", image: UIImage(named: "tab_btn_gongzuo_nor"), selectedImage: UIImage(named: "tab_btn_gongzuo_hig"))
v4
.
tabBarItem
=
ESTabBarItem
.
init
(
ExampleBouncesContentView
(),
title
:
"仓库管理"
,
image
:
UIImage
(
named
:
"tab_btn_cangku_nor"
),
selectedImage
:
UIImage
(
named
:
"tab_btn_cangku_hig"
))
v5
.
tabBarItem
=
ESTabBarItem
.
init
(
ExampleBouncesContentView
(),
title
:
"个人中心"
,
image
:
UIImage
(
named
:
"tab_btn_geren_nor"
),
selectedImage
:
UIImage
(
named
:
"tab_btn_geren_hig"
))
// Create the SwiftUI view that provides the window contents.
tabBarController
.
viewControllers
=
[
v1
,
v2
,
v3
,
v4
,
v5
]
// tabBarController.viewControllers = [v1, v2, v3, v4, v5]
tabBarController
.
viewControllers
=
[
v1
,
v2
,
v4
,
v5
]
tabBarController
.
selectedIndex
=
2
//
tabBarController.selectedIndex = 2
...
...
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