Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
JM-07
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
JM-07
Commits
72d219a1
Commit
72d219a1
authored
Aug 05, 2021
by
Chen Jiping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:样式调整
parent
c93756b0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
index.css
play/index.css
+2
-2
index.html
play/index.html
+4
-1
index.js
play/index.js
+1
-1
No files found.
play/index.css
View file @
72d219a1
...
...
@@ -547,8 +547,8 @@ body {
.score
.medal
{
position
:
absolute
;
top
:
6%
;
left
:
45
.5
%
;
width
:
9
%
;
left
:
45%
;
width
:
10
%
;
}
.score
.val
{
...
...
play/index.html
View file @
72d219a1
...
...
@@ -131,7 +131,10 @@
<div
id=
"result"
>
<div
class=
"score"
>
<img
src=
"../lib/images/excellent.png"
class=
"medal"
>
<div
class=
"medal"
>
<img
id=
"medal"
src=
"../lib/images/excellent.png"
style=
"width: 100%;"
>
</div>
<div
style=
"position: absolute;left: 40%;top: 23%;width: 20%;text-align: center;"
>
<span
id=
"score"
class=
"val"
>
90
</span>
</div>
...
...
play/index.js
View file @
72d219a1
...
...
@@ -860,7 +860,7 @@ function drawResult(data, text) {
}
$
(
"
.tips
"
).
empty
().
append
(
tips
).
addClass
(
fontColor
);
$
(
"
.
medal
"
).
attr
(
'
src
'
,
imgSrc
);
$
(
"
#
medal
"
).
attr
(
'
src
'
,
imgSrc
);
$
(
"
#score
"
).
empty
().
append
(
score
);
$
(
"
#recorder-text
"
).
empty
().
append
(
text
);
$
(
"
#evaluation
"
).
empty
().
append
(
temp
.
evaluate
);
...
...
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