Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzksxt
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
常超
xzksxt
Commits
51159082
Commit
51159082
authored
Jan 04, 2024
by
宋珺琪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
判断样式调整
parent
79e0c9a6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
src/components/student/answer.vue
+12
-7
No files found.
src/components/student/answer.vue
View file @
51159082
...
...
@@ -134,8 +134,11 @@
<div
class=
"analysis"
id=
"topic1Right"
style=
"display: none"
>
<ul>
<li
class=
"first "
>
<el-tag
type=
"success"
>
正确答案:
</el-tag><span
class=
"right"
>
{{
reduceAnswer
.
rightAnswer
}}
</span></li>
<li
class=
"second"
><el-tag>
题目解析:
</el-tag>
<li
class=
"first"
>
<el-tag
type=
"success"
>
正确答案:
</el-tag>
<span
class=
"right"
>
{{
reduceAnswer
.
rightAnswer
}}
</span></li>
<li
class=
"second"
>
<el-tag>
题目解析:
</el-tag>
<div
class=
"li2right"
>
{{
reduceAnswer
.
analysis
==
null
?
'无'
:
reduceAnswer
.
analysis
}}
</div>
</li>
</ul>
...
...
@@ -143,18 +146,18 @@
</div>
<div
class=
"judge"
v-if=
" optionValue == '判断题'"
>
<el-radio-group
v-model=
"judgeAnswer[index]"
@
change=
"getJudgeLabel"
>
<el-radio
:label=
"1"
:disabled=
'radioFlag'
:class=
"[isradio ? (this.reduceAnswer.
rightAnswer==='A
' ? 'checkboxTrueStyle' : 'checkboxFlaseStyle'):'noStyle']"
>
正确
</el-radio>
<el-radio
:label=
"2"
:disabled=
'radioFlag'
:class=
"[isradio ? (this.reduceAnswer.
rightAnswer==='A
' ? 'checkboxTrueStyle' : 'checkboxFlaseStyle'):'noStyle']"
>
错误
</el-radio>
<el-radio
:label=
"1"
:disabled=
'radioFlag'
:class=
"[isradio ? (this.reduceAnswer.
answer==='T
' ? 'checkboxTrueStyle' : 'checkboxFlaseStyle'):'noStyle']"
>
正确
</el-radio>
<el-radio
:label=
"2"
:disabled=
'radioFlag'
:class=
"[isradio ? (this.reduceAnswer.
answer==='F
' ? 'checkboxTrueStyle' : 'checkboxFlaseStyle'):'noStyle']"
>
错误
</el-radio>
</el-radio-group>
<div
class=
"analysis"
id=
"topic3Right"
style=
"display: none"
>
<ul>
<li>
<li
class=
"first"
>
<el-tag
type=
"success"
>
正确答案:
</el-tag>
<span
class=
"right"
>
{{
reduceAnswer
.
answer
}}
</span></li>
<li>
<li
class=
"second"
>
<el-tag>
题目解析:
</el-tag>
<div
class=
"li2right"
>
{{
reduceAnswer
.
analysis
==
null
?
'无'
:
reduceAnswer
.
analysis
}}
</div>
</li>
<li>
{{
reduceAnswer
.
analysis
==
null
?
'暂无解析'
:
reduceAnswer
.
analysis
}}
</li>
</ul>
</div>
</div>
...
...
@@ -464,6 +467,8 @@ export default {
finalScore
=
this
.
reduceAnswer
.
score
}
}
else
if
(
this
.
optionValue
==
"判断题"
){
this
.
isradio
=
true
let
pitch
=
this
.
judgeAnswer
[
this
.
index
]
console
.
log
(
"当前选中的 = "
+
pitch
)
if
(
pitch
==
'1'
){
...
...
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