Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
a6d65e6a
Commit
a6d65e6a
authored
Apr 15, 2021
by
chenshu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:优化样式
parent
10a628ab
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
25 deletions
+33
-25
src/modules/college-manage/modal/ChooseMembersModal.less
+2
-2
src/modules/college-manage/modal/SetEmployeeModal.jsx
+1
-1
src/modules/college-manage/modal/SetEmployeeModal.less
+1
-0
src/modules/root/Header.jsx
+7
-5
src/modules/root/Header.less
+22
-17
No files found.
src/modules/college-manage/modal/ChooseMembersModal.less
View file @
a6d65e6a
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
}
}
.ant-empty-normal {
.ant-empty-normal {
margin:
10
0px 0 !important;
margin:
8
0px 0 !important;
}
}
.avatar{
.avatar{
display: flex;
display: flex;
...
@@ -123,7 +123,7 @@
...
@@ -123,7 +123,7 @@
}
}
.ant-empty-normal {
.ant-empty-normal {
margin: 1
44
px 0 !important;
margin: 1
20
px 0 !important;
}
}
.avatar{
.avatar{
...
...
src/modules/college-manage/modal/SetEmployeeModal.jsx
View file @
a6d65e6a
...
@@ -49,7 +49,7 @@ export default class SetEmployeeModal extends React.Component {
...
@@ -49,7 +49,7 @@ export default class SetEmployeeModal extends React.Component {
onCancel=
{
()
=>
{
onCancel=
{
()
=>
{
this
.
props
.
onCancel
()
this
.
props
.
onCancel
()
}
}
}
}
w
enterpriseVisibleUserI
dth=
{
680
}
w
i
dth=
{
680
}
footer=
{
footer=
{
<
div
className=
"modal-footer"
>
<
div
className=
"modal-footer"
>
<
Button
style=
{
{
float
:
'left'
}
}
onClick=
{
()
=>
this
.
props
.
onClose
()
}
>
上一步
</
Button
>
<
Button
style=
{
{
float
:
'left'
}
}
onClick=
{
()
=>
this
.
props
.
onClose
()
}
>
上一步
</
Button
>
...
...
src/modules/college-manage/modal/SetEmployeeModal.less
View file @
a6d65e6a
.set-employee-modal {
.set-employee-modal {
.ant-modal-body {
.ant-modal-body {
padding: 0 !important;
padding: 0 !important;
min-height: 465px !important;
.employee-container {
.employee-container {
height: 368px;
height: 368px;
display: flex;
display: flex;
...
...
src/modules/root/Header.jsx
View file @
a6d65e6a
...
@@ -70,13 +70,15 @@ function Header(props) {
...
@@ -70,13 +70,15 @@ function Header(props) {
return
(
return
(
<
div
className=
"user-center-dropdown"
>
<
div
className=
"user-center-dropdown"
>
<
div
className=
"user-detail"
>
<
div
className=
"user-detail"
>
<
div
className=
"name"
>
{
nickName
}
</
div
>
<
div
className=
"box"
>
<
div
className=
"box"
>
<
span
className=
"phone"
>
{
phone
}
</
span
>
<
Tooltip
title=
{
nickName
}
>
<
span
className=
"setting"
onClick=
{
()
=>
toPersonalInfoPage
()
}
>
个人设置
<
div
className=
"name"
>
{
nickName
}
</
div
>
<
span
className=
"iconfont icon"
>

</
span
>
</
Tooltip
>
</
span
>
<
span
className=
"phone"
>
{
phone
||
'13255067024'
}
<
/
span
>
</
div
>
</
div
>
<
span
className=
"setting"
onClick=
{
()
=>
toPersonalInfoPage
()
}
>
个人设置
<
span
className=
"iconfont icon"
>

</
span
>
</
span
>
</
div
>
</
div
>
<
div
className=
"menu"
>
<
div
className=
"menu"
>
{
User
.
getEnterpriseId
()
&&
{
User
.
getEnterpriseId
()
&&
...
...
src/modules/root/Header.less
View file @
a6d65e6a
...
@@ -538,29 +538,34 @@
...
@@ -538,29 +538,34 @@
padding: 12px 16px;
padding: 12px 16px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
.user-detail {
.user-detail {
position: relative;
padding-bottom: 16px;
padding-bottom: 16px;
border-bottom: 1px solid #E8E8E8;
border-bottom: 1px solid #E8E8E8;
.name {
display: flex;
font-size: 16px;
align-items: center;
color: #333;
justify-content: space-between;
line-height: 22px;
margin-bottom: 4px;
}
.box {
.box {
display: flex;
width: 160px;
justify-content: space-between;
.name {
align-items: center;
font-size: 16px;
line-height: 22px;
color: #333;
line-height: 22px;
margin-bottom: 4px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.phone {
.phone {
line-height: 22px;
color: #999999;
color: #999999;
}
}
.setting {
}
color: #666;
.setting {
cursor: pointer
;
color: #666
;
.iconfont {
cursor: pointer;
margin-left: 4px;
.iconfont {
font-size: 12
px;
margin-left: 4
px;
}
font-size: 12px;
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment