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
ddee382d
Commit
ddee382d
authored
Jan 11, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
88d819cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
courseList.vue
src/pages/study/courseList.vue
+3
-2
index.vue
src/pages/study/index.vue
+6
-5
No files found.
src/pages/study/courseList.vue
View file @
ddee382d
<
style
scoped
>
<
style
scoped
>
.studyCourse
{
.studyCourse
{
/* width: 100%; */
/* width: 100%; */
height
:
100vh
;
/* height: 100vh; */
background
:
#F5F5F5
;
background
:
#F5F5F5
;
padding
:
32
rpx
;
padding
:
32
rpx
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
@@ -27,7 +27,8 @@
...
@@ -27,7 +27,8 @@
min-height
:
89vh
;
min-height
:
89vh
;
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
border-radius
:
24
rpx
;
border-radius
:
24
rpx
;
margin-top
:
32
rpx
;
margin-top
:
30
rpx
;
overflow
:
hidden
;
}
}
.Course_List
{
.Course_List
{
...
...
src/pages/study/index.vue
View file @
ddee382d
...
@@ -436,7 +436,7 @@
...
@@ -436,7 +436,7 @@
InfoData
:
null
,
InfoData
:
null
,
current
:
0
,
current
:
0
,
loading
:
false
,
//获取视频加载中
loading
:
false
,
//获取视频加载中
checkIndex
:
0
})
})
let
methods
=
{
let
methods
=
{
getCourseList
()
{
getCourseList
()
{
...
@@ -469,6 +469,7 @@
...
@@ -469,6 +469,7 @@
},
},
selectedBanner
(
index
){
//切换轮播图的时候 调取接口
selectedBanner
(
index
){
//切换轮播图的时候 调取接口
data
.
checkIndex
=
index
;
data
.
CourseInfoMsg
.
ClassId
=
data
.
CourseList
[
index
].
ClassId
;
data
.
CourseInfoMsg
.
ClassId
=
data
.
CourseList
[
index
].
ClassId
;
that
.
getCourseInfo
()
that
.
getCourseInfo
()
},
},
...
@@ -526,10 +527,10 @@
...
@@ -526,10 +527,10 @@
},
},
gourl
(){
//学习列表
gourl
(){
//学习列表
let
ClassId
=
data
.
CourseList
[
data
.
c
urrent
].
ClassId
;
let
ClassId
=
data
.
CourseList
[
data
.
c
heckIndex
].
ClassId
;
let
CourseId
=
data
.
CourseList
[
data
.
c
urrent
].
CourseId
;
let
CourseId
=
data
.
CourseList
[
data
.
c
heckIndex
].
CourseId
;
let
CourseName
=
data
.
CourseList
[
data
.
c
urrent
].
CourseName
;
let
CourseName
=
data
.
CourseList
[
data
.
c
heckIndex
].
CourseName
;
let
TotalHours
=
data
.
CourseList
[
data
.
c
urrent
].
TotalHours
;
let
TotalHours
=
data
.
CourseList
[
data
.
c
heckIndex
].
TotalHours
;
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/study/courseList?ClassId='
+
ClassId
+
'&CourseId='
+
CourseId
+
'&CourseName='
+
CourseName
+
'&TotalHours='
+
TotalHours
url
:
'/pages/study/courseList?ClassId='
+
ClassId
+
'&CourseId='
+
CourseId
+
'&CourseName='
+
CourseName
+
'&TotalHours='
+
TotalHours
})
})
...
...
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