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
b27d8ed1
Commit
b27d8ed1
authored
Jul 15, 2021
by
guomingpang
Browse files
Options
Browse Files
Download
Plain Diff
style:将全局表格switch尺寸改为32px
parents
046d1e40
a700bfe2
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
54 additions
and
27 deletions
+54
-27
src/index.html
+2
-2
src/modules/college-manage/CollegeInfoPage.jsx
+1
-2
src/modules/course-manage/video-course/AddVideoCourse.jsx
+2
-2
src/modules/knowledge-base/components/Classification.jsx
+1
-1
src/modules/root/Menu.less
+39
-12
src/modules/root/Menu.tsx
+5
-4
src/modules/teach-tool/components/CourseCategoryManage.jsx
+3
-3
src/modules/teach-tool/components/CourseCategorySiderTree.jsx
+1
-1
No files found.
src/index.html
View file @
b27d8ed1
<!--
* @Author: 吴文洁
* @Date: 2020-08-24 12:20:57
* @LastEditors:
Please set LastEditors
* @LastEditTime: 2021-07-
08 15:07:03
* @LastEditors:
wufan
* @LastEditTime: 2021-07-
15 16:41:14
* @Description:
* @Copyright: 杭州杰竞科技有限公司 版权所有
-->
...
...
src/modules/college-manage/CollegeInfoPage.jsx
View file @
b27d8ed1
...
...
@@ -111,9 +111,8 @@ class CollegeInfoPage extends React.Component {
}
=
this
.
state
;
return
(
<
div
className=
"page college-info-page"
>
<
div
className=
"content-header"
>
学院
基本
信息
</
div
>
<
div
className=
"content-header"
>
学院信息
</
div
>
<
div
className=
"box"
>
<
div
className=
"college-info-header"
>
学院基本信息
</
div
>
<
div
className=
"college-info-page-form"
>
<
Form
ref=
{
this
.
formRef
}
>
...
...
src/modules/course-manage/video-course/AddVideoCourse.jsx
View file @
b27d8ed1
/*
* @Author: 吴文洁
* @Date: 2020-08-05 10:07:47
* @LastEditors:
Please set LastEditors
* @LastEditTime: 2021-07-
08 19:34:10
* @LastEditors:
wufan
* @LastEditTime: 2021-07-
15 16:41:48
* @Description: 视频课新增/编辑页
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
...
...
src/modules/knowledge-base/components/Classification.jsx
View file @
b27d8ed1
...
...
@@ -188,7 +188,7 @@ class Classification extends Component {
<
div
className=
'sider-title'
>
知识分类
</
div
>
<
Search
className=
'sider-search'
placeholder=
'搜索
名称分类
'
placeholder=
'搜索
分类名称
'
onSearch=
{
(
value
)
=>
{
this
.
queryCategoryTree
(
value
);
}
}
...
...
src/modules/root/Menu.less
View file @
b27d8ed1
...
...
@@ -97,7 +97,7 @@
margin: 6px 8px;
width: calc(100% - 15px);
&:hover {
background:
#f3f6fa
;
background:
rgba(41, 102, 255, .05)
;
border-radius: 2px;
color: #333;
}
...
...
@@ -106,8 +106,10 @@
background-color: @active-color;
color: #fff;
border-radius: 2px;
&:hover {
color: #fff;
&.single-menu {
background: rgba(41, 102, 255, .1) !important;
color: @active-color;
font-weight:500;
}
}
.ant-menu-submenu {
...
...
@@ -117,6 +119,9 @@
}
.ant-menu-item {
padding-left: 46px !important;
&:hover {
color: #333!important;
}
}
}
...
...
@@ -124,14 +129,22 @@
color: @active-color;
.ant-menu-item-selected {
color: #fff;
color: @active-color;
font-weight: 500;
&:hover {
color: @active-color!important;
}
.listType {
background: @active-color;
}
}
.ant-menu-submenu-arrow {
right: 10px!important;
color: @active-color;
}
}
.ant-menu-submenu-arrow {
right:
22px
;
right:
10px!important
;
color: #5e606a;
}
}
...
...
@@ -266,16 +279,30 @@
.shink-footer {
left: 74px;
}
// &:hover{
// .menu-type-icon{
// display:inline-block;
// }
// }
}
.ant-menu-inline .ant-menu-item, .ant-menu-inline .ant-menu-submenu-title {
width: calc(100% - 15px)!important;
}
.ant-menu-submenu:hover {
// background: rgba(41, 102, 255, .05) !important;
&.ant-menu-submenu-title:hover {
color: #333333!important;
}
.ant-menu-submenu-title > .ant-menu-submenu-arrow {
color: #5e606a!important;
}
&.icon-img-box {
background-color: rgba(41, 102, 255, .05)!important;
}
}
.ant-menu-light .ant-menu-submenu-title:hover {
color: #333!important;
background: rgba(41, 102, 255, .05) !important;
}
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
background:
@active-color
!important;
background:
rgba(41, 102, 255, .1)
!important;
}
.ant-menu.ant-menu-dark,
.ant-menu-dark .ant-menu-sub,
...
...
src/modules/root/Menu.tsx
View file @
b27d8ed1
...
...
@@ -239,10 +239,10 @@ function Aside(props: any) {
icon=
{
!
menuType
&&
item
.
groupCode
===
selectKeyParent
?
(
<
div
className=
'icon-img-box'
style=
{
{
backgroundColor
:
'#2966FF'
,
width
:
'40px'
,
height
:
'40px'
}
}
>
<
img
src=
{
item
.
selectI
mg
}
className=
'icon-img'
/>
<
img
src=
{
item
.
i
mg
}
className=
'icon-img'
/>
</
div
>
)
:
(
<
div
className=
'icon-img-box'
style=
{
{
backgroundColor
:
'#fff'
,
width
:
'40px'
,
height
:
'40px'
,
display
:
'inline-block'
}
}
>
<
div
className=
'icon-img-box'
style=
{
{
width
:
'40px'
,
height
:
'40px'
,
display
:
'inline-block'
}
}
>
<
img
src=
{
item
.
img
}
className=
'icon-img'
/>
</
div
>
)
...
...
@@ -269,6 +269,7 @@ function Aside(props: any) {
}
else
{
return
(
<
Menu
.
Item
className=
"single-menu"
onClick=
{
()
=>
{
toggleMenu
(
item
,
item
.
groupCode
);
}
}
...
...
@@ -276,11 +277,11 @@ function Aside(props: any) {
icon=
{
!
menuType
&&
item
.
groupCode
===
selectKeyParent
?
(
<
div
className=
'icon-img-box'
style=
{
{
backgroundColor
:
'#2966FF'
}
}
>
<
img
src=
{
item
.
selectI
mg
}
className=
'icon-img'
/>
<
img
src=
{
item
.
i
mg
}
className=
'icon-img'
/>
</
div
>
)
:
(
<
div
className=
'icon-img-box'
>
<
img
src=
{
selectKey
===
item
.
groupCode
?
item
.
selectImg
:
item
.
img
}
className=
'icon-img'
/>
<
img
src=
{
item
.
img
}
className=
'icon-img'
/>
</
div
>
)
}
>
...
...
src/modules/teach-tool/components/CourseCategoryManage.jsx
View file @
b27d8ed1
...
...
@@ -539,15 +539,15 @@ class CourseCategoryManage extends Component {
return
(
<
div
className=
'page course-category-manage'
>
{
[
'aid'
,
'knowledge'
].
includes
(
getParameterByName
(
'from'
))
?
(
<
Breadcrumbs
navList=
'
课程分类
'
goBack=
{
()
=>
window
.
RCHistory
.
goBack
()
}
/>
<
Breadcrumbs
navList=
'
分类管理
'
goBack=
{
()
=>
window
.
RCHistory
.
goBack
()
}
/>
)
:
(
<
div
className=
'content-header'
>
课程分类
</
div
>
<
div
className=
'content-header'
>
分类管理
</
div
>
)
}
<
div
className=
'box'
>
<
div
className=
'search-condition'
>
<
span
className=
'search-label'
>
搜索名称:
</
span
>
<
Search
placeholder=
'
请输入
名称'
placeholder=
'
搜索分类
名称'
style=
{
{
width
:
'300px'
}
}
onSearch=
{
(
value
)
=>
this
.
queryCategoryTree
(
'init'
,
value
)
}
className=
'search-input'
...
...
src/modules/teach-tool/components/CourseCategorySiderTree.jsx
View file @
b27d8ed1
...
...
@@ -189,7 +189,7 @@ class CourseCategorySiderTree extends Component {
)
}
<
Search
className=
'sider-search'
placeholder=
'搜索
名称分类
'
placeholder=
'搜索
分类名称
'
onSearch=
{
(
value
)
=>
{
this
.
queryCategoryTree
(
'init'
,
value
);
}
}
...
...
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