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
ff5351b4
Commit
ff5351b4
authored
Jan 12, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
65780cf2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
14 deletions
+13
-14
pages.json
src/pages.json
+6
-7
timeTable-item.vue
src/pages/timetable/timeTable-item.vue
+0
-0
timeTable.vue
src/pages/timetable/timeTable.vue
+6
-4
word.vue
src/pages/word/word.vue
+1
-3
No files found.
src/pages.json
View file @
ff5351b4
...
@@ -10,6 +10,11 @@
...
@@ -10,6 +10,11 @@
"navigationStyle"
:
"custom"
"navigationStyle"
:
"custom"
}
}
},
{
},
{
"path"
:
"pages/timetable/timeTable"
,
//课表
"style"
:
{
"navigationStyle"
:
"custom"
}
},{
"path"
:
"pages/study/index"
,
"path"
:
"pages/study/index"
,
"style"
:
{
"style"
:
{
"navigationStyle"
:
"custom"
"navigationStyle"
:
"custom"
...
@@ -49,12 +54,6 @@
...
@@ -49,12 +54,6 @@
{
{
"path"
:
"chapter"
//章节内容
"path"
:
"chapter"
//章节内容
},
},
{
"path"
:
"timeTable"
,
//课表
"style"
:
{
"navigationStyle"
:
"custom"
}
},
{
{
"path"
:
"askForLeave"
//请假
"path"
:
"askForLeave"
//请假
},
},
...
@@ -134,7 +133,7 @@
...
@@ -134,7 +133,7 @@
"selectedIconPath"
:
"static/image/study_a.png"
,
"selectedIconPath"
:
"static/image/study_a.png"
,
"text"
:
"学习"
"text"
:
"学习"
},
{
},
{
"pagePath"
:
"pages/
index/index
"
,
"pagePath"
:
"pages/
timetable/timeTable
"
,
"iconPath"
:
"static/image/course.png"
,
"iconPath"
:
"static/image/course.png"
,
"selectedIconPath"
:
"static/image/course_a.png"
,
"selectedIconPath"
:
"static/image/course_a.png"
,
"text"
:
"课表"
"text"
:
"课表"
...
...
src/pages/
cours
e/timeTable-item.vue
→
src/pages/
timetabl
e/timeTable-item.vue
View file @
ff5351b4
File moved
src/pages/
cours
e/timeTable.vue
→
src/pages/
timetabl
e/timeTable.vue
View file @
ff5351b4
...
@@ -4,12 +4,12 @@
...
@@ -4,12 +4,12 @@
<view
class=
"navbar"
>
<view
class=
"navbar"
>
<van-nav-bar
title=
"课表"
fixed
title-class=
"navTitle"
>
<van-nav-bar
title=
"课表"
fixed
title-class=
"navTitle"
>
<view
slot=
"left"
class=
"chooseDate flex flex_start_center"
>
<view
slot=
"left"
class=
"chooseDate flex flex_start_center"
>
<van-icon
<!--
<van-icon
name=
"arrow-left"
name=
"arrow-left"
size=
"36rpx"
size=
"36rpx"
style=
"margin-right: 10rpx"
style=
"margin-right: 10rpx"
@
click=
"back"
@
click=
"back"
/>
/>
-->
<view
@
click=
"showdatetime"
>
{{
currentDate
}}
</view>
<view
@
click=
"showdatetime"
>
{{
currentDate
}}
</view>
</view>
</view>
</van-nav-bar>
</van-nav-bar>
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
<view
class=
"flex flex_center_center"
v-if=
"loading"
>
<view
class=
"flex flex_center_center"
v-if=
"loading"
>
<van-loading
size=
"48rpx"
type=
"spinner"
>
加载中...
</van-loading>
<van-loading
size=
"48rpx"
type=
"spinner"
>
加载中...
</van-loading>
</view>
</view>
<van-empty
description=
"暂无
数据
"
v-if=
"dataList.length === 0"
/>
<van-empty
description=
"暂无
课程
"
v-if=
"dataList.length === 0"
/>
<view
<view
v-for=
"(item, index) in dataList"
v-for=
"(item, index) in dataList"
:key=
"index"
:key=
"index"
...
@@ -319,7 +319,9 @@ export default {
...
@@ -319,7 +319,9 @@ export default {
};
};
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
this
.
msg
.
ClassId
=
JSON
.
parse
(
options
.
classId
);
const
indexData
=
uni
.
getStorageSync
(
'indexData'
)
// this.msg.ClassId = JSON.parse(options.classId);
this
.
msg
.
ClassId
=
indexData
.
ClassId
this
.
getAllData
()
this
.
getAllData
()
this
.
msg
.
StartTime
=
getToday
();
this
.
msg
.
StartTime
=
getToday
();
this
.
msg
.
EndTime
=
getToday
();
this
.
msg
.
EndTime
=
getToday
();
...
...
src/pages/word/word.vue
View file @
ff5351b4
...
@@ -120,9 +120,7 @@
...
@@ -120,9 +120,7 @@
this
.
msg
.
ChapterId
=
options
.
ChapterId
??
0
;
this
.
msg
.
ChapterId
=
options
.
ChapterId
??
0
;
this
.
msg
.
CourseId
=
options
.
CourseId
??
0
;
this
.
msg
.
CourseId
=
options
.
CourseId
??
0
;
this
.
msg
.
ReviewChapterId
=
options
.
ReviewChapterId
??
0
;
this
.
msg
.
ReviewChapterId
=
options
.
ReviewChapterId
??
0
;
if
(
options
.
ChapterId
&&
options
.
CourseId
&&
options
.
ReviewChapterId
)
{
this
.
getData
();
this
.
getData
();
}
const
userInfo
=
uni
.
getStorageSync
(
'userInfo'
);
const
userInfo
=
uni
.
getStorageSync
(
'userInfo'
);
this
.
readMsg
.
Stu_Account_Id
=
userInfo
.
Id
??
0
;
this
.
readMsg
.
Stu_Account_Id
=
userInfo
.
Id
??
0
;
this
.
readMsg
.
CourseId
=
options
.
CourseId
??
0
;
this
.
readMsg
.
CourseId
=
options
.
CourseId
??
0
;
...
...
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