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
12ff6c93
Commit
12ff6c93
authored
May 25, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style:Ui优化
parent
67f9a138
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
21 additions
and
17 deletions
+21
-17
src/core/antd.less
+2
-1
src/core/page.less
+5
-2
src/modules/course-manage/AddLive.jsx
+1
-1
src/modules/course-manage/components/AddLiveBasic.jsx
+1
-1
src/modules/course-manage/components/LiveCourseList.jsx
+2
-2
src/modules/course-manage/graphics-course/AddGraphicsCourse.jsx
+3
-3
src/modules/course-manage/graphics-course/components/GraphicsCourseList.jsx
+3
-3
src/modules/knowledge-base/components/KnowledgeBaseList.jsx
+4
-4
No files found.
src/core/antd.less
View file @
12ff6c93
...
@@ -615,7 +615,8 @@ mr0 {
...
@@ -615,7 +615,8 @@ mr0 {
// }
// }
.ant-table-thead > tr > th{
.ant-table-thead > tr > th{
font-weight:normal !important;
font-weight:bold !important;
color:#333 !important;
}
}
td.ant-table-column-sort{
td.ant-table-column-sort{
background: none;
background: none;
...
...
src/core/page.less
View file @
12ff6c93
...
@@ -47,8 +47,12 @@
...
@@ -47,8 +47,12 @@
line-height: 30px;
line-height: 30px;
}
}
.content-header {
.content-header {
padding:
10px
16px;
padding:16px;
line-height: 30px;
line-height: 30px;
font-size:24px;
color:#333;
font-weight:bold;
background: #FFF;
h1 {
h1 {
font-size: 14px;
font-size: 14px;
color: #898989;
color: #898989;
...
@@ -59,7 +63,6 @@
...
@@ -59,7 +63,6 @@
.box{
.box{
padding: 16px;
padding: 16px;
margin: 0 16px 16px;
margin-bottom: 8px;
margin-bottom: 8px;
background: #ffffff;
background: #ffffff;
// min-height: 400px;
// min-height: 400px;
...
...
src/modules/course-manage/AddLive.jsx
View file @
12ff6c93
...
@@ -27,7 +27,7 @@ import _ from "underscore";
...
@@ -27,7 +27,7 @@ import _ from "underscore";
import
$
from
'jquery'
;
import
$
from
'jquery'
;
import
'./AddLive.less'
;
import
'./AddLive.less'
;
const
defaultCover
=
'https://image.xiaomaiketang.com/xm/Y
Nfi45JwFA
.png'
;
const
defaultCover
=
'https://image.xiaomaiketang.com/xm/Y
ip2YtFDwH
.png'
;
const
defaultBasicInfo
=
{
const
defaultBasicInfo
=
{
courseName
:
null
,
// 课程名称
courseName
:
null
,
// 课程名称
coverUrl
:
defaultCover
,
coverUrl
:
defaultCover
,
...
...
src/modules/course-manage/components/AddLiveBasic.jsx
View file @
12ff6c93
...
@@ -17,7 +17,7 @@ import Upload from '@/core/upload';
...
@@ -17,7 +17,7 @@ import Upload from '@/core/upload';
import
'./AddLiveBasic.less'
;
import
'./AddLiveBasic.less'
;
const
defaultCover
=
'https://image.xiaomaiketang.com/xm/Y
Nfi45JwFA
.png'
;
const
defaultCover
=
'https://image.xiaomaiketang.com/xm/Y
ip2YtFDwH
.png'
;
const
fieldNames
=
{
label
:
'categoryName'
,
value
:
'id'
,
children
:
'sonCategoryList'
};
const
fieldNames
=
{
label
:
'categoryName'
,
value
:
'id'
,
children
:
'sonCategoryList'
};
let
cutFlag
=
false
;
let
cutFlag
=
false
;
let
timer
=
null
let
timer
=
null
...
...
src/modules/course-manage/components/LiveCourseList.jsx
View file @
12ff6c93
...
@@ -166,7 +166,7 @@ class LiveCourseList extends React.Component {
...
@@ -166,7 +166,7 @@ class LiveCourseList extends React.Component {
})
})
}
}
{
!
hasCover
&&
{
!
hasCover
&&
<
img
className=
"course-cover"
src=
{
'https://image.xiaomaiketang.com/xm/Y
Nfi45JwFA
.png'
}
/>
<
img
className=
"course-cover"
src=
{
'https://image.xiaomaiketang.com/xm/Y
ip2YtFDwH
.png'
}
/>
}
}
<
div
>
<
div
>
{
record
.
courseName
.
length
>
17
?
{
record
.
courseName
.
length
>
17
?
...
@@ -400,7 +400,7 @@ class LiveCourseList extends React.Component {
...
@@ -400,7 +400,7 @@ class LiveCourseList extends React.Component {
})
})
}
}
{
!
hasCover
&&
{
!
hasCover
&&
<
img
className=
"course-cover"
src=
{
'https://image.xiaomaiketang.com/xm/Y
Nfi45JwFA
.png'
}
/>
<
img
className=
"course-cover"
src=
{
'https://image.xiaomaiketang.com/xm/Y
ip2YtFDwH
.png'
}
/>
}
}
<
div
>
<
div
>
{
record
.
courseName
.
length
>
17
?
{
record
.
courseName
.
length
>
17
?
...
...
src/modules/course-manage/graphics-course/AddGraphicsCourse.jsx
View file @
12ff6c93
/*
/*
* @Author: 吴文洁
* @Author: 吴文洁
* @Date: 2020-08-05 10:07:47
* @Date: 2020-08-05 10:07:47
* @LastEditors:
wufan
* @LastEditors:
Please set LastEditors
* @LastEditTime: 2021-05-2
4 11:32:02
* @LastEditTime: 2021-05-2
5 17:42:10
* @Description: 图文课新增/编辑页
* @Description: 图文课新增/编辑页
* @Copyright: 杭州杰竞科技有限公司 版权所有
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
*/
...
@@ -33,7 +33,7 @@ const fieldNames = { label: 'categoryName', value: 'id', children: 'sonCategory
...
@@ -33,7 +33,7 @@ const fieldNames = { label: 'categoryName', value: 'id', children: 'sonCategory
//添加课程时课程默认的一些值
//添加课程时课程默认的一些值
const
defaultShelfState
=
'YES'
;
const
defaultShelfState
=
'YES'
;
const
whetherVisitorsJoin
=
'NO'
const
whetherVisitorsJoin
=
'NO'
const
defaultCoverUrl
=
'https://image.xiaomaiketang.com/xm/
YNfi45JwFA
.png'
;
const
defaultCoverUrl
=
'https://image.xiaomaiketang.com/xm/
wFnpZtp2yB
.png'
;
let
cutFlag
=
false
;
let
cutFlag
=
false
;
class
AddGraphicsCourse
extends
React
.
Component
{
class
AddGraphicsCourse
extends
React
.
Component
{
...
...
src/modules/course-manage/graphics-course/components/GraphicsCourseList.jsx
View file @
12ff6c93
/*
/*
* @Author: 吴文洁
* @Author: 吴文洁
* @Date: 2020-08-05 10:12:45
* @Date: 2020-08-05 10:12:45
* @LastEditors:
wufan
* @LastEditors:
Please set LastEditors
* @LastEditTime: 2021-05-
14 18:07:44
* @LastEditTime: 2021-05-
25 17:41:51
* @Description: 视频课-列表模块
* @Description: 视频课-列表模块
* @Copyright: 杭州杰竞科技有限公司 版权所有
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
*/
...
@@ -25,7 +25,7 @@ import User from '@/common/js/user'
...
@@ -25,7 +25,7 @@ import User from '@/common/js/user'
import
'./GraphicsCourseList.less'
;
import
'./GraphicsCourseList.less'
;
const
ENV
=
process
.
env
.
DEPLOY_ENV
||
'dev'
;
const
ENV
=
process
.
env
.
DEPLOY_ENV
||
'dev'
;
const
defaultCoverUrl
=
'https://image.xiaomaiketang.com/xm/
YNfi45JwFA
.png'
;
const
defaultCoverUrl
=
'https://image.xiaomaiketang.com/xm/
wFnpZtp2yB
.png'
;
class
GraphicsCourseList
extends
React
.
Component
{
class
GraphicsCourseList
extends
React
.
Component
{
...
...
src/modules/knowledge-base/components/KnowledgeBaseList.jsx
View file @
12ff6c93
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* @Description:
* @Description:
* @Author: zangsuyun
* @Author: zangsuyun
* @Date: 2021-03-12 14:49:40
* @Date: 2021-03-12 14:49:40
* @LastEditors:
zangsuyun
* @LastEditors:
Please set LastEditors
* @LastEditTime: 2021-0
4-12 10:31:53
* @LastEditTime: 2021-0
5-25 17:45:07
* @Copyright: © 2020 杭州杰竞科技有限公司 版权所有
* @Copyright: © 2020 杭州杰竞科技有限公司 版权所有
*/
*/
...
@@ -215,7 +215,7 @@ class KnowledgeBaseList extends React.Component {
...
@@ -215,7 +215,7 @@ class KnowledgeBaseList extends React.Component {
{
!
hasCover
&&
(
{
!
hasCover
&&
(
<
img
<
img
className=
"course-cover"
className=
"course-cover"
src=
{
"https://image.xiaomaiketang.com/xm/Y
Nfi45JwFA
.png"
}
src=
{
"https://image.xiaomaiketang.com/xm/Y
ip2YtFDwH
.png"
}
/>
/>
)
}
)
}
<
div
>
<
div
>
...
@@ -353,7 +353,7 @@ class KnowledgeBaseList extends React.Component {
...
@@ -353,7 +353,7 @@ class KnowledgeBaseList extends React.Component {
className=
"course-cover"
className=
"course-cover"
src=
{
src=
{
coverUrl
||
coverUrl
||
"https://image.xiaomaiketang.com/xm/
YNfi45JwFA
.png"
"https://image.xiaomaiketang.com/xm/
wFnpZtp2yB
.png"
}
}
/>
/>
{
val
.
length
>
25
?
(
{
val
.
length
>
25
?
(
...
...
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