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
915430b5
Commit
915430b5
authored
Mar 16, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
548f7fa2
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
34 additions
and
16 deletions
+34
-16
listen.vue
src/components/question/listen.vue
+2
-2
readingCompre.vue
src/components/question/readingCompre.vue
+3
-3
answer.vue
src/components/question/subject/answer.vue
+2
-2
listen.vue
src/components/question/subject/listen.vue
+6
-1
readingCompre.vue
src/components/question/subject/readingCompre.vue
+1
-1
singlenumber.vue
src/components/question/subject/singlenumber.vue
+1
-1
word.vue
src/components/question/word.vue
+12
-2
examGongu.vue
src/pages/exam/examGongu.vue
+6
-3
examStart.vue
src/pages/exam/examStart.vue
+1
-1
No files found.
src/components/question/listen.vue
View file @
915430b5
...
...
@@ -4,7 +4,7 @@
<view
class=
"item"
style=
"padding: 0 20px"
>
<van-nav-bar
fixed
>
<template
#
left
>
<van-icon
name=
"cross"
size=
"
32
rpx"
@
click=
"goBack()"
/>
<van-icon
name=
"cross"
size=
"
40
rpx"
@
click=
"goBack()"
/>
</
template
>
<
template
#
title
>
<text
class=
"Exam_Current"
>
{{
current
+
1
}}
</text><text
class=
"Exam_Count"
>
/
{{
Count
}}
</text>
...
...
@@ -119,7 +119,7 @@
onUnmounted
,
}
from
"vue"
;
const
innerAudioContext
=
uni
.
createInnerAudioContext
();
innerAudioContext
.
autoplay
=
tru
e
;
innerAudioContext
.
autoplay
=
fals
e
;
const
bgAudioManager
=
uni
.
getBackgroundAudioManager
();
import
{
SetStudentPractice
...
...
src/components/question/readingCompre.vue
View file @
915430b5
...
...
@@ -4,14 +4,14 @@
<view
class=
"item"
>
<van-nav-bar
fixed
>
<template
#
left
>
<van-icon
name=
"cross"
size=
"
32
rpx"
@
click=
"goBack()"
/>
<van-icon
name=
"cross"
size=
"
40
rpx"
@
click=
"goBack()"
/>
</
template
>
<
template
#
title
>
<text
class=
"Exam_Current"
>
{{
current
+
1
}}
</text><text
class=
"Exam_Count"
>
/
{{
Count
}}
</text>
</
template
>
</van-nav-bar>
<swiper
class=
"swiper-box"
:style=
"{height: `calc(100vh -
28
0rpx)`}"
:current=
"current"
@
change=
"onchange"
>
<swiper-item
v-for=
"(item1, index1) in dataList"
:key=
"index1"
>
<swiper
class=
"swiper-box"
:style=
"{height: `calc(100vh -
32
0rpx)`}"
:current=
"current"
@
change=
"onchange"
>
<swiper-item
v-for=
"(item1, index1) in dataList"
:key=
"index1"
:catchtouchmove=
"true"
>
<view
class=
"item1"
>
<view
class=
"flex"
style=
"max-height:520rpx;overflow:auto;"
>
<view
class=
"num readTitle"
v-html=
"item1.Title"
></view>
...
...
src/components/question/subject/answer.vue
View file @
915430b5
...
...
@@ -2,7 +2,7 @@
<view>
<van-nav-bar
fixed
>
<template
#
left
>
<van-icon
name=
"cross"
style=
"font-size:
32
rpx; color: #111"
@
click=
"back"
/>
<van-icon
name=
"cross"
style=
"font-size:
40
rpx; color: #111"
@
click=
"back"
/>
</
template
>
<
template
#
title
>
<view
style=
"
...
...
@@ -118,7 +118,7 @@
padding
:
30
rpx
;
height
:
calc
(
100vh
-
300
rpx
);
overflow-y
:
auto
;
margin-top
:
1
0
0
rpx
;
margin-top
:
1
4
0
rpx
;
}
.name
,
...
...
src/components/question/subject/listen.vue
View file @
915430b5
...
...
@@ -159,6 +159,11 @@
onMounted
(()
=>
{
data
.
statusBarHeight
=
uni
.
getSystemInfoSync
().
statusBarHeight
;
});
onUnmounted
(()
=>
{
innerAudioContext
.
stop
();
data
.
isPlay
=
false
;
});
let
that
=
methods
;
return
{
...
toRefs
(
data
),
...
...
@@ -248,7 +253,7 @@
.item
{
position
:
relative
;
margin-top
:
2
10
rpx
;
margin-top
:
2
25
rpx
;
}
.item1
{
...
...
src/components/question/subject/readingCompre.vue
View file @
915430b5
...
...
@@ -173,7 +173,7 @@
.item
{
position
:
relative
;
margin-top
:
2
10
rpx
;
margin-top
:
2
25
rpx
;
}
.name
{
...
...
src/components/question/subject/singlenumber.vue
View file @
915430b5
...
...
@@ -144,7 +144,7 @@
}
.item
{
margin-top
:
2
10
rpx
;
margin-top
:
2
25
rpx
;
}
.item1
{
...
...
src/components/question/word.vue
View file @
915430b5
...
...
@@ -4,7 +4,7 @@
<view
class=
"item"
style=
"padding: 0 20px"
>
<van-nav-bar
fixed
>
<template
#
left
>
<van-icon
name=
"cross"
size=
"
32
rpx"
@
click=
"goBack()"
/>
<van-icon
name=
"cross"
size=
"
40
rpx"
@
click=
"goBack()"
/>
</
template
>
<
template
#
title
>
<text
class=
"Exam_Current"
>
{{
current
+
1
}}
</text><text
class=
"Exam_Count"
>
/
{{
Count
}}
</text>
...
...
@@ -101,10 +101,16 @@
data
.
dataList
=
[...
data
.
dataList
,
...
val
];
})
let
methods
=
{
stopTouchMove
(){
return
true
},
goBack
()
{
uni
.
navigateBack
();
},
onchange
(
e
)
{
// if(data.dataList[]){
// }
data
.
current
=
e
.
detail
.
current
;
if
(
data
.
current
+
1
==
data
.
dataList
.
length
){
console
.
log
(
'翻页'
);
...
...
@@ -175,7 +181,11 @@
};
</
script
>
<
style
scoped
>
.To_Trans
{
width
:
100%
;
height
:
100vh
;
background-color
:
transparent
;
}
.isRightAnswer
{
background-color
:
green
!important
;
color
:
#fff
!important
;
...
...
src/pages/exam/examGongu.vue
View file @
915430b5
...
...
@@ -4,7 +4,7 @@
<view
class=
"item"
style=
"padding: 0 20px"
v-if=
"!isShowAnswer"
>
<van-nav-bar
fixed
>
<template
#
left
>
<van-icon
name=
"cross"
size=
"
32
rpx"
@
click=
"goBack()"
/>
<van-icon
name=
"cross"
size=
"
40
rpx"
@
click=
"goBack()"
/>
</
template
>
<
template
#
title
>
<text
class=
"Exam_Current"
>
{{
current
+
1
}}
</text><text
class=
"Exam_Count"
>
/
{{
Count
}}
</text>
...
...
@@ -12,7 +12,8 @@
</van-nav-bar>
<i
class=
"iconfont icon-caidanzu answerSheet"
style=
"
position: absolute;
right: 30rpx;
right: 50rpx;
font-size:40rpx;
z-index: 999;
"
:style=
"{ top: `calc(${statusBarHeight}px + 105rpx)` }"
@
click=
"showAnswerSheet"
></i>
<swiper
class=
"swiper-box"
style=
"height:100vh"
:current=
"current"
@
change=
"onchange"
>
...
...
@@ -52,6 +53,8 @@
SetStudentStartExam
,
SetPracticeReview
}
from
"../../api/exam"
;
const
innerAudioContext
=
uni
.
createInnerAudioContext
();
export
default
{
components
:
{
singlenumber
,
...
...
@@ -252,7 +255,7 @@
}
this
.
CommonType
=
options
.
Type
;
}
}
}
};
</
script
>
<
style
scoped
>
...
...
src/pages/exam/examStart.vue
View file @
915430b5
...
...
@@ -3,7 +3,7 @@
<view
style=
"height: 100rpx"
></view>
<van-nav-bar
fixed
>
<template
#
left
>
<van-icon
name=
"cross"
size=
"
32
rpx"
@
click=
"goBack()"
/>
<van-icon
name=
"cross"
size=
"
40
rpx"
@
click=
"goBack()"
/>
</
template
>
<
template
#
title
>
</
template
>
...
...
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