Преглед на файлове

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

main
郑州 преди 3 години
родител
ревизия
6852e8b09d
променени са 2 файла, в които са добавени 13 реда и са изтрити 9 реда
  1. +11
    -6
      src/components/AppHeader/index.less
  2. +2
    -3
      src/services/API.d.ts

+ 11
- 6
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);
}
}
}

+ 2
- 3
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;
}
}
}

Зареждане…
Отказ
Запис