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
073a5506
Commit
073a5506
authored
Aug 05, 2021
by
Chen Jiping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:样式调整
parent
ea279e58
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
16 deletions
+15
-16
index.css
play/index.css
+7
-11
index.html
play/index.html
+5
-2
index.js
play/index.js
+3
-3
No files found.
play/index.css
View file @
073a5506
...
@@ -547,8 +547,8 @@ body {
...
@@ -547,8 +547,8 @@ body {
.score
.medal
{
.score
.medal
{
position
:
absolute
;
position
:
absolute
;
top
:
6%
;
top
:
6%
;
left
:
45%
;
left
:
45
.5
%
;
width
:
10
%
;
width
:
9
%
;
}
}
.score
.val
{
.score
.val
{
...
@@ -562,10 +562,6 @@ body {
...
@@ -562,10 +562,6 @@ body {
letter-spacing
:
normal
;
letter-spacing
:
normal
;
text-align
:
center
;
text-align
:
center
;
color
:
#ffffff
;
color
:
#ffffff
;
position
:
absolute
;
left
:
40%
;
top
:
24%
;
width
:
20%
;
}
}
.score
.tips
{
.score
.tips
{
...
@@ -640,10 +636,10 @@ body {
...
@@ -640,10 +636,10 @@ body {
#recorder-text
{
#recorder-text
{
width
:
98%
;
width
:
98%
;
height
:
4
0%
;
height
:
5
0%
;
overflow-x
:
inherit
;
overflow-x
:
inherit
;
overflow-y
:
auto
;
overflow-y
:
auto
;
margin-top
:
0.
65
rem
;
margin-top
:
0.
40
rem
;
text-align
:
left
;
text-align
:
left
;
padding
:
0.1rem
0.8rem
;
padding
:
0.1rem
0.8rem
;
object-fit
:
contain
;
object-fit
:
contain
;
...
@@ -663,9 +659,9 @@ body {
...
@@ -663,9 +659,9 @@ body {
}
}
.hr
{
.hr
{
height
:
10px
;
height
:
2%
;
width
:
96%
;
width
:
96%
;
margin-top
:
10px
;
margin-top
:
0.5%
;
background-image
:
url(../lib/images/line.png)
;
background-image
:
url(../lib/images/line.png)
;
margin-left
:
2%
;
margin-left
:
2%
;
}
}
...
@@ -675,7 +671,7 @@ body {
...
@@ -675,7 +671,7 @@ body {
height
:
30%
;
height
:
30%
;
overflow-x
:
inherit
;
overflow-x
:
inherit
;
overflow-y
:
auto
;
overflow-y
:
auto
;
margin-top
:
0.
5
rem
;
margin-top
:
0.
4
rem
;
text-align
:
left
;
text-align
:
left
;
padding
:
0.2rem
0.8rem
;
padding
:
0.2rem
0.8rem
;
margin-left
:
5%
;
margin-left
:
5%
;
...
...
play/index.html
View file @
073a5506
...
@@ -132,8 +132,11 @@
...
@@ -132,8 +132,11 @@
<div
id=
"result"
>
<div
id=
"result"
>
<div
class=
"score"
>
<div
class=
"score"
>
<img
src=
"../lib/images/excellent.png"
class=
"medal"
>
<img
src=
"../lib/images/excellent.png"
class=
"medal"
>
<span
id=
"score"
class=
"val"
>
90
</span>
<div
style=
"position: absolute;left: 40%;top: 23%;width: 20%;text-align: center;"
>
<h1
style=
"position: absolute; top: 44%;left: 35%;width: 30%;"
><span
class=
"tips"
>
Great!
</span></h1>
<span
id=
"score"
class=
"val"
>
90
</span>
</div>
<div
style=
"position: absolute; top: 55%;left: 35%;width: 30%;"
><span
class=
"tips"
>
Great!
</span></div>
<div
class=
'sub-score'
>
<div
class=
'sub-score'
>
<table
style=
"width: 100%; height: 100%; position: relative;"
>
<table
style=
"width: 100%; height: 100%; position: relative;"
>
<tr
class=
"thead"
>
<tr
class=
"thead"
>
...
...
play/index.js
View file @
073a5506
...
@@ -297,10 +297,10 @@ class PlayView {
...
@@ -297,10 +297,10 @@ class PlayView {
bindConfirmBtn
();
bindConfirmBtn
();
$
(
"
.hello-container
"
).
show
();
//
$(".hello-container").show();
//
$("#submitBtn").show();
$
(
"
#submitBtn
"
).
show
();
//
$("#exercise").show();
$
(
"
#exercise
"
).
show
();
// 学生特定的页面
// 学生特定的页面
$
(
"
[role='stu']
"
).
show
();
$
(
"
[role='stu']
"
).
show
();
}
}
...
...
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