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
8595031d
Commit
8595031d
authored
Jan 25, 2021
by
wufan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style:资料云盘样式优化
parent
b5e17cbe
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
27 deletions
+19
-27
src/bu-components/ChooseMembersModal.jsx
+5
-14
src/bu-components/ChooseMembersModal.less
+3
-2
src/bu-components/CopyFileModal.jsx
+0
-6
src/bu-components/CopyFileModal.less
+1
-0
src/bu-components/ManagingMembersModal.jsx
+2
-2
src/bu-components/ManagingMembersModal.less
+1
-1
src/bu-components/SelectPrepareFileModal.less
+7
-2
No files found.
src/bu-components/ChooseMembersModal.jsx
View file @
8595031d
...
...
@@ -203,8 +203,10 @@ class ChooseMembersModal extends React.Component {
title
:
'全选'
,
// 实际为头像,但在表格上这行要求显示为全选
key
:
'avatar'
,
dataIndex
:
'avatar'
,
width
:
'
30px
'
,
width
:
'
40%
'
,
render
:
(
value
,
record
)
=>
{
const
{
adminName
}
=
record
;
return
(
<
div
className=
'avatar'
>
{
...
...
@@ -212,21 +214,10 @@ class ChooseMembersModal extends React.Component {
[<
img
className=
'avatar-img'
src=
{
value
}
key=
'avatar'
alt=
""
/>]
:
[<
img
className=
'avatar-img'
src=
'https://image.xiaomaiketang.com/xm/dEyxDRKwFw.png'
key=
'avatar'
alt=
""
/>]
}
</
div
>
)
}
},{
title
:
''
,
key
:
'adminNameLeft'
,
dataIndex
:
'adminName'
,
width
:
'30%'
,
align
:
'left'
,
render
:
(
value
,
record
)
=>
{
const
{
adminName
}
=
record
;
return
(
<
span
className=
'userImg'
>
{
adminName
}
</
span
>
</
div
>
)
}
}
...
...
@@ -309,7 +300,7 @@ class ChooseMembersModal extends React.Component {
// bordered={true}
size=
{
'small'
}
rowSelection=
{
{
columnWidth
:
30
,
columnWidth
:
24
,
selectedRowKeys
,
onChange
:
this
.
onChangeRow
,
getCheckboxProps
:
this
.
getCheckboxProps
,
...
...
src/bu-components/ChooseMembersModal.less
View file @
8595031d
...
...
@@ -50,6 +50,7 @@
height: 23px;
width: 23px;
border-radius: 50%;
margin-right: 8px;
}
}
}
...
...
@@ -68,9 +69,9 @@
.span-right{
float: right;
margin-right: 10px;
color:
#5289FA
;
color:
#999
;
.span-right-l{
color: #
FD9A6
A;
color: #
5289F
A;
cursor: pointer;
}
}
...
...
src/bu-components/CopyFileModal.jsx
View file @
8595031d
...
...
@@ -251,12 +251,6 @@ class CopyFileModal extends React.Component {
</
Button
>
]
}
>
{
/* <div className='copy-header'>
<Radio.Group>
<Radio.Button value={'MYSELF'} onClick={() => this.getFileList('MYSELF')}>我的文件</Radio.Button>
<Radio.Button onClick={() => this.getFileList('COMMON')}>公共文件</Radio.Button>
</Radio.Group>
</div> */
}
<
div
className=
'copy-body'
>
{
/* 面包屑 */
}
<
div
className=
"bread-crumbs"
>
...
...
src/bu-components/CopyFileModal.less
View file @
8595031d
...
...
@@ -59,6 +59,7 @@
.lottie-box {
border:1px solid #E8E8E8;
border-radius:4px;
height: 320px;
}
.lottie-icon{
...
...
src/bu-components/ManagingMembersModal.jsx
View file @
8595031d
...
...
@@ -194,7 +194,7 @@ class ManagingMembersModal extends React.Component {
title
:
'头像'
,
key
:
'avatar'
,
dataIndex
:
'avatar'
,
width
:
'
20
%'
,
width
:
'
8
%'
,
align
:
'right'
,
render
:
(
value
,
record
)
=>
{
return
(
...
...
@@ -224,7 +224,7 @@ class ManagingMembersModal extends React.Component {
title
:
'权限'
,
key
:
'rights'
,
dataIndex
:
'rights'
,
width
:
'
4
0%'
,
width
:
'
5
0%'
,
align
:
'right'
,
render
:
(
value
,
record
)
=>
{
const
imgSrcList
=
[
'https://image.xiaomaiketang.com/xm/Th5cKisf6f.png'
,
'https://image.xiaomaiketang.com/xm/nzAcc6ryTp.png'
];
...
...
src/bu-components/ManagingMembersModal.less
View file @
8595031d
...
...
@@ -15,7 +15,7 @@
.managing-right{
float: right;
color: #
FFB714
;
color: #
5289FA
;
cursor: pointer;
.tool-tip-right{
margin-right: 4px;
...
...
src/bu-components/SelectPrepareFileModal.less
View file @
8595031d
...
...
@@ -50,9 +50,14 @@
}
.file-list {
// border: 1px solid #E8E8E8;
// border-radius: 4px;
height: 100%;
border-top: 1px solid #E8E8E8;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
border: 1px solid #E8E8E8;
border-radius: 4px;
overflow: auto;
.file-item {
display: flex;
align-items: center;
...
...
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