Ver a proveniência

'样式调整+Data.User增加字段'

main
郑州 há 3 anos
ascendente
cometimento
6852e8b09d
2 ficheiros alterados com 13 adições e 9 eliminações
  1. +11
    -6
      src/components/AppHeader/index.less
  2. +2
    -3
      src/services/API.d.ts

+ 11
- 6
src/components/AppHeader/index.less Ver ficheiro

@@ -7,21 +7,26 @@
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
flex-direction: row; flex-direction: row;
box-shadow: 0px 0.5px 0px 0px #EEF2F5;
box-shadow: 0px 0.5px 0px 0px #eef2f5;
background-color: #fff; background-color: #fff;
z-index: 1001;
} }
.left, .right {
.left,
.right {
flex: none; flex: none;
line-height: 0; line-height: 0;
} }
.right { .right {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;


.mr16 { margin-right: 16px; }
.mr12 { margin-right: 12px;}
.mr16 {
margin-right: 16px;
}
.mr12 {
margin-right: 12px;
}
.split { .split {
display: inline-block; display: inline-block;
width: 1px; width: 1px;
@@ -29,4 +34,4 @@
.mr16(); .mr16();
background-color: rgba(#000, 0.1); background-color: rgba(#000, 0.1);
} }
}
}

+ 2
- 3
src/services/API.d.ts Ver ficheiro

@@ -12,12 +12,11 @@ declare namespace API {
*/ */
requestIsSuccess: boolean; requestIsSuccess: boolean;
} }


} }


declare namespace DATA { declare namespace DATA {
export interface User { export interface User {
id: string;
backgroundPermission: number; backgroundPermission: number;
/** /**
* 姓名 * 姓名
@@ -39,4 +38,4 @@ declare namespace DATA {
*/ */
phone: string; phone: string;
} }
}
}

Carregando…
Cancelar
Guardar