From 6852e8b09d3553fc608c3d4c75ad36b1c16cf217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E5=B7=9E?= Date: Thu, 1 Jul 2021 16:47:35 +0800 Subject: [PATCH] =?UTF-8?q?'=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4+Data.User?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AD=97=E6=AE=B5'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AppHeader/index.less | 17 +++++++++++------ src/services/API.d.ts | 5 ++--- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/components/AppHeader/index.less b/src/components/AppHeader/index.less index 7c27474..0aa45dc 100644 --- a/src/components/AppHeader/index.less +++ b/src/components/AppHeader/index.less @@ -7,21 +7,26 @@ justify-content: space-between; align-items: center; flex-direction: row; - box-shadow: 0px 0.5px 0px 0px #EEF2F5; + box-shadow: 0px 0.5px 0px 0px #eef2f5; background-color: #fff; + z-index: 1001; } -.left, .right { +.left, +.right { flex: none; line-height: 0; - } .right { display: flex; flex-direction: row; align-items: center; - .mr16 { margin-right: 16px; } - .mr12 { margin-right: 12px;} + .mr16 { + margin-right: 16px; + } + .mr12 { + margin-right: 12px; + } .split { display: inline-block; width: 1px; @@ -29,4 +34,4 @@ .mr16(); background-color: rgba(#000, 0.1); } -} \ No newline at end of file +} diff --git a/src/services/API.d.ts b/src/services/API.d.ts index 9684ae8..340b490 100644 --- a/src/services/API.d.ts +++ b/src/services/API.d.ts @@ -12,12 +12,11 @@ declare namespace API { */ requestIsSuccess: boolean; } - - } declare namespace DATA { export interface User { + id: string; backgroundPermission: number; /** * 姓名 @@ -39,4 +38,4 @@ declare namespace DATA { */ phone: string; } -} \ No newline at end of file +}