From 5d9b41e5bf84926b2896231f17d3408fee0bf918 Mon Sep 17 00:00:00 2001 From: cyuamber Date: Fri, 23 Aug 2019 11:33:22 +0800 Subject: feat: home page code optimization Change-Id: I9b8d91cad2ce1a558a561fe48aeec6da52e7563c Issue-ID: USECASEUI-307 Signed-off-by: cyuamber --- usecaseui-portal/src/app/views/home/home.component.html | 9 +-------- usecaseui-portal/src/app/views/home/home.component.less | 14 ++------------ 2 files changed, 3 insertions(+), 20 deletions(-) (limited to 'usecaseui-portal/src/app/views/home') diff --git a/usecaseui-portal/src/app/views/home/home.component.html b/usecaseui-portal/src/app/views/home/home.component.html index 4126f241..5f956827 100644 --- a/usecaseui-portal/src/app/views/home/home.component.html +++ b/usecaseui-portal/src/app/views/home/home.component.html @@ -14,18 +14,11 @@ limitations under the License. --> -

{{"i18nTextDefine_SERVICES" | translate}}

- - -
No Service Instances
- +
{{"i18nTextDefine_Total" | translate}}: {{serviceNumber}} {{"i18nTextDefine_cutomers_and" | translate}} {{serviceNumber}} diff --git a/usecaseui-portal/src/app/views/home/home.component.less b/usecaseui-portal/src/app/views/home/home.component.less index 9e768cf7..affe4765 100644 --- a/usecaseui-portal/src/app/views/home/home.component.less +++ b/usecaseui-portal/src/app/views/home/home.component.less @@ -13,17 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// .title { -// font: 700 18px/18px "思源黑体"; -// color: #4c5e70; -// margin-bottom: 18px; -// } -// hr { -// border: none; -// height: 2px; -// background-color: #dce1e7; -// margin-bottom: 20px; -// } + .content { padding: 20px 20px; overflow: hidden; @@ -254,7 +244,7 @@ right: 12px; } } - //下拉框中的样式在style.less中,下拉框是在body中额外临时生成的 + //The style in the drop-down box is in style.less, and the drop-down box is extra temporary generated in the body. } #pfVmChartLine { width: 100%; -- cgit 1.2.3-korg