Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
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
冷斌
eduline
Commits
0437857d
Commit
0437857d
authored
May 20, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A
parent
72bd48bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
15 deletions
+16
-15
apps/exams/Tpl/default/Index/examsroom_w3g.html
+16
-15
No files found.
apps/exams/Tpl/default/Index/examsroom_w3g.html
View file @
0437857d
...
@@ -335,21 +335,9 @@
...
@@ -335,21 +335,9 @@
<template
v-if=
"showChoiceQuestion"
>
<template
v-if=
"showChoiceQuestion"
>
<div
v-html=
"currentQuestion.content"
class=
"testPaperInfo"
></div>
<div
v-html=
"currentQuestion.content"
class=
"testPaperInfo"
></div>
<ul>
<ul>
<li
class=
"testPaperAnswer box"
>
<li
v-for=
"(opt, index) in currentOptions"
:key=
"index"
class=
"testPaperAnswer box"
>
<span
class=
"testPaperAnswer_num testPaperAnswer_numAt"
>
A
</span>
<span
class=
"testPaperAnswer_num"
:class=
"opt.selected ? 'testPaperAnswer_numAt' : ''"
>
{{opt.key}}
</span>
<p
class=
"testPaperAnswer_desc flex1"
>
180
</p>
<div
v-html=
"opt.value"
class=
"testPaperAnswer_desc flex1"
></div>
</li>
<li
class=
"testPaperAnswer box"
>
<span
class=
"testPaperAnswer_num"
>
B
</span>
<p
class=
"testPaperAnswer_desc flex1"
>
180且总销售额是总进货成本的2倍且总销售额是总进货成本的2倍且总销售额是总进货成本的2倍且总销售额是总进货成本的2倍且总销售额是总进货成本的2倍
</p>
</li>
<li
class=
"testPaperAnswer box"
>
<span
class=
"testPaperAnswer_num"
>
A
</span>
<p
class=
"testPaperAnswer_desc flex1"
>
180
</p>
</li>
<li
class=
"testPaperAnswer box"
>
<span
class=
"testPaperAnswer_num"
>
A
</span>
<p
class=
"testPaperAnswer_desc flex1"
>
180
</p>
</li>
</li>
</ul>
</ul>
</template>
</template>
...
@@ -470,6 +458,19 @@
...
@@ -470,6 +458,19 @@
}
}
}
}
},
},
//选项
currentOptions
:
function
()
{
let
array
=
[]
for
(
let
k
in
this
.
currentQuestion
.
answer_options
)
{
let
value
=
this
.
currentQuestion
.
answer_options
[
k
]
array
.
push
({
key
:
k
,
value
:
value
,
selected
:
false
})
}
return
array
},
//Helper
//Helper
showChoiceQuestion
:
function
()
{
showChoiceQuestion
:
function
()
{
let
key
=
this
.
currentQuestionTypeKey
let
key
=
this
.
currentQuestionTypeKey
...
...
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