Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-vue
Project
Project
Details
Activity
Releases
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
李苏
sgaqgl-vue
Commits
90d29caa
Commit
90d29caa
authored
Nov 29, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
media
parent
20ef7234
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
4 deletions
+25
-4
index.vue
src/views/train/testPaper/index.vue
+25
-4
No files found.
src/views/train/testPaper/index.vue
View file @
90d29caa
<
template
>
<
template
>
<div
class=
"testpaper"
>
<div
class=
"testpaper"
>
<div
class=
"title"
>
{{
title
}}
<div
ref=
"title"
class=
"title"
>
{{
title
}}
<span
style=
"position: absolute;right:
40px;;font-size: 14
px;font-weight: 300;"
>
{{
`剩余时间:${parseInt(remaining/(60*1000))
}
分钟${parseInt((remaining%(60*1000))/1000)
}
秒`
}}
<
/span
>
<span
style=
"position: absolute;right:
36px;;font-size: 13
px;font-weight: 300;"
>
{{
`剩余时间:${parseInt(remaining/(60*1000))
}
分钟${parseInt((remaining%(60*1000))/1000)
}
秒`
}}
<
/span
>
<
/div
>
<
/div
>
<
div
class
=
"info"
>
<
div
class
=
"info"
>
<
div
class
=
"infoItem"
>
<
div
class
=
"infoItem"
>
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
export
default
{
export
default
{
mounted
()
{
mounted
()
{
this
.
getRemain
()
this
.
getRemain
()
/* 获取*/
}
,
}
,
components
:{
components
:{
Subject
Subject
...
@@ -238,7 +239,27 @@
...
@@ -238,7 +239,27 @@
font
-
size
:
18
px
;
font
-
size
:
18
px
;
font
-
weight
:
800
;
font
-
weight
:
800
;
}
}
padding
-
left
:
111
px
;
@
media
screen
and
(
min
-
width
:
800
px
)
{
padding
-
right
:
111
px
;
&
{
--
mode
:
'normal'
;
padding
-
left
:
11
rem
;
padding
-
right
:
11
rem
;
}
}
@
media
screen
and
(
max
-
width
:
800
px
)
{
&
{
--
mode
:
'mini'
;
padding
-
left
:
2
rem
;
padding
-
right
:
2
rem
;
.
info
{
display
:
none
;
}
.
title
{
display
:
none
;
}
}
}
}
}
<
/style
>
<
/style
>
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