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
a5bd3f1c
Commit
a5bd3f1c
authored
Dec 28, 2020
by
wufan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:上课数据观看次数为0不可点击
parent
d1a8af94
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
10 deletions
+13
-10
src/modules/course-manage/DataList/CourseData.jsx
+7
-4
src/modules/resource-disk/index.less
+3
-3
src/modules/store-manage/EmployeeAddOrEditModal.tsx
+2
-2
src/modules/store-manage/StoreH5DecorationTab.jsx
+1
-1
No files found.
src/modules/course-manage/DataList/CourseData.jsx
View file @
a5bd3f1c
...
@@ -271,7 +271,7 @@ class DataList extends React.Component {
...
@@ -271,7 +271,7 @@ class DataList extends React.Component {
<
div
className=
"right"
>
<
div
className=
"right"
>
<
div
className=
"name"
>
{
teacherData
.
userName
}
</
div
>
<
div
className=
"name"
>
{
teacherData
.
userName
}
</
div
>
<
div
className=
"phone"
>
<
div
className=
"phone"
>
{
teacherData
.
phone
||
"13888884388"
}
{
teacherData
.
phone
}
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
@@ -281,10 +281,13 @@ class DataList extends React.Component {
...
@@ -281,10 +281,13 @@ class DataList extends React.Component {
className=
{
`times-num ${
className=
{
`times-num ${
Number(teacherData.entryNum) > 0 ? "can-click" : ""
Number(teacherData.entryNum) > 0 ? "can-click" : ""
}`
}
}`
}
>
>
{
Number
(
teacherData
.
entryNum
)
>
0
?
<
Popover
content=
{
this
.
showTable
()
}
trigger=
"click"
>
<
Popover
content=
{
this
.
showTable
()
}
trigger=
"click"
>
<
span
className=
"times-num"
>
{
teacherData
.
entryNum
}
</
span
>
<
span
className=
"times-num"
>
{
teacherData
.
entryNum
||
0
}
</
span
>
</
Popover
>
</
Popover
>:
<
span
className=
"times-num"
>
{
0
}
</
span
>
}
</
div
>
</
div
>
<
div
className=
"text"
>
进入直播间次数
</
div
>
<
div
className=
"text"
>
进入直播间次数
</
div
>
</
div
>
</
div
>
...
...
src/modules/resource-disk/index.less
View file @
a5bd3f1c
...
@@ -41,11 +41,11 @@
...
@@ -41,11 +41,11 @@
}
}
&:hover {
&:hover {
background: rgba(255,
133,52,0.06
);
background: rgba(255,
183, 20, 0.05
);
}
}
&.active {
&.active {
background: rgba(255,
133,52,0.06
);
background: rgba(255,
183, 20, 0.05
);
.iconfont, .disk-name {
.iconfont, .disk-name {
font-weight: 500;
font-weight: 500;
}
}
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
right: 0;
right: 0;
width: 4px;
width: 4px;
height: 100%;
height: 100%;
background-color: #FF
853
4;
background-color: #FF
B71
4;
}
}
}
}
...
...
src/modules/store-manage/EmployeeAddOrEditModal.tsx
View file @
a5bd3f1c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: wufan
* @Author: wufan
* @Date: 2020-11-27 16:21:49
* @Date: 2020-11-27 16:21:49
* @LastEditors: wufan
* @LastEditors: wufan
* @LastEditTime: 2020-12-
14 15:42:13
* @LastEditTime: 2020-12-
28 10:21:12
* @Description: Description
* @Description: Description
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
*/
...
@@ -111,7 +111,7 @@ function AddEmployeeModal(props: AddEmployeeModalProps) {
...
@@ -111,7 +111,7 @@ function AddEmployeeModal(props: AddEmployeeModalProps) {
function
handleOk
():
void
{
function
handleOk
():
void
{
const
values
=
form
.
getFieldsValue
();
const
values
=
form
.
getFieldsValue
();
if
(
!
values
.
nickName
.
trim
())
{
if
(
!
values
.
nickName
.
trim
())
{
setNameErrorMsg
(
"请输入员工
姓名
"
);
setNameErrorMsg
(
"请输入员工
昵称
"
);
setNameStatus
(
"error"
);
setNameStatus
(
"error"
);
return
;
return
;
}
}
...
...
src/modules/store-manage/StoreH5DecorationTab.jsx
View file @
a5bd3f1c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: wufan
* @Author: wufan
* @Date: 2020-11-30 10:47:38
* @Date: 2020-11-30 10:47:38
* @LastEditors: wufan
* @LastEditors: wufan
* @LastEditTime: 2020-12-2
5 19:21:23
* @LastEditTime: 2020-12-2
8 10:34:26
* @Description: web店铺banner页面
* @Description: web店铺banner页面
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
*/
...
...
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