Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
educationStu
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
向伟
educationStu
Commits
548f7fa2
Commit
548f7fa2
authored
Mar 15, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
7ce8d06d
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
81 additions
and
57 deletions
+81
-57
listen.vue
src/components/question/listen.vue
+17
-9
readingCompre.vue
src/components/question/readingCompre.vue
+20
-10
listen.vue
src/components/question/subject/listen.vue
+8
-7
readingCompre.vue
src/components/question/subject/readingCompre.vue
+1
-1
singlenumber.vue
src/components/question/subject/singlenumber.vue
+2
-2
word.vue
src/components/question/word.vue
+16
-6
pages.json
src/pages.json
+2
-2
MyExam.vue
src/pages/activity/MyExam.vue
+8
-11
examGongu.vue
src/pages/exam/examGongu.vue
+2
-5
examStart.vue
src/pages/exam/examStart.vue
+1
-0
wrong.vue
src/pages/exam/wrong.vue
+4
-4
No files found.
src/components/question/listen.vue
View file @
548f7fa2
...
...
@@ -19,7 +19,7 @@
<i
class=
"icon_audio_default"
v-if=
"!isPlay"
></i>
<i
class=
"icon_audio_playing"
v-else
></i>
</view>
<view
class=
"item1"
:style=
"{ height: `calc(100vh -
4
60rpx)` }"
>
<view
class=
"item1"
:style=
"{ height: `calc(100vh -
5
60rpx)` }"
>
<
template
v-if=
"item1.StudentAnswer.length<item1.QuestionContentObj.length"
>
<view
class=
"questionView"
>
<view
v-for=
"(item2, index2) in item1.QuestionContentObj"
:key=
"index2"
class=
"item2"
>
...
...
@@ -56,11 +56,11 @@
<view
class=
"flex flex_start_center item3"
v-if=
"item2.QuestionKey === 'single'"
>
<view
class=
"chooseNum"
:class=
"
{ 'is
TrueAnswer': item3.IsAnswer,'isNo
tAnswer':getErrorAnswer(item1,index2,item3.Name)}">
:class=
"
{ 'is
RightAnswer': item3.IsAnswer,'isNotRigh
tAnswer':getErrorAnswer(item1,index2,item3.Name)}">
{{
item3
.
Name
}}
</view>
<view
class=
"chooseName"
:class=
"
{ 'is
TrueAnswer
': item3.IsAnswer,'isNotAnswer':getErrorAnswer(item1,index2,item3.Name)}"
:class=
"
{ 'is
RightText
': item3.IsAnswer,'isNotAnswer':getErrorAnswer(item1,index2,item3.Name)}"
v-html="item3.Content">
</view>
</view>
</view>
...
...
@@ -302,16 +302,24 @@
align-items
:
center
;
justify-content
:
space-between
;
}
.isNotAnswer
{
color
:
red
!important
;
.isRightAnswer
{
background-color
:
green
!important
;
color
:
#fff
!important
;
}
.isRightText
{
color
:
green
!important
;
}
.isTrueAnswer
{
color
:
green
!important
;
}
.isNotRightAnswer
{
background-color
:
red
;
color
:
#fff
!important
;
}
.isNotAnswer
{
color
:
red
;
}
.AnswerContent
{
font-size
:
30
rpx
;
padding
:
25
rpx
;
...
...
src/components/question/readingCompre.vue
View file @
548f7fa2
...
...
@@ -56,10 +56,10 @@
<!-- 单选-->
<view
class=
"flex item3"
v-if=
"item2.QuestionKey === 'single' || item2.QuestionKey === 'single-number'"
>
<view
class=
"chooseNum"
:class=
"
{ 'is
TrueAnswer': item3.IsAnswer,'isNo
tAnswer':getErrorAnswer(item1,index2,item3.Name)}">
<view
class=
"chooseNum"
:class=
"
{ 'is
RightAnswer': item3.IsAnswer,'isNotRigh
tAnswer':getErrorAnswer(item1,index2,item3.Name)}">
{{
item3
.
Name
}}
</view>
<view
class=
"chooseName"
:class=
"
{
isTrueAnswer
: item3.IsAnswer }"
<view
class=
"chooseName"
:class=
"
{
'isRightText'
: item3.IsAnswer }"
v-html="item3.Content">
</view>
</view>
</view>
...
...
@@ -161,7 +161,7 @@
goBack
()
{
uni
.
navigateBack
();
},
getErrorAnswer
(
item1
,
index
,
name
){
getErrorAnswer
(
item1
,
index
,
name
){
if
(
item1
.
StudentAnswer
[
index
]
==
name
)
{
return
true
}
else
{
...
...
@@ -245,7 +245,6 @@
</
script
>
<
style
scoped
>
.AnswerBtn
{
margin-top
:
30
rpx
;
padding
:
0
40
rpx
;
}
...
...
@@ -292,15 +291,26 @@
box-sizing
:
border-box
;
padding
:
0
30
rpx
;
}
.isRightAnswer
{
background-color
:
green
!important
;
color
:
#fff
!important
;
}
.isRightText
{
color
:
green
!important
;
}
.isNotAnswer
{
color
:
red
!important
;
}
.isTrueAnswer
{
color
:
green
!important
;
}
.isNotAnswer
{
color
:
red
!important
;
.isNotRightAnswer
{
background-color
:
red
;
color
:
#fff
!important
;
}
.ExamIndex_Box
{
margin-right
:
48
rpx
;
}
...
...
@@ -426,13 +436,13 @@
color
:
#111111
;
}
.isTrueAnswer
{
color
:
green
!important
;
}
.isNotAnswer
{
color
:
red
!important
;
}
.isTrueAnswer
{
color
:
green
!important
;
}
.AnswerContent
{
font-size
:
30
rpx
;
...
...
src/components/question/subject/listen.vue
View file @
548f7fa2
...
...
@@ -99,7 +99,8 @@
export
default
{
props
:
{
paperData
:
Object
,
isShowJx
:
Boolean
isShowJx
:
Boolean
,
CurIndex
:
Number
},
setup
(
props
,
context
)
{
let
{
...
...
@@ -114,7 +115,11 @@
},
isPlay
:
false
});
let
methods
=
{
watch
(()
=>
props
.
CurIndex
,
(
newVal
,
oldValue
)
=>
{
innerAudioContext
.
stop
();
data
.
isPlay
=
false
;
},{
deep
:
true
});
let
methods
=
{
// 单选
singerChange
(
item1
,
index
,
item3
)
{
item1
.
StudentAnswer
[
index
]
=
item3
.
Name
;
...
...
@@ -150,10 +155,6 @@
})
}
},
//父组件切换调用
clickParent
(){
innerAudioContext
.
stop
();
}
};
onMounted
(()
=>
{
data
.
statusBarHeight
=
uni
.
getSystemInfoSync
().
statusBarHeight
;
...
...
@@ -247,7 +248,7 @@
.item
{
position
:
relative
;
margin-top
:
18
0
rpx
;
margin-top
:
21
0
rpx
;
}
.item1
{
...
...
src/components/question/subject/readingCompre.vue
View file @
548f7fa2
...
...
@@ -173,7 +173,7 @@
.item
{
position
:
relative
;
margin-top
:
18
0
rpx
;
margin-top
:
21
0
rpx
;
}
.name
{
...
...
src/components/question/subject/singlenumber.vue
View file @
548f7fa2
...
...
@@ -144,7 +144,7 @@
}
.item
{
margin-top
:
18
0
rpx
;
margin-top
:
21
0
rpx
;
}
.item1
{
...
...
@@ -172,7 +172,7 @@
}
.isMyChoose
{
background-color
:
#
4C50E7
;
background-color
:
#
00acf9
!important
;
color
:
#fff
;
}
...
...
src/components/question/word.vue
View file @
548f7fa2
...
...
@@ -13,7 +13,7 @@
<swiper
class=
"swiper-box"
:style=
"{height: `calc(100vh - 300rpx - ${statusBarHeight}px)`,}"
:current=
"current"
@
change=
"onchange"
>
<swiper-item
v-for=
"(item1, index1) in dataList"
:key=
"index1"
>
<view
class=
"item1"
:style=
"{height: `calc(100vh - 390rpx
- ${statusBarHeight}px
)`}"
>
<view
class=
"item1"
:style=
"{height: `calc(100vh - 390rpx)`}"
>
<view
class=
"flex flex_start_center"
>
<view
class=
"num"
v-html=
"item1.Title"
></view>
</view>
...
...
@@ -26,11 +26,11 @@
</
template
>
<
template
v-else
>
<view
class=
"chooseNum"
:class=
"
{ 'is
TrueAnswer': item2.IsAnswer,'isNo
tAnswer':getErrorAnswer(item1,item2.Name) }">
:class=
"
{ 'is
RightAnswer': item2.IsAnswer,'isNotRigh
tAnswer':getErrorAnswer(item1,item2.Name) }">
{{
item2
.
Name
}}
</view>
<view
class=
"chooseName"
:class=
"
{ 'is
TrueAnswer
': item2.IsAnswer,'isNotAnswer':getErrorAnswer(item1,item2.Name) }"
:class=
"
{ 'is
RightText
': item2.IsAnswer,'isNotAnswer':getErrorAnswer(item1,item2.Name) }"
v-html="item2.Content">
</view>
</
template
>
...
...
@@ -176,14 +176,24 @@
</
script
>
<
style
scoped
>
.isRightAnswer
{
background-color
:
green
!important
;
color
:
#fff
!important
;
}
.isRightText
{
color
:
green
!important
;
}
.isTrueAnswer
{
color
:
green
!important
;
}
.isNotRightAnswer
{
background-color
:
red
!important
;
color
:
#fff
!important
;
}
.isNotAnswer
{
color
:
red
!important
;
color
:
red
!important
;
}
.AnswerContent
{
font-size
:
28
rpx
;
padding
:
25
rpx
;
...
...
src/pages.json
View file @
548f7fa2
...
...
@@ -181,8 +181,8 @@
"text"
:
"课表"
},
{
"pagePath"
:
"pages/activity/MyExam"
,
"iconPath"
:
"static/image/
active
.png"
,
"selectedIconPath"
:
"static/image/
active
_a.png"
,
"iconPath"
:
"static/image/
question
.png"
,
"selectedIconPath"
:
"static/image/
question
_a.png"
,
"text"
:
"日语题库"
},
{
"pagePath"
:
"pages/person/person"
,
...
...
src/pages/activity/MyExam.vue
View file @
548f7fa2
<
style
scoped
>
.Question_Bank
{
padding
:
0
25
rpx
;
height
:
100vh
;
/* height: 100vh; */
background-color
:
#F5F5F5
;
}
...
...
@@ -133,8 +133,8 @@
color
:
#333E52
;
font-size
:
28
rpx
;
position
:
absolute
;
left
:
55
rpx
;
bottom
:
10
0
rpx
;
left
:
68
rpx
;
bottom
:
9
0
rpx
;
}
.Join_Linian
{
...
...
@@ -234,19 +234,16 @@
</view>
<view
class=
"Janpa_Level"
style=
"margin-top:20rpx;"
>
<view
class=
"Ques_Title"
>
日语真题演练
</view>
<view
class=
"JanpaTrueTi"
style=
"margin:26rpx 0 20rpx 0"
@
click=
"goWrong()"
>
<img
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/educationStu/true2.png"
alt=
""
/>
<view
class=
"Join_Content"
>
<view
class=
"Join_Linian"
>
我的错题
</view>
</view>
</view>
<view
class=
"JanpaTrueTi"
style=
"margin:26rpx 0 20rpx 0"
@
click=
"goJpGrade(6)"
>
<img
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/educationStu/true
2
.png"
alt=
""
/>
<img
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/educationStu/true
Ti
.png"
alt=
""
/>
<view
class=
"Join_Content"
>
<view
class=
"Join_Linian"
>
高考真题
</view>
<view
v-if=
"JoinArr&&JoinArr.length>0"
>
{{
JoinArr
[
5
].
JoinNum
}}
人参与
</view>
</view>
</view>
<view
class=
"Ques_Title"
>
日语错题
</view>
<view
class=
"JanpaTrueTi"
style=
"margin:26rpx 0 20rpx 0"
@
click=
"goWrong()"
>
<img
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/educationStu/wrong.png"
alt=
""
/>
</view>
</view>
<van-popup
:show=
"showPop"
@
close=
"showPop=false"
round
>
<view
style=
"
...
...
src/pages/exam/examGongu.vue
View file @
548f7fa2
...
...
@@ -16,12 +16,12 @@
z-index: 999;
"
:style=
"{ top: `calc(${statusBarHeight}px + 105rpx)` }"
@
click=
"showAnswerSheet"
></i>
<swiper
class=
"swiper-box"
style=
"height:100vh"
:current=
"current"
@
change=
"onchange"
>
<swiper-item
v-for=
"(item, index) in dataList"
:key=
"index"
>
<swiper-item
v-for=
"(item, index) in dataList"
:key=
"index"
:data-index=
"index"
>
<singlenumber
v-if=
"item.QuestionTypeKey=='single-number'||item.QuestionTypeKey=='single'"
@
answerChange=
"getAnswerChange($event, index)"
:paperData=
"item"
:isShowJx=
"isShowJx"
/>
<readingCompre
v-if=
"item.QuestionTypeKey=='reading-comprehensio'"
@
answerChange=
"getAnswerChange($event, index)"
:paperData=
"item"
:isShowJx=
"isShowJx"
/>
<listen
v-if=
"item.QuestionTypeKey=='listening'"
ref=
"myRef"
@
answerChange=
"getAnswerChange($event, index)"
<listen
v-if=
"item.QuestionTypeKey=='listening'"
:CurIndex=
'current'
@
answerChange=
"getAnswerChange($event, index)"
:paperData=
"item"
:isShowJx=
"isShowJx"
/>
</swiper-item>
</swiper>
...
...
@@ -105,9 +105,6 @@
onchange
(
e
)
{
if
(
e
&&
e
.
detail
){
data
.
current
=
e
.
detail
.
current
;
if
(
ctx
.
$refs
.
myRef
&&
ctx
.
$refs
.
myRef
.
length
>
0
){
ctx
.
$refs
.
myRef
[
0
].
clickParent
();
}
if
(
data
.
CommonType
==
3
||
data
.
CommonType
==
4
||
data
.
CommonType
==
5
||
data
.
CommonType
==
6
){
var
Id
=
0
;
if
(
data
.
current
>=
1
){
...
...
src/pages/exam/examStart.vue
View file @
548f7fa2
...
...
@@ -182,6 +182,7 @@
<
style
scoped
>
.exam-con
{
box-sizing
:
border-box
;
margin-top
:
20
rpx
;
}
.answerSheet
{
...
...
src/pages/exam/wrong.vue
View file @
548f7fa2
...
...
@@ -68,7 +68,7 @@
<view
class=
"Wr_Fuxi"
>
<text
v-if=
"dataObj.wordsWrongFinishCount==0"
>
未复习
</text>
<text
v-if=
"dataObj.wordsWrongFinishCount>0&&dataObj.wordsWrongFinishCount
<dataObj
.
wordsWrongTotalCount
"
>
复习中
</text>
<text
v-if=
"dataObj.wordsWrongFinishCount==dataObj.wordsWrongTotalCount"
>
复习完毕
</text>
<text
v-if=
"dataObj.wordsWrongFinishCount
>0&&dataObj.wordsWrongFinishCount
==dataObj.wordsWrongTotalCount"
>
复习完毕
</text>
</view>
</view>
</view>
...
...
@@ -85,7 +85,7 @@
<view
class=
"Wr_Fuxi"
>
<text
v-if=
"dataObj.grammarWrongFinishCount==0"
>
未复习
</text>
<text
v-if=
"dataObj.grammarWrongFinishCount>0&&dataObj.grammarWrongFinishCount
<dataObj
.
grammarWrongTotalCount
"
>
复习中
</text>
<text
v-if=
"dataObj.grammarWrongFinishCount==dataObj.grammarWrongTotalCount"
>
复习完毕
</text>
<text
v-if=
"dataObj.grammarWrongFinishCount
>0&&dataObj.grammarWrongFinishCount
==dataObj.grammarWrongTotalCount"
>
复习完毕
</text>
</view>
</view>
</view>
...
...
@@ -104,7 +104,7 @@
<view
class=
"Wr_Fuxi"
>
<text
v-if=
"dataObj.readingWrongFinishCount==0"
>
未复习
</text>
<text
v-if=
"dataObj.readingWrongFinishCount>0&&dataObj.readingWrongFinishCount
<dataObj
.
readingWrongTotalCount
"
>
复习中
</text>
<text
v-if=
"dataObj.readingWrongFinishCount==dataObj.readingWrongTotalCount"
>
复习完毕
</text>
<text
v-if=
"dataObj.readingWrongFinishCount
>0&&dataObj.readingWrongFinishCount
==dataObj.readingWrongTotalCount"
>
复习完毕
</text>
</view>
</view>
</view>
...
...
@@ -121,7 +121,7 @@
<view
class=
"Wr_Fuxi"
>
<text
v-if=
"dataObj.listeningWrongFinishCount==0"
>
未复习
</text>
<text
v-if=
"dataObj.listeningWrongFinishCount>0&&dataObj.listeningWrongFinishCount
<dataObj
.
listeningWrongTotalCount
"
>
复习中
</text>
<text
v-if=
"dataObj.listeningWrongFinishCount==dataObj.listeningWrongTotalCount"
>
复习完毕
</text>
<text
v-if=
"dataObj.listeningWrongFinishCount
>0&&dataObj.listeningWrongFinishCount
==dataObj.listeningWrongTotalCount"
>
复习完毕
</text>
</view>
</view>
</view>
...
...
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