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
cddc3f6a
Commit
cddc3f6a
authored
Jan 11, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
1bddae21
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
+18
-6
index.vue
src/pages/study/index.vue
+11
-4
word.vue
src/pages/word/word.vue
+7
-2
No files found.
src/pages/study/index.vue
View file @
cddc3f6a
...
@@ -248,8 +248,7 @@
...
@@ -248,8 +248,7 @@
<view
class=
"row"
style=
"justify-content: space-between;"
>
<view
class=
"row"
style=
"justify-content: space-between;"
>
<view
class=
"row"
style=
"color: #111111;font-size: 14px;font-weight: bold;"
>
<view
class=
"row"
style=
"color: #111111;font-size: 14px;font-weight: bold;"
>
<view
>
单词积分
</view>
<view
>
单词积分
</view>
<view
style=
"margin-left: 5px;"
>
80
</view>
<view
style=
"margin-left: 5px;"
>
{{
InfoData
.
TotalScore
}}
</view>
<image
style=
"width: 17px;height: 16px;margin:-2px 0 0 10px;"
src=
"../../static/image/xingxing.png"
></image>
</view>
</view>
<view
style=
"font-size: 11px;color: #4C50E7;"
@
click=
"gourl()"
>
所有单词
</view>
<view
style=
"font-size: 11px;color: #4C50E7;"
@
click=
"gourl()"
>
所有单词
</view>
</view>
</view>
...
@@ -270,8 +269,8 @@
...
@@ -270,8 +269,8 @@
</view>
</view>
</view>
</view>
<view
class=
"box_tb_b"
>
<view
class=
"box_tb_b"
>
<view
style=
"font-size: 11px;color: #999999;"
>
预计用时10分钟
</view>
<view
style=
"font-size: 11px;color: #999999;
visibility: hidden;
"
>
预计用时10分钟
</view>
<view
class=
"btn"
>
立即学习
</view>
<view
class=
"btn"
@
click=
"jumpStudyPage()"
>
立即学习
</view>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -459,6 +458,7 @@
...
@@ -459,6 +458,7 @@
CourseInfoMsg
:{
CourseInfoMsg
:{
ClassId
:
0
,
ClassId
:
0
,
GuestId
:
0
,
GuestId
:
0
,
CourseId
:
0
},
},
InfoData
:
null
,
InfoData
:
null
,
current
:
0
,
current
:
0
,
...
@@ -474,6 +474,7 @@
...
@@ -474,6 +474,7 @@
if
(
data
.
CourseList
.
length
>
0
){
if
(
data
.
CourseList
.
length
>
0
){
data
.
CourseInfoMsg
.
ClassId
=
data
.
CourseList
[
0
].
ClassId
;
data
.
CourseInfoMsg
.
ClassId
=
data
.
CourseList
[
0
].
ClassId
;
data
.
CourseInfoMsg
.
GuestId
=
data
.
CourseList
[
0
].
GuestId
;
data
.
CourseInfoMsg
.
GuestId
=
data
.
CourseList
[
0
].
GuestId
;
data
.
CourseInfoMsg
.
CourseId
=
data
.
CourseList
[
0
].
CourseId
;
that
.
getCourseInfo
()
that
.
getCourseInfo
()
}
}
}
}
...
@@ -573,6 +574,12 @@
...
@@ -573,6 +574,12 @@
url
:
url
,
url
:
url
,
});
});
},
},
jumpStudyPage
(){
let
url
=
`/pages/word/word?CourseId=
${
data
.
InfoData
.
Words
.
CourseId
}
&&ChapterId=
${
data
.
InfoData
.
Words
.
NextCourseNo
}
&&ReviewChapterId=
${
data
.
InfoData
.
Words
.
ReviewCourseNo
}
`
uni
.
navigateTo
({
url
:
url
});
},
gourlkaoshixq
(
item
){
gourlkaoshixq
(
item
){
let
indexData
=
uni
.
getStorageSync
(
"indexData"
)
let
indexData
=
uni
.
getStorageSync
(
"indexData"
)
//ExamStatus 1未开始 2已开始 3已考试 4缺考 5已阅卷
//ExamStatus 1未开始 2已开始 3已考试 4缺考 5已阅卷
...
...
src/pages/word/word.vue
View file @
cddc3f6a
...
@@ -61,8 +61,13 @@
...
@@ -61,8 +61,13 @@
getData
()
{
getData
()
{
proxy
.
$request
(
'/AppletWords/GetStudyWords'
,
data
.
msg
).
then
(
res
=>
{
proxy
.
$request
(
'/AppletWords/GetStudyWords'
,
data
.
msg
).
then
(
res
=>
{
data
.
StudyList
=
res
.
Data
.
StudyList
data
.
StudyList
=
res
.
Data
.
StudyList
data
.
ReviewList
=
res
.
Data
.
ReviewList
data
.
ReviewList
=
res
.
Data
.
ReviewList
;
data
.
current
=
res
.
Data
.
StartIndex
const
total
=
data
.
StudyList
.
length
+
data
.
ReviewList
.
length
;
if
(
res
.
Data
.
StartIndex
>
total
||
res
.
Data
.
StartIndex
==
total
){
data
.
current
=
0
}
else
{
data
.
current
=
res
.
Data
.
StartIndex
;
}
})
})
},
},
swiperChange
(
val
)
{
swiperChange
(
val
)
{
...
...
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