summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-08-23 10:20:21 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-08-23 10:20:35 +0800
commitbda50f637b486e1177e95309914d964ecc91a402 (patch)
tree25eaac003720f85aeff7c6487a58cdff3801d8f3
parentd0f5347dc16b5aa9fc95eb520fbc9a1c7b672b09 (diff)
feat:home page code optimization
Change-Id: Iad3a772007775e3069097f85f3a1a6d2476b9a10 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
-rw-r--r--usecaseui-portal/src/app/app.component.html19
-rw-r--r--usecaseui-portal/src/app/app.component.less6
2 files changed, 2 insertions, 23 deletions
diff --git a/usecaseui-portal/src/app/app.component.html b/usecaseui-portal/src/app/app.component.html
index a0838c3d..e0051383 100644
--- a/usecaseui-portal/src/app/app.component.html
+++ b/usecaseui-portal/src/app/app.component.html
@@ -16,7 +16,7 @@
<nz-layout>
<nz-sider nzWidth='330' nzBreakpoint='xl' nzCollapsedWidth=260>
<div class="siderContent">
- <img src="../assets/images/uui-logo130.png" alt="">
+ <img src="assets/images/uui-logo130.png" alt="">
</div>
<ul nz-menu [nzTheme]="'dark'" [nzMode]="'inline'">
<li nz-menu-item [ngClass]="{'activeMenuBar':activeMenuBar[0] == true}" (click)="thisActive(0)">
@@ -71,23 +71,6 @@
routerLink='services/onboard-vnf-vm'> {{"i18nTextDefine_PackageManagement" | translate}} </a></li>
</ul>
</li>
- <!-- <hr>
- <li nz-menu-item>
- <a routerLink="alarm">
- <span title>
- <i class="anticon anticon-mail"></i>
- <span> {{"i18nTextDefine_Alarm" | translate}} </span>
- </span>
- </a>
- </li>
- <hr> -->
- <!-- <li nz-submenu>
- <span title><i class="anticon anticon-setting"></i> {{"i18nTextDefine_Monitor" | translate}} </span>
- <ul>
- <li nz-menu-item><a routerLink='alarm'> {{"i18nTextDefine_Alarm" | translate}} </a></li>
- <li nz-menu-item><a routerLink='performance/performance-vnf'> {{"i18nTextDefine_Performance" | translate}}</a></li>
- </ul>
- </li> -->
<hr>
<li nz-menu-item [ngClass]="{'activeMenuBar':activeMenuBar[4] == true}" (click)="thisActive(4)">
<a routerLink="network">
diff --git a/usecaseui-portal/src/app/app.component.less b/usecaseui-portal/src/app/app.component.less
index 42889ef2..ade860b1 100644
--- a/usecaseui-portal/src/app/app.component.less
+++ b/usecaseui-portal/src/app/app.component.less
@@ -27,9 +27,8 @@ nz-layout {
position: fixed;
left: 0;
z-index: 100;
- // overflow: auto;
height: 100vh;
- background: #313449 url('../assets/images/UUIMenuBar.png') no-repeat;
+ background: #313449 url('assets/images/UUIMenuBar.png') no-repeat;
background-size: 100%;
.siderContent{
width: 100%;
@@ -60,9 +59,6 @@ nz-layout {
width: 20px;
}
}
- .icon-services {
- background: url(../assets/images/icon.png) no-repeat 0px -16px;
- }
ul {
background: transparent!important;
li{