Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cyberiee
Project
Project
Details
Activity
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
Wu Fang
cyberiee
Commits
653de988
Commit
653de988
authored
May 11, 2022
by
fangw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:update
parent
d3eb0833
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
121 additions
and
24 deletions
+121
-24
app-routing.module.ts
src/app/app-routing.module.ts
+21
-1
app.module.ts
src/app/app.module.ts
+9
-1
admin-system.component.html
src/app/page/admin/admin-system/admin-system.component.html
+6
-0
admin-system.component.scss
src/app/page/admin/admin-system/admin-system.component.scss
+0
-0
admin-system.component.ts
src/app/page/admin/admin-system/admin-system.component.ts
+13
-0
user-manage.component.html
src/app/page/admin/user-manage/user-manage.component.html
+1
-0
user-manage.component.scss
src/app/page/admin/user-manage/user-manage.component.scss
+0
-0
user-manage.component.ts
src/app/page/admin/user-manage/user-manage.component.ts
+15
-0
navigation.component.html
src/app/page/common/navigation/navigation.component.html
+1
-0
navigation.component.scss
src/app/page/common/navigation/navigation.component.scss
+0
-0
navigation.component.ts
src/app/page/common/navigation/navigation.component.ts
+15
-0
toolbar.component.html
src/app/page/common/toolbar/toolbar.component.html
+1
-0
toolbar.component.scss
src/app/page/common/toolbar/toolbar.component.scss
+0
-0
toolbar.component.ts
src/app/page/common/toolbar/toolbar.component.ts
+15
-0
home.component.html
src/app/page/home/home.component.html
+3
-1
home.component.scss
src/app/page/home/home.component.scss
+2
-2
styles.scss
src/styles.scss
+19
-19
No files found.
src/app/app-routing.module.ts
View file @
653de988
...
@@ -2,13 +2,33 @@ import { NgModule } from '@angular/core';
...
@@ -2,13 +2,33 @@ import { NgModule } from '@angular/core';
import
{
RouterModule
,
Routes
}
from
'@angular/router'
;
import
{
RouterModule
,
Routes
}
from
'@angular/router'
;
import
{
HomeComponent
}
from
'./page/home/home.component'
;
import
{
HomeComponent
}
from
'./page/home/home.component'
;
import
{
LoginComponent
}
from
'./page/login/login.component'
;
import
{
LoginComponent
}
from
'./page/login/login.component'
;
import
{
AdminSystemComponent
}
from
'./page/admin/admin-system/admin-system.component'
;
import
{
UserManageComponent
}
from
'./page/admin/user-manage/user-manage.component'
;
const
routes
:
Routes
=
[
const
routes
:
Routes
=
[
{
path
:
'login'
,
component
:
LoginComponent
},
{
path
:
'login'
,
component
:
LoginComponent
},
{
{
path
:
'home'
,
path
:
'home'
,
component
:
HomeComponent
component
:
HomeComponent
,
children
:
[
{
path
:
'admin'
,
component
:
AdminSystemComponent
,
children
:
[
{
path
:
''
,
redirectTo
:
'/home/admin/users'
,
pathMatch
:
'full'
,
},
{
path
:
'users'
,
component
:
UserManageComponent
,
},
],
},
]
}
}
];
];
@
NgModule
({
@
NgModule
({
...
...
src/app/app.module.ts
View file @
653de988
...
@@ -21,13 +21,21 @@ import { AppRoutingModule } from './app-routing.module';
...
@@ -21,13 +21,21 @@ import { AppRoutingModule } from './app-routing.module';
import
{
AppComponent
}
from
'./app.component'
;
import
{
AppComponent
}
from
'./app.component'
;
import
{
LoginComponent
}
from
'./page/login/login.component'
;
import
{
LoginComponent
}
from
'./page/login/login.component'
;
import
{
HomeComponent
}
from
'./page/home/home.component'
;
import
{
HomeComponent
}
from
'./page/home/home.component'
;
import
{
ToolbarComponent
}
from
'./page/common/toolbar/toolbar.component'
;
import
{
NavigationComponent
}
from
'./page/common/navigation/navigation.component'
;
import
{
AdminSystemComponent
}
from
'./page/admin/admin-system/admin-system.component'
;
import
{
UserManageComponent
}
from
'./page/admin/user-manage/user-manage.component'
;
@
NgModule
({
@
NgModule
({
declarations
:
[
declarations
:
[
AppComponent
,
AppComponent
,
LoginComponent
,
LoginComponent
,
HomeComponent
],
HomeComponent
,
ToolbarComponent
,
NavigationComponent
,
AdminSystemComponent
,
UserManageComponent
],
imports
:
[
imports
:
[
BrowserModule
,
BrowserModule
,
HttpClientModule
,
HttpClientModule
,
...
...
src/app/page/admin/admin-system/admin-system.component.html
0 → 100644
View file @
653de988
<div
class=
"admin-wrap"
>
<div
class=
"content"
>
<router-outlet></router-outlet>
</div>
</div>
\ No newline at end of file
src/app/page/admin/admin-system/admin-system.component.scss
0 → 100644
View file @
653de988
src/app/page/admin/admin-system/admin-system.component.ts
0 → 100644
View file @
653de988
import
{
Component
,
OnInit
}
from
'@angular/core'
;
@
Component
({
selector
:
'app-admin-system'
,
templateUrl
:
'./admin-system.component.html'
,
styleUrls
:
[
'./admin-system.component.scss'
]
})
export
class
AdminSystemComponent
implements
OnInit
{
constructor
()
{
}
ngOnInit
():
void
{
}
}
src/app/page/admin/user-manage/user-manage.component.html
0 → 100644
View file @
653de988
<p>
user-manage works!
</p>
src/app/page/admin/user-manage/user-manage.component.scss
0 → 100644
View file @
653de988
src/app/page/admin/user-manage/user-manage.component.ts
0 → 100644
View file @
653de988
import
{
Component
,
OnInit
}
from
'@angular/core'
;
@
Component
({
selector
:
'app-user-manage'
,
templateUrl
:
'./user-manage.component.html'
,
styleUrls
:
[
'./user-manage.component.scss'
]
})
export
class
UserManageComponent
implements
OnInit
{
constructor
()
{
}
ngOnInit
():
void
{
}
}
src/app/page/common/navigation/navigation.component.html
0 → 100644
View file @
653de988
<p>
navigation works!
</p>
src/app/page/common/navigation/navigation.component.scss
0 → 100644
View file @
653de988
src/app/page/common/navigation/navigation.component.ts
0 → 100644
View file @
653de988
import
{
Component
,
OnInit
}
from
'@angular/core'
;
@
Component
({
selector
:
'app-navigation'
,
templateUrl
:
'./navigation.component.html'
,
styleUrls
:
[
'./navigation.component.scss'
]
})
export
class
NavigationComponent
implements
OnInit
{
constructor
()
{
}
ngOnInit
():
void
{
}
}
src/app/page/common/toolbar/toolbar.component.html
0 → 100644
View file @
653de988
<p>
toolbar works!
</p>
src/app/page/common/toolbar/toolbar.component.scss
0 → 100644
View file @
653de988
src/app/page/common/toolbar/toolbar.component.ts
0 → 100644
View file @
653de988
import
{
Component
,
OnInit
}
from
'@angular/core'
;
@
Component
({
selector
:
'app-toolbar'
,
templateUrl
:
'./toolbar.component.html'
,
styleUrls
:
[
'./toolbar.component.scss'
]
})
export
class
ToolbarComponent
implements
OnInit
{
constructor
()
{
}
ngOnInit
():
void
{
}
}
src/app/page/home/home.component.html
View file @
653de988
...
@@ -78,7 +78,9 @@
...
@@ -78,7 +78,9 @@
<nz-breadcrumb-item>List</nz-breadcrumb-item>
<nz-breadcrumb-item>List</nz-breadcrumb-item>
<nz-breadcrumb-item>App</nz-breadcrumb-item>
<nz-breadcrumb-item>App</nz-breadcrumb-item>
</nz-breadcrumb> -->
</nz-breadcrumb> -->
<div
class=
"inner-content"
>
Content
</div>
<div
class=
"inner-content"
>
<router-outlet></router-outlet>
</div>
</nz-content>
</nz-content>
<!-- <nz-footer>Ant Design ©2020 Implement By Angular</nz-footer> -->
<!-- <nz-footer>Ant Design ©2020 Implement By Angular</nz-footer> -->
</nz-layout>
</nz-layout>
src/app/page/home/home.component.scss
View file @
653de988
...
@@ -45,8 +45,8 @@
...
@@ -45,8 +45,8 @@
}
}
::ng-deep
.ant-badge-dot
{
::ng-deep
.ant-badge-dot
{
top
:
.7rem
;
top
:
0
.7rem
;
right
:
.6rem
;
right
:
0
.6rem
;
width
:
1
.3rem
;
width
:
1
.3rem
;
height
:
1
.3rem
;
height
:
1
.3rem
;
}
}
\ No newline at end of file
src/styles.scss
View file @
653de988
...
@@ -17,7 +17,7 @@ body {
...
@@ -17,7 +17,7 @@ body {
height
:
100%
;
height
:
100%
;
width
:
100%
;
width
:
100%
;
font-family
:
Helvetica
,
Tahoma
,
Arial
,
STXihei
,
"华文细黑"
,
"Microsoft YaHei"
,
"微软雅黑"
,
SimSun
,
"宋体"
,
Heiti
,
"黑体"
,
sans-serif
;
font-family
:
Helvetica
,
Tahoma
,
Arial
,
STXihei
,
"华文细黑"
,
"Microsoft YaHei"
,
"微软雅黑"
,
SimSun
,
"宋体"
,
Heiti
,
"黑体"
,
sans-serif
;
min-width
:
102
4px
;
min-width
:
102
.4rem
;
overflow-y
:
hidden
;
overflow-y
:
hidden
;
}
}
...
@@ -29,10 +29,10 @@ body {
...
@@ -29,10 +29,10 @@ body {
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
width
:
6
0px
;
width
:
6
rem
;
height
:
5
0px
;
height
:
5
rem
;
display
:
block
;
display
:
block
;
background-size
:
2
8px
28px
;
background-size
:
2
.8rem
2
.8rem
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-position
:
center
;
background-position
:
center
;
z-index
:
1
;
z-index
:
1
;
...
@@ -44,30 +44,30 @@ body {
...
@@ -44,30 +44,30 @@ body {
background-image
:
url(assets/icons/proj-switch.svg)
;
background-image
:
url(assets/icons/proj-switch.svg)
;
}
}
.ant-select-selector
{
.ant-select-selector
{
height
:
5
0px
!
important
;
height
:
5
rem
!
important
;
padding-left
:
6
0px
!
important
;
padding-left
:
6
rem
!
important
;
border-radius
:
1
0px
!
important
;
border-radius
:
1
rem
!
important
;
border
:
0
!
important
;
border
:
0
!
important
;
box-shadow
:
0
4px
10px
0
#707070
80
;
box-shadow
:
0
0
.4rem
1rem
0
#707070
80
;
.ant-select-selection-search
{
.ant-select-selection-search
{
left
:
6
0px
;
left
:
6
rem
;
.ant-select-selection-search-input
{
.ant-select-selection-search-input
{
height
:
5
0px
!
important
;
height
:
5
rem
!
important
;
}
}
}
}
.ant-select-selection-item
,
.ant-select-selection-item
,
.ant-select-selection-placeholder
{
.ant-select-selection-placeholder
{
line-height
:
5
0px
!
important
;
line-height
:
5
rem
!
important
;
}
}
.ant-select-selection-item
{
.ant-select-selection-item
{
.label-main
{
.label-main
{
line-height
:
2
0px
!
important
;
line-height
:
2
rem
!
important
;
padding-top
:
5px
;
padding-top
:
0
.5rem
;
}
}
.label-child
{
.label-child
{
line-height
:
2
0px
!
important
;
line-height
:
2
rem
!
important
;
font-size
:
1
2px
;
font-size
:
1
.2rem
;
font-family
:
Helvetica
;
font-family
:
Helvetica
;
font-weight
:
100
;
font-weight
:
100
;
color
:
#b3b3b3
;
color
:
#b3b3b3
;
...
@@ -79,7 +79,7 @@ body {
...
@@ -79,7 +79,7 @@ body {
.login-select
{
.login-select
{
.ant-select-item-option
{
.ant-select-item-option
{
&
:not
(
:last-child
)
{
&
:not
(
:last-child
)
{
border-bottom
:
1px
solid
#ccc
;
border-bottom
:
0
.1rem
solid
#ccc
;
}
}
}
}
.option-manage
{
.option-manage
{
...
@@ -89,15 +89,15 @@ body {
...
@@ -89,15 +89,15 @@ body {
font-weight
:
100
;
font-weight
:
100
;
color
:
#bbb
;
color
:
#bbb
;
white-space
:
initial
;
white-space
:
initial
;
padding-bottom
:
5px
;
padding-bottom
:
0
.5rem
;
}
}
}
}
nz-header
{
nz-header
{
padding
:
0
2
5px
;
padding
:
0
2
.5rem
;
}
}
nz-content
{
nz-content
{
height
:
calc
(
100%
-
6
4px
);
height
:
calc
(
100%
-
6
.4rem
);
background
:
#fff
;
background
:
#fff
;
}
}
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