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
73910377
Commit
73910377
authored
Mar 15, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
0366f2e3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
14 deletions
+36
-14
readingCompre.vue
src/components/question/readingCompre.vue
+10
-0
pages.json
src/pages.json
+4
-4
MyExam.vue
src/pages/activity/MyExam.vue
+12
-0
examGongu.vue
src/pages/exam/examGongu.vue
+10
-10
No files found.
src/components/question/readingCompre.vue
View file @
73910377
...
...
@@ -143,6 +143,16 @@
data
.
dataList
=
[...
data
.
dataList
,
...
val
];
})
let
methods
=
{
clickImg
(
src
)
{
console
.
log
(
src
);
wx
.
previewImage
({
urls
:
[
src
],
//需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
current
:
''
,
// 当前显示图片的http链接,默认是第一个
success
:
function
(
res
)
{},
fail
:
function
(
res
)
{},
complete
:
function
(
res
)
{},
})
},
jumpPage
()
{
uni
.
navigateTo
({
url
:
"/pages/exam/examPaper"
,
...
...
src/pages.json
View file @
73910377
...
...
@@ -45,6 +45,8 @@
"backgroundColor"
:
"#f5f5f5"
,
"navigationBarBackgroundColor"
:
"#f5f5f5"
}
},{
"path"
:
"pages/activity/MyExam"
}],
"subPackages"
:
[{
"root"
:
"pages/course"
,
//课程分包
...
...
@@ -92,8 +94,6 @@
"style"
:
{
"navigationStyle"
:
"custom"
}
},{
"path"
:
"MyExam"
},{
"path"
:
"examStart"
,
"style"
:
{
...
...
@@ -180,10 +180,10 @@
"selectedIconPath"
:
"static/image/course_a.png"
,
"text"
:
"课表"
},
{
"pagePath"
:
"pages/activity/
activityList
"
,
"pagePath"
:
"pages/activity/
MyExam
"
,
"iconPath"
:
"static/image/active.png"
,
"selectedIconPath"
:
"static/image/active_a.png"
,
"text"
:
"
活动
"
"text"
:
"
日语题库
"
},
{
"pagePath"
:
"pages/person/person"
,
"iconPath"
:
"static/image/person.png"
,
...
...
src/pages/
exam
/MyExam.vue
→
src/pages/
activity
/MyExam.vue
View file @
73910377
...
...
@@ -234,6 +234,12 @@
</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/true2.png"
alt=
""
/>
<view
class=
"Join_Content"
>
...
...
@@ -338,6 +344,12 @@
uni
.
navigateTo
({
url
:
'/pages/exam/examGradeList?BankType='
+
Type
+
'&&StudentId='
+
data
.
TypeMsg
.
StudentId
});
},
//跳转我的错题
goWrong
(){
uni
.
navigateTo
({
url
:
'/pages/exam/wrong'
});
}
};
let
that
=
methods
;
...
...
src/pages/exam/examGongu.vue
View file @
73910377
...
...
@@ -115,19 +115,15 @@
this
.
setPractise
(
Id
);
}
if
(
data
.
current
+
1
==
data
.
dataList
.
length
){
Id
=
data
.
dataList
[
data
.
current
].
Id
this
.
setPractise
(
Id
);
Id
=
data
.
dataList
[
data
.
current
].
Id
this
.
setPractise
(
Id
);
}
}
}
},
//设置已答题
setPractise
(
Id
){
// if(data.current>=1){
data
.
setMsg
.
Id
=
Id
;
// if(data.current+1==data.dataList.length){
// data.setMsg.Id = data.dataList[data.current].Id;
// }
SetPracticeReview
(
data
.
setMsg
).
then
(
res
=>
{
})
...
...
@@ -174,6 +170,10 @@
if
(
res
.
Code
==
1
){
data
.
dataList
=
res
.
Data
.
PageData
;
data
.
Count
=
res
.
Data
.
Count
;
//第一次进来调用一次
if
(
data
.
dataList
&&
data
.
dataList
.
length
>
0
){
this
.
setPractise
(
data
.
dataList
[
0
].
Id
);
}
}
})
},
...
...
@@ -228,28 +228,28 @@
if
(
options
.
Type
==
3
){
this
.
wrongMsg
.
StudentId
=
UserInfo
.
AccountId
;
this
.
wrongMsg
.
QCategoryIds
=
'3,4,5'
;
this
.
wrongMsg
.
StartId
=
options
.
StartId
;
//
this.wrongMsg.StartId = options.StartId;
this
.
getWrongWord
();
this
.
isShowJx
=
true
;
}
if
(
options
.
Type
==
4
){
this
.
wrongMsg
.
StudentId
=
UserInfo
.
AccountId
;
this
.
wrongMsg
.
QCategoryIds
=
'6'
;
this
.
wrongMsg
.
StartId
=
options
.
StartId
;
//
this.wrongMsg.StartId = options.StartId;
this
.
getWrongWord
();
this
.
isShowJx
=
true
;
}
if
(
options
.
Type
==
5
){
this
.
wrongMsg
.
StudentId
=
UserInfo
.
AccountId
;
this
.
wrongMsg
.
QCategoryIds
=
'8'
;
this
.
wrongMsg
.
StartId
=
options
.
StartId
;
//
this.wrongMsg.StartId = options.StartId;
this
.
getWrongWord
();
this
.
isShowJx
=
true
;
}
if
(
options
.
Type
==
6
){
this
.
wrongMsg
.
StudentId
=
UserInfo
.
AccountId
;
this
.
wrongMsg
.
QCategoryIds
=
'9'
;
this
.
wrongMsg
.
StartId
=
options
.
StartId
;
//
this.wrongMsg.StartId = options.StartId;
this
.
getWrongWord
();
this
.
isShowJx
=
true
;
}
...
...
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