Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baiguangyao
mr-julyedu
Commits
517e33e1
Commit
517e33e1
authored
Nov 04, 2019
by
wangshuo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '11-11' into pre
parents
38dee714
df0ecc88
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
+12
-1
src/components/blessingPreheat/recordPopup/index.js
+8
-1
src/components/blessingPreheat/recordPopup/index.scss
+4
-0
No files found.
src/components/blessingPreheat/recordPopup/index.js
View file @
517e33e1
...
@@ -41,7 +41,7 @@ export default class RecordPopup extends Component {
...
@@ -41,7 +41,7 @@ export default class RecordPopup extends Component {
<
/div
>
<
/div
>
<
div
className
=
"table__body"
>
<
div
className
=
"table__body"
>
{
{
recordList
.
map
((
item
,
index
)
=>
{
recordList
.
length
>
0
&&
recordList
.
map
((
item
,
index
)
=>
{
return
(
<
div
className
=
"tr__container"
key
=
{
index
}
>
return
(
<
div
className
=
"tr__container"
key
=
{
index
}
>
<
span
className
=
"tr"
>
{
item
.
submit_time
}
<
/span
>
<
span
className
=
"tr"
>
{
item
.
submit_time
}
<
/span
>
<
span
className
=
"tr"
>
{
item
.
score
}
<
/span
>
<
span
className
=
"tr"
>
{
item
.
score
}
<
/span
>
...
@@ -56,6 +56,13 @@ export default class RecordPopup extends Component {
...
@@ -56,6 +56,13 @@ export default class RecordPopup extends Component {
)
)
})
})
}
}
{
recordList
.
length
===
0
&&
(
<
div
className
=
"tr__container"
key
=
{
index
}
>
<
p
>
暂无测试记录
<
/p
>
<
/div
>
)
}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/components/blessingPreheat/recordPopup/index.scss
View file @
517e33e1
...
@@ -76,6 +76,10 @@
...
@@ -76,6 +76,10 @@
&
:last-child
{
&
:last-child
{
border-bottom
:
none
;
border-bottom
:
none
;
}
}
p
{
color
:
#525c65
;
}
}
}
}
}
...
...
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